:root {
  --navy-900: #0b1f33;
  --navy-800: #0f2a44;
  --navy-700: #163a5c;
  --blue: #0f4c81;
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --amber: #fbbf24;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 42, 68, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 51, .35);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(20, 184, 166, .8); }
.btn-primary:hover { background: var(--teal-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(11, 31, 51, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .4); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.brand-name span { color: var(--teal); margin-left: .25rem; font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-menu a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--blue) 120%);
  color: rgba(255, 255, 255, .8);
  padding: 160px 0 110px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(20, 184, 166, .28), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(251, 191, 36, .12), transparent 70%);
}
.hero-bg::after {
  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 center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { color: #fff; }
.highlight { background: linear-gradient(90deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; max-width: 36rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.25rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(20, 184, 166, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-card { perspective: 1000px; }
.dash {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 1.25rem; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s ease;
}
.hero-card:hover .dash { transform: rotateY(0) rotateX(0); }
.dash-head { display: flex; align-items: center; gap: 6px; margin-bottom: 1.25rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dot:first-child { background: #f87171; } .dot:nth-child(2) { background: var(--amber); } .dot:nth-child(3) { background: var(--teal); }
.dash-title { margin-left: auto; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.dash-kpis div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: .75rem; }
.dash-kpis small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .55); margin-bottom: .2rem; }
.dash-kpis strong { color: #fff; font-size: .92rem; font-family: var(--font-head); }
.dash-chart { width: 100%; height: 150px; }
.dash-legend { display: flex; gap: 1.25rem; font-size: .78rem; margin-top: .5rem; }
.dash-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.l1::before { background: var(--teal); } .l2::before { background: var(--amber); }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-head p:last-child { font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 2rem; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-featured { border-color: var(--teal); box-shadow: var(--shadow); }
.service-featured::before {
  content: "Most popular"; position: absolute; top: -12px; left: 2rem;
  background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .75rem; border-radius: 999px;
}
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.5rem; }
.service-icon svg { width: 28px; height: 28px; }
.icon-organic { background: #ccfbf1; color: var(--teal-600); }
.icon-paid { background: #dbeafe; color: var(--blue); }
.icon-email { background: #fef3c7; color: #b45309; }
.checklist { list-style: none; padding: 0; margin: .5rem 0 1.75rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-size: .95rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: #e6fffb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.service-link { margin-top: auto; font-weight: 600; color: var(--teal-600); text-decoration: none; }
.service-link:hover { text-decoration: underline; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.step { background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid var(--line); position: relative; }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; background: linear-gradient(135deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .75rem; }
.step p { margin: 0; font-size: .95rem; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.why-copy p { font-size: 1.08rem; margin-bottom: 2rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.why-item { padding: 1.75rem; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--teal); }
.why-item:nth-child(2) { border-color: var(--blue); }
.why-item:nth-child(3) { border-color: var(--amber); }
.why-item:nth-child(4) { border-color: var(--navy-700); }
.why-item h3 { font-size: 1.1rem; }
.why-item p { margin: 0; font-size: .95rem; }

/* Contact */
.contact-section { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(20, 184, 166, .25), transparent 65%); }
.contact { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact h2 { color: #fff; }
.contact-copy p { font-size: 1.1rem; }
.contact-details { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-details li { display: flex; align-items: center; gap: .75rem; }
.contact-details svg { width: 22px; height: 22px; color: var(--teal); }
.contact-details a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-form { background: #fff; border-radius: 20px; padding: 2.25rem; box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; }
.contact-form label span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .8rem 1rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fbfdff; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.contact-form .invalid { border-color: #ef4444; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; color: var(--teal-600); text-align: center; }
.form-status.error { color: #dc2626; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 2.5rem 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.legal { margin: 0; }
.brand-light .brand-name { font-size: 1.1rem; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner, .why, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { max-width: 520px; }
  .dash { transform: none; }
  .services { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: .5rem 20px 1.25rem; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .5);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-menu .btn { margin-top: 1rem; }
  .site-header.menu-open { background: var(--navy-900); }
  .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); }

  .hero { padding: 130px 0 80px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 2.75rem; }
  .steps, .why-grid, .field-row { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .dash-kpis div { padding: .6rem; }
  .contact-form { padding: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
