/* =============================================
   VendorIQ Design System — styles.css
   Premium multi-page shared stylesheet
   ============================================= */

/* RESET & BASE */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg-dark:#0b1120;
  --bg-darker:#060a14;
  --bg-card:rgba(255,255,255,.06);
  --surface:rgba(255,255,255,.08);
  --surface-hover:rgba(255,255,255,.12);
  --border:rgba(255,255,255,.12);
  --border-light:rgba(255,255,255,.08);
  --text:#f0f4f8;
  --text-secondary:rgba(240,244,248,.78);
  --muted:rgba(240,244,248,.55);
  --blue:#2563eb;
  --blue-light:#3b82f6;
  --blue-glow:rgba(37,99,235,.3);
  --sky:#0ea5e9;
  --emerald:#10b981;
  --emerald-glow:rgba(16,185,129,.3);
  --amber:#f59e0b;
  --red:#ef4444;
  --gradient-primary:linear-gradient(135deg,#2563eb,#0ea5e9);
  --gradient-accent:linear-gradient(135deg,#0ea5e9,#10b981);
  --gradient-warm:linear-gradient(135deg,#f59e0b,#ef4444);
  --radius:12px;
  --radius-lg:20px;
  --radius-xl:28px;
  --shadow:0 4px 24px rgba(0,0,0,.3);
  --shadow-glow:0 0 40px rgba(37,99,235,.15);
  --transition:all .3s cubic-bezier(.4,0,.2,1);
  --max-width:1200px;
}

/* =============================================
   LIGHT THEME
   ============================================= */
[data-theme="light"]{
  --bg-dark:#f8fafc;
  --bg-darker:#f1f5f9;
  --bg-card:rgba(255,255,255,.8);
  --surface:rgba(37,99,235,.04);
  --surface-hover:rgba(37,99,235,.08);
  --border:rgba(0,0,0,.1);
  --border-light:rgba(0,0,0,.06);
  --text:#0f172a;
  --text-secondary:#334155;
  --muted:#64748b;
  --blue:#2563eb;
  --blue-light:#1d4ed8;
  --blue-glow:rgba(37,99,235,.12);
  --sky:#0284c7;
  --emerald:#059669;
  --emerald-glow:rgba(16,185,129,.12);
  --amber:#d97706;
  --red:#dc2626;
  --shadow:0 4px 24px rgba(0,0,0,.06);
  --shadow-glow:0 0 40px rgba(37,99,235,.06);
}
[data-theme="light"] body{
  -webkit-font-smoothing:auto;
}
/* Light nav */
[data-theme="light"] .nav{
  background:rgba(255,255,255,.9);
  border-bottom-color:rgba(0,0,0,.06);
}
[data-theme="light"] .nav.scrolled{
  background:rgba(255,255,255,.97);
  box-shadow:0 1px 12px rgba(0,0,0,.06);
}
[data-theme="light"] .nav-links a{
  color:#475569;
}
[data-theme="light"] .nav-links a:hover{
  color:#0f172a;background:rgba(37,99,235,.06);
}
[data-theme="light"] .nav-links a.active{
  color:#1d4ed8;background:rgba(37,99,235,.08);
}
[data-theme="light"] .mobile-nav{
  background:rgba(255,255,255,.98);
}
[data-theme="light"] .mobile-nav a{color:#0f172a}
/* Light hero */
[data-theme="light"] .hero-bg::after{
  background:linear-gradient(180deg,rgba(248,250,252,.93) 0%,rgba(248,250,252,.88) 50%,#f8fafc 100%);
}
[data-theme="light"] .hero-eyebrow{
  background:rgba(37,99,235,.06);border-color:rgba(37,99,235,.15);
}
/* Light parallax sections */
[data-theme="light"] .parallax-overlay{
  background:linear-gradient(180deg,#f8fafc 0%,rgba(248,250,252,.93) 50%,#f8fafc 100%) !important;
}
/* Light cards */
[data-theme="light"] .glow-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.04),0 0 0 1px rgba(0,0,0,.02);
}
[data-theme="light"] .glow-card:hover{
  border-color:rgba(37,99,235,.2);
  box-shadow:0 8px 30px rgba(37,99,235,.1),0 0 0 1px rgba(37,99,235,.05);
  background:#ffffff;
}
[data-theme="light"] .team-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
[data-theme="light"] .team-card:hover{
  border-color:rgba(37,99,235,.2);
  box-shadow:0 12px 30px rgba(37,99,235,.1);
}
/* Light tables */
[data-theme="light"] .compare-table{
  background:#ffffff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
[data-theme="light"] .compare-row:hover{
  background:rgba(37,99,235,.03);
}
/* Light testimonials */
[data-theme="light"] .testimonial-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
/* Light demo card */
[data-theme="light"] .demo-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 8px 40px rgba(0,0,0,.06);
}
[data-theme="light"] .demo-bar{
  background:#f8fafc;
  border-color:rgba(0,0,0,.08);
}
[data-theme="light"] .demo-cat-row:hover{
  background:rgba(37,99,235,.04);
}
[data-theme="light"] .demo-src{
  background:#f1f5f9;
  border-color:rgba(0,0,0,.08);
}
/* Light CTA */
[data-theme="light"] .cta-section{
  background:linear-gradient(135deg,rgba(37,99,235,.05),rgba(14,165,233,.03));
  border-color:rgba(37,99,235,.08);
}
[data-theme="light"] .cta-input{
  background:#ffffff;
  border-color:rgba(0,0,0,.12);
  color:#0f172a;
}
[data-theme="light"] .cta-input::placeholder{color:#94a3b8}
/* Light footer */
[data-theme="light"] .footer{
  background:#f1f5f9;
  border-color:rgba(0,0,0,.06);
}
/* Light buttons */
[data-theme="light"] .btn-secondary{
  border-color:rgba(0,0,0,.12);
  color:#0f172a;
  background:rgba(255,255,255,.8);
}
[data-theme="light"] .btn-secondary:hover{
  border-color:var(--blue);
  background:rgba(37,99,235,.05);
  color:var(--blue);
}
/* Light icons */
[data-theme="light"] .icon-blue{background:rgba(37,99,235,.08)}
[data-theme="light"] .icon-emerald{background:rgba(5,150,105,.08)}
[data-theme="light"] .icon-sky{background:rgba(2,132,199,.08)}
[data-theme="light"] .icon-amber{background:rgba(217,119,6,.08)}
[data-theme="light"] .icon-red{background:rgba(220,38,38,.08)}
/* Light integrations */
[data-theme="light"] .integration-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
[data-theme="light"] .integration-card:hover{
  background:#ffffff;
  border-color:rgba(37,99,235,.2);
  box-shadow:0 8px 24px rgba(37,99,235,.08);
}
[data-theme="light"] .integration-icon{
  background:rgba(37,99,235,.04);
}
/* Light code */
[data-theme="light"] .code-block{
  background:#1e293b;
  border-color:rgba(0,0,0,.15);
}
[data-theme="light"] .code-body{
  color:#e2e8f0;
}
[data-theme="light"] .code-body .keyword{color:#60a5fa}
[data-theme="light"] .code-body .string{color:#34d399}
[data-theme="light"] .code-body .comment{color:#64748b}
/* Light blog */
[data-theme="light"] .blog-card{
  background:#ffffff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
[data-theme="light"] .blog-card:hover{
  box-shadow:0 12px 30px rgba(37,99,235,.08);
  border-color:rgba(37,99,235,.15);
}
[data-theme="light"] .blog-tag{
  background:rgba(37,99,235,.06);
}
[data-theme="light"] .search-bar input{
  background:#ffffff;
  border-color:rgba(0,0,0,.12);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
/* Light architecture */
[data-theme="light"] .arch-diagram{
  background:#ffffff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}
[data-theme="light"] .arch-node{
  background:#ffffff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
/* Light timeline */
[data-theme="light"] .timeline-dot{
  border-color:#f8fafc;
}
[data-theme="light"] .timeline::before{
  background:rgba(0,0,0,.1);
}
/* Light particles & shapes — more subtle */
[data-theme="light"] .particle{
  background:var(--blue);opacity:.04;
}
[data-theme="light"] .shape{opacity:.06}
/* Light misc */
[data-theme="light"] .alt-image{
  box-shadow:0 20px 60px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
}
[data-theme="light"] .footer-newsletter input{
  background:#ffffff;
  border-color:rgba(0,0,0,.12);
  color:#0f172a;
}
[data-theme="light"] .stat-num{
  background:var(--gradient-primary);-webkit-background-clip:text;background-clip:text;
}
[data-theme="light"] .gradient-text{
  background:linear-gradient(135deg,#1d4ed8,#0284c7);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
/* Light section alternation — subtle blue/white stripes */
[data-theme="light"] .section:nth-child(even),
[data-theme="light"] section:nth-of-type(even){
  background:rgba(241,245,249,.5);
}
/* Light hero photo overlay uses softer tint */
[data-theme="light"] .parallax-section .parallax-overlay{
  background:linear-gradient(180deg,rgba(248,250,252,.95) 0%,rgba(248,250,252,.88) 30%,rgba(248,250,252,.95) 100%) !important;
}
/* Light stats section — keep it vivid */
[data-theme="light"] .stats-row .stat-num{
  color:var(--blue);
}
/* Light hamburger */
[data-theme="light"] .hamburger span{
  background:#0f172a;
}
/* Stats divider — works in both themes */
.stats-overlay{
  background:linear-gradient(135deg,rgba(37,99,235,.92),rgba(11,17,32,.88));
}
[data-theme="light"] .stats-overlay{
  background:linear-gradient(135deg,rgba(37,99,235,.9),rgba(30,64,175,.85)) !important;
}
[data-theme="light"] .stats-divider .stat-num{
  -webkit-text-fill-color:#fff;color:#fff;background:none;
}
[data-theme="light"] .stats-divider .stat-label{
  color:rgba(255,255,255,.7);
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg-dark);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:var(--blue-light);text-decoration:none;transition:color .2s}
a:hover{color:var(--sky)}
img{max-width:100%;display:block}
.mono{font-family:'JetBrains Mono','Fira Code',monospace}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.section-eyebrow{
  font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;
  color:var(--sky);font-weight:700;margin-bottom:.75rem;
  display:inline-flex;align-items:center;gap:.5rem;
}
.section-eyebrow::before{
  content:'';width:24px;height:2px;background:var(--gradient-primary);border-radius:1px;
}
.section-title{
  font-size:clamp(2rem,4vw,3rem);font-weight:800;letter-spacing:-.03em;
  margin-bottom:1rem;line-height:1.1;color:var(--text);
}
.section-sub{
  color:var(--text-secondary);font-size:1.1rem;margin-bottom:3rem;
  max-width:600px;line-height:1.7;
}
.center{text-align:center;margin-left:auto;margin-right:auto}
.gradient-text{
  background:var(--gradient-primary);-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;background-clip:text;
  background-size:200% 200%;animation:gradientShift 3s ease infinite;
}
@keyframes gradientShift{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}

/* =============================================
   LAYOUT
   ============================================= */
.container{max-width:var(--max-width);margin:0 auto;padding:0 2rem}
.section{padding:7rem 2rem}
.section-sm{padding:5rem 2rem}

/* =============================================
   PARTICLE DOTS BACKGROUND
   ============================================= */
.particles{
  position:fixed;top:0;left:0;width:100%;height:100%;
  pointer-events:none;z-index:0;overflow:hidden;
}
.particle{
  position:absolute;width:2px;height:2px;background:var(--blue);
  border-radius:50%;opacity:.15;animation:particleDrift linear infinite;
}
@keyframes particleDrift{
  0%{transform:translateY(100vh) translateX(0);opacity:0}
  10%{opacity:.15}
  90%{opacity:.15}
  100%{transform:translateY(-10vh) translateX(100px);opacity:0}
}

/* =============================================
   GLASSMORPHISM NAV
   ============================================= */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(11,17,32,.75);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  transition:var(--transition);
}
.nav.scrolled{
  background:rgba(11,17,32,.92);
  box-shadow:0 4px 30px rgba(0,0,0,.3);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  max-width:var(--max-width);margin:0 auto;padding:.875rem 2rem;
}
.logo{font-size:1.4rem;font-weight:800;letter-spacing:-.03em;color:var(--text)}
.logo span{background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.nav-links{display:flex;align-items:center;gap:.5rem}
.nav-links a{
  color:var(--muted);font-size:.82rem;font-weight:500;
  transition:var(--transition);position:relative;
  padding:.45rem .9rem;border-radius:8px;
}
.nav-links a:hover{color:var(--text);background:var(--surface-hover)}
.nav-links a.active{color:var(--text);background:var(--surface);font-weight:600}
.nav-links a.active::after{display:none}
.nav-cta{
  padding:.55rem 1.35rem;border-radius:8px;
  background:var(--gradient-primary);color:#fff !important;
  font-size:.82rem;font-weight:600;transition:var(--transition);
  box-shadow:0 2px 10px var(--blue-glow);border:none;cursor:pointer;
  white-space:nowrap;line-height:1.4;
}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 4px 20px var(--blue-glow)}

/* Theme toggle */
.theme-toggle{
  width:36px;height:36px;border-radius:8px;border:1px solid var(--border);
  background:var(--surface);color:var(--text);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:var(--transition);flex-shrink:0;
}
.theme-toggle:hover{background:var(--surface-hover);border-color:var(--blue)}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .icon-moon{display:block}
.theme-toggle .icon-sun{display:none}
[data-theme="light"] .theme-toggle .icon-moon{display:none}
[data-theme="light"] .theme-toggle .icon-sun{display:block}

/* Hamburger */
.hamburger{
  display:none;flex-direction:column;gap:5px;cursor:pointer;
  background:none;border:none;padding:4px;z-index:1001;
}
.hamburger span{
  width:22px;height:2px;background:var(--text);border-radius:1px;
  transition:var(--transition);
}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Mobile nav */
.mobile-nav{
  display:none;position:fixed;top:0;left:0;right:0;bottom:0;
  background:rgba(11,17,32,.97);backdrop-filter:blur(20px);
  z-index:999;flex-direction:column;align-items:center;
  justify-content:center;gap:2rem;opacity:0;pointer-events:none;
  transition:opacity .3s;
}
.mobile-nav.open{display:flex;opacity:1;pointer-events:auto}
.mobile-nav a{
  color:var(--text);font-size:1.25rem;font-weight:600;
  transition:var(--transition);
}
.mobile-nav a:hover{color:var(--blue-light)}

/* =============================================
   BUTTONS
   ============================================= */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.75rem 1.75rem;border-radius:10px;font-size:.9rem;
  font-weight:600;border:none;cursor:pointer;transition:var(--transition);
  font-family:inherit;text-decoration:none;position:relative;overflow:hidden;
}
.btn-primary{
  background:var(--gradient-primary);color:#fff;
  box-shadow:0 2px 15px var(--blue-glow);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px var(--blue-glow)}
.btn-secondary{
  background:transparent;color:var(--text);
  border:1px solid var(--border);backdrop-filter:blur(10px);
}
.btn-secondary:hover{border-color:var(--blue);background:rgba(37,99,235,.1);color:var(--blue-light)}
.btn-white{background:#fff;color:var(--bg-dark);font-weight:700}
.btn-white:hover{background:#f0f4ff;transform:translateY(-2px)}
.btn-lg{padding:1rem 2.25rem;font-size:1rem;border-radius:12px}

/* Ripple effect */
.ripple-btn{position:relative;overflow:hidden}
.ripple-btn .ripple{
  position:absolute;border-radius:50%;background:rgba(255,255,255,.3);
  transform:scale(0);animation:rippleAnim .6s linear;pointer-events:none;
}
@keyframes rippleAnim{to{transform:scale(4);opacity:0}}

/* =============================================
   GLOW CARDS
   ============================================= */
.glow-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:2rem;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
}
.glow-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--gradient-primary);opacity:0;transition:opacity .3s;
}
/* Color-accented feature cards */
.glow-card[data-accent="blue"]{ border-top:2px solid var(--blue) }
.glow-card[data-accent="sky"]{ border-top:2px solid var(--sky) }
.glow-card[data-accent="emerald"]{ border-top:2px solid var(--emerald) }
.glow-card[data-accent="amber"]{ border-top:2px solid var(--amber) }
.glow-card[data-accent="red"]{ border-top:2px solid var(--red) }
.glow-card:hover{
  border-color:rgba(37,99,235,.3);
  box-shadow:0 8px 40px rgba(37,99,235,.12);
  transform:translateY(-4px);
  background:rgba(255,255,255,.09);
}
.glow-card:hover::before{opacity:1}

/* =============================================
   TILT CARDS (3D hover)
   ============================================= */
.tilt-card{
  transition:transform .3s ease;
  transform-style:preserve-3d;
  perspective:1000px;
}

/* =============================================
   FLOATING ANIMATION
   ============================================= */
.float{animation:floatAnim 6s ease-in-out infinite}
.float-delay{animation:floatAnim 6s ease-in-out 2s infinite}
.float-slow{animation:floatAnim 8s ease-in-out 1s infinite}
@keyframes floatAnim{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-20px)}
}

/* =============================================
   FLOATING SHAPES (gradient orbs)
   ============================================= */
.floating-shapes{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.shape{
  position:absolute;border-radius:50%;filter:blur(80px);opacity:.15;
}
.shape-blue{background:var(--blue);width:400px;height:400px}
.shape-sky{background:var(--sky);width:300px;height:300px}
.shape-emerald{background:var(--emerald);width:350px;height:350px}
.shape-amber{background:var(--amber);width:250px;height:250px}

/* =============================================
   PARALLAX SECTIONS
   ============================================= */
.parallax-section{
  position:relative;overflow:hidden;
}
.parallax-bg{
  position:absolute;inset:-20%;
  background-size:cover;background-position:center;
  background-attachment:fixed;
  z-index:0;
}
.parallax-overlay{
  position:absolute;inset:0;z-index:1;
}
.parallax-content{
  position:relative;z-index:2;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
html.js-ready .reveal{
  opacity:0;transform:translateY(30px);
  transition:opacity .7s cubic-bezier(.4,0,.2,1),transform .7s cubic-bezier(.4,0,.2,1);
}
html.js-ready .reveal.visible{opacity:1;transform:translateY(0)}
.reveal-d1{transition-delay:.1s !important}
.reveal-d2{transition-delay:.2s !important}
.reveal-d3{transition-delay:.3s !important}
.reveal-d4{transition-delay:.4s !important}
.reveal-d5{transition-delay:.5s !important}

/* =============================================
   ANIMATED COUNTERS
   ============================================= */
.counter{font-family:'JetBrains Mono','Fira Code',monospace;font-weight:800}

/* =============================================
   WAVE / DIAGONAL SECTION TRANSITIONS
   ============================================= */
.wave-divider{
  position:relative;margin-top:-1px;
}
.wave-divider svg{display:block;width:100%;height:auto}
.diagonal-top{
  clip-path:polygon(0 8%,100% 0,100% 100%,0 100%);
  margin-top:-4rem;padding-top:7rem;
}

/* =============================================
   HERO (shared)
   ============================================= */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;
  justify-content:center;overflow:hidden;
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,17,32,.88) 0%,rgba(11,17,32,.75) 50%,var(--bg-dark) 100%);
}
.hero-content{
  position:relative;z-index:2;text-align:center;
  max-width:900px;padding:8rem 2rem 6rem;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.5rem 1.25rem;border-radius:50px;
  background:rgba(37,99,235,.1);border:1px solid rgba(37,99,235,.2);
  font-size:.8rem;font-weight:600;color:var(--blue-light);
  letter-spacing:.03em;margin-bottom:2rem;
}
.hero h1{
  font-size:clamp(2.5rem,5.5vw,4rem);font-weight:900;
  line-height:1.08;letter-spacing:-.04em;margin-bottom:1.5rem;
}
.hero .hero-sub{
  font-size:1.2rem;color:var(--text-secondary);
  max-width:650px;margin:0 auto 2.5rem;line-height:1.7;
}
.hero-actions{
  display:flex;align-items:center;justify-content:center;
  gap:1rem;flex-wrap:wrap;margin-bottom:2rem;
}
.hero-trust{
  display:flex;align-items:center;justify-content:center;
  gap:2rem;margin-top:1rem;flex-wrap:wrap;
}
.hero-trust span{
  font-size:.82rem;color:var(--muted);
  display:flex;align-items:center;gap:.4rem;
}
.hero-trust svg{width:16px;height:16px;color:var(--emerald)}

/* Bounce scroll indicator */
.scroll-indicator{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  z-index:2;animation:bounce 2s infinite;
  color:var(--muted);opacity:.6;
}
@keyframes bounce{
  0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0)}
  40%{transform:translateX(-50%) translateY(-10px)}
  60%{transform:translateX(-50%) translateY(-5px)}
}

/* =============================================
   PAGE HERO (shorter, for inner pages)
   ============================================= */
.page-hero{
  position:relative;padding:10rem 2rem 5rem;text-align:center;
  overflow:hidden;
}
.page-hero .floating-shapes{z-index:0}
.page-hero .hero-content{
  position:relative;z-index:1;padding:0;
  max-width:800px;margin:0 auto;
}
.page-hero h1{
  font-size:clamp(2.2rem,4.5vw,3.2rem);font-weight:900;
  line-height:1.1;letter-spacing:-.03em;margin-bottom:1rem;
}
.page-hero p{
  font-size:1.15rem;color:var(--text-secondary);
  max-width:600px;margin:0 auto;line-height:1.7;
}

/* =============================================
   STAT COUNTERS
   ============================================= */
.stats-row{
  display:flex;justify-content:center;gap:4rem;
  flex-wrap:wrap;padding:2rem 0;
}
.stat-item{text-align:center}
.stat-num{
  font-family:'JetBrains Mono',monospace;
  font-size:2.5rem;font-weight:900;
  background:var(--gradient-primary);-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;background-clip:text;
  line-height:1.2;
}
.stat-label{
  font-size:.8rem;color:var(--muted);text-transform:uppercase;
  letter-spacing:.08em;margin-top:.25rem;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.compare-table{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
}
.compare-header{
  display:grid;grid-template-columns:1.5fr 1fr 1fr;
  padding:1rem 1.5rem;border-bottom:1px solid var(--border);
  font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;
  color:var(--muted);font-weight:600;
}
.compare-header .ch-new{color:var(--blue-light);font-weight:700}
.compare-row{
  display:grid;grid-template-columns:1.5fr 1fr 1fr;
  padding:.9rem 1.5rem;border-bottom:1px solid var(--border-light);
  align-items:center;font-size:.9rem;transition:background .15s;
}
.compare-row:hover{background:rgba(37,99,235,.05)}
.compare-row:last-child{border-bottom:none}
.compare-row .label{color:var(--text);font-weight:500}
.compare-row .old{color:var(--red);opacity:.7}
.compare-row .new{color:var(--emerald);font-weight:600}

/* =============================================
   TESTIMONIAL CAROUSEL
   ============================================= */
.testimonial-track{
  display:flex;gap:2rem;overflow-x:auto;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;padding:1rem 0 2rem;
  scrollbar-width:none;
}
.testimonial-track::-webkit-scrollbar{display:none}
.testimonial-card{
  flex:0 0 380px;scroll-snap-align:start;
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:2rem;
}
.testimonial-text{
  font-size:.95rem;color:var(--text-secondary);
  line-height:1.7;margin-bottom:1.5rem;font-style:italic;
}
.testimonial-author{display:flex;align-items:center;gap:.75rem}
.testimonial-avatar{
  width:40px;height:40px;border-radius:50%;
  background:var(--gradient-primary);display:flex;align-items:center;
  justify-content:center;font-weight:700;font-size:.8rem;color:#fff;
}
.testimonial-name{font-weight:600;font-size:.85rem}
.testimonial-role{font-size:.75rem;color:var(--muted)}

/* =============================================
   TEAM CARDS
   ============================================= */
.team-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;
}
.team-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
  transition:var(--transition);cursor:pointer;
}
.team-card:hover{
  border-color:rgba(37,99,235,.3);
  box-shadow:0 12px 40px rgba(37,99,235,.1);
  transform:translateY(-4px);
}
.team-card img{
  width:100%;height:280px;object-fit:cover;
  transition:transform .5s;
}
.team-card:hover img{transform:scale(1.05)}
.team-card-info{padding:1.5rem}
.team-card-info h3{font-size:1.05rem;font-weight:700;margin-bottom:.25rem}
.team-card-info .role{font-size:.8rem;color:var(--blue-light);font-weight:500;margin-bottom:0}
.team-card-info .bio{
  font-size:.82rem;color:var(--muted);line-height:1.6;
}
.team-card-info .quote{
  font-size:.82rem;color:var(--text-secondary);font-style:italic;
  padding-left:.75rem;
  border-left:2px solid var(--blue);
}

/* =============================================
   ICON BOXES
   ============================================= */
.icon-box{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;
}
.icon-box svg{width:24px;height:24px}
.icon-blue{background:rgba(37,99,235,.1);color:var(--blue-light)}
.icon-emerald{background:rgba(16,185,129,.1);color:var(--emerald)}
.icon-sky{background:rgba(14,165,233,.1);color:var(--sky)}
.icon-amber{background:rgba(245,158,11,.1);color:var(--amber)}
.icon-red{background:rgba(239,68,68,.1);color:var(--red)}

/* =============================================
   FEATURES GRID (2x3)
   ============================================= */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}

/* =============================================
   DEMO CARD
   ============================================= */
.demo-card{
  background:var(--bg-card);border:1px solid rgba(37,99,235,.2);
  border-radius:var(--radius-lg);padding:2rem;
  box-shadow:0 8px 40px rgba(0,0,0,.25),0 0 60px rgba(37,99,235,.08);
}
.demo-bar{
  display:flex;align-items:center;gap:.75rem;
  padding:.7rem 1rem;border-radius:10px;
  background:var(--surface);border:1px solid var(--border);
  margin-bottom:1.25rem;font-size:.85rem;color:var(--muted);
}
.demo-bar svg{width:16px;height:16px;flex-shrink:0;color:var(--blue-light)}
.demo-vendor{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}
.demo-avatar{
  width:42px;height:42px;border-radius:11px;
  background:var(--gradient-primary);display:flex;align-items:center;
  justify-content:center;font-weight:700;font-size:.85rem;color:#fff;flex-shrink:0;
}
.demo-vendor-name{font-weight:700;font-size:.95rem}
.demo-vendor-cat{font-size:.75rem;color:var(--muted)}
.demo-score-row{display:flex;align-items:center;gap:1.75rem;margin-bottom:1.25rem}
.demo-ring{position:relative;width:90px;height:90px;flex-shrink:0}
.demo-ring svg{transform:rotate(-90deg)}
.demo-ring circle{fill:none;stroke-width:5}
.demo-ring .rbg{stroke:var(--border)}
.demo-ring .rfill{stroke:var(--emerald);stroke-linecap:round;stroke-dasharray:226;stroke-dashoffset:50;transition:stroke-dashoffset 1.5s ease}
.demo-ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.demo-ring-num{font-family:'JetBrains Mono',monospace;font-size:1.6rem;font-weight:800;color:var(--emerald);line-height:1}
.demo-ring-label{font-size:.6rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:.2rem}
.demo-cats{flex:1;display:flex;flex-direction:column;gap:.5rem}
.demo-cat-row{display:flex;align-items:center;justify-content:space-between;font-size:.8rem;padding:.25rem .4rem;border-radius:6px;transition:background .15s}
.demo-cat-row:hover{background:rgba(37,99,235,.05)}
.demo-cat-name{color:var(--muted);min-width:70px}
.demo-cat-val{font-family:'JetBrains Mono',monospace;font-weight:700;min-width:28px;text-align:right}
.demo-cat-bar{flex:1;height:4px;background:var(--border);border-radius:2px;margin:0 .75rem;overflow:hidden}
.demo-cat-fill{height:100%;border-radius:2px;transition:width .8s ease}
.demo-footer{
  display:flex;align-items:center;gap:.5rem;
  padding-top:.75rem;border-top:1px solid var(--border);
  font-size:.72rem;color:var(--muted);
}
.demo-src{
  padding:.2rem .5rem;border-radius:4px;
  background:var(--surface);border:1px solid var(--border);
  font-family:'JetBrains Mono',monospace;font-weight:600;font-size:.65rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section{
  position:relative;padding:6rem 2rem;overflow:hidden;
  background:linear-gradient(135deg,rgba(37,99,235,.15),rgba(14,165,233,.1));
  border-top:1px solid rgba(37,99,235,.15);
  border-bottom:1px solid rgba(37,99,235,.15);
}
.cta-section .floating-shapes{z-index:0}
.cta-content{position:relative;z-index:1;text-align:center;max-width:600px;margin:0 auto}
.cta-content h2{font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;margin-bottom:1rem;letter-spacing:-.02em}
.cta-content p{color:var(--text-secondary);margin-bottom:2rem;font-size:1rem;line-height:1.7}
.cta-form{
  display:flex;gap:.75rem;max-width:440px;margin:0 auto;
  flex-wrap:wrap;justify-content:center;
}
.cta-input{
  flex:1;min-width:220px;padding:.9rem 1.25rem;border-radius:10px;
  border:1px solid var(--border);background:var(--surface);
  color:var(--text);font-size:.9rem;font-family:inherit;
  outline:none;transition:border-color .2s;
}
.cta-input:focus{border-color:var(--blue)}
.cta-input::placeholder{color:var(--muted)}

/* =============================================
   FOOTER
   ============================================= */
.footer{
  border-top:1px solid var(--border);
  padding:4rem 2rem 2rem;
  background:var(--bg-darker);
  position:relative;
}
.footer::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:var(--gradient-primary);
}
.footer-inner{
  max-width:var(--max-width);margin:0 auto;
  display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:3rem;
}
.footer-brand{margin-bottom:1rem}
.footer-brand .logo{margin-bottom:.75rem}
.footer-brand p{font-size:.85rem;color:var(--muted);line-height:1.65;max-width:280px}
.footer-col h4{
  font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;
  color:var(--text);font-weight:700;margin-bottom:1.25rem;
}
.footer-col a{
  display:block;font-size:.85rem;color:var(--muted);
  padding:.3rem 0;transition:color .2s;
}
.footer-col a:hover{color:var(--text)}
.footer-newsletter{
  display:flex;gap:.5rem;margin-top:.5rem;
}
.footer-newsletter input{
  flex:1;padding:.6rem .85rem;border-radius:8px;
  border:1px solid var(--border);background:var(--bg-card);
  color:var(--text);font-size:.82rem;font-family:inherit;outline:none;
}
.footer-newsletter input:focus{border-color:var(--blue)}
.footer-newsletter button{
  padding:.6rem 1rem;border-radius:8px;
  background:var(--gradient-primary);color:#fff;
  font-size:.82rem;font-weight:600;border:none;cursor:pointer;
  transition:var(--transition);
}
.footer-newsletter button:hover{transform:translateY(-1px)}
.footer-bottom{
  max-width:var(--max-width);margin:2rem auto 0;
  padding-top:1.5rem;border-top:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;
}
.footer-bottom p{font-size:.78rem;color:var(--muted)}
.footer-bottom-links{display:flex;gap:1.5rem}
.footer-bottom-links a{font-size:.78rem;color:var(--muted);transition:color .2s}
.footer-bottom-links a:hover{color:var(--text)}

/* =============================================
   ALTERNATING LAYOUT SECTIONS (Solutions page)
   ============================================= */
.alt-section{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  align-items:center;padding:5rem 0;
}
.alt-section.reverse{direction:rtl}
.alt-section.reverse > *{direction:ltr}
.alt-image{
  border-radius:var(--radius-xl);overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}
.alt-image img{width:100%;height:360px;object-fit:cover}
.alt-content .metric-callout{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.6rem 1.25rem;border-radius:50px;
  background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.2);
  font-family:'JetBrains Mono',monospace;font-size:.85rem;
  font-weight:700;color:var(--emerald);margin-bottom:1.5rem;
}
.alt-content h2{font-size:1.8rem;font-weight:800;letter-spacing:-.02em;margin-bottom:.75rem;line-height:1.15}
.alt-content p{font-size:.95rem;color:var(--text-secondary);line-height:1.7;margin-bottom:1.5rem}
.benefit-list{list-style:none;display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.5rem}
.benefit-list li{
  display:flex;align-items:flex-start;gap:.6rem;
  font-size:.88rem;color:var(--text-secondary);line-height:1.5;
}
.benefit-list li svg{width:18px;height:18px;color:var(--emerald);flex-shrink:0;margin-top:.15rem}

/* =============================================
   INTEGRATION GRID
   ============================================= */
.integration-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1.25rem;
}
.integration-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.5rem;text-align:center;
  transition:var(--transition);
}
.integration-card:hover{
  border-color:rgba(37,99,235,.3);
  background:rgba(255,255,255,.06);
  transform:translateY(-2px);
}
.integration-icon{
  width:48px;height:48px;border-radius:12px;
  margin:0 auto .75rem;display:flex;align-items:center;
  justify-content:center;font-size:1.5rem;
  background:var(--surface);
}
.integration-card h4{font-size:.85rem;font-weight:600;margin-bottom:.2rem}
.integration-card p{font-size:.72rem;color:var(--muted)}

/* =============================================
   CODE SNIPPET
   ============================================= */
.code-block{
  background:rgba(0,0,0,.4);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;
}
.code-header{
  display:flex;align-items:center;gap:.5rem;
  padding:.6rem 1rem;border-bottom:1px solid var(--border);
  font-size:.75rem;color:var(--muted);
}
.code-dot{width:8px;height:8px;border-radius:50%}
.code-dot.red{background:#ef4444}.code-dot.yellow{background:#f59e0b}.code-dot.green{background:#10b981}
.code-body{
  padding:1.25rem;font-family:'JetBrains Mono',monospace;
  font-size:.8rem;line-height:1.8;color:var(--text-secondary);
  overflow-x:auto;
}
.code-body .keyword{color:var(--blue-light)}
.code-body .string{color:var(--emerald)}
.code-body .comment{color:var(--muted)}

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.blog-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
  transition:var(--transition);
}
.blog-card:hover{
  border-color:rgba(37,99,235,.3);
  box-shadow:0 12px 40px rgba(37,99,235,.1);
  transform:translateY(-4px);
}
.blog-card img{width:100%;height:200px;object-fit:cover;transition:transform .5s}
.blog-card:hover img{transform:scale(1.05)}
.blog-card-body{padding:1.5rem}
.blog-tag{
  display:inline-block;padding:.25rem .7rem;border-radius:50px;
  font-size:.7rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.05em;margin-bottom:.75rem;
  background:rgba(37,99,235,.1);color:var(--blue-light);
}
.blog-card h3{font-size:1.05rem;font-weight:700;margin-bottom:.5rem;line-height:1.3}
.blog-card h3 a{color:var(--text);transition:color .2s}
.blog-card h3 a:hover{color:var(--blue-light)}
.blog-excerpt{font-size:.85rem;color:var(--muted);line-height:1.6;margin-bottom:1rem}
.blog-meta{
  display:flex;align-items:center;gap:.75rem;
  font-size:.75rem;color:var(--muted);
  padding-top:.75rem;border-top:1px solid var(--border);
}
.blog-meta img{width:28px;height:28px;border-radius:50%;object-fit:cover}

/* =============================================
   TIMELINE
   ============================================= */
.timeline{position:relative;padding:2rem 0}
.timeline::before{
  content:'';position:absolute;left:50%;top:0;bottom:0;
  width:2px;background:var(--border);transform:translateX(-50%);
}
.timeline-item{
  position:relative;width:50%;padding:1.5rem 3rem;
}
.timeline-item:nth-child(odd){margin-left:0;text-align:right}
.timeline-item:nth-child(even){margin-left:50%;text-align:left}
.timeline-dot{
  position:absolute;top:2rem;width:14px;height:14px;
  border-radius:50%;background:var(--gradient-primary);
  border:3px solid var(--bg-dark);
}
.timeline-item:nth-child(odd) .timeline-dot{right:-7px}
.timeline-item:nth-child(even) .timeline-dot{left:-7px}
.timeline-year{
  font-family:'JetBrains Mono',monospace;font-size:.85rem;
  font-weight:700;color:var(--blue-light);margin-bottom:.5rem;
}
.timeline-item h3{font-size:1.05rem;font-weight:700;margin-bottom:.35rem}
.timeline-item p{font-size:.85rem;color:var(--muted);line-height:1.6}

/* =============================================
   VALUES CARDS
   ============================================= */
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

/* =============================================
   SEARCH BAR (Blog)
   ============================================= */
.search-bar{
  max-width:500px;margin:2rem auto 0;position:relative;
}
.search-bar input{
  width:100%;padding:1rem 1.25rem 1rem 3rem;border-radius:12px;
  border:1px solid var(--border);background:var(--surface);
  color:var(--text);font-size:.95rem;font-family:inherit;
  outline:none;transition:border-color .2s;
}
.search-bar input:focus{border-color:var(--blue)}
.search-bar input::placeholder{color:var(--muted)}
.search-bar svg{
  position:absolute;left:1rem;top:50%;transform:translateY(-50%);
  width:18px;height:18px;color:var(--muted);
}

/* =============================================
   ARCHITECTURE DIAGRAM
   ============================================= */
.arch-diagram{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-xl);padding:3rem;
  position:relative;overflow:hidden;
}
.arch-node{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.6rem 1.25rem;border-radius:10px;
  border:1px solid var(--border);background:var(--bg-card);
  font-size:.82rem;font-weight:600;transition:var(--transition);
}
.arch-node:hover{border-color:var(--blue);background:rgba(37,99,235,.1)}
.arch-flow{
  display:flex;align-items:center;justify-content:center;
  gap:1rem;flex-wrap:wrap;padding:1.5rem 0;
}
.arch-arrow{color:var(--blue-light);font-size:1.5rem;animation:arrowPulse 2s infinite}
@keyframes arrowPulse{
  0%,100%{opacity:.4}
  50%{opacity:1}
}

/* =============================================
   PROBLEM / SOLUTION GRID
   ============================================= */
.problem-solution-grid{
  display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;
  align-items:stretch;max-width:1000px;margin:0 auto;
}
.problem-solution-connector{
  display:flex;align-items:center;justify-content:center;
}

/* =============================================
   HOW IT WORKS STEPS
   ============================================= */
.steps-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;
  position:relative;max-width:1000px;margin:0 auto;
}
.steps-progress-line{
  position:absolute;top:48px;left:calc(16.67% + 30px);right:calc(16.67% + 30px);
  height:2px;background:var(--border);border-radius:1px;
}
.step-item{text-align:center;position:relative;z-index:1}
.step-number{
  width:64px;height:64px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;font-weight:800;font-size:1.25rem;color:#fff;
  background:var(--gradient-primary);box-shadow:0 4px 20px var(--blue-glow);
  margin:0 auto 1.5rem;
}
.step-img{width:100%;height:160px;object-fit:cover;border-radius:12px;margin-bottom:1.25rem}
.step-title{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.step-desc{font-size:.88rem;color:var(--muted);line-height:1.6}

/* =============================================
   SCENARIO CARD ELEMENTS
   ============================================= */
.scenario-title{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.scenario-text{font-size:.88rem;color:var(--text-secondary);line-height:1.65}
.scenario-badge{
  display:inline-block;margin-top:1rem;font-size:.72rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.06em;padding:.3rem .7rem;border-radius:5px;
}
.scenario-badge--red{background:rgba(239,68,68,.1);color:var(--red)}
.scenario-badge--amber{background:rgba(245,158,11,.1);color:var(--amber)}
.scenario-badge--emerald{background:rgba(16,185,129,.1);color:var(--emerald)}

/* =============================================
   TEAM CARD HOVER REVEAL
   ============================================= */
.team-card-info .bio,
.team-card-info .quote{
  max-height:0;overflow:hidden;opacity:0;
  transition:max-height .4s ease,opacity .3s ease,margin .3s ease;
  margin-top:0;
}
.team-card:hover .bio{
  display:block;max-height:120px;opacity:1;margin-top:.5rem;
}
.team-card:hover .quote{
  display:block;max-height:80px;opacity:1;margin-top:.75rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:2rem}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .alt-section{grid-template-columns:1fr;gap:2rem}
  .alt-section.reverse{direction:ltr}
  .alt-image img{height:280px}
  .values-grid{grid-template-columns:repeat(2,1fr)}
  .timeline-item{width:100%;margin-left:0 !important;text-align:left !important;padding-left:3rem}
  .timeline::before{left:0}
  .timeline-dot{left:-7px !important;right:auto !important}
}
@media(max-width:768px){
  .hamburger{display:flex}
  .nav-links{display:none}
  .hero-content{padding:7rem 1.5rem 4rem}
  .hero h1{font-size:clamp(2rem,6vw,3rem)}
  .section{padding:5rem 1.5rem}
  .section-sm{padding:3.5rem 1.5rem}
  .features-grid{grid-template-columns:1fr 1fr}
  .blog-grid{grid-template-columns:1fr}
  .stats-row{gap:2rem}
  .stat-num{font-size:2rem}
  .testimonial-card{flex:0 0 300px}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .compare-header,.compare-row{grid-template-columns:1.2fr 1fr 1fr;padding:.75rem 1rem;font-size:.8rem}
  .page-hero{padding:8rem 1.5rem 3.5rem}
  .page-hero h1{font-size:clamp(1.8rem,5vw,2.5rem)}
  /* Problem/Solution stacks vertically */
  .problem-solution-grid{grid-template-columns:1fr;gap:1.5rem}
  .problem-solution-connector{transform:rotate(90deg);padding:.5rem 0}
  /* How It Works stacks vertically */
  .steps-grid{grid-template-columns:1fr;gap:2rem}
  .steps-progress-line{display:none}
  .step-item{text-align:left;display:flex;flex-direction:row;gap:1.25rem;align-items:flex-start}
  .step-number{flex-shrink:0;width:48px;height:48px;font-size:1rem;margin:0}
  .step-img{display:none}
  .step-content{flex:1}
}
@media(max-width:480px){
  .features-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr}
  .integration-grid{grid-template-columns:repeat(2,1fr)}
  .values-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column}
  .btn-lg{width:100%;justify-content:center}
  .stats-row{flex-direction:column;gap:1.5rem}
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.mt-0{margin-top:0}.mt-2{margin-top:1rem}.mt-4{margin-top:2rem}
.text-blue{color:var(--blue-light)}.text-emerald{color:var(--emerald)}.text-amber{color:var(--amber)}.text-red{color:var(--red)}
.text-muted{color:var(--muted)}
.relative{position:relative}.z-1{z-index:1}

/* =============================================
   BLOG ARTICLE RICH FEATURES
   ============================================= */

/* Reading progress bar */
.blog-progress{
  position:fixed;top:0;left:0;right:0;height:3px;z-index:1001;
  background:var(--gradient-primary);
  transform-origin:left;transform:scaleX(0);
  transition:transform .1s linear;
}

/* Article layout — 2 column (TOC + body) */
.article-layout{
  display:grid;grid-template-columns:220px 1fr;gap:3rem;
  max-width:1060px;margin:0 auto;padding:0 2rem;
}

/* Sticky table of contents */
.article-toc{
  position:sticky;top:5rem;align-self:start;
  max-height:calc(100vh - 6rem);overflow-y:auto;
  padding:1.25rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  scrollbar-width:thin;
}
.article-toc h4{
  font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;
  color:var(--muted);font-weight:700;margin-bottom:.75rem;
}
.article-toc ul{list-style:none}
.article-toc li{margin-bottom:.35rem}
.article-toc a{
  display:block;font-size:.8rem;color:var(--muted);
  padding:.3rem .6rem;border-radius:6px;border-left:2px solid transparent;
  transition:all .2s;line-height:1.4;
}
.article-toc a:hover{color:var(--text);background:var(--surface)}
.article-toc a.active{
  color:var(--blue-light);border-left-color:var(--blue);
  background:rgba(37,99,235,.08);font-weight:600;
}
.toc-toggle{
  display:none;padding:.6rem 1rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  color:var(--text);font-size:.85rem;font-weight:600;
  cursor:pointer;margin-bottom:1rem;width:100%;text-align:left;
  font-family:inherit;
}

/* Article body sections */
.article-body{max-width:720px}
.article-body h2{
  font-size:1.5rem;font-weight:800;letter-spacing:-.02em;
  margin:2.5rem 0 1rem;scroll-margin-top:5rem;line-height:1.2;
}
.article-body h3{
  font-size:1.15rem;font-weight:700;
  margin:2rem 0 .75rem;scroll-margin-top:5rem;line-height:1.3;
}
.article-body p{
  font-size:1.02rem;color:var(--text-secondary);
  line-height:1.85;margin-bottom:1.25rem;
}
.article-body ul,.article-body ol{
  margin:0 0 1.25rem 1.5rem;color:var(--text-secondary);
  font-size:1.02rem;line-height:1.85;
}
.article-body li{margin-bottom:.35rem}

/* Callout boxes */
.callout{
  padding:1.25rem 1.5rem;border-radius:var(--radius);
  margin:1.5rem 0;border-left:4px solid var(--blue);
  background:rgba(37,99,235,.06);
}
.callout p{margin-bottom:0;font-size:.92rem}
.callout strong{display:block;margin-bottom:.35rem;color:var(--text);font-size:.95rem}
.callout--emerald{border-left-color:var(--emerald);background:rgba(16,185,129,.06)}
.callout--amber{border-left-color:var(--amber);background:rgba(245,158,11,.06)}
.callout--red{border-left-color:var(--red);background:rgba(239,68,68,.06)}

/* Pull quotes */
.pullquote{
  font-size:1.3rem;font-style:italic;font-weight:500;
  color:var(--text);line-height:1.6;
  padding:1.5rem 0 1.5rem 1.75rem;margin:2rem 0;
  border-left:4px solid;
  border-image:var(--gradient-primary) 1;
}
.pullquote cite{
  display:block;font-size:.82rem;font-style:normal;
  color:var(--muted);margin-top:.75rem;font-weight:600;
}

/* Key takeaways */
.key-takeaways{
  padding:1.5rem 2rem;border-radius:var(--radius-lg);
  background:var(--bg-card);border:1px solid var(--border);
  margin:2rem 0;
}
.key-takeaways h4{
  font-size:.95rem;font-weight:700;margin-bottom:1rem;
  display:flex;align-items:center;gap:.5rem;
}
.key-takeaways ul{list-style:none;margin:0;padding:0}
.key-takeaways li{
  display:flex;align-items:flex-start;gap:.6rem;
  font-size:.92rem;color:var(--text-secondary);
  line-height:1.6;margin-bottom:.6rem;
}
.key-takeaways li::before{
  content:'✓';color:var(--emerald);font-weight:700;
  flex-shrink:0;margin-top:.1rem;
}

/* Stat callout boxes */
.stat-callout{
  display:inline-flex;flex-direction:column;align-items:center;
  padding:1.5rem 2rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  text-align:center;
}
.stat-callout .big-num{
  font-family:'JetBrains Mono',monospace;font-size:2.2rem;
  font-weight:900;background:var(--gradient-primary);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;line-height:1.2;
}
.stat-callout .stat-desc{
  font-size:.8rem;color:var(--muted);margin-top:.25rem;
  text-transform:uppercase;letter-spacing:.05em;font-weight:600;
}
.stat-callout-row{
  display:flex;gap:1.5rem;margin:2rem 0;flex-wrap:wrap;
  justify-content:center;
}

/* Comparison table (in-article) */
.comparison-table{
  width:100%;border-collapse:collapse;margin:1.5rem 0;
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);
}
.comparison-table th{
  background:rgba(37,99,235,.08);padding:.75rem 1rem;
  font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;
  font-weight:700;text-align:left;color:var(--text);
  border-bottom:2px solid var(--border);
}
.comparison-table td{
  padding:.65rem 1rem;font-size:.9rem;
  color:var(--text-secondary);
  border-bottom:1px solid var(--border-light);
}
.comparison-table tr:last-child td{border-bottom:none}
.comparison-table tr:hover td{background:rgba(37,99,235,.03)}

/* Step list (numbered with connector line) */
.step-list{
  list-style:none;margin:1.5rem 0;padding:0;
  counter-reset:step-counter;position:relative;
  padding-left:3rem;
}
.step-list::before{
  content:'';position:absolute;left:15px;top:20px;bottom:20px;
  width:2px;background:var(--border);
}
.step-list li{
  position:relative;margin-bottom:1.5rem;
  font-size:.95rem;color:var(--text-secondary);line-height:1.7;
  counter-increment:step-counter;
}
.step-list li::before{
  content:counter(step-counter);position:absolute;
  left:-3rem;top:0;width:30px;height:30px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:.75rem;font-weight:800;color:#fff;
  background:var(--gradient-primary);z-index:1;
}
.step-list li strong{display:block;color:var(--text);font-size:1rem;margin-bottom:.25rem}

/* Article image with caption */
.article-img{margin:2rem 0}
.article-img img{border-radius:var(--radius);width:100%}
.article-img figcaption{
  font-size:.8rem;color:var(--muted);text-align:center;
  margin-top:.5rem;font-style:italic;
}

/* Tag pills */
.tag-pills{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.5rem 0}
.tag-pills a{
  display:inline-block;padding:.3rem .8rem;border-radius:50px;
  font-size:.72rem;font-weight:600;
  background:rgba(37,99,235,.08);color:var(--blue-light);
  border:1px solid rgba(37,99,235,.15);transition:var(--transition);
  text-transform:uppercase;letter-spacing:.04em;
}
.tag-pills a:hover{background:rgba(37,99,235,.15);border-color:rgba(37,99,235,.3)}

/* Author bio card */
.author-bio{
  display:flex;align-items:center;gap:1.25rem;
  padding:1.5rem 2rem;border-radius:var(--radius-lg);
  background:var(--bg-card);border:1px solid var(--border);
  margin:3rem 0 2rem;
}
.author-bio .author-avatar{
  width:56px;height:56px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:1rem;color:#fff;
}
.author-bio .author-info h4{font-size:.95rem;font-weight:700;margin-bottom:.15rem}
.author-bio .author-info .author-role{font-size:.8rem;color:var(--blue-light);font-weight:500;margin-bottom:.25rem}
.author-bio .author-info .author-desc{font-size:.82rem;color:var(--muted);line-height:1.5}

/* Share buttons */
.share-buttons{
  display:flex;align-items:center;gap:.75rem;margin:1.5rem 0;
}
.share-buttons span{font-size:.8rem;color:var(--muted);font-weight:600}
.share-btn{
  width:36px;height:36px;border-radius:8px;border:1px solid var(--border);
  background:var(--surface);color:var(--text);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:var(--transition);font-family:inherit;font-size:.8rem;
}
.share-btn:hover{background:var(--surface-hover);border-color:var(--blue)}
.share-btn svg{width:16px;height:16px}

/* Previous / Next navigation */
.post-nav{
  display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;
  margin:3rem 0 2rem;
}
.post-nav a{
  display:block;padding:1.25rem 1.5rem;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--border);
  transition:var(--transition);
}
.post-nav a:hover{border-color:var(--blue);background:rgba(37,99,235,.05)}
.post-nav .nav-label{
  font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;
  color:var(--muted);font-weight:600;margin-bottom:.35rem;
}
.post-nav .nav-title{font-size:.9rem;font-weight:600;color:var(--text);line-height:1.3}
.post-nav a:last-child{text-align:right}

/* Back to top button */
.back-to-top{
  position:fixed;bottom:2rem;right:2rem;z-index:999;
  width:40px;height:40px;border-radius:50%;
  background:var(--gradient-primary);color:#fff;
  border:none;cursor:pointer;display:flex;
  align-items:center;justify-content:center;
  box-shadow:0 4px 20px var(--blue-glow);
  opacity:0;transform:translateY(10px);
  transition:opacity .3s,transform .3s;
  pointer-events:none;
}
.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.back-to-top:hover{transform:translateY(-2px);box-shadow:0 6px 25px var(--blue-glow)}
.back-to-top svg{width:18px;height:18px}

/* Blog filter tabs */
.blog-filters{
  display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;
  margin:1.5rem auto 0;max-width:700px;
}
.filter-tab{
  padding:.45rem 1.1rem;border-radius:50px;
  font-size:.78rem;font-weight:600;cursor:pointer;
  background:var(--surface);border:1px solid var(--border);
  color:var(--muted);transition:var(--transition);
  font-family:inherit;white-space:nowrap;
}
.filter-tab:hover{color:var(--text);border-color:var(--blue)}
.filter-tab.active{
  background:var(--gradient-primary);color:#fff;
  border-color:transparent;box-shadow:0 2px 10px var(--blue-glow);
}

/* Featured hero post */
.blog-featured{
  display:grid;grid-template-columns:1fr 1fr;gap:2rem;
  margin-bottom:2rem;align-items:center;
}
.blog-featured .blog-card{
  grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;
  gap:0;overflow:hidden;
}
.blog-featured .blog-card img{height:100%;min-height:280px;object-fit:cover}
.blog-featured .blog-card-body{padding:2rem;display:flex;flex-direction:column;justify-content:center}
.blog-featured .blog-card h3{font-size:1.35rem}
.blog-featured .blog-card .blog-excerpt{font-size:.92rem}

/* Formula block (for how-to posts) */
.formula-block{
  padding:1rem 1.5rem;border-radius:var(--radius);
  background:var(--surface);border:1px solid var(--border);
  font-family:'JetBrains Mono',monospace;font-size:.85rem;
  color:var(--text);margin:1.25rem 0;text-align:center;
  letter-spacing:.02em;
}

/* =============================================
   BLOG RICH FEATURES — LIGHT THEME
   ============================================= */
[data-theme="light"] .article-toc{
  background:#ffffff;border-color:rgba(0,0,0,.08);
}
[data-theme="light"] .callout{background:rgba(37,99,235,.04)}
[data-theme="light"] .callout--emerald{background:rgba(16,185,129,.04)}
[data-theme="light"] .callout--amber{background:rgba(245,158,11,.04)}
[data-theme="light"] .callout--red{background:rgba(239,68,68,.04)}
[data-theme="light"] .key-takeaways{background:#ffffff;border-color:rgba(0,0,0,.08)}
[data-theme="light"] .stat-callout{background:#ffffff;border-color:rgba(0,0,0,.08)}
[data-theme="light"] .comparison-table{border-color:rgba(0,0,0,.1)}
[data-theme="light"] .comparison-table th{background:rgba(37,99,235,.05)}
[data-theme="light"] .comparison-table td{border-color:rgba(0,0,0,.06)}
[data-theme="light"] .author-bio{background:#ffffff;border-color:rgba(0,0,0,.08)}
[data-theme="light"] .post-nav a{background:#ffffff;border-color:rgba(0,0,0,.08)}
[data-theme="light"] .post-nav a:hover{background:rgba(37,99,235,.03);border-color:rgba(37,99,235,.2)}
[data-theme="light"] .filter-tab{background:rgba(37,99,235,.03);border-color:rgba(0,0,0,.08)}
[data-theme="light"] .share-btn{background:#fff;border-color:rgba(0,0,0,.1)}
[data-theme="light"] .formula-block{background:#f8fafc;border-color:rgba(0,0,0,.08)}

/* =============================================
   BLOG RICH FEATURES — RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .article-layout{grid-template-columns:1fr;gap:0}
  .article-toc{position:relative;top:0;max-height:none;margin-bottom:2rem}
  .toc-toggle{display:block}
  .article-toc.collapsed ul{display:none}
  .blog-featured .blog-card{grid-template-columns:1fr}
  .blog-featured .blog-card img{min-height:200px;max-height:240px}
}
@media(max-width:768px){
  .article-layout{padding:0 1.5rem}
  .stat-callout-row{flex-direction:column;align-items:stretch}
  .stat-callout{width:100%}
  .post-nav{grid-template-columns:1fr}
  .author-bio{flex-direction:column;text-align:center}
  .pullquote{font-size:1.1rem}
  .blog-filters{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:.5rem}
  .blog-filters::-webkit-scrollbar{display:none}
}
@media(max-width:480px){
  .article-body h2{font-size:1.25rem}
  .step-list{padding-left:2.5rem}
  .comparison-table{font-size:.82rem}
  .comparison-table th,.comparison-table td{padding:.5rem .65rem}
}
