/* ============================================================
   Reputito — Component styles
   Heroes, cards, dropdowns, mockups, pricing, FAQ, etc.
   ============================================================ */

main { padding-top: 0; }

/* --- Home hero --------------------------------------------- */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, #07071A 0%, #0D0B2E 50%, #0A0A1E 100%);
  padding: 150px 40px 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.home-hero__mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 20% 20%, rgba(67,56,202,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 800px 500px at 85% 80%, rgba(147,51,234,0.5) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(236,72,153,0.09) 0%, transparent 60%);
  animation: homeMesh 22s ease-in-out infinite alternate;
}
.home-hero__waves {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.2;
  z-index: 0;
}
.home-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 1100px 600px at 50% 50%, black 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 1100px 600px at 50% 50%, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.home-hero__orb-a,
.home-hero__orb-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.home-hero__orb-a {
  top: -100px; left: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
}
.home-hero__orb-b {
  bottom: -150px; right: 5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,132,252,0.15) 0%, transparent 65%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* ── Pulsing glow keyframes for hero badge dots ── */
@keyframes pulse-glow-green {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulse-glow-indigo {
  0%   { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}
@keyframes pulse-glow-pink {
  0%   { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(225, 48, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0); }
}
@keyframes pulse-glow-blue {
  0%   { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(24, 119, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
}
@keyframes pulse-glow-red {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes pulse-glow-white {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 16px var(--c-success), 0 0 4px var(--c-success);
  animation: pulse-glow-green 2s ease-in-out infinite;
}
.hero-pill__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-indigo-100);
  white-space: nowrap;
}

.home-hero h1 {
  font-size: 76px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.home-hero h1 .lead { color: white; display: block; }
.grad-text {
  background-image: linear-gradient(90deg, #A5B4FC 0%, #E9D5FF 50%, #F0ABFC 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero__subtitle {
  font-size: 19px;
  color: var(--c-indigo-300);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 620px;
  opacity: 0.85;
  text-wrap: pretty;
}

.home-hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.avatar-stack { display: flex; }
.avatar-stack > div {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-bg-dark);
}
.avatar-stack > div + div { margin-left: -10px; }
.home-hero__social-proof span {
  font-size: 14px;
  color: #94A3B8;
}
.home-hero__social-proof b { color: white; }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 12px;
  /* GPU compositing — prevents subpixel jitter */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/*
  Premium floating keyframes — rotation baked in so it never fights
  the class-level transform. Four control points create a gentle
  orbital drift (subtle X) rather than pure up/down bobbing.
  cubic-bezier(0.45,0.05,0.55,0.95) = sinusoidal ease — feels
  physically natural, like neutral buoyancy.
*/
@keyframes float-top {
  0%   { transform: rotate(-7deg)   translate(0px,   0px); }
  25%  { transform: rotate(-7.3deg) translate(2px,  -5px); }
  50%  { transform: rotate(-7deg)   translate(0px, -10px); }
  75%  { transform: rotate(-6.7deg) translate(-2px, -5px); }
  100% { transform: rotate(-7deg)   translate(0px,   0px); }
}
@keyframes float-mid {
  0%   { transform: rotate(5deg)   translate(0px,   0px); }
  25%  { transform: rotate(5.3deg) translate(-2px, -4px); }
  50%  { transform: rotate(5deg)   translate(0px,  -9px); }
  75%  { transform: rotate(4.7deg) translate(2px,  -4px); }
  100% { transform: rotate(5deg)   translate(0px,   0px); }
}
@keyframes float-bottom {
  0%   { transform: rotate(-5deg)   translate(0px,   0px); }
  25%  { transform: rotate(-5.3deg) translate(2px,  -5px); }
  50%  { transform: rotate(-5deg)   translate(0px, -10px); }
  75%  { transform: rotate(-4.7deg) translate(-2px, -5px); }
  100% { transform: rotate(-5deg)   translate(0px,   0px); }
}
/* Background blur circles — simple vertical drift */
@keyframes float-bg {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Staggered timing creates layered depth — each card at a different
   phase so they never move in sync */
.float-card--top {
  top: 8%; left: 1%; width: 170px;
  transform: rotate(-7deg); opacity: 0.75;
  animation: float-top 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.float-card--mid {
  bottom: 12%; left: 3%; width: 175px;
  transform: rotate(5deg);
  animation: float-mid 4.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: 1.4s;
}
.float-card--bottom {
  bottom: 8%; right: 3%; width: 200px; padding: 14px;
  transform: rotate(-5deg);
  animation: float-bottom 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: 0.7s;
}

/* Depth blur circles — sit behind everything in the hero */
.hero-blur-1,
.hero-blur-2,
.hero-blur-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-blur-1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
  filter: blur(80px);
  animation: float-bg 8s ease-in-out infinite;
}
.hero-blur-2 {
  width: 400px; height: 400px;
  bottom: -50px; left: -50px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.12), transparent);
  filter: blur(60px);
  animation: float-bg 10s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-blur-3 {
  width: 300px; height: 300px;
  top: 50%; left: 30%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent);
  filter: blur(70px);
  animation: float-bg 12s ease-in-out infinite;
  animation-delay: 1s;
}

.float-card__label {
  font-size: 9px;
  color: #94A3B8;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.float-card__value {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.float-card__row {
  display: flex; gap: 6px; align-items: center; margin-bottom: 6px;
}
.float-card__row span:first-child {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 8px var(--c-success);
}
.float-card__row span:last-child {
  font-size: 10px;
  color: #E0E7FF;
  font-weight: 600;
}
.float-card__sub {
  font-size: 9px;
  color: #94A3B8;
  line-height: 1.4;
}
.bar-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 28px;
}
.bar-chart > div {
  flex: 1;
  background: rgba(129, 140, 248, 0.4);
  border-radius: 2px;
}
.bar-chart > div.is-peak {
  background: linear-gradient(180deg, #A5B4FC, #818CF8);
}

/* --- Subpage hero ------------------------------------------ */
.subpage-hero {
  position: relative;
  padding: 160px 40px 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 1200px 600px at 20% 0%, #1E1B4B 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 30%, #4C1D95 0%, transparent 55%),
    linear-gradient(180deg, #0F0F23 0%, #1A1A2F 100%);
}
.subpage-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 800px 400px at 50% 30%, black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 800px 400px at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
}
.subpage-hero__glow-a,
.subpage-hero__glow-b {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.subpage-hero__glow-a {
  top: -100px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.25) 0%, transparent 70%);
}
.subpage-hero__glow-b {
  bottom: -150px; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(147,51,234,0.20) 0%, transparent 70%);
}

.subpage-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ── Two-column split for feature page heroes ── */
.subpage-hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
.subpage-hero__inner--split .subpage-hero__ctas { justify-content: flex-start; }
.subpage-hero__inner--split h1                  { margin-left: 0; margin-right: 0; }
.subpage-hero__inner--split p.lead              { margin-left: 0; margin-right: 0; }

/* Mockup wrapper — perspective tilt */
.feat-mockup-wrap {
  position: relative;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.feat-mockup-wrap::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: radial-gradient(ellipse at center,rgba(79,70,229,0.28) 0%,transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  z-index: -1;
}

/* Base mockup card */
.feat-mockup {
  background: #0F0F1A;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 64px rgba(0,0,0,0.65),
    0 4px 16px rgba(0,0,0,0.4);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  color: #E2E8F0;
}
.feat-mockup__bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feat-mockup__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  font-style: normal; flex-shrink: 0;
}
.feat-mockup__bar i:nth-child(1) { background: #EF4444; }
.feat-mockup__bar i:nth-child(2) { background: #F59E0B; }
.feat-mockup__bar i:nth-child(3) { background: #22C55E; }
.feat-mockup__bar .m-url {
  flex: 1; text-align: center;
  font-size: 11px; color: #475569; font-weight: 500;
}
.feat-mockup__body { padding: 16px; }

/* Shared inner utilities */
.m-row   { display: flex; align-items: center; }
.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-card  { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 10px; }
.m-label { font-size: 10px; color: #64748B; font-weight: 600;
           text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 7px; }
.m-pill  { display: inline-flex; align-items: center; gap: 4px;
           font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.m-tab   { padding: 5px 11px; border-radius: 6px; border: none;
           font-size: 11px; font-weight: 600; cursor: default;
           font-family: inherit; background: rgba(255,255,255,0.06); color: #94A3B8; }
.m-tab.active { background: #4F46E5; color: white; }
.m-tabs  { display: flex; gap: 4px; margin-bottom: 14px; }
.m-sep   { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 12px 0; }

@media (max-width: 900px) {
  .subpage-hero__inner--split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .subpage-hero__inner--split .subpage-hero__ctas { justify-content: center; }
  .subpage-hero__inner--split h1,
  .subpage-hero__inner--split p.lead { margin-left: auto; margin-right: auto; }
  .feat-mockup-wrap { display: none; }
}
.subpage-hero__icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: 800;
}
.subpage-hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin: 0 auto 22px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 800px;
}
.subpage-hero p.lead {
  font-size: 19px;
  color: var(--c-indigo-300);
  line-height: 1.6;
  margin: 0 auto 32px;
  text-wrap: pretty;
  opacity: 0.85;
  max-width: 700px;
}
.subpage-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.subpage-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.subpage-hero__cta--primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.subpage-hero__cta--primary:hover {
  background: var(--grad-primary-hover);
  opacity: 0.95;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.55);
}
.subpage-hero__cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.subpage-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
}
.subpage-hero__cta:focus-visible {
  outline: 2px solid #A5B4FC;
  outline-offset: 3px;
}
.subpage-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.30);
}
.subpage-hero__pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #818CF8;
  box-shadow: 0 0 12px #818CF8;
  animation: pulse-glow-indigo 2s ease-in-out infinite;
}
/* Platform-coloured pill dots (inline-styled, targeted by class) */
.pill-dot--pink  { animation: pulse-glow-pink  2s ease-in-out infinite; }
.pill-dot--blue  { animation: pulse-glow-blue  2s ease-in-out infinite; }
.pill-dot--red   { animation: pulse-glow-red   2s ease-in-out infinite; }
.pill-dot--white { animation: pulse-glow-white 2s ease-in-out infinite; }
.subpage-hero__pill span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, #A5B4FC, #C084FC);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Platform bar (home) ----------------------------------- */
.platform-bar { background: #fff; padding: 64px 40px; text-align: center; }
.platform-bar__active,
.platform-bar__soon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.platform-bar__active { gap: 56px; margin-bottom: 36px; }
.platform-bar__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--c-text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.platform-bar__divider::before,
.platform-bar__divider::after {
  content: "";
  height: 1px;
  width: 80px;
  background: var(--c-border);
}
.platform-bar__soon { gap: 40px; opacity: 0.6; }

.platform-bar__active .platform-bar__item,
.platform-bar__soon   .platform-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.platform-bar__active .platform-bar__item { gap: 12px; }
.platform-bar__soon   .platform-bar__item { gap: 8px; }

/* App-style icon container — 64×64 rounded square */
.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;              /* ≈ 22% of 64px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.platform-bar__active .platform-bar__item:hover .platform-icon {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
/* Smaller icons for "coming soon" row */
.platform-bar__soon .platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.platform-bar__name {
  font-size: 13px;
  font-weight: 500;
  color: #1A1A2F;
  letter-spacing: -0.01em;
}
.platform-bar__soon .platform-bar__name { font-size: 12px; }
.platform-bar__caption {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 1px;
}

/* --- Problem / solution ------------------------------------ */
.ps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ps-col {
  background: white;
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid transparent;
}
.ps-col--problem  { border-top-color: var(--c-danger); }
.ps-col--solution { border-top-color: var(--c-primary); }

.ps-col__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ps-col--problem .ps-col__label  { color: var(--c-danger); }
.ps-col--solution .ps-col__label { color: var(--c-primary); }

.ps-col h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.ps-col--problem h2  { color: var(--c-text); }
.ps-col--solution h2 { color: var(--c-primary); }

.ps-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.ps-list li > div {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ps-list li p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}
.ps-col--problem .ps-list li > div  { background: var(--c-danger-bg); }
.ps-col--solution .ps-list li > div { background: var(--c-success-bg); }

/* --- Stats bar --------------------------------------------- */
.stats-bar {
  background: var(--grad-primary);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stats-grid > div {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.stats-grid > div:last-child { border-right: none; }
.stat__num {
  font-size: 52px;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  font-weight: 500;
}

/* --- Feature grids ----------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.feature-card:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
/* Gradient top-border reveal on hover */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.12);
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.15);
}
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--grad-primary-diag);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.feature-card__icon svg { flex-shrink: 0; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}
.feature-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.feature-card:hover .feature-card__more { gap: 7px; }

/* --- How it works ------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  list-style: none;
  padding-left: 0;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 16.67%; right: 16.67%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.3;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-border);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
}
.step:hover {
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--grad-primary-diag);
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  position: relative;
}
/* Outer ring on step number */
.step__num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(79, 70, 229, 0.2);
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0;
}
.steps-cta { text-align: center; margin-top: 48px; }

.steps-h2 {
  font-size: 44px;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  margin: 0 0 64px;
  line-height: 1.2;
}

/* --- Testimonials ------------------------------------------ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--c-border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
/* Per-platform top border colour — set inline with CSS var override */
.testimonial-card[data-platform="instagram"] { border-top-color: #E1306C; }
.testimonial-card[data-platform="tiktok"]    { border-top-color: #111; }
.testimonial-card[data-platform="facebook"]  { border-top-color: #1877F2; }

.testimonial-card__stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: block;
}
.testimonial-card__quote {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  height: 36px;
  margin-bottom: 12px;
  background-image: var(--grad-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  overflow: hidden;
}
.testimonial-card p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin: 0 0 24px;
  font-style: italic;
}
.testimonial-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-primary-diag);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__name { font-size: 14px; font-weight: 600; color: #1A1A2F; }
.testimonial-card__role { font-size: 12px; color: #64748B; }
.testimonial-card__platform {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

/* --- Final CTA (dark immersive) -------------------------------- */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, #0D0D1F 0%, #1A0533 50%, #0F0A2E 100%);
  min-height: 400px;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Ambient depth orbs */
.cta-orb-a,
.cta-orb-b,
.cta-orb-c {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.cta-orb-a {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.20) 0%, transparent 65%);
  filter: blur(80px);
}
.cta-orb-b {
  width: 500px; height: 500px;
  bottom: -150px; right: -50px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 65%);
  filter: blur(80px);
}
.cta-orb-c {
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, transparent 65%);
  filter: blur(80px);
}

/* Dark scrim over card layer — sits above cards, below foreground content */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 25, 0.45);
  z-index: 2;
  pointer-events: none;
}

/* Grid wrapper — rotate + scale for full corner coverage */
.cta-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-8deg) scale(1.4);
  transform-origin: center center;
}

/* Flex column — stacked rows that each scroll horizontally */
.cta-bg-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

/* Each row is a horizontal strip of cards; Set A + Set B for seamless loop */
.cta-row {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  width: max-content;
  animation: cta-slide 80s linear infinite;
}
.cta-row--2 { animation-delay: -25s; }
.cta-row--3 { animation-delay: -50s; }
.cta-row--4 { animation-delay: -10s; }
.cta-row--5 { animation-delay: -35s; }
.cta-row--6 { animation-delay: -60s; }
.cta-row--7 { animation-delay: -15s; }
.cta-row--8 { animation-delay: -45s; }

@keyframes cta-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-row { animation: none; }
}

/* Cards — texture only: very subtle, not distracting */
.cta-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.064);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 320px;
  min-height: 90px;
  box-sizing: border-box;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.cta-card__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.24;
}
.cta-card__body { line-height: 1.35; }
.cta-card__meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 2px;
  white-space: nowrap;
}
.cta-card__text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.24);
  white-space: nowrap;
}
.cta-card__ai-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}
.cta-card__ai-tag span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.24);
}

/* Foreground content */
.final-cta__inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  z-index: 10;
}
.final-cta h2 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin: 0 0 18px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 36px;
  line-height: 1.65;
}

/* --- Dropdown menus (header) ------------------------------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  padding: 24px;
  z-index: 1000;
  margin-top: 8px;
  border: 1px solid var(--c-border);
  display: none;
}
.dropdown.is-open { display: block; }

.dropdown__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dropdown__cols--features {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dropdown__heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0 8px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}
.dropdown-item:hover { background: var(--c-bg-alt); }
.dropdown-item:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: -2px;
  background: var(--c-bg-alt);
}
.dropdown-item--soon { opacity: 0.5; cursor: not-allowed; }
.dropdown-item__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.dropdown-item__icon--feature {
  background: var(--grad-primary-diag);
}
.dropdown-item__icon--feature svg { flex-shrink: 0; }
.dropdown-item__name { font-size: 14px; font-weight: 600; color: var(--c-text); }
.dropdown-item__desc { font-size: 12px; color: var(--c-text-muted); margin-top: 1px; }
.badge-soon {
  font-size: 10px;
  font-weight: 600;
  background: var(--c-bg-light);
  color: var(--c-primary);
  padding: 2px 8px;
  border-radius: 4px;
}
.dropdown__col {
  display: flex;
  flex-direction: column;
}
.dropdown-item--automations {
  background: #EEF2FF;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 4px;
}
.dropdown-item--automations:hover { background: #E0E7FF; }
.dropdown-item--automations .dropdown-item__name { font-weight: 700; }
.badge-new {
  font-size: 9px;
  font-weight: 700;
  background: linear-gradient(90deg, #4F46E5, #9333EA);
  color: white;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0;
}
.dropdown__foot {
  border-top: 1px solid var(--c-border);
  margin-top: 12px;
  padding-top: 12px;
  padding-left: 8px;
}
.dropdown__foot a {
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* --- Platforms listing page ------------------------------- */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.platform-card {
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-border);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  border-top-width: 4px;
  border-top-style: solid;
  cursor: pointer;
}
.platform-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.platform-card:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.platform-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.platform-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 8px;
}
.platform-card p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.platform-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.coming-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  opacity: 0.5;
}
.coming-card__circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin: 0 auto 12px;
}
.coming-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}

/* --- Rules section (used on subpages) ---------------------- */
/* ── Benefits section (formerly "rules") — premium dark treatment ── */
.rules-section {
  background: linear-gradient(135deg, #0D0B2E 0%, #0F0F1A 50%, #0A0A1E 100%);
  padding: 100px 40px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.rules-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 25% 50%, rgba(79,70,229,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 80% 60%, rgba(147,51,234,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.rules-section h2 {
  font-size: 38px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
/* Eyebrow on dark background */
.rules-section .eyebrow { color: rgba(165, 180, 252, 0.85); }

.rules-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rules-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Glass benefit cards */
.rule-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(79, 70, 229, 0.5);
  border-radius: 14px;
  padding: 28px;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rule-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  border-top-color: rgba(99, 102, 241, 0.75);
}
.rule-card__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(165, 180, 252, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rule-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin: 0 0 10px;
  line-height: 1.35;
}
.rule-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  margin: 0;
}

/* Light variant — used on platform pages */
.rules-section--light {
  background: #F4F4F6;
}
.rules-section--light::before { display: none; }
.rules-section--light h2 { color: #1A1A2F; }
.rules-section--light .eyebrow { color: #64748B; }
.rules-section--light .rule-card {
  background: white;
  border: 1px solid #E2E8F0;
  border-top: 2px solid rgba(79, 70, 229, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.rules-section--light .rule-card:hover {
  background: white;
  border-color: #CBD5E1;
  border-top-color: rgba(79, 70, 229, 0.6);
}
.rules-section--light .rule-card h3 { color: #1A1A2F; }
.rules-section--light .rule-card p  { color: #64748B; }

/* --- Blog page --------------------------------------------- */
.blog-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
/* Wrapper article stretches to fill grid row */
.blog-grid article { display: flex; }
.blog-card {
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.blog-card:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.blog-card__cover {
  position: relative;
  height: 190px;
  flex-shrink: 0;
  background: var(--grad-primary-diag);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  overflow: hidden;
}
/* Cover image fills the container regardless of intrinsic size */
.blog-card__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-card__cover .blog-card__cat { position: relative; z-index: 1; }
.blog-card__cat {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Body fills remaining card height; author row pins to bottom */
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 10px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}
.blog-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}
.blog-card__author {
  display: flex;
  gap: 10px;
  align-items: center;
}
/* Circular author avatar — works for both img and div.avatar */
.blog-card__author img,
.blog-card__author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  font-size: 11px;
}
.blog-card__author span { font-size: 13px; color: var(--c-text-muted); }
.blog-card__date { font-size: 12px; color: var(--c-text-light); }

/* ── Blog post hero — two-column dark ────────────────────── */
.blog-post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.blog-post-hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.blog-post-hero__title {
  font-size: 44px;
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
.blog-post-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.blog-post-hero__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.blog-post-hero__author-name {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.blog-post-hero__author-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.4;
}
.blog-post-hero__cover {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #4F46E5 0%, #9333EA 100%);
  position: relative;
}
.blog-post-hero__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .blog-post-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .blog-post-hero__title { font-size: 30px; }
  .blog-post-hero__right { order: -1; }
}

/* ── Blog post article page ───────────────────────────────── */
.blog-post {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}
.blog-post__cover {
  height: 360px;
  border-radius: 16px;
  background: var(--grad-primary-diag);
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
}
.blog-post__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}
.blog-post__meta .blog-card__cat {
  background: rgba(79, 70, 229, 0.1);
  color: var(--c-primary);
}
.blog-post__meta .sep { color: var(--c-border); }
.blog-post__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  text-wrap: balance;
}
.blog-post__author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
  margin-bottom: 48px;
}
.blog-post__author-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.blog-post__author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}
.blog-post__author-sub {
  font-size: 13px;
  color: var(--c-text-muted);
}
.blog-post__body p:first-of-type { font-size: 18px; }
.blog-post__body p {
  font-size: 17px;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 24px;
}
.blog-post__body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A2F;
  margin: 48px 0 16px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.blog-post__body ul {
  padding-left: 22px;
  margin: 0 0 24px;
}
.blog-post__body li {
  font-size: 17px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 8px;
}
/* Inline CTA block inside article body */
.article-cta {
  background: #1A1A2F;
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article-cta p {
  font-size: 17px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.blog-post__bio {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #F8FAFC;
  border: 1px solid var(--c-border-light);
  border-radius: 12px;
  padding: 24px;
  margin-top: 64px;
}
.blog-post__bio img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.blog-post__bio-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.blog-post__bio-text {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .blog-post { padding: 40px 20px 64px; }
  .blog-post__title { font-size: 28px; }
  .blog-post__body p,
  .blog-post__body li { font-size: 16px; }
}

.newsletter-section {
  background: var(--c-bg-light);
  padding: 80px 40px;
  text-align: center;
}
.newsletter-section__inner { max-width: 540px; margin: 0 auto; }
.newsletter-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 12px;
}
.newsletter-section p {
  font-size: 16px;
  color: var(--c-text-muted);
  margin: 0 0 28px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 11px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--c-border-light);
  font-size: 15px;
  font-family: inherit;
  min-width: 280px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* --- Pricing ------------------------------------------------ */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 8px;
  padding: 5px;
  border: 1px solid var(--c-border);
  width: auto;
}
.billing-toggle__btn {
  padding: 8px 22px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--c-text-muted);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billing-toggle__btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.billing-toggle__btn.is-active {
  background: var(--grad-primary);
  color: white;
}
.billing-toggle__badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--c-success-bg);
  color: #16A34A;
  padding: 2px 8px;
  border-radius: 4px;
}
.billing-toggle__btn.is-active .billing-toggle__badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* Add-on pricing row */
.pricing-addons {
  max-width: 1100px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.addon-card {
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.addon-card .btn { margin-top: auto; }
.addon-card--pack {
  background: linear-gradient(135deg, #4F46E5, #9333EA);
  border-color: transparent;
}
.addon-card--pack .addon-card__name,
.addon-card--pack .addon-card__desc,
.addon-card--pack .addon-card__price span:first-child,
.addon-card--pack .addon-card__price-unit { color: white; }
.addon-card--pack .addon-card__desc { color: rgba(255, 255, 255, 0.75); }
.addon-card--pack .addon-card__price-unit { color: rgba(255, 255, 255, 0.75); }
.addon-card--pack .btn {
  background: white;
  color: #4F46E5;
  font-weight: 700;
}
.addon-card--pack .btn:hover { background: #F1F5F9; }
.addon-card--enterprise {
  background: #1A1A2F;
  border-color: rgba(255, 255, 255, 0.08);
}
.addon-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}
.addon-card--enterprise .addon-card__name { color: white; }
.addon-card__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.addon-card--enterprise .addon-card__desc { color: rgba(255, 255, 255, 0.6); }
.addon-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0;
}
.addon-card__price span:first-child {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-text);
}
.addon-card__price-unit {
  font-size: 14px;
  color: var(--c-text-muted);
}
.addon-card__lets-talk {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 4px 0;
}
.addon-card--enterprise .btn--outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}
.addon-card--enterprise .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.pricing-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 28px;
  position: relative;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}
.pricing-card--highlight {
  border: 2px solid var(--c-primary);
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.15);
}
.pricing-card__ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
}
.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-card__price .num {
  font-size: 44px;
  font-weight: 800;
  color: var(--c-text);
}
.pricing-card__price .per {
  font-size: 15px;
  color: var(--c-text-muted);
}
.pricing-card__cycle {
  font-size: 13px;
  color: var(--c-text-light);
  margin-bottom: 22px;
  min-height: 18px;
}
.pricing-card__features {
  border-top: 1px solid var(--c-border);
  padding-top: 22px;
  margin-top: 22px;
}
.pricing-card__features li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
}
.pricing-card__features li > div {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-success-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-card__features li span {
  font-size: 14px;
  color: var(--c-text-muted);
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
}
.pricing-note p {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0 0 4px;
}
.pricing-note a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}

/* --- FAQ ---------------------------------------------------- */
.faq-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--c-text);
  text-align: center;
  margin: 0 0 40px;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-border);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__btn {
  width: 100%;
  padding: 18px 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: color 0.15s;
}
.faq-item__btn:hover { color: var(--c-primary); }
.faq-item__btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: -2px;
}
.faq-item__btn svg {
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-item__panel {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  display: none;
}
.faq-item__btn[aria-expanded="true"] + .faq-item__panel { display: block; }

/* --- Mockup frame (subpages) ------------------------------- */
.mock-section { background: var(--c-bg-dark); padding: 80px 40px; }
.mock-section__inner { max-width: 1000px; margin: 0 auto; }
.mock-frame {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  box-shadow: 0 24px 60px rgba(15, 15, 30, 0.5);
  overflow: hidden;
}
.mock-frame__bar {
  background: #F8FAFC;
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  gap: 6px;
  align-items: center;
}
.mock-frame__bar > i {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mock-frame__bar > i:nth-child(1) { background: #EF4444; }
.mock-frame__bar > i:nth-child(2) { background: #F59E0B; }
.mock-frame__bar > i:nth-child(3) { background: #22C55E; }
.mock-frame__bar > span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}
.mock-frame__body { padding: 18px; }

/* --- Mobile responsive ------------------------------------- */
@media (max-width: 900px) {
  .home-hero { padding: 120px 20px 80px; min-height: auto; }
  .home-hero__inner { padding: 0; }
  .home-hero h1 { font-size: 44px; }
  .home-hero__subtitle { font-size: 17px; }

  .subpage-hero { padding: 120px 20px 80px; }
  .subpage-hero h1 { font-size: 36px; }
  .subpage-hero p.lead { font-size: 17px; }

  .float-card { display: none; }

  .ps-grid,
  .feature-grid,
  .feature-grid--2,
  .feature-grid--4,
  .testimonial-grid,
  .blog-grid,
  .platforms-grid,
  .coming-grid,
  .pricing-grid,
  .stats-grid,
  .steps-grid,
  .rules-section { padding: 64px 20px; }
  .rules-section h2 { font-size: 28px; margin-bottom: 36px; }
  .rules-grid,
  .rules-grid--4 {
    grid-template-columns: 1fr !important;
  }

  .stats-grid > div {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px 0;
  }
  .stats-grid > div:last-child { border-bottom: none; }
  .stats-grid .stat__num { font-size: 40px; }

  .steps-grid::before { display: none; }
  .steps-h2 { font-size: 32px; }

  .platform-bar__active { gap: 28px; }
  .platform-bar__soon   { gap: 20px; }

  .final-cta { padding: 64px 20px; }
  .final-cta h2 { font-size: 32px; }
  .final-cta p  { font-size: 16px; }

  .ps-col h2 { font-size: 28px; }

  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 12px 0;
    margin-top: 4px;
  }
  .dropdown__cols { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 600px) {
  .pricing-card__price .num { font-size: 36px; }
}

/* ── Alternating feature sections (homepage) ──────────────── */
/*
  Alternating feature showcase — dark theme.
  Three layers of depth:
    1. Section bg  #0F0F1A
    2. Cards       rgba(255,255,255,0.04) / rgba(255,255,255,0.06)
    3. Mockups     rgba(255,255,255,0.08)
  This is the premium "product showcase zone" pattern used by
  Linear, Vercel, and Loom — a dark island between two light sections.
*/
.features-alternating {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-section {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  transition: border-color 0.2s;
}
.feat-section:hover { border-color: rgba(255,255,255,0.12); }

/* Odd: very subtle card lift from section bg */
.feat-section:nth-child(odd)  { background: rgba(255,255,255,0.035); }
/* Even: slightly more visible lift */
.feat-section:nth-child(even) { background: rgba(255,255,255,0.055); }

/* Reverse column order for text-right rows */
.feat-section--rtl .feat-section__text   { order: 2; }
.feat-section--rtl .feat-section__visual { order: 1; }

/* Gradient label — unchanged, works on dark */
.feat-section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* Title — white on dark */
.feat-section__title {
  font-size: 26px;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.feat-section__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.feat-section__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.65;
}
.feat-section__check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-primary-diag);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.feat-section__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Learn more — indigo-300 for contrast on dark */
/* "Get Started →" secondary text link — muted, never competes with the gradient CTA */
.feat-section__learn {
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s;
}
.feat-section__learn:hover { color: #E2E8F0; }
.feat-section__learn:focus-visible {
  outline: 2px solid rgba(165, 180, 252, 0.7);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Compact Get Started inside feat-section */
.feat-section__actions .btn--gradient {
  padding: 7px 16px;
  font-size: 13px;
}

/* Mini mockup — third depth layer (slightly lighter than card) */
.feat-mini-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  overflow: hidden;
  max-height: 220px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #E2E8F0;
  font-size: 11px;
}
.feat-mini-bar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 7px 10px;
  display: flex;
  gap: 5px;
  align-items: center;
  margin: -14px -14px 12px;
}
.feat-mini-bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  font-style: normal;
  flex-shrink: 0;
}
.feat-mini-bar i:nth-child(1) { background: #EF4444; }
.feat-mini-bar i:nth-child(2) { background: #F59E0B; }
.feat-mini-bar i:nth-child(3) { background: #22C55E; }

/* Mobile — stack, text always first */
@media (max-width: 900px) {
  .features-alternating { gap: 12px; }
  .feat-section {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 20px;
  }
  .feat-section--rtl .feat-section__text   { order: 1; }
  .feat-section--rtl .feat-section__visual { order: 2; }
}

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ── Contact hero (info left + form card right inside dark hero) ── */
.contact-hero { padding-bottom: 120px; }
.contact-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-hero-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.contact-hero-info h1 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.contact-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
}
.contact-hero-details { display: flex; flex-direction: column; gap: 16px; }
.contact-hero-item { display: flex; align-items: center; gap: 14px; }
.contact-hero-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3px;
}
.contact-hero-value {
  font-size: 15px;
  color: white;
  font-weight: 500;
  text-decoration: none;
}
a.contact-hero-value:hover { color: #A5B4FC; }
.contact-hero-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  line-height: 1.65;
}
.contact-form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
}
.contact-form-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 24px;
}
/* Dark field overrides — scoped to the dark form card */
.contact-form-card .form-label { color: white; }
.contact-form-card .form-input,
.contact-form-card .form-textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
}
.contact-form-card .form-input::placeholder,
.contact-form-card .form-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form-card .form-input:focus,
.contact-form-card .form-textarea:focus {
  border-color: rgba(165, 180, 252, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.contact-form-card .form-check-label { color: white; }
.contact-form-card .form-check-label a { color: white; text-decoration: underline; }
.contact-form-card .form-check-label a:hover { opacity: 0.8; }
.form-feedback {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
}
.form-feedback.is-visible { display: flex; }
.form-feedback--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}
.form-feedback--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fecaca;
}
.form-feedback svg { flex-shrink: 0; margin-top: 1px; }

/* Field-level validation errors */
.form-error {
  display: block;
  font-size: 13px;
  color: #EF4444;
  margin-top: 5px;
  min-height: 18px;
}
.form-input--error,
.form-textarea--error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

/* Privacy consent checkbox */
.form-group--check { gap: 6px; }
.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: white;
  line-height: 1.55;
  user-select: none;
}
.form-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.form-check-box {
  width: 18px; height: 18px;
  min-width: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  background: rgba(255, 255, 255, 0.06);
}
.form-check:checked ~ .form-check-box {
  background: #4F46E5;
  border-color: #4F46E5;
}
.form-check:checked ~ .form-check-box::after {
  content: '';
  display: block;
  width: 10px; height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}
.form-check:focus-visible ~ .form-check-box {
  outline: 2px solid rgba(165, 180, 252, 0.7);
  outline-offset: 2px;
}
.form-check-label a {
  color: #818CF8;
  text-decoration: none;
}
.form-check-label a:hover { text-decoration: underline; }
.btn--contact {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.btn--contact:hover {
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.6);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Contact page (legacy grid, kept for reference) ───────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-label   { font-size: 14px; font-weight: 600; color: #1A1A2F; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: #1A1A2F;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-textarea { min-height: 160px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__title { font-size: 22px; font-weight: 700; color: #1A1A2F; margin-bottom: 4px; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info__text { font-size: 15px; color: #64748B; line-height: 1.55; }
.contact-info__text strong { display: block; color: #1A1A2F; font-weight: 600; margin-bottom: 2px; }
.contact-note {
  font-size: 13px;
  color: #64748B;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 8px;
  border-left: 3px solid #E2E8F0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Legal page hero metadata badges */
.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.legal-meta__badge {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.legal-meta__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  line-height: 1;
}

/* ── Legal pages (Privacy Policy, Terms of Service) ───────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 40px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A2F;
  margin: 48px 0 12px;
  padding-top: 48px;
  border-top: 1px solid #E2E8F0;
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: #6366F1; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: #1A1A2F; }

@media (max-width: 700px) {
  .legal-content { padding: 48px 20px; }
}

/* ============================================================
   MOBILE OVERRIDES — max-width: 767px
   Placed LAST so these win over all earlier 900px blocks.
   ============================================================ */
@media (max-width: 767px) {
  /* ── Overflow prevention ── */
  body { overflow-x: hidden; }

  /* ════════════════════════════════════════════════════
     SECTION PADDING — 48px top/bottom, 20px left/right
     ════════════════════════════════════════════════════ */
  .section,
  .section-sm,
  .section-lg { padding-top: 48px; padding-bottom: 48px; }

  /* Custom sections without .section class */
  .platform-bar       { padding: 48px 20px; }
  .stats-bar          { padding: 48px 20px; }
  .newsletter-section { padding: 48px 20px; }
  .final-cta          { padding-top: 48px; padding-bottom: 48px; }
  .rules-section      { padding-top: 48px; padding-bottom: 48px; }

  .newsletter-form input { min-width: 0; width: 100%; }

  /* ════════════════════════════════════════════════════
     TITLE → CONTENT GAP — 24px everywhere
     ════════════════════════════════════════════════════ */
  /* !important needed to override inline style="margin-bottom:48px" on subpage h2s */
  .section-heading  { margin-bottom: 24px !important; }
  /* Testimonials (index) + features-list (platforms/features pages) */
  .section.bg-white .section-heading { margin-bottom: 0 !important; }
  .steps-h2         { margin-bottom: 0; }
  .steps-cta        { margin-top: 0; }
  .rules-section h2 { margin-bottom: 24px; }
  .faq-section h2   { margin-bottom: 24px; }

  /* ════════════════════════════════════════════════════
     GRIDS — single column, 16px gaps
     ════════════════════════════════════════════════════ */
  .ps-grid                   { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid,
  .feature-grid--2,
  .feature-grid--4           { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid                { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-grid          { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid                 { grid-template-columns: 1fr; gap: 16px; }
  .platforms-grid            { grid-template-columns: 1fr; gap: 16px; }
  .coming-grid               { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* ════════════════════════════════════════════════════
     ALTERNATING FEATURE SECTIONS
     ════════════════════════════════════════════════════ */
  .features-alternating { gap: 24px; }
  .feat-section         { padding: 24px 20px; gap: 20px; }

  /* ════════════════════════════════════════════════════
     STATS — single column, one stat per row
     ════════════════════════════════════════════════════ */
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid > div {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 20px;
  }
  .stats-grid > div:last-child { border-bottom: none; }

  /* ════════════════════════════════════════════════════
     INNER GRID CONTAINERS — remove double horizontal padding
     These get padding: 64px 20px from the 900px blocks above,
     but they sit inside .section/.stats-bar which already
     provides the 20px edge gap. Zero the horizontal half.
     ════════════════════════════════════════════════════ */
  .ps-grid,
  .feature-grid,
  .feature-grid--2,
  .feature-grid--4,
  .testimonial-grid,
  .blog-grid,
  .platforms-grid,
  .coming-grid,
  .pricing-grid,
  .stats-grid,
  .steps-grid { padding-left: 0; padding-right: 0; }

  /* ════════════════════════════════════════════════════
     PRICING
     ════════════════════════════════════════════════════ */
  #pricing-plans       { padding-left: 20px; padding-right: 20px; }
  .billing-toggle-wrap { margin-bottom: 8px; }
  .pricing-addons      { grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
  .pricing-grid        { gap: 16px; }
}

/* ============================================================
   DESKTOP RESTORE — min-width: 768px
   Explicit restore of spacing that mobile overrides set to 0.
   ============================================================ */
@media (min-width: 768px) {
  .steps-h2                          { margin-bottom: 60px; }
  .steps-cta                         { margin-top: 60px; }
  .section.bg-white .section-heading { margin-bottom: 60px !important; }
}
