/* ═══════════════════════════════════════════════════
   VedNex Schedules — Product Site CSS
   Consistent with parent · Product-specific additions
═══════════════════════════════════════════════════ */

/* ── Logo product suffix ── */
.logo-product {
  font-family: var(--font-body);
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--emerald);
  text-transform: none;
}

/* ── Reveal system ── */
.sch-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.sch-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════
   HERO
═══════════════════ */
.sch-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: clamp(7rem,13vw,10rem) 0 clamp(5rem,10vw,7rem);
  overflow: hidden; z-index: 1;
}
.sch-hero-bg {
  position: absolute; top: 50%; right: -150px;
  transform: translateY(-50%);
  pointer-events: none; opacity: 0.1; z-index: 0;
  animation: spin-slow 160s linear infinite;
  filter: sepia(0.2) hue-rotate(10deg) saturate(1.2);
}
.sch-hero-bg img { width: min(800px,90vw); }

.sch-hero-bloom {
  position: absolute; top: 30%; left: 20%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  pointer-events: none; z-index: 0;
}
.sch-hero-bloom::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 40% 50%,
    rgba(22,163,74,0.1) 0%, rgba(212,175,55,0.06) 45%, transparent 70%);
  filter: blur(60px);
  animation: bloom-pulse 14s ease-in-out infinite alternate;
}

.sch-hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,6vw,5rem);
  align-items: center;
}

/* ── Hero copy ── */
.sch-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--emerald);
  background: var(--emerald-pale);
  border: 1px solid rgba(22,163,74,0.25);
  padding: 0.4rem 1rem; border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}
.sch-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse-ring 2.5s ease-out infinite;
  --pulse-color: 22,163,74;
}

.sch-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 300; line-height: 0.95;
  color: var(--text-heading);
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.sch-hero-copy h1 em { font-style: italic; color: var(--emerald); }

.sch-hero-lead {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 2rem; max-width: 480px;
}
.sch-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sch-hero-note { font-size: 12px; color: var(--text-dim); letter-spacing: 0.04em; }

.sch-social-strip { margin-top: 1.5rem; }
.sch-social-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 0.5rem 1rem;
  font-size: 13px; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.sch-social-pill .fire { font-size: 14px; }
.sch-social-pill a { color: var(--emerald); font-weight: 600; text-decoration: none; }
.sch-social-pill a:hover { text-decoration: underline; }

/* ── Hero mockup ── */
.sch-hero-mockup { position: relative; }

.sch-mockup-frame {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}
.sch-mockup-bar {
  background: var(--bg2); padding: 10px 14px;
  display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.sch-mockup-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-mid);
}
.sch-mockup-bar span:first-child { background: #ff5f57; }
.sch-mockup-bar span:nth-child(2) { background: #febc2e; }
.sch-mockup-bar span:nth-child(3) { background: #28c840; }

.sch-mockup-screen { position: relative; height: 340px; overflow: hidden; }
.sch-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.5s var(--ease); }
.sch-screen.active { opacity: 1; }

.sch-mockup-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 10px; background: var(--bg2);
  border-top: 1px solid var(--border);
}
.mdot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-mid); transition: background 0.3s; }
.mdot.active { background: var(--emerald); }

/* Floating elements */
.sch-float-notif {
  position: absolute; bottom: 60px; left: -20px;
  background: linear-gradient(135deg, #7c3aed, #22c55e);
  border-radius: 12px; padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
  animation: float-bob 6s ease-in-out infinite;
  max-width: 260px;
}
.sch-float-notif .notif-icon { font-size: 16px; flex-shrink: 0; }
.sch-float-notif strong { display: block; font-size: 12px; color: white; font-weight: 600; }
.sch-float-notif span { font-size: 10px; color: rgba(255,255,255,0.7); }

.sch-float-magic {
  position: absolute; top: 40px; right: -15px;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 0.5rem 0.85rem;
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float-bob 8s ease-in-out infinite reverse;
}

@keyframes float-bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ═══════════════════
   PROBLEM
═══════════════════ */
.sch-problem {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.sch-problem-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem 0 2rem;
}

.sch-problem-card {
  background: white; padding: 2rem 1.8rem;
  transition: background 0.3s;
}
.sch-problem-card:hover { background: var(--bg2); }
.sch-problem-icon { font-size: 2rem; margin-bottom: 1rem; }
.sch-problem-card h4 {
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 0.6rem;
}
.sch-problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

.sch-problem-resolution {
  text-align: center; padding: 1.5rem 2rem;
  background: var(--emerald-pale);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
}
.sch-problem-resolution p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem,2vw,1.4rem); font-weight: 300;
  font-style: italic; color: var(--emerald);
}

/* ═══════════════════
   HOW IT WORKS
═══════════════════ */
.sch-how {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  overflow: hidden;
}
.sch-how-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.how-grad { position: absolute; inset: 0; background: var(--dark-grad); }
.sch-how-bg::after { content: ''; position: absolute; inset: 0; background: var(--dark-grad-glow); opacity: 0.8; }
.how-mandala {
  position: absolute; bottom: -100px; right: -80px;
  width: 500px; height: 500px; opacity: 0.05;
  animation: spin-slow 200s linear infinite;
}

.sch-steps { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; position: relative; z-index: 2; }

.sch-step {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 2rem; align-items: center;
  padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sch-step:last-child { border-bottom: none; }
.sch-step-alt { direction: rtl; }
.sch-step-alt > * { direction: ltr; }

.sch-step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem,6vw,4.5rem); font-weight: 300;
  color: rgba(255,255,255,0.12); line-height: 1;
  user-select: none;
}

.sch-step-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 300;
  color: #f0f4ff; margin-bottom: 0.7rem; line-height: 1.2;
}
.sch-step-content p { font-size: 15px; color: rgba(240,244,255,0.65); line-height: 1.75; }

.sch-step-screen img {
  width: 100%; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ═══════════════════
   FEATURES BENTO
═══════════════════ */
.sch-features {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}

.sch-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; margin-top: 3rem;
}

.sch-bento-card {
  background: white; padding: clamp(1.6rem,2.5vw,2.2rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.sch-bento-card:hover { background: var(--bg); }

.sch-bento-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 2rem; }
.sch-bento-feature { grid-column: span 2; flex-direction: row; align-items: center; gap: 2rem; }

.sch-bento-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem,2vw,1.5rem); font-weight: 300;
  color: var(--text-heading); line-height: 1.2;
}
.sch-bento-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

.sch-bento-content { flex-shrink: 0; max-width: 260px; }
.sch-bento-screen img {
  width: 100%; border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.sch-bento-screen-sm img { max-height: 180px; object-fit: cover; object-position: top; }

/* Social proof preview */
.sch-social-preview { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.social-notif {
  display: flex; align-items: center; gap: 0.75rem;
  background: linear-gradient(135deg, #7c3aed, #22c55e);
  border-radius: 10px; padding: 0.65rem 0.85rem;
}
.social-notif-2 { opacity: 0.6; transform: scale(0.96); }
.social-icon { font-size: 14px; flex-shrink: 0; }
.social-notif strong { display: block; font-size: 11px; color: white; font-weight: 600; }
.social-notif span { font-size: 10px; color: rgba(255,255,255,0.7); display: block; }

/* Payments icons */
.sch-payments-icons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.pay-icon {
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.pay-icon.stripe  { background: var(--purple-pale); color: var(--purple); border: 1px solid rgba(124,58,237,0.2); }
.pay-icon.paypal  { background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(184,134,11,0.2); }
.pay-icon.later   { background: var(--emerald-pale); color: var(--emerald); border: 1px solid rgba(22,163,74,0.2); }

/* Magic feature card */
.sch-magic-content { flex: 1; }
.sch-magic-content h3 { font-size: clamp(1.5rem,2.5vw,2rem); }
.sch-magic-content em { font-style: italic; color: var(--emerald); }
.sch-magic-visual img { width: 220px; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }

/* ═══════════════════
   BACKEND SHOWCASE
═══════════════════ */
.sch-backend {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  overflow: hidden;
}
.sch-backend-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.backend-grad { position: absolute; inset: 0; background: var(--dark-grad); }
.sch-backend-bg::after { content: ''; position: absolute; inset: 0; background: var(--dark-grad-glow); opacity: 0.7; }
.backend-mandala {
  position: absolute; top: 50%; right: -100px; transform: translateY(-50%);
  width: 500px; height: 500px; opacity: 0.05;
  animation: spin-slow 180s linear infinite;
}

.sch-backend-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.sch-backend-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,4vw,3.6rem); font-weight: 300;
  line-height: 1.08; color: #f0f4ff; margin: 1rem 0 1.5rem;
}
.sch-backend-copy p { font-size: 16px; color: rgba(240,244,255,0.65); line-height: 1.8; margin-bottom: 1.5rem; }

.sch-backend-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.backend-tab {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.25s;
}
.backend-tab:hover { border-color: rgba(34,197,94,0.4); color: var(--emerald-light); }
.backend-tab.active { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); color: var(--emerald-light); }

.sch-mockup-dark {
  background: var(--dark2);
  border-radius: 16px;
  overflow: hidden;
  /* Glow treatment — emerald + subtle purple, matching site aesthetic */
  box-shadow:
    0 0 0 1px rgba(22,163,74,0.25),
    0 0 0 4px rgba(22,163,74,0.07),
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(22,163,74,0.1),
    0 0 120px rgba(124,58,237,0.06);
  transition: box-shadow 0.5s var(--ease);
}
.sch-mockup-dark:hover {
  box-shadow:
    0 0 0 1px rgba(22,163,74,0.4),
    0 0 0 4px rgba(22,163,74,0.1),
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(22,163,74,0.16),
    0 0 140px rgba(124,58,237,0.09);
}

.dark-bar {
  background: #08100a;
  border-bottom: 1px solid rgba(22,163,74,0.12);
  padding: 10px 14px;
  display: flex; gap: 6px; align-items: center;
}
.dark-bar span { width: 10px; height: 10px; border-radius: 50%; }
.dark-bar span:first-child  { background: #ff5f57; }
.dark-bar span:nth-child(2) { background: #febc2e; }
.dark-bar span:nth-child(3) { background: #28c840; }

/* Fixed-height screen area — all images ~16:9, anchored to top */
.backend-screen-wrap {
  /* 16:9 ratio relative to container width — images fill perfectly */
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 9/16 = 56.25% — matches all screenshots */
  overflow: hidden;
  background: #f0f0f0;
}

/* The single active image — fills frame exactly */
.backend-img-active {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.backend-img-active.fading {
  opacity: 0;
  transform: scale(0.985);
}

/* Fade overlay for transition */
.backend-screen-fade {
  position: absolute; inset: 0;
  background: #080e08;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s;
  z-index: 2;
}
.backend-screen-fade.active { opacity: 1; }

/* Subtle bottom vignette — frames the image, doesn't crop it */
.backend-screen-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 75%,
    rgba(8,16,10,0.25) 100%
  );
  pointer-events: none; z-index: 1;
}

/* ═══════════════════
   TESTIMONIAL
═══════════════════ */
.sch-testimonial {
  position: relative; z-index: 2;
  padding: clamp(4rem,8vw,7rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.sch-testimonial-inner { max-width: 820px; margin: 0 auto; }

.sch-testimonial-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(2rem,4vw,3rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sch-testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--emerald), var(--gold), var(--purple));
}

.testimonial-glow {
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(22,163,74,0.08), transparent 70%);
  pointer-events: none;
}

.testimonial-quote-mark {
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--emerald); opacity: 0.25; display: block; margin-bottom: 0.5rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem,2vw,1.25rem); font-weight: 300; font-style: italic;
  color: var(--text-body); line-height: 1.75; margin-bottom: 1.5rem;
}

.testimonial-attr { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.testimonial-name { display: block; font-size: 15px; font-weight: 600; color: var(--text-heading); }
.testimonial-location { display: block; font-size: 12px; color: var(--text-dim); margin-top: 0.2rem; }
.testimonial-location a { color: var(--emerald); text-decoration: none; }
.testimonial-location a:hover { text-decoration: underline; }
.testimonial-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--emerald);
  background: var(--emerald-pale); border: 1px solid rgba(22,163,74,0.2);
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
}

/* ═══════════════════
   PRICING
═══════════════════ */
.sch-pricing {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}

.sch-pricing-grid {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr;
  gap: 0; align-items: start;
  margin-top: 3rem; overflow: visible;
}

.sch-price-card {
  position: relative; background: white;
  border: 1px solid var(--border);
  padding: clamp(1.8rem,3vw,2.5rem) clamp(1.4rem,2.5vw,2rem);
  display: flex; flex-direction: column; gap: 0;
  box-shadow: var(--shadow-sm);
}
.sch-price-card:first-child { border-radius: var(--radius) 0 0 var(--radius); border-right: none; }
.sch-price-card:last-child  { border-radius: 0 var(--radius) var(--radius) 0; border-left: none; }

.sch-price-featured {
  background: var(--dark);
  border: 2px solid rgba(22,163,74,0.3) !important;
  border-radius: var(--radius) !important;
  margin: -20px 0; padding: clamp(2.2rem,4vw,3rem) clamp(1.6rem,3vw,2.2rem);
  z-index: 3; position: relative;
  box-shadow: 0 0 80px rgba(22,163,74,0.1), var(--shadow-lg);
}
.price-featured-glow {
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--emerald-light), transparent);
}
.price-popular {
  display: inline-block; font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--emerald-light); background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25); border-radius: var(--radius-pill);
  padding: 0.28rem 0.85rem; margin-bottom: 1.1rem; width: fit-content;
}

.price-card-header { margin-bottom: 1.2rem; }
.price-tier-name {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.7rem;
}
.sch-price-featured .price-tier-name { color: rgba(255,255,255,0.4); }
.price-amount { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.price-num {
  font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.2rem);
  font-weight: 300; color: var(--text-heading); line-height: 1;
}
.sch-price-featured .price-num { color: #f0f4ff; }
.price-period { font-size: 14px; color: var(--text-dim); }
.sch-price-featured .price-period { color: rgba(255,255,255,0.35); }
.price-monthly { font-size: 12px; color: var(--text-dim); display: block; }
.sch-price-featured .price-monthly { color: rgba(255,255,255,0.3); }

.price-target {
  font-size: 13px; color: var(--text-muted);
  padding: 0.7rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.sch-price-featured .price-target { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.08); }

.price-features {
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.8rem; flex: 1;
}
.price-features li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.price-features strong { color: var(--text-heading); font-weight: 600; }
.sch-price-featured .price-features li { color: #8892b0; }
.sch-price-featured .price-features strong { color: #f0f4ff; }
.pf-check { font-size: 12px; flex-shrink: 0; }

.sch-price-btn {
  display: block; text-align: center;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 0.9rem 1.5rem; border-radius: var(--radius-pill);
  transition: all 0.3s; cursor: pointer; margin-top: auto;
  text-decoration: none;
}
.sch-price-btn-primary { background: var(--emerald); color: white; border: 2px solid var(--emerald); }
.sch-price-btn-primary:hover { background: #15803d; transform: translateY(-1px); box-shadow: var(--shadow-glow-e); }
.sch-price-btn-ghost { background: transparent; color: var(--text-muted); border: 2px solid var(--border-mid); }
.sch-price-btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); }
.price-note { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 0.6rem; }

/* Agency callout */
.sch-agency-callout {
  margin-top: 2.5rem;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 2rem;
  box-shadow: var(--shadow-sm);
}
.agency-callout-inner { display: flex; align-items: flex-start; gap: 1.2rem; }
.agency-callout-icon {
  font-size: 1.2rem; color: var(--gold);
  flex-shrink: 0; margin-top: 2px;
}
.sch-agency-callout h4 { font-size: 15px; font-weight: 600; color: var(--text-heading); margin-bottom: 0.4rem; }
.sch-agency-callout p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════
   PHILOSOPHY LINK
═══════════════════ */
.sch-philosophy-link {
  position: relative; z-index: 2;
  padding: clamp(4rem,8vw,7rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sch-phil-inner {
  display: flex; align-items: center; gap: 3rem;
}
.sch-phil-mandala {
  flex-shrink: 0; opacity: 0.2;
  animation: spin-slow 120s linear infinite;
  filter: sepia(0.2) hue-rotate(10deg) saturate(1.2);
}
.sch-phil-mandala img { width: 160px; }
.sch-phil-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem,2.5vw,1.8rem); font-weight: 300;
  color: var(--text-heading); margin-bottom: 0.8rem; line-height: 1.2;
}
.sch-phil-text p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.2rem; }

/* ═══════════════════
   FAQ
═══════════════════ */
.sch-faq {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}
.sch-faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 3rem;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.faq-item {
  padding: 1.8rem 2rem; border-bottom: 1px solid var(--border);
  background: white; transition: background 0.3s;
}
.faq-item:nth-child(odd) { border-right: 1px solid var(--border); }
.faq-item:nth-last-child(-n+2) { border-bottom: none; }
.faq-item:hover { background: var(--bg2); }
.faq-item h4 {
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 0.7rem;
}
.faq-item p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════
   FINAL CTA
═══════════════════ */
.sch-final-cta {
  position: relative; z-index: 2;
  padding: clamp(6rem,12vw,10rem) 0;
  text-align: center; overflow: hidden;
}
.sch-final-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none; opacity: 0.06; z-index: 0;
  animation: spin-slow 200s linear infinite;
}
.sch-final-bg img { width: 600px; }

.sch-final-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.sch-final-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem,6vw,5rem); font-weight: 300;
  line-height: 1; color: var(--text-heading); margin: 1rem 0 1.5rem;
}
.sch-final-inner h2 em { font-style: italic; color: var(--emerald); }
.sch-final-inner p { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 2.5rem; }
.sch-final-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sch-final-note { font-size: 13px; color: var(--text-dim); }
.sch-final-note a { color: var(--emerald); text-decoration: none; }
.sch-final-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sch-hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .sch-bento { grid-template-columns: 1fr 1fr; }
  .sch-bento-wide, .sch-bento-feature { grid-column: span 2; }
  .sch-steps { gap: 0; }
  .sch-step { grid-template-columns: 60px 1fr 1fr; }
  .sch-pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .sch-price-card:first-child, .sch-price-card:last-child { border-radius: var(--radius); border: 1px solid var(--border); }
  .sch-price-featured { margin: 0; }
  .sch-faq-grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(odd) { border-right: none; }
  .faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .faq-item:last-child { border-bottom: none; }
}

@media (max-width: 900px) {
  .sch-hero-grid { grid-template-columns: 1fr; }
  .sch-hero-mockup { max-width: 520px; }
  .sch-backend-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .sch-steps { gap: 0; }
  .sch-step, .sch-step-alt { grid-template-columns: 50px 1fr; direction: ltr; }
  .sch-step-screen { display: none; }
  .sch-problem-grid { grid-template-columns: 1fr 1fr; }
  .sch-phil-inner { flex-direction: column; gap: 2rem; }
  .sch-phil-mandala { display: none; }
}

@media (max-width: 768px) {
  .sch-bento { grid-template-columns: 1fr; }
  .sch-bento-wide, .sch-bento-feature { grid-column: span 1; flex-direction: column; }
  .sch-bento-content { max-width: 100%; }
  .sch-magic-visual { display: none; }
  .sch-problem-grid { grid-template-columns: 1fr; }
  .sch-float-notif, .sch-float-magic { display: none; }
}

@media (max-width: 480px) {
  .sch-hero-copy h1 { font-size: clamp(2.8rem,13vw,3.8rem); }
  .sch-hero-lead { font-size: 17px; }
  .sch-hero-ctas { flex-direction: column; }
  .sch-hero-ctas .btn { width: 100%; justify-content: center; }
  .sch-mockup-screen { height: 240px; }
  /* backend-screen-wrap uses 56.25% padding-top ratio — responsive by nature */
  .sch-backend-tabs { gap: 0.4rem; }
  .backend-tab { font-size: 11px; padding: 0.4rem 0.7rem; }
  .price-num { font-size: 2.5rem; }
  .sch-final-inner h2 { font-size: 2.8rem; }
  .sch-final-ctas { flex-direction: column; align-items: center; }
  .sch-final-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .testimonial-attr { flex-direction: column; }
  .agency-callout-inner { flex-direction: column; gap: 0.8rem; }
}

/* ═══════════════════════════════════════════════
   BACKEND INTERACTIVE DEMO — v5 additions
═══════════════════════════════════════════════ */

/* Override existing tab spans to buttons */
.sch-backend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.backend-tab {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.backend-tab:hover {
  border-color: rgba(22,163,74,0.4);
  color: var(--emerald-light);
}
.backend-tab.active {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
  box-shadow: 0 0 20px rgba(22,163,74,0.3);
}
.backend-tab-settings.active {
  background: var(--purple, #7c3aed);
  border-color: var(--purple, #7c3aed);
}

/* Settings sub-tabs */
.sch-settings-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s, margin-top 0.3s;
}
.sch-settings-subtabs.open {
  max-height: 130px;
  opacity: 1;
  margin-top: 0.5rem;
}
.settings-subtab {
  font-size: 12px; font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.3);
  background: transparent;
  color: rgba(139,92,246,0.9);
  cursor: pointer;
  transition: all 0.2s;
}
.settings-subtab:hover { background: rgba(124,58,237,0.15); }
.settings-subtab.active {
  background: var(--purple, #7c3aed);
  color: white;
  border-color: var(--purple, #7c3aed);
}

/* Tab description box */
.backend-tab-desc {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border-left: 3px solid var(--emerald);
  transition: border-color 0.3s;
}
.backend-tab-desc p {
  font-size: 14px;
  color: rgba(240,244,255,0.6);
  line-height: 1.7;
  margin: 0;
  transition: all 0.3s;
}

/* Auto-cycle bar */
.backend-autocycle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.bac-bar {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.bac-fill {
  height: 100%; width: 0%;
  background: var(--emerald);
  border-radius: 2px;
  transition: width linear;
}
#bac-label {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}

/* URL display in browser bar */
.backend-url-display {
  font-size: 11px;
  color: rgba(22,163,74,0.5);
  margin-left: 0.6rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}


/* Single active screen (managed by JS) */

/* ═══════════════════════════════════════════
   V6 NEW SECTIONS
═══════════════════════════════════════════ */

/* ── Four words ── */
.sch-four-words {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin: 1.2rem 0 1.8rem;
}
.sch-four-words span {
  font-family: var(--font-display);
  font-size: clamp(1rem,2vw,1.2rem);
  font-weight: 300; font-style: italic;
  color: var(--emerald); letter-spacing: 0.04em;
}

/* ── Category of one ── */
.sch-category {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  overflow: hidden;
}
.sch-category-bg {
  position: absolute; inset: 0;
  background: var(--dark-grad, linear-gradient(135deg,#0d0a1a 0%,#0e1a18 50%,#0d1520 100%));
}
.sch-category-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(124,58,237,0.2), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(22,163,74,0.15), transparent 60%);
}
.sch-category-inner {
  position: relative; z-index: 2;
  text-align: center;
}
.sch-category-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem,5vw,4rem);
  font-weight: 300; line-height: 1.05;
  color: #f0f4ff; margin: 0.8rem 0 3rem;
}
.sch-seven-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
  margin-top: 1rem;
}
.seven-item {
  background: rgba(13,10,26,0.8);
  padding: 1.8rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.3s;
}
.seven-item:hover { background: rgba(22,163,74,0.08); }
.seven-item-last { grid-column: span 4; }
.seven-icon { font-size: 1.6rem; }
.seven-item strong { font-size: 15px; font-weight: 600; color: #f0f4ff; }
.seven-item span { font-size: 13px; color: rgba(240,244,255,0.55); line-height: 1.6; }

/* ── Customer portal section ── */
.sch-portal {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}
.sch-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.sch-portal-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,4vw,3.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--text-heading); margin-bottom: 1.2rem;
}
.sch-portal-copy h2 em { font-style: italic; color: var(--emerald); }
.sch-portal-copy > p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.sch-portal-actions {
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.8rem;
}
.sch-portal-actions li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 15px; color: var(--text-body);
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
}
.sch-portal-actions li:last-child { border-bottom: none; }
.sch-portal-actions li span:first-child { font-size: 1.1rem; width: 24px; text-align: center; }
.sch-magic-callout {
  background: var(--emerald-pale);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.magic-callout-inner {
  display: flex; gap: 1rem; align-items: flex-start;
}
.magic-callout-inner > span { font-size: 1.4rem; flex-shrink: 0; }
.magic-callout-inner strong { display: block; font-size: 15px; font-weight: 600; color: var(--text-heading); margin-bottom: 0.3rem; }
.magic-callout-inner p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Bell / push notifications ── */
.sch-bell {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
}
.sch-bell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.sch-bell-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,4vw,3.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--text-heading); margin-bottom: 1.2rem;
}
.sch-bell-copy h2 em { font-style: italic; color: var(--gold); }
.sch-bell-copy > p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.sch-bell-list {
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.sch-bell-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 15px; color: var(--text-body);
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
}
.sch-bell-list li:last-child { border-bottom: none; }
.sch-bell-list li span:first-child { font-size: 1.1rem; width: 24px; }
.sch-bell-note { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-style: italic; }

/* ── SMS section ── */
.sch-sms {
  position: relative; z-index: 2;
  padding: clamp(5rem,10vw,9rem) 0;
  overflow: hidden;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}
.sch-sms-bg {
  position: absolute; inset: 0;
  background: var(--dark-grad, linear-gradient(135deg,#0d0a1a,#0e1a18));
}
.sch-sms-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(22,163,74,0.12), transparent 70%);
}
.sch-sms-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 860px; margin: 0 auto;
}
.sms-icon-large { font-size: 3rem; margin-bottom: 1rem; }
.sch-sms-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem,5vw,4rem);
  font-weight: 300; color: #f0f4ff;
  margin: 0.8rem 0 1.2rem;
}
.sch-sms-inner > p { font-size: 17px; color: rgba(240,244,255,0.65); line-height: 1.75; margin-bottom: 2.5rem; }
.sms-cards {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
}
.sms-card {
  background: rgba(13,10,26,0.8);
  padding: 2rem 1.6rem;
  text-align: left;
}
.sms-card-featured {
  background: rgba(22,163,74,0.08);
  border-left: 1px solid rgba(22,163,74,0.2);
  border-right: 1px solid rgba(22,163,74,0.2);
}
.sms-card h4 { font-size: 15px; font-weight: 600; color: #f0f4ff; margin-bottom: 1rem; }
.sms-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sms-card li { font-size: 14px; color: rgba(240,244,255,0.6); padding-left: 1rem; position: relative; }
.sms-card li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-light); font-weight: 700; }
.sms-sample {
  font-family: var(--font-display);
  font-style: italic; font-size: 1rem;
  color: var(--emerald-light); line-height: 1.6;
  margin-bottom: 1rem;
}
.sms-label { font-size: 12px; color: rgba(240,244,255,0.35); letter-spacing: 0.06em; }

/* ── Step feature callout ── */
.sch-step-feature {
  display: flex; gap: 0.85rem; align-items: flex-start;
  margin-top: 1.2rem; padding: 1rem 1.1rem;
  background: rgba(22,163,74,0.07);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  font-size: 14px;
}
.sch-step-feature span:first-child { font-size: 1.1rem; flex-shrink: 0; }
.sch-step-feature strong { display: block; color: var(--emerald); font-weight: 600; margin-bottom: 0.2rem; }
.sch-step-feature span:last-child { color: var(--text-muted); }

/* ── Pricing story text ── */
.price-story {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 1.2rem;
  padding: 0.8rem 1rem;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--emerald-pale);
  font-style: italic;
}
.sch-price-featured .price-story {
  background: rgba(255,255,255,0.05);
  border-left-color: rgba(34,197,94,0.3);
  color: rgba(255,255,255,0.5);
}

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .sch-seven-grid { grid-template-columns: repeat(2,1fr); }
  .seven-item-last { grid-column: span 2; }
  .sms-cards { grid-template-columns: 1fr; }
  .sch-portal-grid, .sch-bell-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .sch-seven-grid { grid-template-columns: 1fr; }
  .seven-item-last { grid-column: span 1; }
}
@media (max-width: 480px) {
  .sch-four-words { gap: 0.6rem; }
  .sch-four-words span { font-size: 0.95rem; }
  .sch-portal-actions li { font-size: 14px; }
  .sms-card { padding: 1.4rem 1.25rem; }
}
