/* ============================================================
   Vynzi — site comercial. Layered on top of colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Navigation bar ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-logo { height: 28px; display: block; }
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-size: var(--fs-body-sm); font-weight: 500;
  color: var(--fg-muted);
}
.nav-links a { color: inherit; transition: color var(--dur-fast) var(--ease-out); }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--glow-purple);
  background-size: 200% 200%;
  background-position: 0% 0%;
}
.btn-primary:hover {
  background-position: 100% 100%;
  box-shadow: 0 16px 38px rgba(124,58,237,.38), 0 6px 14px rgba(124,58,237,.22);
}

.btn-ghost {
  background: transparent; color: var(--fg);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(15,23,42,.04); }

.btn-outline {
  background: var(--white); color: var(--fg);
  border-color: var(--hairline);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--navy-200); box-shadow: var(--shadow-sm); }

.btn-on-dark {
  background: rgba(255,255,255,.08); color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.btn-on-dark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

.btn-lg { font-size: 16px; padding: 16px 28px; border-radius: var(--radius-md); }

/* ── Section layout ─────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-purple-600);
  padding: 6px 14px;
  background: var(--brand-purple-50);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.eyebrow-on-dark {
  color: var(--brand-cyan-300);
  background: rgba(0, 194, 171, 0.15);
  border: 1px solid rgba(63, 217, 188, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-top: 18px;
  max-width: 620px;
  line-height: 1.6;
}

/* ── Reveal-on-scroll ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--grad-aurora);
  color: var(--white);
  padding: 144px 0 112px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 88% 22%, rgba(124,58,237,.55) 0%, transparent 60%),
    radial-gradient(50% 45% at 8% 78%, rgba(0,194,171,.28) 0%, transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(37,99,235,.22) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
  will-change: transform;
}
/* Seam: a single thin glowing gradient line at the hero/next-section boundary.
   No more white fade. Hard, deliberate cut + a hairline of brand color. */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
              transparent 0%,
              rgba(124,58,237,.55) 20%,
              rgba(0,194,171,.55) 50%,
              rgba(124,58,237,.55) 80%,
              transparent 100%);
  filter: blur(0.5px);
  z-index: 2;
  pointer-events: none;
}
.hero-divider { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--white);
  margin: 24px 0 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero h1 .grad {
  background: linear-gradient(95deg, #FFFFFF 0%, #D4C4FF 22%, #A0BAFF 50%, #5FE0C8 78%, #00C2AB 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 30px rgba(167, 139, 250, 0.5));
  position: relative;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255,255,255,.92);
  max-width: 520px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero-cta {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex; gap: 28px; flex-wrap: wrap;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-cyan-400); box-shadow: 0 0 12px var(--brand-cyan-500); }

/* ── HERO interactive panel (phone + live feed) ─────────────── */
.hero-stage {
  position: relative;
  height: 580px;
}
@media (max-width: 980px) { .hero-stage { height: 540px; } }

.phone {
  position: absolute;
  right: 8%; top: 50%; transform: translateY(-50%);
  width: 300px; height: 600px;
  background: linear-gradient(180deg, #1A1F3D 0%, #0F172A 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 50px 120px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.08);
  will-change: transform;
  transition: transform 600ms var(--ease-out);
}
@media (max-width: 980px) {
  .phone { right: 50%; transform: translate(50%, -50%); }
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #0F172A;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-status {
  display: flex; justify-content: space-between;
  padding: 12px 22px 8px;
  font-size: 11px; font-weight: 600;
  color: var(--navy-700);
}
.phone-status-icons { display: flex; gap: 4px; align-items: center; }
.phone-status-icons svg { width: 14px; height: 14px; }
.phone-body {
  flex: 1; overflow: hidden; padding: 14px 18px 22px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper);
}
.phone-greet {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 2px 8px;
}
.phone-greet h4 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--fg);
}
.phone-greet .avatar {
  width: 32px; height: 32px; border-radius: 999px;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 12px;
  font-family: var(--font-ui);
}

/* live feed cards */
.feed-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex; gap: 12px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline);
  animation: feedIn .55s var(--ease-out) both;
  position: relative;
}
.feed-card .ic {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feed-card .ic svg { width: 18px; height: 18px; }
.feed-card .ic-purple { background: var(--brand-purple-50); color: var(--brand-purple-600); }
.feed-card .ic-blue   { background: var(--brand-blue-50);   color: var(--brand-blue-600); }
.feed-card .ic-cyan   { background: var(--brand-cyan-50);   color: var(--brand-cyan-600); }
.feed-card .ic-warn   { background: var(--warning-50);      color: var(--warning-500); }
.feed-card .ic-success{ background: var(--success-50);      color: var(--success-500); }
.feed-card .body { flex: 1; min-width: 0; }
.feed-card .title-row {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
}
.feed-card .ttl { font-size: 13px; font-weight: 600; color: var(--fg); }
.feed-card .time { font-size: 10px; color: var(--fg-subtle); white-space: nowrap; }
.feed-card .desc { font-size: 11.5px; color: var(--fg-muted); line-height: 1.4; margin-top: 2px; }
.feed-card .actions { display: flex; gap: 6px; margin-top: 8px; }
.feed-card .pill {
  font-size: 10px; font-weight: 600; padding: 5px 9px; border-radius: 999px;
  background: var(--brand-purple-500); color: white; border: none; cursor: pointer;
}
.feed-card .pill-ghost {
  background: var(--paper-2); color: var(--fg-muted);
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating side cards next to phone */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  z-index: 2;
  will-change: transform;
  transition: box-shadow 200ms var(--ease-out);
}
.float-card:hover {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(124, 58, 237, 0.25);
}
.float-card .dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.float-card .ttl { font-weight: 600; color: var(--fg); font-size: 13px; }
.float-card .sub { color: var(--fg-muted); font-size: 11px; }

.float-card-a {
  top: 6%; left: -8%; animation-delay: 0s;
}
.float-card-b {
  bottom: 8%; left: -10%; animation-delay: -2s;
}
.float-card-c {
  top: 36%; right: -6%; animation-delay: -4s;
}
@media (max-width: 980px) {
  .float-card-a, .float-card-c { display: none; }
  .float-card-b { left: 4%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── Role switcher (interactive section) ────────────────────── */
.roles {
  background: var(--bg);
  position: relative;
}
.roles-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 56px;
  margin-top: 56px;
  align-items: stretch;
}
@media (max-width: 880px) { .roles-grid { grid-template-columns: 1fr; gap: 32px; } }

.role-tab {
  width: 100%; text-align: left;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-xs);
  position: relative;
}
.role-tab:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.role-tab .ric {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--paper-2); color: var(--fg-muted);
  display: grid; place-items: center;
  transition: all var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.role-tab .ric svg { width: 20px; height: 20px; }
.role-tab h4 { font-size: 15px; font-weight: 600; color: var(--fg); }
.role-tab p { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; line-height: 1.4; }
.role-tab.active {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--brand-purple-500);
}
.role-tab.active .ric {
  background: var(--grad-brand-2);
  color: white;
  box-shadow: var(--glow-purple);
}

/* Showcase canvas */
.showcase {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 520px;
  position: relative;
}
.showcase-fade {
  animation: fadeUp .5s var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Feature grid ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
}
.feature-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
              rgba(124, 58, 237, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-card:hover {
  box-shadow: var(--shadow-lg);
}
.feature-card .fic {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-purple-50); color: var(--brand-purple-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  z-index: 1;
}
.feature-card:hover .fic {
  background: var(--grad-brand-2); color: white; box-shadow: var(--glow-purple);
}
.feature-card .fic svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; position: relative; z-index: 1; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats {
  background: var(--bg-inverse);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 20% 20%, rgba(124,58,237,.30) 0%, transparent 60%),
    radial-gradient(40% 50% at 90% 80%, rgba(0,194,171,.22) 0%, transparent 60%);
  pointer-events: none;
}
.stats .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 35%, #8FECDA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(143, 236, 218, 0.25));
}
.stat-item .lbl {
  margin-top: 12px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

/* ── Manifesto ──────────────────────────────────────────────── */
.manifesto {
  background: var(--grad-soft);
  text-align: center;
  position: relative;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 920px;
  margin: 0 auto;
  color: var(--fg);
  text-wrap: balance;
}
.manifesto .quote-mark {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 0.7;
  color: var(--brand-purple-400);
  display: block;
  margin-bottom: 12px;
  opacity: .9;
}

/* ── Final CTA banner ───────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--grad-brand);
  border-radius: var(--radius-2xl);
  padding: clamp(48px, 6vw, 80px);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--glow-purple);
  isolation: isolate;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 80% 20%, rgba(255,255,255,.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(0,194,171,.30) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: white;
  max-width: 720px;
}
.cta-banner p {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255,255,255,.95);
  max-width: 520px;
}
.cta-banner .row {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.cta-banner .btn-primary {
  background: white; color: var(--brand-purple-700);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.cta-banner .btn-primary:hover { background: #FAFBFD; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy-800);
  color: rgba(255,255,255,.6);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer h5 {
  color: white; font-size: 13px; font-weight: 700; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .1em;
  font-family: var(--font-ui);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  color: rgba(255,255,255,.6); font-size: 14px;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer a:hover { color: white; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px;
}

/* ── Pricing page ───────────────────────────────────────────── */
.pricing-hero {
  padding: 160px 0 64px;
  background:
    radial-gradient(60% 70% at 50% 0%, var(--brand-purple-50) 0%, transparent 60%),
    var(--paper);
  text-align: center;
}
.pricing-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin-top: 18px;
  text-wrap: balance;
}
.pricing-hero p {
  margin: 22px auto 0;
  max-width: 580px;
  color: var(--fg-muted);
  font-size: 18px;
}
.billing-toggle {
  margin: 36px auto 0;
  display: inline-flex;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.billing-toggle button {
  background: transparent; border: none; cursor: pointer;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  color: var(--fg-muted);
  border-radius: 999px;
  position: relative; z-index: 2;
  transition: color var(--dur-base) var(--ease-out);
}
.billing-toggle button.on { color: var(--white); }
.billing-toggle .slider {
  position: absolute;
  top: 4px; left: 4px; bottom: 4px;
  width: calc(50% - 4px);
  background: var(--grad-brand-2);
  border-radius: 999px;
  box-shadow: var(--glow-purple);
  transition: transform var(--dur-base) var(--ease-out);
}
.billing-toggle.year .slider { transform: translateX(100%); }
.billing-toggle .badge {
  margin-left: 6px;
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  background: var(--brand-cyan-100); color: var(--brand-cyan-700);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan-featured {
  background: var(--navy-800);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  isolation: isolate;
  overflow: hidden;
}
.plan-featured::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(124,58,237,.35) 0%, transparent 55%),
    radial-gradient(60% 60% at 0% 100%, rgba(0,194,171,.18) 0%, transparent 55%);
  pointer-events: none; z-index: -1;
}
.plan-featured:hover { transform: translateY(-12px); }
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-brand);
  color: white;
  box-shadow: var(--glow-purple);
}
.plan h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: inherit;
}
.plan .desc { margin-top: 8px; font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.plan-featured .desc { color: rgba(255,255,255,.6); }
.plan .price-row {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 28px;
}
.plan .currency { font-size: 18px; font-weight: 600; opacity: .7; }
.plan .price {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.plan .per { font-size: 13px; color: var(--fg-muted); margin-left: 4px; }
.plan-featured .per { color: rgba(255,255,255,.55); }
.plan .per-unit {
  font-size: 13px; color: var(--fg-subtle); margin-top: 6px;
}
.plan-featured .per-unit { color: rgba(255,255,255,.5); }
.plan .cta { margin-top: 28px; }
.plan ul {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.plan li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.5;
  color: var(--fg);
}
.plan-featured li { color: rgba(255,255,255,.86); }
.plan li .check {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--brand-cyan-50); color: var(--brand-cyan-600);
  display: grid; place-items: center; flex-shrink: 0;
  margin-top: 1px;
}
.plan-featured li .check { background: rgba(0,194,171,.18); color: var(--brand-cyan-300); }
.plan li .check svg { width: 10px; height: 10px; stroke-width: 3; }

.plan-divider {
  height: 1px; background: var(--hairline);
  margin: 20px 0 0;
}
.plan-featured .plan-divider { background: rgba(255,255,255,.1); }
.plan-featured .btn-primary {
  background: white; color: var(--brand-purple-700);
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.plan-featured .btn-primary:hover { background: var(--paper); }

/* Comparison table */
.compare {
  margin-top: 96px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.compare-row:last-child { border-bottom: none; }
.compare-head {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.compare-row span { text-align: center; color: var(--fg-muted); }
.compare-row span:first-child { text-align: left; color: var(--fg); font-weight: 500; }
.compare-row svg { width: 18px; height: 18px; margin: 0 auto; display: block; color: var(--brand-cyan-500); }
.compare-row .dash { color: var(--navy-300); }

/* FAQ */
.faq {
  max-width: 860px; margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--brand-purple-500);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after { content: "−"; }
.faq .ans {
  padding: 0 26px 22px; color: var(--fg-muted);
  font-size: 14.5px; line-height: 1.6;
}
