/* ==========================================================================
   AI Social Manager — Landing page
   1. Tokens        5. Hero            9. Steps
   2. Base          6. Dashboard mock  10. Roles
   3. Components    7. Channels        11. CTA & footer
   4. Header        8. Feature bento   12. Motion & responsive
   ========================================================================== */


/* 1. TOKENS ---------------------------------------------------------------- */

:root {
  --bg: #06060d;
  --bg-2: #0d0d1b;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .17);

  --text: #f5f5fc;
  --muted: #a9abc9;
  --faint: #7a7ca0;

  --violet: #7c5cff;
  --pink: #ff4fd8;
  --cyan: #35e0ff;
  --amber: #ffb35c;
  --green: #3ddc97;

  --grad: linear-gradient(120deg, #8a6bff 0%, #ff4fd8 55%, #ffb35c 100%);
  --grad-btn: linear-gradient(120deg, #6a48ff 0%, #a52fe3 55%, #e2368f 100%);

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* 2. BASE ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--pink);
}


/* Animated background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  animation: drift 24s ease-in-out infinite alternate;
}
.orb-1 { width: 640px; height: 640px; top: -200px; left: -140px; background: #6a4bff; opacity: .5; }
.orb-2 { width: 540px; height: 540px; top: 80px; right: -180px; background: #ff3fc0; opacity: .32; animation-delay: -7s; }
.orb-3 { width: 480px; height: 480px; top: 620px; left: 32%; background: #16c5ff; opacity: .18; animation-delay: -13s; }
.bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 80%);
}


/* 3. COMPONENTS ------------------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 34px -10px rgba(226, 54, 143, .65), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(226, 54, 143, .8), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-2px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #d9d9f5;
  font-size: .85rem;
  font-weight: 500;
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: ping 2s ease-out infinite;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--pink);
}

/* Channel dots */
.c { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.c-fb { background: #4c7dff; }
.c-ig { background: linear-gradient(135deg, #ffb35c, #ff3f8e 55%, #a52fe3); }
.c-in { background: #2ea3f2; }
.c-x  { background: #fff; }
.c-g  { background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }

.avatar {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-2);
}
.a1 { background: linear-gradient(135deg, #ffb35c, #ff4f8e); }
.a2 { background: linear-gradient(135deg, #35e0ff, #4c7dff); }
.a3 { background: linear-gradient(135deg, #3ddc97, #1fa6a0); }
.a4 { background: linear-gradient(135deg, #a58bff, #ff4fd8); }

.section { padding: 110px 0; }
.section-head { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.section-head h2,
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: #dcdcf3; font-size: .95rem; }
.ticks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(61, 220, 151, .14);
}


/* 4. HEADER ---------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(6, 6, 13, .72);
  border-color: var(--border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad-btn);
  box-shadow: 0 6px 22px -4px rgba(165, 47, 227, .7), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; padding: 6px 0; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--border); background: var(--surface); }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* 5. HERO ------------------------------------------------------------------ */

.hero { padding: 168px 0 40px; }
.hero-copy { max-width: 880px; margin: 0 auto; text-align: center; }

.hero h1 {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.lead { text-wrap: pretty; max-width: 640px; margin: 26px auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green); }


/* 6. DASHBOARD MOCK -------------------------------------------------------- */

.hero-visual { position: relative; margin-top: 76px; perspective: 1800px; }
.hero-glow {
  position: absolute;
  inset: 10% 8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: var(--grad);
  opacity: .26;
  filter: blur(100px);
}

.app-window {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 26, 50, .94), rgba(11, 11, 25, .94));
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .04);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out;
}

.app-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.app-title { margin-left: 14px; color: var(--faint); font-size: .8rem; font-weight: 500; }
.app-client { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 3px 12px 3px 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: #dcdcf3; font-size: .78rem; font-weight: 500; }
.app-client .avatar { width: 22px; height: 22px; font-size: .62rem; border: 0; }

.app-body { display: grid; grid-template-columns: 64px 1.15fr 1fr; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0; border-right: 1px solid var(--border); }
.side-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--faint); }
.side-btn .icon { width: 18px; height: 18px; }
.side-btn.on { color: #fff; background: linear-gradient(135deg, rgba(124, 92, 255, .55), rgba(255, 79, 216, .35)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

.pane { display: flex; flex-direction: column; gap: 14px; padding: 20px; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--border); }
.pane-head { display: flex; align-items: center; justify-content: space-between; font-size: .92rem; }
.ai-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(124, 92, 255, .18); color: #c9bcff; font-size: .72rem; font-weight: 600; }
.ai-tag .icon { width: 13px; height: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .72rem; }
.chip.on { color: var(--text); border-color: rgba(124, 92, 255, .6); background: rgba(124, 92, 255, .16); }

.editor { min-height: 8.8rem; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(0, 0, 0, .3); color: #e8e8f6; font-size: .86rem; line-height: 1.6; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }

.tones { display: flex; flex-wrap: wrap; gap: 8px; }
.tone { padding: 4px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--faint); font-size: .72rem; transition: color .3s, border-color .3s, background .3s; }
.tone.on { color: #fff; border-color: transparent; background: var(--grad-btn); }

.media {
  position: relative;
  height: 84px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 179, 92, .95), transparent 45%),
    radial-gradient(circle at 78% 64%, rgba(255, 79, 216, .85), transparent 55%),
    linear-gradient(135deg, #2a1b5e, #5b2a86);
  overflow: hidden;
}
.media span { position: absolute; left: 12px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .66rem; }

.pane-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.when { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.when .icon { width: 15px; height: 15px; color: var(--cyan); }
.mini-btn { padding: 7px 16px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: .76rem; font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.stat small { display: block; color: var(--faint); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.4; }
.stat em { color: var(--green); font-size: .7rem; font-style: normal; }

.chart-card { padding: 14px 14px 6px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.chart-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .78rem; font-weight: 600; }
.chart-head .range { color: var(--faint); font-weight: 400; }
.chart { width: 100%; height: 110px; overflow: visible; }
.chart-line { stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(124, 92, 255, .8)); }
.chart-area { opacity: 1; }

.queue { display: grid; gap: 8px; }
.queue-title { color: var(--faint); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.q-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: .76rem; }
.q-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item time { color: var(--faint); font-size: .7rem; }

/* Floating cards */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(20, 20, 40, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: .85rem; line-height: 1.3; }
.float small { color: var(--muted); font-size: .74rem; }
.float-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; }
.float-ico.ok  { background: linear-gradient(135deg, #3ddc97, #1fa6a0); }
.float-ico.ai  { background: linear-gradient(135deg, #7c5cff, #ff4fd8); }
.float-ico.cal { background: linear-gradient(135deg, #35e0ff, #4c7dff); }
/* a: outside left edge (wide screens), b: straddles top edge, c: straddles bottom edge */
.float-a { display: none; left: -72px; bottom: 26%; }
.float-b { top: -30px; right: 20%; animation-delay: -2s; }
.float-c { bottom: -30px; left: 28%; animation-delay: -4s; }
@media (min-width: 1360px) { .float-a { display: flex; } }


/* 7. CHANNELS -------------------------------------------------------------- */

.channels { padding: 90px 0 20px; }
.channels-title { margin-bottom: 30px; text-align: center; color: var(--faint); font-size: .85rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
.channel { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: #cfd0ec; font-weight: 500; white-space: nowrap; }
.channel .c { width: 11px; height: 11px; }


/* 8. FEATURE BENTO --------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.card {
  position: relative;
  isolation: isolate;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  transition: transform .4s var(--ease), border-color .3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .2), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }

.card h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.015em; }
.card p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 92, 255, .42), rgba(255, 79, 216, .26));
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, .6);
}
.icon-tile .icon { width: 22px; height: 22px; }

.viz { margin-top: 26px; }

/* AI visual */
.card-ai { display: grid; grid-template-columns: 1fr 1.05fr; column-gap: 36px; align-content: center; }
.card-ai > :not(.viz) { grid-column: 1; }
.card-ai .viz { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
.viz-ai { display: grid; gap: 14px; }
.prompt { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 9px 16px; border: 1px solid rgba(124, 92, 255, .5); border-radius: 999px; background: rgba(124, 92, 255, .15); color: #d6ccff; font-size: .85rem; }
.prompt .icon { width: 15px; height: 15px; color: var(--cyan); }
.lines { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(0, 0, 0, .25); }
.lines span { display: block; width: var(--w); height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .08) 100%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.lines span:nth-child(2) { animation-delay: -.4s; }
.lines span:nth-child(3) { animation-delay: -.8s; }
.tone-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tone-row span { padding: 5px 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--faint); font-size: .78rem; }
.tone-row .on { border-color: transparent; background: var(--grad-btn); color: #fff; }

/* Calendar visual */
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-days { margin-bottom: 8px; color: var(--faint); font-size: .7rem; font-weight: 600; }
.cal-grid span { position: relative; padding: 7px 0; border-radius: 10px; color: var(--muted); font-size: .8rem; background: var(--surface); }
.cal-grid .has::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); transform: translateX(-50%); }
.cal-grid .hot { color: #fff; background: var(--grad-btn); box-shadow: 0 6px 18px -6px rgba(226, 54, 143, .8); }
.cal-grid .hot::after { background: #fff; }

/* Bars visual */
.viz-bars { display: flex; align-items: flex-end; gap: 9px; height: 110px; }
.viz-bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8a6bff, #ff4fd8); opacity: .9; transform-origin: bottom; transition: transform .6s var(--ease); }
.js .viz-bars span { transform: scaleY(0); }
.js .card.is-visible .viz-bars span { transform: scaleY(1); }
.viz-bars span:nth-child(2) { transition-delay: .06s; } .viz-bars span:nth-child(3) { transition-delay: .12s; }
.viz-bars span:nth-child(4) { transition-delay: .18s; } .viz-bars span:nth-child(5) { transition-delay: .24s; }
.viz-bars span:nth-child(6) { transition-delay: .3s; }  .viz-bars span:nth-child(7) { transition-delay: .36s; }

/* Publishing visual */
.viz-pub { display: grid; gap: 8px; }
.viz-pub div { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: #dcdcf3; font-size: .85rem; }
.viz-pub em { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--faint); font-size: .7rem; font-style: normal; }
.viz-pub em.done { background: rgba(61, 220, 151, .15); color: var(--green); }

.viz-clients .avatar { width: 24px; height: 24px; margin: 0; border: 0; font-size: .64rem; }
.viz-clients .on { border-color: rgba(124, 92, 255, .6); background: rgba(124, 92, 255, .14); }

/* Wide card with Google Business Profile */
.card-wide { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.card-wide .viz { margin-top: 0; display: flex; justify-content: center; }
.gbp-card { width: min(100%, 340px); padding: 18px; border: 1px solid var(--border-strong); border-radius: 20px; background: rgba(14, 14, 30, .85); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8); transform: rotate(2deg); transition: transform .5s var(--ease); }
.card:hover .gbp-card { transform: rotate(0) translateY(-4px); }
.gbp-top { display: flex; align-items: center; gap: 12px; }
.gbp-top .avatar { width: 40px; height: 40px; font-size: .95rem; border: 0; }
.gbp-top b { display: block; font-size: .9rem; line-height: 1.3; }
.gbp-top small { color: var(--green); font-size: .74rem; }
.gbp-img { height: 108px; margin: 14px 0; border-radius: 14px; background: radial-gradient(circle at 25% 30%, rgba(255, 179, 92, .9), transparent 50%), radial-gradient(circle at 75% 70%, rgba(53, 224, 255, .55), transparent 55%), linear-gradient(135deg, #2a1b5e, #1d3a7a); }
.gbp-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.gbp-card p b { color: var(--text); }
.gbp-btn { display: inline-block; margin-top: 14px; padding: 7px 16px; border: 1px solid var(--border-strong); border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 600; }


/* 9. STEPS ----------------------------------------------------------------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 92, 255, .1), rgba(124, 92, 255, .8), rgba(255, 79, 216, .8), rgba(255, 79, 216, .1));
}
.step { position: relative; text-align: center; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 0 0 7px var(--bg), 0 0 34px rgba(124, 92, 255, .5);
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.step p { max-width: 240px; margin: 10px auto 0; color: var(--muted); font-size: .94rem; }


/* 10. ROLES ---------------------------------------------------------------- */

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { padding: 38px; }
.role h3 { margin-top: 18px; font-size: 1.55rem; line-height: 1.2; }
.role-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(124, 92, 255, .18); color: #cfc4ff; font-size: .78rem; font-weight: 600; }
.role-tag.alt { background: rgba(255, 79, 216, .15); color: #ffb8ee; }


/* 10b. SHOWCASE (phones) --------------------------------------------------- */

.showcase { overflow: hidden; }
.phones { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3.5vw, 52px); padding: 20px 0 30px; }
.phones::before {
  content: "";
  position: absolute;
  inset: 4% 14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .42), rgba(255, 79, 216, .16) 60%, transparent);
  filter: blur(46px);
}

.phone { width: clamp(190px, 24vw, 272px); margin: 0; }
.phone-c { width: clamp(214px, 28vw, 312px); z-index: 2; }
.phone-l { rotate: -5deg; translate: 0 30px; }
.phone-r { rotate: 5deg; translate: 0 30px; }

.phone-shell {
  position: relative;
  padding: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  background: linear-gradient(160deg, #2c2c4e, #12121f);
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transition: transform .5s var(--ease);
}
.phone:hover .phone-shell { transform: translateY(-8px); }
.phone-notch { position: absolute; top: 18px; left: 50%; z-index: 3; width: 30%; height: 15px; border-radius: 999px; background: #05050c; transform: translateX(-50%); }
.phone-screen { display: flex; flex-direction: column; overflow: hidden; aspect-ratio: 9 / 17.4; border-radius: 30px; background: #0e0e21; }
.phone-screen::after { content: ""; width: 34%; height: 4px; margin: auto auto 9px; border-radius: 4px; background: rgba(255, 255, 255, .32); }
.phone-screen img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.post-head { display: flex; align-items: center; gap: 10px; padding: 40px 14px 10px; font-size: .8rem; }
.post-head .avatar { width: 30px; height: 30px; border: 0; font-size: .7rem; }
.post-head b { display: block; line-height: 1.25; }
.post-head small { color: var(--faint); font-size: .68rem; }
.post-dots { margin-left: auto; color: var(--faint); font-size: .8rem; letter-spacing: 1px; }
.post-actions { display: flex; gap: 14px; padding: 12px 14px 2px; color: #fff; }
.post-actions .icon { width: 20px; height: 20px; }
.post-actions .icon:last-child { margin-left: auto; }
.post-lines { display: grid; gap: 7px; padding: 10px 14px 0; }
.post-lines span { display: block; width: var(--w); height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .12); }

.platform { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.platform .c { width: 10px; height: 10px; }

@media (max-width: 760px) {
  .phone-l, .phone-r { display: none; }
  .phone-c { width: min(300px, 78vw); }
}


/* 10c. PLANS --------------------------------------------------------------- */

/* Any number of plans: 3 across on desktop (as designed); fewer, or a short last row, stay centred. */
.pricing { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: stretch; }
.pricing > .plan { flex: 0 1 calc((100% - 44px) / 3); min-width: min(100%, 290px); }
.plan { display: flex; flex-direction: column; padding: 34px 30px; }
.plan h3 { font-size: 1.35rem; }
.plan .plan-for { margin-top: 4px; font-size: .92rem; color: var(--faint); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; font-family: var(--font-display); }
.cur { color: var(--muted); font-size: 1.6rem; font-weight: 600; }
.amount { font-size: 3.3rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.plan .per-note { margin-top: 6px; color: var(--faint); font-size: .86rem; }
.plan .btn { width: 100%; margin-top: 26px; }
.ticks-css { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--border); }
.ticks-css li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(61, 220, 151, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan-featured {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #17172f, #0f0f21) padding-box, var(--grad) border-box;
  box-shadow: 0 34px 90px -34px rgba(165, 47, 227, .6);
  translate: 0 -14px;
}
.plan-featured:hover { border-color: transparent; }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }

@media (max-width: 980px) {
  .pricing { max-width: 460px; margin-inline: auto; }
  .pricing > .plan { flex-basis: 100%; }
  .plan-featured { translate: none; }
}


/* 11. CTA & FOOTER --------------------------------------------------------- */

.section-cta { padding-bottom: 72px; }
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 100px) 24px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 34px;
  background:
    radial-gradient(640px 320px at 50% 0%, rgba(124, 92, 255, .38), transparent 70%),
    radial-gradient(520px 320px at 92% 100%, rgba(255, 79, 216, .28), transparent 70%),
    radial-gradient(420px 260px at 4% 100%, rgba(53, 224, 255, .16), transparent 70%),
    rgba(255, 255, 255, .03);
}
.cta p { max-width: 520px; margin: 20px auto 0; color: var(--muted); font-size: 1.1rem; }
.cta .hero-cta { margin-top: 36px; }

.site-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 9, 18, .2), rgba(5, 5, 12, .95)),
    #05050c;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 72%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 72%, transparent);
  pointer-events: none;
}
.site-footer > .container {
  width: min(100%, 100%);
}
.foot-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  border-block: 1px solid rgba(255, 255, 255, .1);
  border-inline: 0;
  border-radius: 0;
  background:
    radial-gradient(720px 360px at 4% 0%, rgba(55, 65, 145, .26), transparent 66%),
    radial-gradient(620px 320px at 96% 0%, rgba(132, 40, 109, .16), transparent 70%),
    linear-gradient(135deg, #111529 0%, #0b0d18 46%, #161023 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.foot-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04), transparent 18%, transparent 82%, rgba(255, 255, 255, .035));
  pointer-events: none;
}
.foot-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 1.05fr) minmax(0, 1.45fr);
  gap: clamp(54px, 7vw, 112px);
  width: min(100% - 80px, 1480px);
  min-height: 280px;
  margin-inline: auto;
  padding: clamp(42px, 5vw, 58px) 0 34px;
}
.foot-brand .brand {
  align-items: center;
}
.foot-brand .brand-mark {
  box-shadow: none;
}
.foot-brand p {
  max-width: 430px;
  margin-top: 22px;
  color: #b8bfd6;
  font-size: 1rem;
  line-height: 1.7;
}
.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}
.foot-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  color: #d9deee;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease), color .24s var(--ease);
}
.foot-social a:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, .55);
  background: rgba(124, 92, 255, .12);
  color: #fff;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.foot-links h4 {
  margin-bottom: 22px;
  color: #eef1ff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.foot-links a {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 7px 0;
  color: #b8bfd6;
  font-size: .94rem;
  font-weight: 500;
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.foot-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.foot-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.foot-links a:hover::after {
  transform: scaleX(1);
}
.foot-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 80px, 1480px);
  margin-inline: auto;
  padding: 22px 0 34px;
  color: #9da5bf;
  font-size: .82rem;
}
.foot-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 34px;
}
.foot-legal a {
  color: #c1c7dc;
  transition: color .2s var(--ease);
}
.foot-legal a:hover {
  color: #fff;
}


/* 12. MOTION & RESPONSIVE -------------------------------------------------- */

/* Reveal on scroll (only hidden when JS is available) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Draw the hero chart once it enters the viewport */
.js .chart-line { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .5s; }
.js .chart-area { opacity: 0; transition: opacity 1.2s ease 1.2s; }
.js .hero-visual.is-visible .chart-line { stroke-dashoffset: 0; }
.js .hero-visual.is-visible .chart-area { opacity: 1; }

@keyframes drift   { to { transform: translate3d(70px, 50px, 0) scale(1.12); } }
@keyframes ping    { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes blink   { 50% { opacity: 0; } }
@keyframes bob     { 50% { transform: translateY(-12px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-6 { grid-column: span 2; }
  .span-2 { grid-column: span 1; }
  .card-wide { grid-template-columns: 1fr; gap: 30px; }
  .card-ai { display: block; }
  .card-ai .viz { margin-top: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .roles { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 56px 1fr; }
  .insights { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 8, 18, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  .site-header.is-open .nav { display: flex; }
  .site-header.is-open { background: rgba(6, 6, 13, .96); }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; padding: 12px 4px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { padding: .9rem 1.2rem; }
}

@media (max-width: 640px) {
  .hero { padding-top: 132px; }
  .hero-visual { margin-top: 56px; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-4, .span-6 { grid-column: auto; }
  .card { padding: 24px; }
  .role { padding: 28px; }
  .steps { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float { display: none; }
  .foot-links { gap: 48px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Professional interaction polish ----------------------------------------- */

.btn,
.card,
.step,
.channel,
.phone-shell,
.gbp-card,
.app-window {
  backface-visibility: hidden;
}

.btn {
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 58%);
  opacity: 0;
  transition: opacity .28s var(--ease);
}

.btn:hover::before {
  opacity: 1;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70px;
  z-index: -1;
  width: min(980px, 80vw);
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 255, .13), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.app-window {
  transition:
    transform .22s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}

.hero-visual:hover .app-window {
  border-color: rgba(255, 255, 255, .24);
  box-shadow:
    0 48px 110px -38px rgba(0, 0, 0, .9),
    0 0 70px -32px rgba(124, 92, 255, .85),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.float {
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.hero-visual:hover .float-a {
  transform: translate3d(-8px, -8px, 0);
}

.hero-visual:hover .float-b {
  transform: translate3d(8px, -10px, 0);
}

.hero-visual:hover .float-c {
  transform: translate3d(6px, 8px, 0);
}

.channels {
  padding: 92px 0 34px;
}

.marquee {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.marquee-track {
  justify-content: center;
  width: 100%;
  animation: none;
}

.marquee-group {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(100% - 32px, 980px);
  padding-right: 0;
  margin-inline: auto;
}

.marquee-group + .marquee-group {
  display: none;
}

.channel {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  transition:
    transform .28s var(--ease),
    border-color .28s var(--ease),
    background .28s var(--ease),
    box-shadow .28s var(--ease),
    color .28s var(--ease);
}

.channel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .28), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.channel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .09);
  color: #fff;
  box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .8);
}

.channel:hover::before {
  opacity: 1;
}

.card {
  box-shadow: 0 22px 60px -48px rgba(0, 0, 0, .78);
  transition:
    transform .36s var(--ease),
    border-color .3s var(--ease),
    box-shadow .36s var(--ease),
    background .36s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .11), transparent 34%),
    radial-gradient(440px circle at var(--mx, 50%) var(--my, 20%), rgba(53, 224, 255, .11), transparent 62%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .065);
  box-shadow:
    0 30px 80px -46px rgba(0, 0, 0, .9),
    0 0 55px -40px rgba(124, 92, 255, .8);
}

.card:hover::after {
  opacity: 1;
}

.card:hover .icon-tile {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(255, 255, 255, .28);
}

.icon-tile {
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.viz-pub div,
.prompt,
.lines,
.tone-row span,
.cal-grid span,
.gbp-btn {
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}

.card:hover .viz-pub div,
.card:hover .prompt,
.card:hover .lines {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .22);
}

.card:hover .cal-grid .has,
.card:hover .tone-row .on {
  transform: translateY(-2px);
}

.card:hover .viz-bars span {
  filter: saturate(1.15);
}

.step {
  isolation: isolate;
  padding: 18px 16px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease);
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 20%), rgba(124, 92, 255, .18), transparent 64%);
  opacity: 0;
  transition: opacity .32s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
}

.step:hover::after {
  opacity: 1;
}

.step-num {
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.step:hover .step-num {
  transform: scale(1.06);
  box-shadow: 0 0 0 7px var(--bg), 0 0 44px rgba(255, 79, 216, .42);
}

.phone-shell {
  transition:
    transform .42s var(--ease),
    border-color .32s var(--ease),
    box-shadow .42s var(--ease);
}

.phone:hover .phone-shell {
  border-color: rgba(255, 255, 255, .28);
  box-shadow:
    0 52px 100px -34px rgba(0, 0, 0, .95),
    0 0 50px -34px rgba(255, 79, 216, .85),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.plan {
  transform: translateY(0);
}

.plan-featured {
  transform: translateY(-14px);
  translate: none;
}

.plan:hover {
  transform: translateY(-8px);
}

.plan-featured:hover {
  transform: translateY(-20px);
}

@media (max-width: 980px) {
  .plan-featured,
  .plan-featured:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .marquee-group {
    width: min(100% - 24px, 420px);
  }

  .channel {
    width: 100%;
    justify-content: center;
  }

  .card:hover,
  .step:hover,
  .plan:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .foot-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .foot-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 0;
  }

  .foot-panel {
    width: 100%;
  }

  .foot-main {
    gap: 36px;
    width: min(100% - 40px, 460px);
    padding: 34px 0 26px;
  }

  .foot-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .foot-bottom {
    align-items: flex-start;
    width: min(100% - 40px, 460px);
    padding: 24px 0 32px;
  }

  .foot-legal {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .viz-bars span { transform: none; }
  .js .chart-line { stroke-dashoffset: 0; }
  .js .chart-area { opacity: 1; }
}
