:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --dark: #0b1020;
  --dark-2: #121a33;
  --text: #0f172a;
  --muted: #5b6475;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --cyan: #06b6d4;
  --grad: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --border: #e5e8f0;
  --radius: 16px;
  --max: 1180px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(99, 102, 241, 0.6);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(99, 102, 241, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { color: var(--primary-dark); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo:hover { color: #fff; }
.logo img { width: 36px; height: 36px; }
.logo b { font-weight: 800; color: #67e8f9; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { color: #cbd2e6; font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .25s;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 150px 0 100px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.blob-1 { width: 480px; height: 480px; background: #6366f1; top: -140px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: #06b6d4; bottom: -180px; right: -80px; opacity: .4; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 22px; }
.hero p.lead { font-size: 1.15rem; color: #aab2cf; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; color: #8f98b8; font-size: 0.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #34d399; }
.hero-visual img { width: 100%; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats strip */
.stats { position: relative; margin-top: -48px; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
section { padding: 110px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

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

/* Service cards */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.97rem; }
.icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(6,182,212,.14));
  color: var(--primary-dark);
}
.icon svg { width: 26px; height: 26px; }

/* Products */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 100px;
}
.product:last-child { margin-bottom: 0; }
.product.reverse .product-media { order: 2; }
.product-media { position: relative; }
.product-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.product-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border-radius: 20px; background: var(--grad); opacity: .15; z-index: -1;
}
.product.reverse .product-media::before { inset: 24px 24px -24px -24px; }
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--primary-dark); background: #eef2ff;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tag.amber { color: #b45309; background: #fef3c7; }
.product h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px; }
.product p { color: var(--muted); margin-bottom: 22px; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.96rem; }
.checklist li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--grad) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"), var(--grad);
}

/* WhatsApp band */
.wa-band {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.wa-band h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.wa-band p { color: #aab2cf; margin-bottom: 18px; }
.wa-band .kicker { color: #67e8f9; }
.wa-list { display: grid; gap: 16px; }
.wa-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.wa-item .icon { margin: 0; background: rgba(37, 211, 102, .15); color: #25d366; flex: 0 0 48px; width: 48px; height: 48px; }
.wa-item h4 { font-size: 1rem; margin-bottom: 4px; }
.wa-item p { margin: 0; font-size: 0.93rem; }

/* Process */
.steps { counter-reset: step; }
.step { text-align: left; }
.step .num {
  font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Tech pills */
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 56px; }
.tech span {
  padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-weight: 600; font-size: 0.92rem; color: #334155;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 18px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.value h4 { margin-bottom: 6px; }
.value p { font-size: 0.92rem; margin: 0; }
.trust-card {
  margin-top: 24px; padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff); border: 1px solid #c7d2fe;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 0 0 110px;
}
.cta-box {
  background: var(--grad);
  border-radius: 28px;
  padding: 64px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.08); right: -120px; top: -160px;
}
.cta-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 12px; position: relative; }
.cta-box p { opacity: .9; margin-bottom: 28px; position: relative; }
.cta-box .btn { position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info {
  background: var(--dark); color: #fff; border-radius: 20px; padding: 40px;
  position: relative; overflow: hidden;
}
.contact-info::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: var(--grad); opacity: .35; filter: blur(60px); bottom: -80px; right: -80px;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-info > p { color: #aab2cf; margin-bottom: 30px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; position: relative; z-index: 1; }
.info-row .icon { margin: 0; flex: 0 0 44px; width: 44px; height: 44px; background: rgba(255,255,255,.08); color: #67e8f9; }
.info-row .icon svg { width: 20px; height: 20px; }
.info-row small { display: block; color: #8f98b8; font-size: 0.82rem; }
.info-row a, .info-row span { color: #fff; font-weight: 600; }

.form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: 0.95rem; background: var(--bg-alt); color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* Page hero (legal pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  padding: 150px 0 70px; text-align: center;
}
.page-hero h1 { position: relative; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.page-hero p { position: relative; color: #aab2cf; }

.legal { padding: 70px 0 100px; }
.legal .container { max-width: 840px; }
.legal-body {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 48px; box-shadow: var(--shadow);
}
.legal h2 { font-size: 1.25rem; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: 24px; }
.legal p, .legal li { color: #374151; margin-bottom: 12px; }
.legal ul, .legal ol { margin-left: 22px; }

/* Footer */
.site-footer { background: var(--dark); color: #aab2cf; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { margin: 18px 0 22px; max-width: 320px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #aab2cf; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #6f7898; font-size: 0.88rem;
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .product, .wa-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product.reverse .product-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero { padding-top: 130px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 16, 32, 0.98); padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .site-header.menu-open { background: rgba(11, 16, 32, 0.98); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  section { padding: 76px 0; }
  .grid-3, .grid-4, .values, .checklist, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .form, .contact-info, .legal-body { padding: 28px 22px; }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 1.35rem; }
}
