/* =========================================================
   Infinity Group USA — Payroll Website
   Core Design System
   ========================================================= */

:root {
  --color-primary: #4338CA;
  --color-primary-light: #6366F1;
  --color-primary-dark: #312E81;
  --color-accent: #0D9488;
  --color-accent-light: #14B8A6;
  --color-gold: #F59E0B;
  --color-gold-light: #FBBF24;
  --color-ink: #0F172A;
  --color-ink-soft: #1E293B;
  --color-slate: #475569;
  --color-slate-light: #64748B;
  --color-line: #E2E8F0;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8FAFC;
  --color-bg-tint: #EEF2FF;
  --color-success: #16A34A;
  --color-danger: #DC2626;

  --gradient-primary: linear-gradient(135deg, #4338CA 0%, #6366F1 45%, #0D9488 100%);
  --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #FB923C 100%);
  --gradient-dark: linear-gradient(160deg, #0F172A 0%, #1E1B4B 60%, #312E81 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 12px 40px rgba(67, 56, 202, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --container: 1180px;
  --nav-h: 80px;

  --ease: cubic-bezier(.22,1,.36,1);
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--color-slate); }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-tint { background: var(--color-bg-tint); }
.section-dark { background: var(--gradient-dark); color: #fff; }
.section-dark p { color: #C7D2FE; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-bg-tint);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(255,255,255,.1); color: var(--color-gold-light); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .98rem;
  border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 16px 32px rgba(67,56,202,.35); }
.btn-gold {
  background: var(--gradient-warm);
  color: #1a1200;
  box-shadow: 0 10px 30px rgba(245,158,11,.35);
}
.btn-gold:hover { transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }
.section-dark .btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, height .3s ease;
}
.navbar.scrolled {
  height: 68px;
  box-shadow: 0 4px 24px rgba(15,23,42,.06);
  border-bottom-color: var(--color-line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-ink);
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  transition: height .3s ease;
}
.navbar.scrolled .logo-img { height: 50px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: .94rem;
  color: var(--color-slate);
  transition: background .25s ease, color .25s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--color-bg-tint); color: var(--color-primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lead { font-size: 1.18rem; color: var(--color-slate); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 28px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--color-slate-light); }
.hero-trust strong { color: var(--color-ink); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}
.blob1 { width: 380px; height: 380px; background: #818CF8; top: -80px; right: -60px; }
.blob2 { width: 300px; height: 300px; background: #2DD4BF; bottom: -60px; left: -60px; animation-delay: -4s; }
.blob3 { width: 220px; height: 220px; background: #FBBF24; top: 40%; right: 20%; animation-delay: -8s; opacity: .35; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(.96); }
}

/* Hero mock dashboard card */
.hero-visual { position: relative; z-index: 1; }
.mock-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .mock-card { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mock-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--color-line); }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--color-line); }
.mock-row:last-child { border-bottom: none; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-primary); margin-right: 12px; flex-shrink: 0; }
.mock-name { font-weight: 600; font-size: .92rem; }
.mock-sub { font-size: .78rem; color: var(--color-slate-light); }
.mock-amount { font-weight: 700; color: var(--color-success); font-family: 'Poppins', sans-serif; }
.mock-flex { display: flex; align-items: center; }
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.chip-1 { top: -24px; left: -36px; animation-delay: 0s; }
.chip-2 { bottom: -20px; right: -28px; animation-delay: -2.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.chip-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}

/* ---------- Stats strip ---------- */
.stats-strip { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); padding: 40px 0; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.2rem; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .88rem; color: var(--color-slate-light); font-weight: 500; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff;
  background: var(--gradient-primary);
}
.card-icon.teal { background: linear-gradient(135deg,#0D9488,#2DD4BF); }
.card-icon.gold { background: var(--gradient-warm); }
.card-icon.rose { background: linear-gradient(135deg,#E11D48,#FB7185); }

.icon-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.icon-row .card-icon { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; }

/* Feature tabs */
.tabs-nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.tab-btn {
  padding: 12px 22px; border-radius: var(--radius-full); border: 1.5px solid var(--color-line);
  background: #fff; font-weight: 600; font-size: .92rem; color: var(--color-slate);
  transition: all .3s ease;
}
.tab-btn.active, .tab-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: translateY(0);} }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.feature-list .tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--color-bg-tint); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; font-weight: 600;
}
.switch { position: relative; width: 56px; height: 30px; background: var(--color-line); border-radius: 999px; border: none; }
.switch::after {
  content: ''; position: absolute; width: 24px; height: 24px; background: #fff; border-radius: 50%; top: 3px; left: 3px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.switch.on { background: var(--color-primary); }
.switch.on::after { transform: translateX(26px); }
.save-badge { background: #DCFCE7; color: #166534; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: #fff; border: 1.5px solid var(--color-line); border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--color-primary); box-shadow: var(--shadow-glow); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-warm); color: #1a1200; font-size: .75rem; font-weight: 700;
  padding: 6px 16px; border-radius: var(--radius-full);
}
.price-value { font-family: 'Poppins', sans-serif; font-size: 2.6rem; font-weight: 700; margin: 14px 0 4px; }
.price-value span { font-size: 1rem; font-weight: 500; color: var(--color-slate-light); }
.price-per { font-size: .88rem; color: var(--color-slate-light); margin-bottom: 24px; }
.price-card ul { margin-bottom: 28px; flex-grow: 1; }
.price-card li { display: flex; gap: 10px; padding: 8px 0; font-size: .92rem; color: var(--color-slate); align-items: flex-start; }
.price-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-success); }

/* Calculator widget */
.calc-widget {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px;
  border: 1px solid var(--color-line);
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-line);
  font-size: .96rem; font-family: inherit; background: var(--color-bg-soft); transition: border-color .25s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--color-primary); background: #fff; }
input[type=range] { accent-color: var(--color-primary); width: 100%; }
.range-value { font-weight: 700; color: var(--color-primary); font-family: 'Poppins', sans-serif; }
.calc-result {
  background: var(--gradient-primary); border-radius: var(--radius-md); padding: 28px; color: #fff;
}
.calc-result .big { font-family: 'Poppins', sans-serif; font-size: 2.6rem; font-weight: 700; margin: 6px 0; }
.result-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.result-row:last-child { border-bottom: none; }

/* Testimonials */
.testi-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-line); padding: 30px; }
.stars { color: var(--color-gold); margin-bottom: 14px; letter-spacing: 2px; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-primary); display:flex;align-items:center;justify-content:center; color:#fff; font-weight:700; }
.testi-name { font-weight: 700; font-size: .92rem; }
.testi-role { font-size: .8rem; color: var(--color-slate-light); }

/* Timeline / process */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 50px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; position: absolute; top:0; left:0;
  box-shadow: var(--shadow-glow);
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 600; }
.faq-q .plus { transition: transform .3s ease; font-size: 1.4rem; color: var(--color-primary); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 20px; }

/* Logos strip */
.logos-strip { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 32px; opacity: .6; filter: grayscale(1); }
.logos-strip span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; }

/* Badges */
.badge-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.trust-badge {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius-md); font-weight: 600; font-size: .88rem;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.visible { transition-delay: .1s; }
.reveal-delay-2.visible { transition-delay: .2s; }
.reveal-delay-3.visible { transition-delay: .3s; }
.reveal-delay-4.visible { transition-delay: .4s; }

/* Page header (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 70px;
  background: var(--gradient-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero p { color: #C7D2FE; max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; color: #A5B4FC; margin-bottom: 16px; }
.breadcrumb a:hover { text-decoration: underline; }

/* CTA band */
.cta-band {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #E0E7FF; }
.cta-band::before {
  content: ''; position: absolute; width: 300px; height: 300px; background: rgba(255,255,255,.08); border-radius: 50%;
  top: -100px; right: -80px;
}

/* Footer */
.footer { background: var(--color-ink); color: #94A3B8; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 56px; }
.footer h4 { color: #fff; font-size: .92rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.footer a { display: block; padding: 6px 0; font-size: .9rem; transition: color .25s ease; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  display: inline-block;
  box-shadow: var(--shadow-md);
}
.footer-logo-img { height: 48px; width: auto; display: block; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.social-row a:hover { background: var(--color-primary); }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Utility */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.flex { display: flex; align-items: center; }
.gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px}
.w-full{width:100%}
.chip {
  display: inline-block; background: var(--color-bg-tint); color: var(--color-primary); font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 10px;
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  z-index: 900; border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }

/* Counter chip on dark hero */
.dark-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.dark-stat { text-align: center; padding: 24px; background: rgba(255,255,255,.06); border-radius: var(--radius-md); }
.dark-stat .stat-num { color: #fff; -webkit-text-fill-color: #fff; background: none; }

/* Table */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--color-line); font-size: .92rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table thead th { background: var(--color-bg-soft); font-family: 'Poppins',sans-serif; }
.compare-table tbody tr:hover { background: var(--color-bg-tint); }
.check-yes { color: var(--color-success); font-weight: 700; }
.check-no { color: var(--color-line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-line);
  font-size: .96rem; font-family: inherit; background: var(--color-bg-soft); resize: vertical; min-height: 130px;
}
textarea:focus { outline: none; border-color: var(--color-primary); background: #fff; }
.form-success { display: none; background: #DCFCE7; color: #166534; padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 16px; }
.form-success.show { display: block; animation: fadeUp .4s var(--ease); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 160px; background: var(--gradient-primary); position: relative; display:flex; align-items:center; justify-content:center; }
.blog-thumb.teal { background: linear-gradient(135deg,#0D9488,#2DD4BF); }
.blog-thumb.gold { background: var(--gradient-warm); }
.blog-thumb.rose { background: linear-gradient(135deg,#E11D48,#FB7185); }
.blog-body { padding: 24px; }
.blog-cat { font-size: .74rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: .05em; }
.blog-meta { font-size: .8rem; color: var(--color-slate-light); margin-top: 12px; }

/* Countdown */
.countdown-strip { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.count-box { background: rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 18px 26px; text-align: center; min-width: 90px; }
.count-box .n { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 700; }
.count-box .l { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #A5B4FC; }

/* Legal page */
.legal-body h2 { margin-top: 40px; }
.legal-body h3 { margin-top: 24px; }
.legal-body ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-body li { margin-bottom: 8px; color: var(--color-slate); }
.legal-updated { color: var(--color-slate-light); font-size: .88rem; margin-bottom: 40px; }
.legal-toc { background: var(--color-bg-soft); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc a { display: block; padding: 4px 0; color: var(--color-primary); font-size: .92rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .feature-split, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .dark-stats { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-cta.mobile-open ~ .nav-links,
  body.menu-open .nav-links {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); border-top: 1px solid var(--color-line);
  }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cta-band { padding: 40px 24px; }
  .compare-table { display: block; overflow-x: auto; }
  body.menu-open { overflow: hidden; }
}
