/* =========================================================
   SupplyAgent AI — Design System
   Deep Purple + Teal, glassmorphism, Inter typography
   ========================================================= */

:root {
  --purple: #5b2a86;
  --purple-dark: #3d1c5e;
  --purple-light: #7c4fae;
  --purple-100: #f2ecf9;
  --purple-50: #f8f5fc;
  --teal: #14b8a6;
  --teal-dark: #0f9488;
  --teal-light: #5eead4;
  --white: #ffffff;
  --ink: #14121a;
  --ink-soft: #4b4657;
  --gray-50: #faf9fc;
  --gray-100: #f3f1f8;
  --gray-200: #e7e3f0;
  --gray-400: #a79fc2;
  --gray-600: #6b6480;
  --border: rgba(91, 42, 134, 0.12);
  --shadow-sm: 0 2px 8px rgba(59, 21, 94, 0.06);
  --shadow-md: 0 8px 30px rgba(59, 21, 94, 0.1);
  --shadow-lg: 0 20px 60px rgba(59, 21, 94, 0.16);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.4), 0 20px 60px rgba(91,42,134,0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --gradient-brand: linear-gradient(135deg, var(--purple) 0%, #8b3fae 45%, var(--teal) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(91,42,134,0.08) 0%, rgba(20,184,166,0.08) 100%);
  --gradient-text: linear-gradient(135deg, #5b2a86 0%, #9333c4 50%, #14b8a6 100%);
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

section { position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-100);
  border: 1px solid rgba(91,42,134,0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.25);
}

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

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { margin-top: 16px; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 30px rgba(91,42,134,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(91,42,134,0.36); background-position: 100% 0; }
.btn-secondary {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--purple);
  padding: 14px 18px;
}
.btn-ghost:hover { color: var(--teal-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(91,42,134,0.08), 0 10px 30px rgba(59,21,94,0.06);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(91,42,134,0.35);
  flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); background: var(--purple-100); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 26, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: #fff;
  padding: 100px 28px 40px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu a {
  padding: 14px 6px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  color: var(--ink);
}
.mobile-menu .nav-cta { flex-direction: column; margin-top: 20px; align-items: stretch; }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--gray-100);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.mobile-close svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 110px;
  background:
    radial-gradient(700px 420px at 12% -10%, rgba(91,42,134,0.14), transparent 60%),
    radial-gradient(700px 460px at 100% 0%, rgba(20,184,166,0.14), transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 { margin: 20px 0 22px; }
.hero-copy p.lead { font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-trust span { font-size: 0.82rem; color: var(--gray-600); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.hero-trust .logos { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; opacity: 0.65; }
.hero-trust .logos b { font-weight: 700; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Hero Visual: animated dashboard ---------- */
.hero-visual { position: relative; }
.dash-card {
  position: relative;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  padding: 22px;
  animation: float 6s ease-in-out infinite;
}
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-topbar .title { font-weight: 700; font-size: 0.95rem; display:flex; align-items:center; gap:8px;}
.dash-topbar .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20,184,166,0.5); animation: pulse 2s infinite; }
.dash-topbar .dots { display: flex; gap: 6px; }
.dash-topbar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-tile {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.dash-tile .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-600); font-weight: 700; }
.dash-tile .value { font-size: 1.5rem; font-weight: 800; margin-top: 6px; }
.dash-tile .value.teal { color: var(--teal-dark); }
.dash-tile .value.purple { color: var(--purple); }
.dash-tile .bar { height: 6px; border-radius: 4px; background: var(--gray-100); margin-top: 12px; overflow: hidden; }
.dash-tile .bar > span { display: block; height: 100%; border-radius: 4px; background: var(--gradient-brand); animation: grow 2.4s var(--ease) infinite alternate; }
.dash-tile.wide { grid-column: 1 / -1; }

.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px dashed var(--gray-200); }
.dash-row:first-child { border-top: none; }
.dash-row .agent { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; }
.agent-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--gradient-brand-soft); display: grid; place-items: center; }
.agent-ico svg { width: 14px; height: 14px; color: var(--purple); }
.status-pill { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); background: rgba(20,184,166,0.12); color: var(--teal-dark); }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}
.float-chip.chip-1 { top: -22px; right: 10px; animation: float 5s ease-in-out infinite; }
.float-chip.chip-2 { bottom: -18px; left: -20px; animation: float 5.5s ease-in-out infinite reverse; }
.float-chip .ico { width: 22px; height: 22px; border-radius: 7px; background: var(--teal); display: grid; place-items: center; }
.float-chip .ico svg { width: 12px; height: 12px; color: #fff; }

@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,184,166,0.5);} 70% { box-shadow: 0 0 0 8px rgba(20,184,166,0);} 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0);} }
@keyframes grow { from { width: 30%; } to { width: 88%; } }

/* ---------- Logos strip ---------- */
.logo-strip { padding: 40px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.logo-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.logo-strip p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--gray-400); }
.logo-strip .marks { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.logo-strip .marks span { font-weight: 800; font-size: 1.05rem; color: var(--gray-400); letter-spacing: -0.01em; }

/* ---------- Feature cards ---------- */
.features { padding: 120px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(91,42,134,0.25); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(91,42,134,0.28);
}
.card-icon svg { width: 26px; height: 26px; color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card .card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--purple); }
.card .card-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Benefits / stats ---------- */
.benefits {
  padding: 100px 0;
  background: var(--gradient-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.benefits::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,0.16), transparent 60%);
}
.benefits .container { position: relative; }
.benefits .section-head h2, .benefits .section-head p { color: #fff; }
.benefits .section-head p { color: rgba(255,255,255,0.82); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.stat-card .num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-card .label { margin-top: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.85); font-weight: 600; }

/* ---------- How it works ---------- */
.how { padding: 120px 0; background: var(--gray-50); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step .num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand-soft);
  color: var(--purple);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }
.step-connector { display: none; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 120px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-card .stars { display: flex; gap: 3px; color: var(--teal); }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.6; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 0.95rem;
  flex: none;
}
.testi-person .name { font-weight: 700; font-size: 0.92rem; }
.testi-person .role { font-size: 0.82rem; color: var(--gray-600); }

/* ---------- Pricing ---------- */
.pricing { padding: 120px 0; background: var(--gray-50); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -20px auto 50px;
  font-weight: 600;
  font-size: 0.95rem;
}
.switch {
  width: 50px; height: 28px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  position: relative;
  border: none;
  transition: background 0.25s;
}
.switch::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.25s var(--ease);
}
.switch.on { background: var(--teal); }
.switch.on::after { transform: translateX(22px); }
.save-badge { font-size: 0.75rem; font-weight: 800; color: var(--teal-dark); background: rgba(20,184,166,0.12); padding: 4px 10px; border-radius: var(--radius-full); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card .badge {
  align-self: flex-start;
  background: rgba(255,255,255,0.2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.price-card:not(.featured) .badge { background: var(--purple-100); color: var(--purple); }
.price-card .plan-name { font-size: 1.15rem; font-weight: 800; }
.price-card .plan-desc { margin-top: 6px; font-size: 0.9rem; }
.price-card.featured .plan-desc { color: rgba(255,255,255,0.85); }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price-card .price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price-card .price .period { font-size: 0.95rem; color: var(--gray-600); font-weight: 600; }
.price-card.featured .price .period { color: rgba(255,255,255,0.75); }
.price-card ul { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.price-card li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 1px; }
.price-card.featured li svg { color: var(--teal-light); }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
}
.faq-q .icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple);
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-q .icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .icon { background: var(--gradient-brand); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: 0.96rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 110px 0;
  text-align: center;
}
.cta-panel {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 15% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-panel .content { position: relative; max-width: 640px; margin: 0 auto; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.85); margin-top: 16px; font-size: 1.1rem; }
.cta-panel .hero-actions { justify-content: center; margin-top: 34px; }
.cta-panel .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-panel .btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: #fff; }
.cta-panel .btn-primary { background: #fff; color: var(--purple); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.cta-panel .btn-primary:hover { color: var(--purple-dark); }

/* ---------- Footer ---------- */
.site-footer { background: #150c22; color: rgba(255,255,255,0.7); padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--teal); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* ---------- Inner page hero (Pricing/About/Contact/Legal) ---------- */
.page-hero {
  padding: 158px 0 80px;
  text-align: center;
  background:
    radial-gradient(600px 340px at 15% 0%, rgba(91,42,134,0.12), transparent 60%),
    radial-gradient(600px 340px at 100% 0%, rgba(20,184,166,0.12), transparent 55%),
    var(--white);
}
.page-hero h1 { margin: 18px 0 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 10px; }
.breadcrumb a { color: var(--purple); font-weight: 600; }

/* ---------- Generic content (legal pages) ---------- */
.legal-content { padding: 70px 0 120px; }
.legal-content .wrap { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 1rem; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content .updated { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 30px; display: inline-block; background: var(--gray-100); padding: 6px 14px; border-radius: var(--radius-full); }

/* ---------- About page ---------- */
.mission-block { padding: 20px 0 100px; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mission-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0 110px; }
.value-item { text-align: center; padding: 30px 18px; }
.value-item .card-icon { margin: 0 auto 18px; }
.team-band { background: var(--gray-50); padding: 100px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; text-align: center; }
.team-card .avatar { margin: 0 auto 16px; width: 64px; height: 64px; font-size: 1.2rem; }
.team-card .name { font-weight: 700; }
.team-card .role { font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }

/* ---------- Contact page ---------- */
.contact-wrap { padding: 20px 0 120px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.info-card .card-icon { margin-bottom: 0; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.info-card .card-icon svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 1rem; }
.info-card p { font-size: 0.9rem; margin-top: 4px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(91,42,134,0.12);
  background: #fff;
}
.form-note { font-size: 0.82rem; color: var(--gray-600); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .card-icon { margin: 0 auto 18px; background: var(--teal); }
.contact-form.hidden-form { display: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .mission-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .navbar .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .hero { padding: 128px 0 70px; }
  .features, .how, .testimonials, .pricing, .faq, .benefits { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-panel { padding: 56px 24px; }
  .contact-form { padding: 26px; }
  .mission-card { padding: 26px; }
}
