/* ==========================================================================
   Beats Cracker Creative Studio — Landing Page
   Premium SaaS-style subscription landing page
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #FF5A1F;
  --primary-600: #e94e15;
  --primary-soft: #fff1ea;
  --dark: #111111;
  --light: #FFFFFF;
  --bg: #F8F9FB;
  --text: #222222;
  --muted: #6b7280;
  --border: #ECECEC;

  --grad: linear-gradient(120deg, #FF5A1F 0%, #ff8a4b 100%);
  --grad-soft: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);

  --shadow-sm: 0 1px 2px rgba(17,17,17,.04), 0 2px 8px rgba(17,17,17,.04);
  --shadow-md: 0 8px 30px rgba(17,17,17,.08);
  --shadow-lg: 0 24px 60px rgba(17,17,17,.12);
  --shadow-primary: 0 12px 30px rgba(255,90,31,.28);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Typography helpers ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow--light { color: #ffd9c8; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: var(--radius-pill);
  padding: 13px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; will-change: transform;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,90,31,.4); }
.btn--ghost { background: #fff; color: var(--dark); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-primary); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: #fff; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 24px; flex-wrap: wrap; }
.topbar strong { color: #ffb894; }
.topbar__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(255,90,31,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
.topbar__link { color: #fff; font-weight: 700; }
.topbar__link:hover { color: var(--primary); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); background: rgba(255,255,255,.86); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 52px; width: auto; }
.brand__logo--footer { height: 56px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 600; font-size: 15px; color: #444; position: relative; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--primary); transition: width .3s var(--ease); border-radius: 2px; }
.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; color: #444;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -180px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,90,31,.16), transparent 62%);
  filter: blur(20px); z-index: 0; animation: floatGlow 12s ease-in-out infinite;
}
@keyframes floatGlow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,40px); } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin: 22px 0; }
.hero__sub { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin: 32px 0 22px; flex-wrap: wrap; }
/* Risk-reversal trust badges under hero CTA */
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 30px; }
.hero__badges li { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #444; }
.hero__badges li::before { content: '✓'; flex: 0 0 18px; height: 18px; border-radius: 50%; background: #e7f7ec; color: #1ea54a; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.hero__proof { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-sm); }
.avatars img:first-child { margin-left: 0; }
.hero__proof p { font-size: 14px; color: var(--muted); }
.stars { color: #ffb400; letter-spacing: 2px; font-size: 15px; }

/* Hero mockup */
.hero__visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1200px) rotateY(-3deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #fafafa; border-bottom: 1px solid var(--border); }
.mock__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #e2e2e2; }
.mock__bar > span:nth-child(1) { background: #ff5f57; }
.mock__bar > span:nth-child(2) { background: #febc2e; }
.mock__bar > span:nth-child(3) { background: #28c840; }
.mock__url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; color: #999; padding: 4px 12px; }
.mock__body { padding: 26px; }
.mock__hero { padding: 22px; border-radius: 14px; background: linear-gradient(135deg, #fff4ee, #fff); border: 1px solid var(--border); }
.mock__hline { height: 14px; border-radius: 6px; background: linear-gradient(90deg, #ffd9c8, #ffe9df); margin-bottom: 12px; }
.mock__hline.lg { width: 78%; height: 20px; background: var(--grad); }
.mock__hline.md { width: 55%; }
.mock__btn { width: 120px; height: 34px; border-radius: 8px; background: var(--dark); margin-top: 16px; }
.mock__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.mock__card { height: 74px; border-radius: 12px; background: #f4f5f7; border: 1px solid var(--border); }
.mock__card:nth-child(2) { background: #fff1ea; }

/* Floating chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-md); z-index: 3;
}
.chip__ic { font-size: 18px; }
.chip b { display: block; font-size: 13.5px; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip--seo { top: 6%; left: -34px; }
.chip--speed { top: 34%; right: -30px; }
.chip--ssl { bottom: 20%; left: -26px; }
.chip--host { bottom: -12px; right: 8%; }
.float { animation: floaty 5s ease-in-out infinite; }
.chip--speed { animation-delay: -1.5s; }
.chip--ssl { animation-delay: -2.5s; }
.chip--host { animation-delay: -3.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Marquee — Stripe/Linear style feature ticker */
.marquee { margin-top: 64px; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 0; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; white-space: nowrap;
  font-size: 16px; font-weight: 700; color: #7a828f; letter-spacing: -.01em; transition: color .3s; }
.mq:hover { color: var(--dark); }
.mq__ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  font-size: 15px; border-radius: 9px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mq__sep { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .55; transform: rotate(45deg); border-radius: 2px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Trusted ---------- */
.trusted { padding: 30px 0 80px; }
.trusted__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.tstat { text-align: center; }
.tstat__top { font-size: 24px; height: 34px; display: flex; align-items: center; justify-content: center; }
.tstat__num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.tstat p { color: var(--muted); font-size: 14px; font-weight: 600; }
.trusted__label { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 44px 0 26px; }
/* Brand marquee — infinite CSS carousel (no JS library) */
.logo-marquee {
  position: relative; overflow: hidden; margin-top: 6px; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; align-items: stretch; width: max-content; animation: logo-scroll 90s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* Consistent logo card — same dimensions regardless of source proportions */
.logo-chip {
  flex: 0 0 auto; margin-right: 20px;
  width: 214px; height: 108px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.logo-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5dae2; }
.logo-chip img { max-width: 174px; max-height: 90px; width: auto; height: auto; object-fit: contain; display: block; }
/* White / light logos → subtle dark card so they stay visible (asset itself unchanged) */
.logo-chip--dark { background: #1e2431; border-color: #2b3342; }
.logo-chip--dark:hover { border-color: #3c465a; }
@media (min-width: 561px) and (max-width: 900px) {
  .logo-chip { width: 188px; height: 100px; margin-right: 16px; }
  .logo-chip img { max-width: 152px; max-height: 40px; }
}

/* ---------- Why / Compare ---------- */
.why { padding: 80px 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.compare__card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.compare__card--new { border-color: transparent; box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fff, #fff8f4); outline: 2px solid rgba(255,90,31,.15); }
.compare__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.compare__badge { position: absolute; top: -13px; right: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-primary); }
.compare__tag { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.compare__tag--muted { color: var(--muted); }
.compare__price { font-size: 34px; font-weight: 800; margin: 10px 0 22px; letter-spacing: -.02em; }
.compare__price span { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.compare__list li { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; font-size: 15px; color: #333; }
.compare__list li::before { content: ''; flex: 0 0 20px; height: 20px; border-radius: 50%; margin-top: 1px; background-size: 12px; background-position: center; background-repeat: no-repeat; }
.compare__list li.no::before { background-color: #fdecec; content: '✕'; color: #e05252; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.compare__list li.yes::before { background-color: #e7f7ec; content: '✓'; color: #1ea54a; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.compare__card--new .btn { margin-top: 22px; }

/* ---------- Features ---------- */
.features { padding: 80px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255,90,31,.35); }
.feat__ic { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 24px; border-radius: 14px; background: var(--primary-soft); margin-bottom: 16px; transition: transform .35s var(--ease); }
.feat:hover .feat__ic { transform: scale(1.08) rotate(-4deg); }
.feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Why Choose ---------- */
.choose { padding: 80px 0; }
.choose__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.choose__item { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.choose__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255,90,31,.35); }
.choose__ic { flex: 0 0 auto; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 24px; border-radius: 14px; background: var(--primary-soft); transition: transform .35s var(--ease); }
.choose__item:hover .choose__ic { transform: scale(1.08) rotate(-4deg); }
.choose__item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.choose__item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing { padding: 80px 0; }
.toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 46px; flex-wrap: wrap; }
.toggle__label { font-weight: 700; color: var(--muted); transition: color .3s; }
.toggle__label.is-active { color: var(--dark); }
.toggle__switch { width: 58px; height: 32px; border-radius: var(--radius-pill); background: var(--grad); position: relative; box-shadow: inset 0 2px 6px rgba(0,0,0,.15); }
.toggle__knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.toggle__switch[aria-checked="true"] .toggle__knob { transform: translateX(26px); }
.toggle__save { background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }

.pricing__note { text-align: center; color: var(--muted); font-size: 15px; margin: -30px auto 40px; max-width: 560px; }
.pricing__note strong { color: var(--dark); }
.plan__choose { text-align: center; font-size: 13px; font-weight: 700; color: #ffb894; margin-top: 12px; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan--pop { background: linear-gradient(180deg, #1a1207, #111); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan--pop:hover { transform: scale(1.03) translateY(-8px); }
.plan__pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 18px; border-radius: var(--radius-pill); box-shadow: var(--shadow-primary); display: inline-flex; align-items: center; gap: 6px; }
.plan__no { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .1em; }
.plan__head h3 { font-size: 26px; font-weight: 800; margin: 4px 0 2px; }
.plan__tag { color: var(--muted); font-size: 14px; }
.plan--pop .plan__tag { color: #b9b2a8; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 4px; }
.plan__amt { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.plan__per { color: var(--muted); font-weight: 600; }
.plan--pop .plan__per { color: #b9b2a8; }
.plan__billed { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.plan--pop .plan__billed { color: #b9b2a8; }
.plan__list { margin-top: 26px; }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; font-size: 14.5px; }
.plan__list li::before { content: '✓'; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 1px; }
.plan--pop .plan__list li::before { background: rgba(255,90,31,.22); }

/* Comparison table */
.cmp { margin-top: 56px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp__scroll { overflow-x: auto; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp__table th, .cmp__table td { padding: 16px 22px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--border); }
.cmp__table th:first-child, .cmp__table td:first-child { text-align: left; font-weight: 600; }
.cmp__table thead th { font-weight: 800; font-size: 16px; }
.cmp__table thead th.is-pop, .cmp__table td.is-pop { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.cmp__table tbody tr:last-child td { border-bottom: none; }

/* ---------- Portfolio ---------- */
.portfolio { padding: 80px 0; }
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter { padding: 9px 20px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px; color: #555; background: #fff; border: 1px solid var(--border); transition: .25s; }
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }
.works { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.work { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.work.hide { display: none; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work__img { height: 210px; background: linear-gradient(135deg, var(--g1), var(--g2)); position: relative; overflow: hidden; }
.work__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.18)); }
.work__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.work:hover .work__img img { transform: scale(1.05); }
.work__body { padding: 22px; }
.work__badge { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 10px; }
.work__body h3 { font-size: 19px; font-weight: 700; }
.work__body p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.work__cta { margin-top: 16px; }

/* ---------- Process ---------- */
.process { padding: 80px 0; }
.timeline { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--border), var(--primary), var(--border)); z-index: 0; }
.step { position: relative; text-align: center; z-index: 1; }
.step__ic { position: relative; width: 72px; height: 72px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: #fff; border: 2px solid var(--border); border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s; }
.step:hover .step__ic { transform: translateY(-6px) scale(1.05); border-color: var(--primary); }
/* Numbered badge on the icon */
.step__no {
  position: absolute; top: -8px; right: -8px; z-index: 2;
  min-width: 26px; height: 26px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; letter-spacing: -.02em;
  background: var(--grad); border: 2px solid #fff; border-radius: 50%;
  box-shadow: var(--shadow-primary); transition: transform .35s var(--ease);
}
.step:hover .step__no { transform: scale(1.12); }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Testimonials ---------- */
.tms { padding: 80px 0; }

/* Carousel */
.carousel { display: flex; align-items: center; gap: 16px; max-width: 1000px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; flex: 1; padding: 12px 4px; }
.carousel__track { display: flex; gap: 24px; transition: transform .6s var(--ease); will-change: transform; }
.carousel__track.dragging { transition: none; cursor: grabbing; }
.carousel__arrow {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.carousel__arrow:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: var(--shadow-primary); }
.carousel__arrow:disabled { opacity: .35; cursor: not-allowed; }
.carousel__arrow:disabled:hover { background: #fff; color: var(--dark); border-color: var(--border); transform: none; box-shadow: var(--shadow-sm); }
.carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; background: #d7dae0; transition: width .3s var(--ease), background .3s; }
.carousel__dots button.is-active { width: 26px; border-radius: 6px; background: var(--grad); }

.tm { flex: 0 0 calc((100% - 24px) / 2); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .35s; }
.tm:hover { box-shadow: var(--shadow-md); }
.tm__stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 14px; }
.tm blockquote { font-size: 17px; line-height: 1.6; color: #333; font-weight: 500; }
.tm figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tm figcaption img { width: 46px; height: 46px; border-radius: 50%; }
.tm figcaption b { display: block; font-size: 15px; }
.tm figcaption span { font-size: 13px; color: var(--muted); }
.tm__g { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #4285F4; box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; }
.acc { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.acc__item[open] { border-color: rgba(255,90,31,.35); box-shadow: var(--shadow-md); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__ic { position: relative; flex: 0 0 20px; height: 20px; }
.acc__ic::before, .acc__ic::after { content: ''; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease); }
.acc__ic::before { top: 9px; left: 0; width: 20px; height: 2px; }
.acc__ic::after { top: 0; left: 9px; width: 2px; height: 20px; }
.acc__item[open] .acc__ic::after { transform: rotate(90deg); opacity: 0; }
.acc__body { padding: 0 24px 22px; }
.acc__body p { color: var(--muted); font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.cta { padding: 30px 0 80px; }
.cta__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 440px; padding: 64px 40px;
  background:
    radial-gradient(120% 120% at 50% 0%, #241708 0%, #17110a 42%, #111 100%);
  color: #fff; border-radius: 32px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
}
/* Central glow sits directly behind the heading */
.cta__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  width: 720px; height: 460px; z-index: 0;
  background: radial-gradient(circle, rgba(255,90,31,.42) 0%, rgba(255,90,31,.12) 40%, transparent 66%);
  filter: blur(28px); pointer-events: none;
}
/* Floating blurred orbs */
.cta__orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(38px); pointer-events: none; }
.cta__orb--1 { width: 220px; height: 220px; top: -60px; left: 6%; background: rgba(255,90,31,.34); animation: floaty 8s ease-in-out infinite; }
.cta__orb--2 { width: 260px; height: 260px; bottom: -90px; right: 4%; background: rgba(255,138,75,.26); animation: floaty 10s ease-in-out infinite reverse; }
.cta__orb--3 { width: 140px; height: 140px; bottom: 10%; left: 16%; background: rgba(255,90,31,.22); animation: floaty 7s ease-in-out infinite; }
/* Subtle particle dots */
.cta__particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 65%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(255,255,255,.3), transparent);
  animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .35; } 50% { opacity: .65; } }

.cta__inner { position: relative; z-index: 2; max-width: 760px; }
.cta__card h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; }
.cta__card p { color: #d4d4d4; font-size: 18px; max-width: 560px; margin: 16px auto 0; }
.cta__actions { display: flex; justify-content: center; gap: 14px; margin: 32px 0 24px; flex-wrap: wrap; }
/* Trust badges */
.cta__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; }
.cta__badges li { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #cfcfcf; }
.cta__badges li::before { content: '✓'; flex: 0 0 18px; height: 18px; border-radius: 50%; background: rgba(255,90,31,.22); color: #ff8a4b; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .cta__orb, .cta__particles { animation: none; } }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 66px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0 18px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #555; transition: .25s; }
.footer__social a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer__social a svg { width: 19px; height: 19px; display: block; }
.footer__col h4 { font-size: 14px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.footer__col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer__bottom p { color: var(--muted); font-size: 14px; }
.footer__bottom div { display: flex; gap: 20px; }
.footer__bottom a { color: var(--muted); font-size: 14px; }
.footer__bottom a:hover { color: var(--primary); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .3s var(--ease);
}
.wa-fab img { width: 38px; height: 38px; display: block; }
.wa-fab:hover { transform: scale(1.1) translateY(-3px); }
/* WhatsApp icon inside CTA button */
.btn__wa { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; margin-right: 6px; }

/* ---------- Sticky mobile CTA bar ---------- */
.mobar { display: none; }
@media (max-width: 820px) {
  .mobar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(17,17,17,.08);
    transform: translateY(120%); transition: transform .4s var(--ease);
  }
  .mobar.show { transform: translateY(0); }
  .mobar__price strong { font-size: 18px; font-weight: 800; }
  .mobar__price span { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
  .mobar .btn { flex: 0 0 auto; }
  .wa-fab { bottom: 84px; } /* lift above the sticky bar */
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; }
  .feat-grid { grid-template-columns: repeat(3,1fr); }
  .choose__grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .timeline { gap: 8px; }
  .timeline::before { top: 27px; }
  .timeline .step__ic { width: 56px; height: 56px; font-size: 22px; margin-bottom: 14px; }
  .timeline .step h3 { font-size: 15px; }
  .timeline .step p { font-size: 12px; }
}
@media (max-width: 820px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; top: 0; width: min(80vw, 320px); height: 100vh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: #fff; padding: 40px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 20px; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan--pop { transform: none; }
  .plan--pop:hover { transform: translateY(-8px); }
  .compare { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2,1fr); }
  .tm { flex-basis: 100%; }
  .carousel { gap: 8px; }
  .carousel__arrow { width: 42px; height: 42px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { display: none; }
  .step { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; text-align: left; }
  .step__ic { margin: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .trusted__stats { grid-template-columns: 1fr 1fr; gap: 26px; padding: 28px 20px; }
  .logo-chip { width: 172px; height: 94px; padding: 14px 16px; margin-right: 14px; }
  .logo-chip img { max-width: 140px; max-height: 34px; }
  .logo-track { animation-duration: 60s; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .choose__grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .hero__cta, .cta__actions { width: 100%; }
  .chip--seo { left: -8px; } .chip--ssl { left: -8px; } .chip--speed { right: -8px; }
  .section-head { margin-bottom: 40px; }
  .cta__card { padding: 48px 22px; }
}
@media (max-width: 380px) {
  .feat-grid { grid-template-columns: 1fr; }
}
