/* ===================== Base ===================== */
:root {
  --bg: #060810;
  --bg-alt: #0a0e1a;
  --surface: #10152699;
  --border: #ffffff1a;
  --text: #eef1f8;
  --text-dim: #9aa3b8;
  --text-dimmer: #6b7386;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff6bcb;
  --gradient: linear-gradient(120deg, var(--accent), var(--accent-2));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', var(--font-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ===================== Background FX ===================== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #171b30 0%, var(--bg) 55%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.orb-1 { width: 480px; height: 480px; background: var(--accent); top: -140px; left: -100px; animation: float1 22s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: var(--accent-2); top: 30%; right: -160px; animation: float2 26s ease-in-out infinite; }
.orb-3 { width: 380px; height: 380px; background: var(--accent-3); bottom: -160px; left: 30%; opacity: 0.2; animation: float3 30s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translate(0,0);} 50% { transform: translate(60px, 80px);} }
@keyframes float2 { 0%,100% { transform: translate(0,0);} 50% { transform: translate(-70px, 60px);} }
@keyframes float3 { 0%,100% { transform: translate(0,0);} 50% { transform: translate(40px, -50px);} }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #ffffff08 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff08 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
}

/* ===================== Navbar ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: #060810cc;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: #fff; }

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(320px, 80vw);
  background: #0a0e1af5;
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #060810;
  box-shadow: 0 8px 24px -6px #7c5cff66;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px #7c5cff88;
}

.btn-ghost {
  background: #ffffff0d;
  color: #fff;
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: #ffffff1a; }

.full-width { width: 100%; }

/* ===================== Hero ===================== */
.hero {
  padding: 180px 0 110px;
  position: relative;
}

.hero-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: #ffffff0d;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px #34d39933;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 26px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-subtitle strong { color: #fff; font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.stat-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================== Section Head ===================== */
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
}

section { padding: 110px 0; position: relative; }

/* ===================== About ===================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--accent-2);
}

.info-card h3.mt { margin-top: 26px; }

.info-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
}

.info-card dl div:last-child { border-bottom: none; }

.info-card dt { color: var(--text-dimmer); flex-shrink: 0; }
.info-card dd { color: var(--text); text-align: right; font-weight: 500; }

.info-card .address {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.pill-active {
  background: #34d39926;
  color: #34d399;
}

/* ===================== Products ===================== */
.products { background: linear-gradient(180deg, transparent, #ffffff03, transparent); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #ffffff33;
}

.product-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: #ffffff0d;
}

.product-icon svg { width: 28px; height: 28px; }

.icon-gumasta { color: var(--accent); }
.icon-palu { color: var(--accent-2); }
.icon-ecom { color: var(--accent-3); }

.product-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.product-card > p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-list li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gradient);
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: gap 0.2s ease;
}

.card-link:hover { color: var(--accent-2); }

/* ===================== Services ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-item {
  padding: 28px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff05;
}

.service-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px #ffffff40;
  display: block;
  margin-bottom: 16px;
}

.service-item h4 { font-size: 17px; margin-bottom: 10px; }
.service-item p { font-size: 13.5px; color: var(--text-dim); }

/* ===================== Contact ===================== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 14px 0 18px; }
.contact-info p { color: var(--text-dim); margin-bottom: 32px; font-size: 15.5px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text);
}

.contact-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #ffffff0d;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
}

.contact-row a:hover { color: var(--accent-2); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: #ffffff0a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

.form-row select option { background: #10152e; color: #fff; }

.form-note {
  font-size: 13.5px;
  color: #34d399;
  min-height: 18px;
  text-align: center;
}

/* ===================== Footer ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-dimmer);
  font-size: 13.5px;
  max-width: 300px;
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dimmer);
  margin-bottom: 4px;
}

.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dimmer);
  text-align: center;
}

/* ===================== Scroll to top ===================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #10152ecc;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===================== Reveal animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid, .product-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 150px 0 80px; }
  .hero-stats { gap: 28px; }
  section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
