/* Base */
:root {
  --bg: #0D0F14;
  --surface: #13151C;
  --surface-2: #1A1D26;
  --mint: #3DFFC0;
  --mint-dim: rgba(61, 255, 192, 0.12);
  --mint-glow: rgba(61, 255, 192, 0.06);
  --text: #F0F2F5;
  --text-2: #7A8090;
  --text-3: #4A5060;
  --border: rgba(255,255,255,0.06);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--mint);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section base */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,255,192,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,255,192,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  padding: 0 28px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 28px;
}

/* Hero visual panel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-panel {
  position: relative;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 60px rgba(61,255,192,0.05), 0 24px 48px rgba(0,0,0,0.4);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.panel-label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.panel-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--mint-dim);
  color: var(--mint);
}
.panel-badge.active {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.panel-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 20px;
}
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--mint), rgba(61,255,192,0.3));
  min-height: 8px;
}
.bar-1 { height: 35%; }
.bar-2 { height: 60%; }
.bar-3 { height: 80%; }
.bar-4 { height: 45%; }
.bar-5 { height: 95%; }
.panel-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.panel-data .data-row {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  margin-bottom: 8px;
}
.panel-data .data-row:last-child { margin-bottom: 0; }
.panel-data .data-row:nth-child(1) { width: 80%; }
.panel-data .data-row:nth-child(2) { width: 60%; }
.panel-data .data-row:nth-child(3) { width: 70%; }
.panel-nodes {
  position: absolute;
  top: 80px;
  right: -40px;
  width: 80px;
  height: 120px;
}
.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.node-1 { top: 0; left: 30px; }
.node-2 { top: 50px; left: 10px; animation: node-pulse 3s infinite; }
.node-3 { top: 40px; left: 55px; animation: node-pulse 3s infinite 1s; }
@keyframes node-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.panel-connector {
  position: absolute;
  top: 85px;
  right: 80px;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

/* MarTech section */
.martech {
  padding: 120px 40px;
  background: var(--bg);
  position: relative;
}
.martech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint-dim), transparent);
}
.martech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}
.mt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 40px 36px;
  transition: border-color 0.2s;
}
.mt-card:hover {
  border-color: rgba(61,255,192,0.2);
}
.mt-icon {
  margin-bottom: 24px;
}
.mt-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.mt-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Ecosystem */
.ecosystem {
  padding: 120px 40px;
  background: var(--surface);
  position: relative;
}
.ecosystem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.ecosystem-intro {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
}
.hub-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.hub-hub {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mint-dim);
  border: 1px solid rgba(61,255,192,0.2);
  border-radius: 12px;
  padding: 16px 24px;
}
.hub-hub span {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.hub-connection {
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.conn-line {
  width: 40px;
  height: 1px;
  background: var(--border);
}
.conn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-dim);
  border: 1px solid rgba(61,255,192,0.3);
  margin: 0 8px;
}
.hub-peripherals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.periph {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
}
.periph-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.5;
}
.hub-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.result-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}
.result-label {
  font-size: 13px;
  color: var(--text-2);
  min-width: 180px;
}
.result-track {
  flex: 1;
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.result-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mint), rgba(61,255,192,0.5));
  box-shadow: 0 0 8px rgba(61,255,192,0.3);
}
.result-fill.low {
  background: linear-gradient(90deg, var(--text-3), var(--text-2));
  box-shadow: none;
}

/* Outcomes */
.outcomes {
  padding: 120px 40px;
  background: var(--bg);
  position: relative;
}
.outcomes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 44px;
}
.outcome-number {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 20px;
}
.outcome-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.outcome-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 160px 40px;
  background: var(--surface);
  position: relative;
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.closing-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 80px;
  line-height: 1.7;
}
.closing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 120px;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--mint-dim);
}
.ring-1 {
  width: 80px;
  height: 80px;
  animation: orbit-spin 8s linear infinite;
}
.ring-2 {
  width: 140px;
  height: 140px;
  border-style: dashed;
  animation: orbit-spin 14s linear infinite reverse;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbit-core {
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-2);
}
.footer-meta {
  font-size: 13px;
  color: var(--text-3);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links span {
  font-size: 13px;
  color: var(--text-3);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    display: none;
  }
  .martech-grid {
    grid-template-columns: 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .hub-connection {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero, .martech, .ecosystem, .outcomes, .closing {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero { padding-top: 100px; }
  .outcome-card, .mt-card {
    padding: 32px 28px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Audit Form Section ===== */
.audit-section {
  padding: 120px 40px;
  background: var(--bg);
  position: relative;
}
.audit-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint-dim), transparent);
}
.audit-intro {
  font-size: 17px;
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.audit-container {
  max-width: 760px;
}
.audit-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 48px;
}
.audit-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  margin-bottom: 32px;
}
.audit-field--full {
  grid-column: 1 / -1;
}
.audit-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}
.audit-input,
.audit-select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.audit-input::placeholder {
  color: var(--text-3);
}
.audit-input:focus,
.audit-select:focus {
  border-color: rgba(61, 255, 192, 0.4);
  box-shadow: 0 0 0 3px rgba(61, 255, 192, 0.08);
}
.audit-select-wrap {
  position: relative;
}
.audit-select {
  cursor: pointer;
  padding-right: 36px;
}
.audit-select option {
  background: var(--surface-2);
  color: var(--text);
}
.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-2);
}
.audit-error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #FF8080;
  font-size: 14px;
  margin-bottom: 20px;
}
.audit-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--mint);
  color: #0D0F14;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.audit-submit:hover { opacity: 0.9; }
.audit-submit:active { transform: scale(0.99); }
.audit-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.audit-spinner {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.audit-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
}

/* Success state */
.audit-success {
  background: var(--surface);
  border: 1px solid rgba(61, 255, 192, 0.2);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
}
.audit-success-icon {
  margin-bottom: 24px;
}
.audit-success-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.audit-success-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.audit-score-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.score-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.score-num {
  font-family: 'Syne', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -0.04em;
}
.score-denom {
  font-size: 22px;
  color: var(--text-2);
}
.score-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Audit section responsive */
@media (max-width: 900px) {
  .audit-fields-grid {
    grid-template-columns: 1fr;
  }
  .audit-field--full {
    grid-column: 1;
  }
}
@media (max-width: 600px) {
  .audit-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .audit-form,
  .audit-success {
    padding: 32px 24px;
  }
}
/* ===== Hero CTA row (storefront) ===== */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-cta-btn {
  display: inline-block;
  background: var(--mint);
  color: #0D0F14;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.1s;
}
.hero-cta-btn:hover { opacity: 0.9; }
.hero-cta-btn:active { transform: scale(0.99); }
.hero-trust-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
}

/* ===== Products section ===== */
.products {
  padding: 120px 40px;
  background: var(--bg);
  position: relative;
}
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint-dim), transparent);
}
.products-header {
  margin-bottom: 64px;
}
.products-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.7;
  margin-top: 16px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  border-color: rgba(61,255,192,0.18);
  box-shadow: 0 8px 40px rgba(61,255,192,0.06);
}
.product-card--featured {
  border-color: rgba(61,255,192,0.2);
  box-shadow: 0 0 40px rgba(61,255,192,0.06);
}
.product-featured-badge {
  background: var(--mint-dim);
  border-bottom: 1px solid rgba(61,255,192,0.15);
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}
.product-card-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}
.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.product-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.product-bullets li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 18px;
  position: relative;
}
.product-bullets li:last-child { border-bottom: none; }
.product-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.product-price {
  line-height: 1;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.price-currency {
  font-size: 16px;
  color: var(--text-2);
  margin-left: 2px;
}
.buy-btn {
  background: var(--mint);
  color: #0D0F14;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.buy-btn:hover { opacity: 0.9; }
.buy-btn:active { transform: scale(0.99); }
.buy-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Trust signals row */
.trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  padding: 0 28px;
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* Products responsive */
@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
@media (max-width: 600px) {
  .products {
    padding-left: 24px;
    padding-right: 24px;
  }
  .product-card-inner {
    padding: 24px;
  }
  .trust-signals {
    flex-direction: column;
    gap: 12px;
  }
  .trust-divider { display: none; }
  .trust-item { padding: 0; }
}
