/* ==========================================================================
   EDUSPEARE - Official Gold Editorial Home Stylesheet (home.css)
   Palette: Charcoal Black (#1C1C1C) + Golden Yellow (#F5B700) + Cream White (#FFF9EB)
   ========================================================================== */

/* Theme 1 (Default): Charcoal Black (#1C1C1C) + Golden Yellow (#F5B700) + Cream White (#FFF8E6) */
:root {
  --bg-shell: #fff9eb;
  --text-plum: #1c1c1c;
  --pri-rose: #c48800;
  --pri-vivid: #f5b700;
  --acc-teal: #1c1c1c;
  --sup-sand: #f9e8b2;

  --surface-light: #fffdf5;
  --surface-card: #ffffff;
  --text-muted: #564f40;
  --hairline: #eadbb2;
  --hdr-bg: #1c1c1c;
  --hdr-border: rgba(245, 183, 0, 0.34);
  --hdr-ink: #fff9eb;
  --hdr-muted: rgba(255, 249, 235, 0.8);
  --hdr-accent: #f5b700;
  --hdr-pill-bg: rgba(255, 249, 235, 0.1);
  --hdr-pill-active-bg: #f5b700;
  --hdr-pill-active-ink: #1c1c1c;
  --hdr-back-bg: rgba(255, 249, 235, 0.12);
  --sec-alt-bg: #f9eed2;
  --ring-1: rgba(245, 183, 0, 0.32);
  --ring-2: rgba(28, 28, 28, 0.12);
  --hero-ring-1: rgba(245, 183, 0, 0.22);
  --hero-ring-2: rgba(28, 28, 28, 0.08);
  --stage-glow: radial-gradient(circle, rgba(245, 183, 0, 0.32) 0%, rgba(249, 232, 178, 0.5) 60%, transparent 80%);
  --card-shadow: 0 28px 60px rgba(28, 28, 28, 0.14), 0 6px 16px rgba(28, 28, 28, 0.06);
  --cta-bg: linear-gradient(135deg, #1c1c1c 0%, #2a261c 100%);
  --ftr-bg: #1c1c1c;
  --shimmer-color: rgba(245, 183, 0, 0.24);
  --placeholder-ink: #998f7a;
  --uiverse-bg: #1c1c1c;
  --uiverse-ink: #fff9eb;
  --uiverse-circle: #f5b700;
  --uiverse-hover-ink: #1c1c1c;
  --font-sans: "Poppins", "Noto Sans Gujarati", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-shell);
  color: var(--text-plum);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  transition: background-color 0.35s ease, color 0.35s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.demo-hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hdr-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hdr-border);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.demo-hdr-in {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--hdr-ink);
  transition: opacity 0.2s ease;
}

.demo-brand:hover {
  opacity: 0.92;
}

.demo-brand-svg {
  width: 31px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.demo-brand-word {
  font-weight: 400;
  line-height: 1;
}

.demo-brand i {
  font-style: normal;
  font-weight: 700;
  color: var(--hdr-accent);
}

.demo-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.demo-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hdr-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.demo-nav a:hover {
  color: var(--hdr-ink);
}

.demo-hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-pill {
  display: inline-flex;
  background: var(--hdr-pill-bg);
  border: 1px solid var(--hdr-border);
  border-radius: 999px;
  padding: 2px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lang-pill button {
  border: 0;
  background: transparent;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hdr-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-pill button.on {
  background: var(--hdr-pill-active-bg);
  color: var(--hdr-pill-active-ink);
}

.nav-reserve {
  font-size: 13px;
  font-weight: 600;
  color: var(--hdr-ink);
  border-bottom: 1.5px solid var(--hdr-ink);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-reserve:hover {
  opacity: 0.78;
}

.mobile-toggle {
  display: inline-flex;
  background: rgba(255, 249, 235, 0.08);
  border: 1px solid var(--hdr-border);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(245, 183, 0, 0.16);
  border-color: var(--pri-vivid);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hdr-ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.2s ease;
}

.mobile-toggle.is-open {
  background: rgba(245, 183, 0, 0.2);
  border-color: var(--pri-vivid);
}

.mobile-toggle.is-open span {
  background: var(--pri-vivid);
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer Default: Previous Dark Charcoal (#252118) */
.demo-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px 20px;
  background: #252118;
  border-top: 1px solid rgba(245, 183, 0, 0.22);
  border-bottom: 2.5px solid var(--pri-vivid);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.demo-mobile-drawer.open {
  display: flex;
  animation: drawerSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-nav-links {
  display: grid;
  gap: 4px;
}

.drawer-nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hdr-ink);
  padding: 9px 12px;
  border-radius: 10px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.drawer-nav-links a:hover,
.drawer-nav-links a:focus-visible {
  background: rgba(245, 183, 0, 0.14);
  color: var(--pri-vivid);
}

.demo-mobile-drawer hr {
  border: 0;
  border-top: 1px solid rgba(245, 183, 0, 0.24);
  margin: 4px 0;
  width: 100%;
}

.drawer-auth-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.drawer-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.drawer-btn:hover {
  transform: translateY(-1px);
}

.drawer-btn-student {
  background: rgba(255, 249, 235, 0.08);
  color: var(--hdr-ink);
  border: 1.5px solid rgba(255, 249, 235, 0.24);
}

.drawer-btn-student:hover {
  background: rgba(255, 249, 235, 0.15);
  border-color: var(--pri-vivid);
}

.drawer-btn-institute {
  background: var(--pri-vivid);
  color: var(--text-plum);
  border: 1.5px solid var(--pri-vivid);
}

.drawer-btn-institute:hover {
  background: #e2a800;
}

/* Laptop / PC Drawer: Unique Burnished Toasted Gold (#F6E2A5 -> #EBC86A) & Only 2 Login Buttons */
@media (min-width: 921px) {
  .demo-mobile-drawer {
    position: absolute;
    top: calc(100% + 10px);
    right: max(28px, calc((100vw - 1180px) / 2 + 28px));
    width: 268px;
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(155deg, #f6e2a5 0%, #ebc86a 100%);
    border: 1.5px solid var(--pri-rose);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 22px 46px rgba(28, 22, 6, 0.28);
  }

  .demo-mobile-drawer .drawer-nav-links,
  .demo-mobile-drawer hr {
    display: none;
  }

  .demo-mobile-drawer .drawer-btn-student {
    background: var(--bg-shell);
    color: var(--text-plum);
    border: 1.5px solid rgba(28, 28, 28, 0.22);
    box-shadow: 0 4px 12px rgba(28, 22, 6, 0.1);
  }

  .demo-mobile-drawer .drawer-btn-student:hover {
    background: #ffffff;
    border-color: var(--text-plum);
  }

  .demo-mobile-drawer .drawer-btn-institute {
    background: var(--text-plum);
    color: var(--bg-shell);
    border: 1.5px solid var(--text-plum);
    box-shadow: 0 6px 16px rgba(28, 22, 6, 0.22);
  }

  .demo-mobile-drawer .drawer-btn-institute svg {
    stroke: var(--pri-vivid);
  }

  .demo-mobile-drawer .drawer-btn-institute:hover {
    background: #2b261c;
  }
}

/* ==========================================================================
   2. HERO SECTION (Editorial Left + Animated Demo Card Right)
   ========================================================================== */
.hero-54 {
  position: relative;
  padding: 60px 0 68px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

/* Soft Sculpted Ambient Rings in Background */
.hero-54::before,
.hero-54::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-54::before {
  width: 340px;
  height: 340px;
  top: -110px;
  right: -70px;
  border: 26px solid var(--hero-ring-1);
}

.hero-54::after {
  width: 240px;
  height: 240px;
  bottom: -90px;
  left: -80px;
  border: 18px solid var(--hero-ring-2);
}

.hero-54-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc-teal);
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pri-rose);
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.22);
}

/* Two-tone Hero Headline */
.hero-title {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero-title .solid {
  display: block;
  color: var(--text-plum);
}

.hero-title .muted {
  display: block;
  color: var(--pri-rose);
}

.hero-desc {
  max-width: 470px;
  margin: 0 0 26px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  animation: fadeUp 0.7s ease 0.16s both;
}

/* Elevated Studio Institute Link Search Card */
.hero-search {
  position: relative;
  max-width: 470px;
  margin-bottom: 26px;
  padding: 15px 18px 17px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8 0%, #fcf4df 100%);
  border: 1px solid #e5d4a6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 34px -14px rgba(34, 24, 6, 0.16),
    0 4px 10px rgba(34, 24, 6, 0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  animation: fadeUp 0.7s ease 0.22s both;
}

.hero-search:focus-within {
  border-color: var(--pri-rose);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 38px -12px rgba(196, 136, 0, 0.22),
    0 0 0 3px rgba(245, 183, 0, 0.16);
}

.hero-search-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-plum);
  margin-bottom: 10px;
}

.hero-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e6d7b2;
  border-radius: 999px;
  padding: 5px 5px 5px 16px;
  min-height: 48px;
  box-shadow: inset 0 1.5px 3px rgba(28, 24, 14, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-row:focus-within {
  border-color: var(--pri-rose);
  box-shadow: inset 0 1.5px 3px rgba(28, 24, 14, 0.04);
}

.hero-search-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-plum);
  outline: none;
}

.hero-search-row input::placeholder {
  color: #8c826d;
}

.hero-search-btn {
  border: 0;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 2px 6px rgba(180, 125, 0, 0.24);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-btn:hover {
  background: var(--text-plum);
  color: var(--bg-shell);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(28, 28, 28, 0.2);
}

.hero-search-err {
  font-size: 12.5px;
  font-weight: 500;
  color: #b91c1c;
  margin-top: 8px;
}

.hero-search-err:empty {
  display: none;
}

/* Primary Pill CTA + Secondary Text Link */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 42px;
  animation: fadeUp 0.7s ease 0.28s both;
}

/*
 * From Uiverse.io by KINGFRESS - https://uiverse.io/KINGFRESS/purple-kangaroo-17
 * MIT License, Copyright (c) KINGFRESS (KING'FRESS)
 */
.uiverse-cta-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--uiverse-ink);
  background-color: var(--uiverse-bg);
  padding: 0.95em 1.9em;
  border: none;
  border-radius: 0.6rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uiverse-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.uiverse-cta-btn > span:not(.uiverse-btn-text) {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  height: 36px;
  width: 36px;
  background-color: var(--uiverse-circle);
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.65s ease, opacity 0.35s ease;
  pointer-events: none;
}

.uiverse-cta-btn > .uiverse-btn-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: color 0.45s ease;
}

.uiverse-cta-btn > .uiverse-circle-1 {
  transform: translate(-5em, -4em) scale(0.4);
}

.uiverse-cta-btn > .uiverse-circle-2 {
  transform: translate(-8em, 3.5em) scale(0.4);
}

.uiverse-cta-btn > .uiverse-circle-3 {
  transform: translate(-0.2em, 4.2em) scale(0.4);
}

.uiverse-cta-btn > .uiverse-circle-4 {
  transform: translate(6em, 3.6em) scale(0.4);
}

.uiverse-cta-btn > .uiverse-circle-5 {
  transform: translate(6em, -4em) scale(0.4);
}

.uiverse-cta-btn:hover > span:not(.uiverse-btn-text),
.uiverse-cta-btn:focus-visible > span:not(.uiverse-btn-text) {
  opacity: 1;
  transform: translate(-50%, -50%) scale(19);
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.uiverse-cta-btn:hover > .uiverse-btn-text,
.uiverse-cta-btn:focus-visible > .uiverse-btn-text {
  color: var(--uiverse-hover-ink);
}

.uiverse-cta-btn .badge-price {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pri-vivid);
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.45s ease, border-color 0.45s ease;
}

.uiverse-cta-btn:hover .badge-price {
  color: var(--uiverse-hover-ink);
  border-left-color: currentColor;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-plum);
  color: var(--bg-shell);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(74, 47, 58, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pill-cta:hover {
  background: var(--acc-teal);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(47, 72, 88, 0.26);
}

.pill-cta .badge-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--sup-sand);
  padding-left: 10px;
  border-left: 1px solid rgba(232, 196, 184, 0.35);
}

.link-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--acc-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-cta:hover {
  gap: 10px;
  color: var(--text-plum);
}

/* Bottom 4-Column Stat Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  animation: fadeUp 0.7s ease 0.34s both;
}

.hero-stat {
  padding: 4px 14px 4px 0;
}

.hero-stat + .hero-stat {
  padding-left: 16px;
  border-left: 1px solid var(--hairline);
}

.hero-stat b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-plum);
}

.hero-stat span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. RIGHT COLUMN: ANIMATED DEMO CARD SHOWCASE (NO CIRCLE DIAL!)
   ========================================================================== */
.card-stage {
  position: relative;
  perspective: 1200px;
  padding: 20px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInScale 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Decorative animated pastel rings behind card (Echoing palette image) */
.stage-ring-1 {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -12px;
  right: 6px;
  border-radius: 50%;
  border: 22px solid var(--ring-1);
  pointer-events: none;
  animation: floatReverse 7s ease-in-out infinite;
}

.stage-ring-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -14px;
  left: 0;
  border-radius: 50%;
  border: 18px solid var(--ring-2);
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite;
}

.stage-glow {
  position: absolute;
  width: 82%;
  height: 76%;
  border-radius: 32px;
  background: var(--stage-glow);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

/* Main Floating Interactive Card */
.anim-card-wrap {
  position: relative;
  width: 100%;
  max-width: 445px;
  z-index: 2;
  transition: transform 0.22s ease-out;
  transform-style: preserve-3d;
}

.anim-dc {
  position: relative;
  background: var(--surface-card);
  border: 1.5px solid var(--sup-sand);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* Animated Shimmer Sweep across top of card */
.anim-dc::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    var(--shimmer-color) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: shimmerSweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Card Header */
.anim-dc-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.anim-dc-av {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--text-plum), var(--pri-vivid));
  color: #ffffff;
  font-weight: 700;
  font-size: 19px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px var(--ring-1);
  flex-shrink: 0;
}

.anim-dc-head b {
  display: block;
  font-size: 16px;
  color: var(--text-plum);
  line-height: 1.25;
}

.anim-dc-head small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.anim-dc-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--acc-teal);
  background: rgba(47, 72, 88, 0.09);
  border: 1px solid rgba(47, 72, 88, 0.2);
  padding: 5px 11px;
  border-radius: 999px;
}

.anim-dc-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pri-rose);
  display: inline-block;
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* Card Greeting */
.anim-dc-greet {
  margin: 18px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.anim-dc-greet h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-plum);
}

.anim-dc-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-plum);
  background: var(--sup-sand);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 3 Animated Metric Tiles */
.anim-dc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 18px;
}

.anim-stat-tile {
  background: var(--bg-shell);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 13px 10px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  animation: tileSlideUp 0.6s ease both;
}

.anim-stat-tile:nth-child(1) { animation-delay: 0.2s; }
.anim-stat-tile:nth-child(2) { animation-delay: 0.32s; }
.anim-stat-tile:nth-child(3) { animation-delay: 0.44s; }

.anim-stat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--pri-rose);
  background: #ffffff;
}

.anim-stat-tile b {
  display: block;
  font-size: 21px;
  font-weight: 700;
  color: var(--acc-teal);
  min-height: 28px;
}

.anim-stat-tile span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Animated Progress / Engagement Strip */
.anim-progress-box {
  background: var(--sup-sand);
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 16px;
}

.anim-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-plum);
  margin-bottom: 7px;
}

.anim-progress-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.anim-progress-fill {
  height: 100%;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pri-vivid), var(--acc-teal));
  animation: growBar 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Up Next Live Class Card Inside Demo Card */
.anim-dc-next {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--acc-teal);
  color: #ffffff;
  padding: 13px 15px;
  border-radius: 15px;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 22px rgba(28, 28, 28, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.anim-dc-next:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--pri-vivid);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 0 3px var(--ring-1);
}

.anim-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  animation: pulseSoft 2.4s ease-in-out infinite;
}

.anim-dc-next:hover .anim-play-btn {
  transform: scale(1.12);
}

.anim-dc-next small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--pri-vivid);
  font-weight: 600;
}

.anim-dc-next b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.anim-dc-arrow {
  margin-left: auto;
  font-size: 17px;
  color: var(--pri-vivid);
  transition: transform 0.2s ease;
}

.anim-dc-next:hover .anim-dc-arrow {
  transform: translateX(5px);
}

/* Floating Satellite Mini-Cards around Main Card */
.float-badge-top {
  position: absolute;
  top: -16px;
  right: -14px;
  background: var(--text-plum);
  color: var(--bg-shell);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 12px 24px rgba(74, 47, 58, 0.28);
  z-index: 4;
  animation: floatBadge 4.8s ease-in-out infinite;
}

.float-badge-top span.chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pri-rose);
  color: #ffffff;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.float-badge-bottom {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #ffffff;
  border: 1.5px solid var(--pri-rose);
  color: var(--text-plum);
  padding: 10px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(74, 47, 58, 0.16);
  z-index: 4;
  animation: floatReverse 5.6s ease-in-out infinite;
}

.float-badge-bottom .ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--sup-sand);
  display: grid;
  place-items: center;
  font-size: 15px;
}

.float-badge-bottom b {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.float-badge-bottom small {
  display: block;
  font-size: 10.5px;
  color: var(--pri-rose);
  font-weight: 600;
}

/* ==========================================================================
   4. EDITORIAL SECTIONS BELOW HERO (Using Exact 5-Color Combo)
   ========================================================================== */
.sec-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--hairline);
  overflow-x: clip;
}

/* Prevent CSS Grid children (like scrolling keycap tracks) from stretching 1fr tracks horizontally */
.hero-54-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.price-wrap > *,
.faq01-grid > *,
.vid-grid > *,
.contact-grid > *,
.app-card > *,
.ftr-grid > * {
  min-width: 0;
}

.sec-block.alt {
  background: var(--sec-alt-bg);
}

.sec-head {
  margin-bottom: 36px;
}

.sec-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pri-rose);
  margin-bottom: 8px;
}

.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-plum);
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ed-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 26px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease,
              opacity 0.5s ease;
}

/* Cursor-Following Spotlight Glow */
.ed-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    var(--ring-1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Animated Bottom Gradient Accent Bar */
.ed-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--pri-vivid), var(--acc-teal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.ed-card > * {
  position: relative;
  z-index: 1;
}

.ed-card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: var(--pri-vivid);
  box-shadow: var(--card-shadow);
}

.ed-card:hover::before {
  opacity: 1;
}

.ed-card:hover::after {
  transform: scaleX(1);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--acc-teal);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ed-card:hover .step-num {
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  transform: scale(1.08);
}

.ed-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text-plum);
  transition: color 0.25s ease;
}

.ed-card:hover h3 {
  color: var(--pri-rose);
}

/* Scroll Stagger Reveal State */
.ed-card.reveal-ready:not(.revealed) {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
}

.ed-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: grid;
  gap: 10px;
}

.role-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.role-list li::before {
  content: "✓";
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--sup-sand);
  color: var(--text-plum);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--acc-teal);
  color: var(--acc-teal);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background: var(--acc-teal);
  color: #ffffff;
}

/*
 * From Uiverse.io by Prince4fff - https://uiverse.io/Prince4fff/slippery-baboon-37
 * MIT License, Copyright (c) Prince4fff (Prince)
 */
.uiverse-role-card {
  display: block;
  position: relative;
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.uiverse-role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--uiverse-circle);
}

.uiverse-role-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: var(--uiverse-circle);
  height: 34px;
  width: 34px;
  border-radius: 34px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease-out;
}

.uiverse-role-card:hover::before {
  transform: scale(42);
}

.uiverse-role-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--text-plum);
  transition: color 0.3s ease-out;
}

.uiverse-role-card .role-list li,
.uiverse-role-card .role-list li::before {
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

.uiverse-role-card:hover h3,
.uiverse-role-card:hover .role-list li {
  color: var(--uiverse-hover-ink);
}

.uiverse-role-card:hover .role-list li::before {
  background: rgba(255, 255, 255, 0.28);
  color: var(--uiverse-hover-ink);
}

.uiverse-role-card:hover .btn-outline-dark {
  border-color: var(--uiverse-hover-ink);
  color: var(--uiverse-hover-ink);
  background: rgba(255, 255, 255, 0.16);
}

.uiverse-go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 42px;
  height: 42px;
  padding: 0 0 3px 4px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: var(--uiverse-circle);
  border-radius: 0 18px 0 36px;
}

.uiverse-go-arrow {
  margin: 0;
  color: var(--uiverse-hover-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.uiverse-role-card:hover .uiverse-go-arrow {
  transform: translate(2px, -1px);
}

.feat-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sup-sand);
  color: var(--text-plum);
  display: grid;
  place-items: center;
  font-size: 19px;
  margin-bottom: 14px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.28s ease,
              box-shadow 0.28s ease;
}

.ed-card:hover .feat-ic {
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  transform: translateY(-3px) scale(1.14) rotate(-6deg);
  box-shadow: 0 10px 22px var(--ring-1);
}

/* Pricing */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.price-card {
  background: var(--acc-teal);
  color: #ffffff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(47, 72, 88, 0.22);
}

.price-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--sup-sand);
  border: 1px solid rgba(232, 196, 184, 0.45);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.price-row:last-of-type {
  border-bottom: 0;
  color: var(--sup-sand);
  font-weight: 700;
  font-size: 17px;
}

.price-note {
  font-size: 12.5px;
  color: rgba(242, 227, 219, 0.78);
  margin: 14px 0 0;
}

/* FAQ-01 Inspired Split Layout with Tactile Keycap Toggles */
.faq01-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: start;
}

.faq01-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mini-key {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  box-shadow: 0 2px 0 var(--hairline);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-plum);
  display: grid;
  place-items: center;
}

.faq01-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-plum);
}

.faq01-sub {
  margin: 0 0 26px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 380px;
}

/* Drifting Keycaps Window */
.keycap-window {
  position: relative;
  background: var(--text-plum);
  border-radius: 18px;
  padding: 18px 0 42px;
  overflow: hidden;
  border: 1.5px solid var(--hairline);
  box-shadow:
    inset 0 8px 22px rgba(0, 0, 0, 0.35),
    0 16px 32px rgba(74, 47, 58, 0.14);
  margin-bottom: 24px;
  display: grid;
  gap: 10px;
}

.keycap-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.22), transparent 14%, transparent 86%, rgba(0,0,0,0.22));
  pointer-events: none;
}

.keycap-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 0 12px;
}

.track-a {
  animation: driftLeft 24s linear infinite;
}

.track-b {
  animation: driftRight 28s linear infinite;
}

.track-c {
  animation: driftLeft 22s linear infinite;
}

.keycap-window:hover .keycap-track {
  animation-play-state: paused;
}

.kcap {
  height: 44px;
  min-width: 56px;
  padding: 0 14px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.18s ease;
}

.kcap.wide {
  min-width: 86px;
}

.kcap.light {
  background: var(--bg-shell);
  color: var(--text-plum);
  box-shadow:
    0 4px 0 var(--hairline),
    0 6px 12px rgba(0, 0, 0, 0.25);
}

.kcap.dark {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.35),
    0 6px 12px rgba(0, 0, 0, 0.2);
}

.keycap-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-plum);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* 3D Tactile ASK Keycap Button */
.ask-key-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ask-key-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 44px;
  border-radius: 10px;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
  box-shadow:
    0 6px 0 var(--acc-teal),
    0 12px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.ask-key-btn:hover {
  transform: rotate(-4deg) translateY(2px);
  box-shadow:
    0 4px 0 var(--acc-teal),
    0 8px 14px rgba(74, 47, 58, 0.2);
}

.ask-key-btn:active {
  transform: rotate(-4deg) translateY(5px);
  box-shadow: 0 1px 0 var(--acc-teal);
}

.ask-key-copy b {
  display: block;
  font-size: 13.5px;
  color: var(--text-plum);
}

.ask-key-copy small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* Right Column: Hairline Accordion */
.faq01-accordion {
  border-top: 1px solid var(--hairline);
}

.faq01-item {
  border-bottom: 1px solid var(--hairline);
}

.faq01-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  color: var(--text-plum);
}

.faq01-q {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq01-trigger:hover .faq01-q {
  color: var(--pri-rose);
}

/* Tactile Keycap Toggle (+ / -) */
.faq01-keycap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  box-shadow: 0 3px 0 var(--hairline);
  color: var(--text-plum);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.16s ease,
              background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
}

.faq01-trigger:hover .faq01-keycap {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--hairline);
}

/* Pressed Keycap State when Item is Open */
.faq01-item.open .faq01-keycap {
  background: var(--text-plum);
  border-color: var(--text-plum);
  color: var(--bg-shell);
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--text-plum);
}

/* Smooth Grid-Template-Rows Accordion Expand Animation */
.faq01-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq01-item.open .faq01-panel {
  grid-template-rows: 1fr;
}

.faq01-panel-inner {
  overflow: hidden;
}

.faq01-panel-inner p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 92%;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq01-item.open .faq01-panel-inner p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

/* CTA Banner */
.cta-band {
  background: var(--cta-bg);
  color: var(--bg-shell);
  border-radius: 26px;
  padding: 56px 40px;
  text-align: center;
  margin: 64px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--sup-sand);
  margin: 0 0 24px;
}

.cta-band .uiverse-cta-btn {
  background-color: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
}

.cta-band .uiverse-cta-btn > span:not(.uiverse-btn-text) {
  background-color: var(--bg-shell);
}

.cta-band .uiverse-cta-btn:hover > .uiverse-btn-text {
  color: var(--text-plum);
}

/* Footer */
.demo-ftr {
  background: var(--ftr-bg);
  color: var(--sup-sand);
  padding: 54px 0 28px;
  transition: background-color 0.35s ease;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(232, 196, 184, 0.18);
}

.ftr-grid .demo-brand {
  color: #ffffff;
  margin-bottom: 10px;
}

.ftr-grid .demo-brand i {
  color: var(--sup-sand);
}

.ftr-grid b {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  margin-bottom: 12px;
}

.ftr-grid a {
  display: block;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--sup-sand);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.ftr-grid a:hover {
  opacity: 1;
  color: #ffffff;
}

.ftr-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12.5px;
  opacity: 0.85;
}

/* ==========================================================================
   5. ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes shimmerSweep {
  0%, 55% {
    left: -120%;
  }
  100% {
    left: 160%;
  }
}

@keyframes growBar {
  from {
    width: 0%;
  }
  to {
    width: 78%;
  }
}

@keyframes tileSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

@keyframes pulseSoft {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 196, 184, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(232, 196, 184, 0);
  }
}

@keyframes driftLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-35%);
  }
}

@keyframes driftRight {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 980px) {
  .hero-54-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc,
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .card-stage {
    margin-top: 12px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-wrap,
  .ftr-grid,
  .faq01-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq01-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .demo-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    padding-left: 0;
  }

  .float-badge-top {
    right: 6px;
    top: -14px;
  }

  .float-badge-bottom {
    left: 6px;
    bottom: -14px;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .price-wrap,
  .ftr-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .demo-hdr-right .nav-reserve {
    display: none;
  }
}

/* ==========================================================================
   7. VIDEO TESTIMONIALS SECTION & STORY PLAYER MODAL
   ========================================================================== */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vid-card {
  background: var(--surface-card);
  border: 1.5px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.vid-card:hover,
.vid-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--pri-vivid);
  box-shadow: var(--card-shadow);
  outline: none;
}

.vid-thumb {
  position: relative;
  height: 200px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  overflow: hidden;
}

.vid-thumb-1 {
  background: linear-gradient(140deg, #1c1c1c 0%, #3a3019 100%);
}

.vid-thumb-2 {
  background: linear-gradient(140deg, #122122 0%, #1c1c1c 100%);
}

.vid-thumb-3 {
  background: linear-gradient(140deg, #1e1b29 0%, #1c1c1c 100%);
}

.vid-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.vid-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.vid-dur {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  padding: 3px 8px;
  border-radius: 6px;
}

.vid-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.vid-card:hover .vid-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 0 12px rgba(245, 183, 0, 0.24);
}

.vid-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  z-index: 2;
}

.vid-wave span {
  width: 4px;
  border-radius: 999px;
  background: var(--pri-vivid);
  opacity: 0.78;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.vid-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.vid-wave span:nth-child(2) { height: 18px; animation-delay: 0.15s; }
.vid-wave span:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.vid-wave span:nth-child(4) { height: 20px; animation-delay: 0.45s; }
.vid-wave span:nth-child(5) { height: 10px; animation-delay: 0.6s; }

.vid-body {
  padding: 20px 22px 22px;
}

.vid-body h3 {
  margin: 0 0 2px;
  font-size: 17px;
  color: var(--text-plum);
}

.vid-body small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--pri-rose);
  margin-bottom: 10px;
}

.vid-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Video Story Modal */
.vid-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 16, 18, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vid-modal-backdrop.open {
  display: flex;
}

.vid-modal-box {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #141416;
  border: 1.5px solid var(--pri-vivid);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.6);
  animation: fadeInScale 0.25s ease both;
}

.vid-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.vid-player-screen {
  min-height: 340px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at top right, rgba(245, 183, 0, 0.22), #141416 65%);
  color: #ffffff;
}

.vid-player-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--pri-vivid);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 183, 0, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
}

.vid-player-center {
  text-align: center;
  padding: 26px 12px;
}

.vid-player-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(245, 183, 0, 0.35);
}

.vid-player-caption {
  margin: 0 auto;
  max-width: 440px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.55;
  color: #fff9eb;
}

.vid-player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.vid-player-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.vid-player-fill {
  height: 100%;
  width: 0%;
  background: var(--pri-vivid);
  border-radius: 999px;
  transition: width 0.2s linear;
}

/* ==========================================================================
   8. CONTACT OUR TEAM SECTION (Directly After FAQ)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.3vw, 38px);
  margin: 0 0 12px;
  color: var(--text-plum);
}

.contact-info > p {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 15px;
}

.ct-meta-list {
  display: grid;
  gap: 14px;
}

.ct-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 18px;
}

.ct-meta-item i {
  font-style: normal;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sup-sand);
  color: var(--text-plum);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ct-meta-item small {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.ct-meta-item b {
  display: block;
  font-size: 14px;
  color: var(--text-plum);
}

.contact-card {
  background: var(--surface-card);
  border: 1.5px solid var(--hairline);
  border-top: 4px solid var(--pri-vivid);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.ct-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ct-field {
  margin-bottom: 14px;
}

.ct-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-plum);
  margin-bottom: 6px;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  border: 1.5px solid var(--hairline);
  background: var(--bg-shell);
  color: var(--text-plum);
  font-family: inherit;
  font-size: 14px;
  border-radius: 11px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-color: var(--pri-vivid);
  background: #ffffff;
}

.ct-err {
  font-size: 12.5px;
  font-weight: 600;
  color: #b91c1c;
  min-height: 18px;
  margin-bottom: 6px;
}

.ct-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sup-sand);
  border: 1px solid var(--pri-vivid);
  color: var(--text-plum);
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ct-success[hidden] {
  display: none;
}

/* ==========================================================================
   9. GO TO TOP FLOATING BUTTON (Visible on Scroll Down)
   ========================================================================== */
.go-top-btn {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  border: 1.5px solid var(--pri-vivid);
  background: var(--hdr-bg);
  color: var(--hdr-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.go-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.go-top-btn:hover {
  transform: translateY(-3px);
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.go-top-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.go-top-btn:hover .go-top-arrow {
  background: var(--hdr-bg);
  color: var(--pri-vivid);
  transform: translateY(-1px);
}

@keyframes waveBar {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

@media (max-width: 980px) {
  .vid-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .demo-hdr-in {
    height: 64px;
    gap: 8px;
  }

  .demo-brand {
    font-size: 18px;
    gap: 8px;
  }

  .hero-54 {
    padding: 36px 0 44px;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .hero-title {
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.12;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .hero-search {
    width: 100%;
    max-width: 100%;
    padding: 13px 13px 15px;
    border-radius: 18px;
  }

  .hero-search-row {
    width: 100%;
    min-height: 44px;
    padding: 4px 4px 4px 12px;
  }

  .hero-search-row input {
    font-size: 13px;
  }

  .hero-search-btn {
    flex-shrink: 0;
    padding: 9px 15px;
    font-size: 12.5px;
  }

  .uiverse-cta-btn {
    width: 100%;
    max-width: 100%;
    padding: 13px 18px;
  }

  .anim-dc {
    padding: 20px 16px;
  }

  .keycap-window {
    max-width: 100%;
  }

  .cta-band {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .app-card {
    padding: 26px 18px;
    gap: 28px;
    border-radius: 20px;
  }

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

  .app-notify-btn {
    width: 100%;
  }

  .ct-row-2 {
    grid-template-columns: 1fr;
  }

  .demo-ftr {
    padding: 36px 0 22px;
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-bottom: 24px;
  }

  .ftr-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .ftr-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-top: 16px;
  }

  .go-top-btn {
    right: 14px;
    bottom: 14px;
  }
}

/* ==========================================================================
   10. MOBILE APP TEASER CARD (COMING SOON)
   ========================================================================== */
.app-card {
  background: var(--sup-sand);
  border: 1.5px solid var(--hairline);
  border-radius: 26px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 44px;
  box-shadow: var(--card-shadow);
}

.app-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface-card);
  color: var(--text-plum);
  border: 1px solid var(--hairline);
  padding: 5px 12px;
  border-radius: 7px;
  margin-bottom: 16px;
}

.app-copy h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-plum);
  margin: 0 0 12px;
}

.app-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 460px;
}

.app-store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.app-store-btn {
  border: 0;
  border-radius: 10px;
  background: rgba(28, 28, 28, 0.56);
  color: #ffffff;
  padding: 10px 20px;
  text-align: left;
  cursor: not-allowed;
  opacity: 0.9;
}

.app-store-btn b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.app-store-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

.app-notify-lbl {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-plum);
  margin-bottom: 9px;
}

.app-notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 440px;
}

.app-notify-form input {
  flex: 1;
  min-width: 190px;
  border: 1.5px solid var(--hairline);
  background: var(--surface-card);
  color: var(--text-plum);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.app-notify-form input:focus {
  border-color: var(--acc-teal);
}

.app-notify-btn {
  border: 0;
  background: var(--uiverse-bg);
  color: var(--uiverse-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.app-notify-btn:hover {
  background: var(--pri-vivid);
  color: var(--uiverse-hover-ink);
  transform: translateY(-2px);
}

.app-notify-ok {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-plum);
}

.app-notify-ok[hidden] {
  display: none;
}

/* Phone Graphic */
.app-phone-wrap {
  display: flex;
  justify-content: center;
}

.demo-phone {
  width: 210px;
  background: var(--surface-card);
  border: 6px solid var(--text-plum);
  border-radius: 30px;
  padding: 20px 16px 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 11px;
  animation: floatCard 6s ease-in-out infinite;
}

.demo-phone-brand {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-plum);
}

.demo-phone-brand i {
  font-style: normal;
  color: var(--pri-vivid);
}

.phone-blk {
  height: 48px;
  border-radius: 12px;
  background: var(--bg-shell);
}

.phone-blk.accent {
  height: 58px;
  background: var(--uiverse-bg);
}

.phone-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--hairline);
}

.phone-bar.short {
  width: 68%;
}

@media (max-width: 860px) {
  .app-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* Reduced Motion / Performance Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
