/* =========================================================
   InsightFlow — Marketing Site Stylesheet
   Colors: Slate Gray (#334155), Soft Blue (#3b82f6), White
   ========================================================= */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a5f;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(59,130,246,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  transform: translateY(-1px);
}
.btn-sm  { padding: 8px 18px;  font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }

/* ── Section typography helpers ── */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-500) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav-scrolled {
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--blue-500);
  color: white;
  border-radius: 9px;
  font-size: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--slate-900); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 50%, #f8fafc 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #bfdbfe, transparent);
  top: -200px; right: -150px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e0e7ff, transparent);
  bottom: -100px; left: -100px;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin: 0 auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.stat-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
  margin: 0 24px;
}

/* ============================================================
   LOGO BAR
   ============================================================ */
.logo-bar {
  padding: 36px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}
.logo-bar-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 20px;
}
.logo-bar-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 40px;
}
.logo-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-400);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.logo-brand:hover { color: var(--slate-600); }

/* ============================================================
   USE CASES
   ============================================================ */
.usecases { background: var(--white); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card--featured {
  background: linear-gradient(160deg, var(--blue-600) 0%, #1d4ed8 100%);
  border-color: transparent;
  color: var(--white);
}
.card--featured .card-body { color: rgba(255,255,255,0.8); }
.card--featured .card-list { color: rgba(255,255,255,0.9); }
.card--featured .card-list i { color: rgba(255,255,255,0.7); }

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #78350f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.card-icon--blue   { background: var(--blue-50);  color: var(--blue-500); }
.card-icon--white  { background: rgba(255,255,255,0.2); color: var(--white); }

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: inherit;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card--featured .card-title { color: var(--white); }
.card-body {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-list i {
  color: var(--blue-500);
  font-size: 13px;
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT OVERVIEW
   ============================================================ */
.product { background: var(--slate-900); }
.product .section-tag { color: var(--blue-400); background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.2); }
.product .section-title { color: var(--white); }
.product .section-sub { color: var(--slate-400); }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  font-size: 15px;
}
.feature-row strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.feature-row p {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ── Dashboard Mockup ── */
.dashboard-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  background: #0f172a;
}
.mockup-chrome {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chrome-dots {
  display: flex;
  gap: 6px;
}
.chrome-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.chrome-dots span:nth-child(1) { background: #ef4444; }
.chrome-dots span:nth-child(2) { background: #f59e0b; }
.chrome-dots span:nth-child(3) { background: #22c55e; }
.chrome-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--slate-500);
  padding: 5px 12px;
}
.mockup-body {
  display: flex;
  height: 380px;
}
.mockup-sidebar {
  width: 52px;
  background: #0f172a;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 6px;
}
.sidebar-logo {
  color: var(--blue-500);
  font-size: 16px;
  margin-bottom: 10px;
}
.sb-item {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.15s;
}
.sb-item:hover { background: rgba(255,255,255,0.07); color: var(--slate-300); }
.sb-active { background: rgba(59,130,246,0.15) !important; color: var(--blue-400) !important; }

.mockup-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.topbar-chips {
  display: flex;
  gap: 6px;
}
.chip {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--slate-400);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}
.chip-active {
  background: rgba(59,130,246,0.2);
  color: var(--blue-400);
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 14px;
}
.kpi-label { font-size: 11px; color: var(--slate-500); margin-bottom: 4px; }
.kpi-value { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 4px; }
.kpi-delta { font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.kpi-up   { color: #4ade80; }
.kpi-down { color: #f87171; }

.chart-area {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chart-header { font-size: 12px; font-weight: 600; color: var(--slate-400); margin-bottom: 8px; }
.chart-visual { flex: 1; min-height: 0; }
.sparkline { width: 100%; height: 100%; display: block; }
.chart-months {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--slate-600);
  margin-top: 6px;
}

.alert-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  color: #fcd34d;
}
.alert-strip i { color: #f59e0b; flex-shrink: 0; }
.alert-strip strong { color: var(--white); }
.alert-action {
  margin-left: auto;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: #fbbf24;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--slate-50); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testi-card--accent {
  background: linear-gradient(160deg, var(--blue-600), #1d4ed8);
  border-color: transparent;
}
.testi-card--accent blockquote { color: rgba(255,255,255,0.9); }
.testi-card--accent .testi-stars i { color: #fbbf24; }
.testi-card--accent .testi-author strong { color: var(--white); }
.testi-card--accent .testi-author span { color: rgba(255,255,255,0.65); }

.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars i { font-size: 13px; color: #fbbf24; }

blockquote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 2px;
}
.testi-author span {
  font-size: 13px;
  color: var(--slate-500);
}

/* ============================================================
   DEMO CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a5f 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-band-copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-band-copy p {
  font-size: 16px;
  color: var(--slate-400);
  line-height: 1.7;
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-form input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.demo-form input::placeholder { color: var(--slate-500); }
.demo-form input:focus {
  border-color: var(--blue-500);
  background: rgba(255,255,255,0.1);
}
.demo-submit { margin-top: 4px; justify-content: center; }
.form-note {
  font-size: 12px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding: 72px 0 56px;
}
.footer-logo { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
  margin-top: 12px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.3);
  color: var(--blue-400);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--slate-200); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: var(--slate-500);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--slate-300); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #22c55e;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(34,197,94,0.35);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-inner { grid-template-columns: 1fr; gap: 48px; }
  .dashboard-mockup { max-width: 600px; margin: 0 auto; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { padding: 20px 24px; }
  .stat-divider { margin: 0 16px; }
  .hero { padding: 80px 0 64px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .mockup-body { height: 320px; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .stat-divider { width: 100%; height: 1px; margin: 0; }
  .stat-item { flex-direction: row; gap: 12px; align-items: center; }
  .footer-links { grid-template-columns: 1fr; }
  .logo-bar-grid { gap: 10px 24px; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SHARED PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 55%, #f8fafc 100%);
  padding: 100px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(191,219,254,0.5), transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Nav active link */
.nav-links a.active { color: var(--blue-500); font-weight: 600; }

/* btn-outline */
.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 2px solid var(--slate-300);
}
.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* text helpers */
.text-blue  { color: var(--blue-500); }
.text-muted { color: var(--slate-300); }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-section { background: var(--white); padding-top: 32px; }

.pricing-toggle {
  display: inline-flex;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  padding: 4px;
  margin-top: 32px;
  gap: 4px;
}
.toggle-opt {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-active {
  background: var(--white);
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}
.save-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card--featured {
  background: linear-gradient(160deg, var(--blue-600), #1d4ed8);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-blue);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: #78350f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 12px;
}
.pricing-card--featured .plan-name { color: rgba(255,255,255,0.7); }
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card--featured .price-amount { color: var(--white); }
.price-period { font-size: 16px; color: var(--slate-500); margin-bottom: 6px; }
.pricing-card--featured .price-period { color: rgba(255,255,255,0.65); }
.plan-desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}
.pricing-card--featured .plan-desc {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.15);
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--slate-700);
}
.pricing-card--featured .plan-features { color: rgba(255,255,255,0.9); }
.plan-features li { display: flex; align-items: center; gap: 10px; }
.plan-features .fa-check { color: var(--blue-500); }
.pricing-card--featured .plan-features .fa-check { color: rgba(255,255,255,0.8); }
.plan-features .fa-times { color: var(--slate-300); }
.plan-feature-off { opacity: 0.45; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 36px;
}

/* Compare Table */
.compare-section { background: var(--slate-50); }
.compare-table { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--slate-700); }
.compare-table thead th {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate-600);
  background: var(--slate-50);
  text-transform: uppercase;
}
.th-featured { background: var(--blue-50) !important; color: var(--blue-600) !important; }
.compare-table tbody tr:hover { background: var(--slate-50); }

/* FAQ */
.faq-section { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item h3 i { color: var(--blue-500); font-size: 12px; }
.faq-item p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }

/* cta-center */
.cta-center { display: block !important; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission { background: var(--white); }
.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-copy p { font-size: 16px; color: var(--slate-500); line-height: 1.75; }
.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.m-stat {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.m-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.02em;
  line-height: 1;
}
.m-stat-label {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
}
.mission-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mcard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mcard:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.mcard-1 { border-left: 3px solid var(--blue-500); }
.mcard-2 { border-left: 3px solid #ec4899; }
.mcard-3 { border-left: 3px solid #f59e0b; }
.mcard-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500); font-size: 16px;
}
.mcard strong { display: block; font-size: 15px; font-weight: 700; color: var(--slate-800); margin-bottom: 4px; }
.mcard p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* Team */
.team-section { background: var(--slate-50); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--white);
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.team-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.team-card p { font-size: 14px; color: var(--slate-500); line-height: 1.65; margin-bottom: 16px; }
.team-social { display: flex; gap: 8px; justify-content: center; }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--slate-500);
  transition: all 0.2s;
}
.team-social a:hover { background: var(--blue-50); color: var(--blue-500); }

/* Investors */
.investors-section { background: var(--white); }
.investors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.investor-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.investor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.investor-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500); font-size: 18px;
  margin: 0 auto 12px;
}
.investor-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--slate-800); margin-bottom: 4px; }
.investor-card span { font-size: 12px; color: var(--slate-500); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-section { background: var(--white); padding-top: 24px; }

.featured-post {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a5f 100%);
  border-radius: var(--radius-xl);
  padding: 52px;
  margin-bottom: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.featured-post::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  pointer-events: none;
}
.featured-post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.post-featured-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #fbbf24;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  padding: 3px 10px; border-radius: 100px;
}
.featured-post-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  max-width: 700px;
}
.featured-post-excerpt {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 24px;
}

.post-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 100px;
}
.post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--white);
  flex-shrink: 0;
}
.post-avatar--sm { width: 34px; height: 34px; font-size: 11px; }
.post-author-row {
  display: flex; align-items: center; gap: 12px;
}
.post-author-row--sm { margin-top: auto; padding-top: 16px; }
.post-author-row strong { display: block; font-size: 14px; font-weight: 700; color: var(--slate-800); }
.post-author-row span { font-size: 12px; color: var(--slate-500); }
.featured-post .post-author-row strong { color: var(--white); }
.featured-post .post-author-row span { color: rgba(255,255,255,0.6); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s, transform 0.25s;
  color: inherit;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-top { display: flex; justify-content: space-between; align-items: center; }
.post-read-time { font-size: 12px; color: var(--slate-400); display: flex; align-items: center; gap: 5px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); line-height: 1.35; }
.blog-card p { font-size: 14px; color: var(--slate-500); line-height: 1.65; flex: 1; }

/* Newsletter */
.newsletter-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter-copy h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.newsletter-copy h3 i { color: var(--blue-500); }
.newsletter-copy p { font-size: 14px; color: var(--slate-500); line-height: 1.65; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--slate-800);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--blue-400); }

/* Article page */
.article-page { padding: 60px 0 96px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--blue-500);
  margin-bottom: 8px; transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }
.article-header { max-width: 760px; margin-bottom: 48px; }
.article-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.article-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--slate-600);
}
.article-lead {
  font-size: 20px;
  color: var(--slate-700);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--slate-200);
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 40px 0 16px;
}
.article-body p { margin-bottom: 16px; }
.article-quote {
  border-left: 4px solid var(--blue-400);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--blue-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--slate-700);
}
.article-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  font-style: normal;
}
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.article-list li::before {
  content: '→ ';
  color: var(--blue-500);
  font-weight: 700;
}
.article-cta-box {
  background: linear-gradient(135deg, var(--slate-900), #1e3a5f);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 48px;
  color: var(--white);
}
.article-cta-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.article-cta-box p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* ============================================================
   ADDITIONAL RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .about-mission-inner { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .investors-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { grid-template-columns: 1fr; gap: 20px; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .featured-post { padding: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .compare-table table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-box { padding: 28px; }
}
