/* =====================================================
   YourGrowthCFO — PROFESSIONAL BUSINESS HEALTH DIAGNOSTIC
   Theme: Neutral, Clean, Premium
   ===================================================== */

    :root {
      /* Neutral palette */
      --white: #FFFFFF;
      --gray-50: #F9F9F8;
      --gray-100: #F2F2F0;
      --gray-200: #E8E8E4;
      --gray-300: #D4D4CE;
      --gray-400: #A8A89E;
      --gray-500: #7A7A72;
      --gray-600: #5C5C54;
      --gray-700: #3D3D38;
      --gray-800: #242420;
      --gray-900: #141412;
      --black: #0A0A09;

      /* Subtle accents — muted, professional */
      --accent: #2D5BE3;
      --accent-muted: rgba(45, 91, 227, 0.08);
      --accent-border: rgba(45, 91, 227, 0.2);
      --positive: #1A7A4A;
      --positive-bg: rgba(26, 122, 74, 0.08);
      --negative: #B83232;
      --negative-bg: rgba(184, 50, 50, 0.08);
      --neutral: #5C5C54;

      /* Typography */
      --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      --font-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

      /* Spacing & shape */
      --radius: 12px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --max-w: 1060px;
      --quiz-w: 720px;

      /* Shadows */
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
      --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);

      /* Transitions */
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --ease-out: cubic-bezier(0, 0, 0.2, 1);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background: var(--white);
      color: var(--gray-800);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    ::-webkit-scrollbar {
      width: 5px;
    }

    ::-webkit-scrollbar-track {
      background: var(--gray-100);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--gray-300);
      border-radius: 99px;
    }

    .hide {
      display: none !important;
    }

    p {
      margin: 0 0 1em;
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    /* ===== NAVIGATION ===== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      height: 64px;
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--gray-200);
      transition: background 0.3s var(--ease);
      transform: translateZ(0);
      will-change: transform;
    }

    .nav-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 28px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--gray-900);
      display: grid;
      place-items: center;
    }

    .logo-mark svg {
      width: 16px;
      height: 16px;
      fill: var(--white);
    }

    .logo-name {
      font-size: 15px;
      font-weight: 600;
      color: var(--gray-900);
      letter-spacing: -0.01em;
    }

    .logo-sub {
      font-size: 11px;
      color: var(--gray-500);
      font-weight: 400;
      display: block;
      margin-top: -1px;
    }

    .nav-tag {
      font-size: 12px;
      color: var(--gray-500);
      background: var(--gray-100);
      border: 1px solid var(--gray-200);
      padding: 5px 12px;
      border-radius: 99px;
    }

    /* ===== HERO ===== */
    .hero {
      padding: 140px 28px 100px;
      max-width: var(--max-w);
      margin: 0 auto;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray-500);
      margin-bottom: 28px;
    }

    .eyebrow-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--positive);
      animation: pulse-live 2.5s infinite;
    }

    @keyframes pulse-live {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(26, 122, 74, 0.4);
      }

      50% {
        box-shadow: 0 0 0 6px rgba(26, 122, 74, 0);
      }
    }

    .hero-title {
      font-family: var(--font-heading);
      font-size: clamp(40px, 6vw, 68px);
      line-height: 1.08;
      letter-spacing: -0.02em;
      color: var(--gray-900);
      max-width: 16ch;
      margin-bottom: 24px;
    }

    .hero-title em {
      font-style: italic;
      color: var(--gray-500);
    }

    .hero-body {
      font-size: clamp(16px, 1.8vw, 18px);
      color: var(--gray-500);
      max-width: 54ch;
      line-height: 1.7;
      margin-bottom: 40px;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 64px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-family: var(--font-sans);
      font-size: 14px;
      font-weight: 600;
      padding: 13px 22px;
      border-radius: var(--radius);
      cursor: pointer;
      border: none;
      transition: all 0.2s var(--ease);
      letter-spacing: 0.01em;
      white-space: nowrap;
      text-decoration: none;
    }

    .btn-arrow {
      transition: transform 0.2s var(--ease);
      font-size: 16px;
    }

    .btn:hover .btn-arrow {
      transform: translateX(3px);
    }

    .btn-dark {
      background: var(--gray-900);
      color: var(--white);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .btn-dark:hover {
      background: var(--gray-800);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: var(--gray-700);
      border: 1px solid var(--gray-300);
    }

    .btn-outline:hover {
      border-color: var(--gray-400);
      background: var(--gray-50);
    }

    .btn-accent {
      background: var(--accent);
      color: var(--white);
      box-shadow: 0 2px 12px rgba(45, 91, 227, 0.25);
    }

    .btn-accent:hover {
      box-shadow: 0 4px 20px rgba(45, 91, 227, 0.35);
      transform: translateY(-1px);
    }

    .btn[disabled] {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none !important;
    }

    .btn-lg {
      padding: 15px 28px;
      font-size: 15px;
    }

    /* Hero stats */
    .hero-divider {
      width: 100%;
      height: 1px;
      background: var(--gray-200);
      margin-bottom: 40px;
    }

    .hero-stats {
      display: flex;
      gap: 48px;
      flex-wrap: wrap;
    }

    .hero-stat b {
      display: block;
      font-family: var(--font-heading);
      font-size: 30px;
      color: var(--gray-900);
      line-height: 1;
      margin-bottom: 4px;
    }

    .hero-stat span {
      font-size: 13px;
      color: var(--gray-500);
    }

    /* ===== FEATURES ===== */
    .features-section {
      background: var(--gray-50);
      border-top: 1px solid var(--gray-200);
      border-bottom: 1px solid var(--gray-200);
      padding: 100px 28px;
    }

    .features-inner {
      max-width: var(--max-w);
      margin: 0 auto;
    }

    .section-kicker {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gray-500);
      margin-bottom: 14px;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: clamp(28px, 3.5vw, 42px);
      color: var(--gray-900);
      line-height: 1.1;
      letter-spacing: -0.02em;
      max-width: 20ch;
      margin-bottom: 16px;
    }

    .section-body {
      font-size: 16px;
      color: var(--gray-500);
      max-width: 52ch;
      line-height: 1.7;
      margin-bottom: 60px;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--gray-200);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    @media (max-width: 720px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
    }

    .feature-cell {
      background: var(--white);
      padding: 32px 28px;
    }

    .feature-cell:hover {
      background: var(--gray-50);
    }

    .feat-num {
      font-family: var(--font-heading);
      font-size: 36px;
      color: var(--gray-200);
      font-style: italic;
      line-height: 1;
      margin-bottom: 16px;
    }

    .feature-cell h3 {
      font-size: 16px;
      font-weight: 600;
      color: var(--gray-900);
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }

    .feature-cell p {
      font-size: 14px;
      color: var(--gray-500);
      line-height: 1.65;
      margin: 0;
    }

    /* How steps */
    .how-section {
      padding: 100px 28px;
      max-width: var(--max-w);
      margin: 0 auto;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 56px;
    }

    @media (max-width: 760px) {
      .steps-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .step-card {
      padding: 28px 0;
      border-top: 2px solid var(--gray-200);
      transition: border-color 0.25s;
    }

    .step-card:hover {
      border-color: var(--gray-800);
    }

    .step-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-400);
      margin-bottom: 14px;
    }

    .step-card h3 {
      font-size: 15px;
      font-weight: 600;
      color: var(--gray-900);
      margin-bottom: 6px;
    }

    .step-card p {
      font-size: 13px;
      color: var(--gray-500);
      line-height: 1.6;
      margin: 0;
    }

    /* CTA Strip */
    .cta-strip {
      background: var(--gray-900);
      padding: 80px 28px;
      text-align: center;
    }

    .cta-strip-inner {
      max-width: 600px;
      margin: 0 auto;
    }

    .cta-strip h2 {
      font-family: var(--font-heading);
      font-size: clamp(28px, 3.5vw, 40px);
      color: var(--white);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 14px;
    }

    .cta-strip p {
      font-size: 16px;
      color: var(--gray-400);
      margin-bottom: 32px;
      line-height: 1.65;
    }

    /* ===== QUIZ ===== */
    #quiz {
      display: none;
      background: var(--gray-50);
      min-height: 100vh;
    }

    /* Quiz sticky header */
    .quiz-bar {
      position: sticky;
      top: 64px;
      z-index: 100;
      background: rgba(249, 249, 248, 0.98);
      border-bottom: 1px solid var(--gray-200);
      padding: 14px 28px;
    }

    .quiz-bar-inner {
      max-width: var(--quiz-w);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .quiz-bar-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .qbar-label {
      font-size: 13px;
      color: var(--gray-500);
    }

    .qbar-label strong {
      color: var(--gray-800);
      font-weight: 600;
    }

    .qbar-pct {
      font-family: var(--font-heading);
      font-size: 14px;
      color: var(--gray-600);
      font-style: italic;
    }

    /* Progress bar */
    .progress-track {
      height: 3px;
      background: var(--gray-200);
      border-radius: 99px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: var(--gray-800);
      border-radius: 99px;
      transition: width 0.6s var(--ease);
      width: 0%;
    }

    /* Step indicators */
    .qbar-dots {
      display: flex;
      gap: 4px;
    }

    .qbar-dot {
      height: 3px;
      flex: 1;
      border-radius: 99px;
      background: var(--gray-200);
      transition: background 0.3s;
    }

    .qbar-dot.done {
      background: var(--gray-600);
    }

    .qbar-dot.active {
      background: var(--gray-900);
    }

    /* Quiz body */
    .quiz-body {
      max-width: var(--quiz-w);
      margin: 0 auto;
      padding: 16px 28px 130px;
    }

    /* Section intro (Compact Horizontal) */
    .q-section-intro {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 16px;
      padding: 16px 24px;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      animation: rise 0.45s var(--ease-out) both;
    }

    .q-sec-icon {
      font-size: 28px;
      margin-bottom: 0;
      flex-shrink: 0;
    }

    .q-sec-text {
      flex: 1;
      text-align: left;
    }

    .q-sec-title {
      font-family: var(--font-heading);
      font-size: 17px;
      font-weight: 600;
      color: var(--gray-900);
      margin-bottom: 4px;
      letter-spacing: -0.01em;
    }

    .q-sec-sub {
      font-size: 13px;
      color: var(--gray-500);
      margin: 0;
      line-height: 1.4;
    }

    /* Question card */
    .q-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg);
      padding: 32px;
      margin-bottom: 16px;
      box-shadow: var(--shadow-sm);
      animation: rise 0.45s var(--ease-out) both;
    }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(18px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    .q-card.invalid {
      border-color: rgba(184, 50, 50, 0.4);
      box-shadow: 0 0 0 3px rgba(184, 50, 50, 0.07);
    }

    .q-num {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-400);
      margin-bottom: 8px;
    }

    .q-title {
      font-family: var(--font-heading);
      font-size: clamp(17px, 2.2vw, 20px);
      color: var(--gray-900);
      line-height: 1.3;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }

    .q-hint {
      font-size: 13px;
      color: var(--gray-400);
      margin-bottom: 24px;
      line-height: 1.55;
      font-style: italic;
    }

    .q-type-badge {
      display: inline-block;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 4px;
      margin-bottom: 18px;
      background: var(--gray-100);
      color: var(--gray-500);
      border: 1px solid var(--gray-200);
    }

    /* ===== MCQ OPTIONS ===== */
    .opts {
      display: flex;
      flex-direction: column;
      gap: 9px;
      max-height: 45vh;
      overflow-y: auto;
      padding-right: 6px;
    }
    
    .opts::-webkit-scrollbar { width: 6px; }
    .opts::-webkit-scrollbar-track { background: transparent; }
    .opts::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }


    .opts.grid-2 {
      grid-template-columns: 1fr 1fr;
    }

    @media (max-width: 540px) {
      .opts.grid-2 {
        grid-template-columns: 1fr;
      }
    }

    .opt {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      border-radius: var(--radius);
      border: 1.5px solid var(--gray-200);
      background: var(--gray-50);
      cursor: pointer;
      transition: all 0.18s var(--ease);
      user-select: none;
      position: relative;
      overflow: hidden;
    }

    .opt::before {
      content: '';
      position: absolute;
      inset: 0;
      background: transparent;
      transition: background 0.18s;
    }

    .opt:hover {
      border-color: var(--gray-400);
      background: var(--white);
    }

    .opt:hover::before {
      background: rgba(0, 0, 0, 0.01);
    }

    /* Radio circle */
    .opt-circle {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1.5px solid var(--gray-300);
      flex-shrink: 0;
      position: relative;
      transition: all 0.18s var(--ease);
      display: grid;
      place-items: center;
    }

    .opt-circle::after {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--white);
      transform: scale(0);
      transition: transform 0.18s var(--ease);
    }

    .opt-text {
      font-size: 14.5px;
      color: var(--gray-700);
      transition: color 0.18s;
      flex: 1;
      line-height: 1.4;
    }

    .opt-text-container {
      display: flex;
      flex-direction: column;
      gap: 3px;
      flex: 1;
      text-align: left;
    }

    .opt-title-text {
      font-size: 14.5px;
      font-weight: 500;
      color: var(--gray-900);
      transition: color 0.18s;
      line-height: 1.35;
    }

    .opt-desc-text {
      font-size: 12px;
      color: var(--gray-500);
      transition: color 0.18s;
      line-height: 1.4;
    }

    /* States */
    .opt.sel {
      border-color: var(--gray-800);
      background: var(--white);
      box-shadow: var(--shadow-sm);
    }

    .opt.sel .opt-circle {
      background: var(--gray-900);
      border-color: var(--gray-900);
    }

    .opt.sel .opt-circle::after {
      transform: scale(1);
    }

    .opt.sel .opt-text {
      color: var(--gray-900);
      font-weight: 500;
    }

    /* Multi-select checkbox */
    .opt-check {
      width: 20px;
      height: 20px;
      border-radius: 5px;
      border: 1.5px solid var(--gray-300);
      flex-shrink: 0;
      display: grid;
      place-items: center;
      transition: all 0.18s var(--ease);
    }

    .opt-check svg {
      width: 11px;
      height: 11px;
      stroke: var(--white);
      opacity: 0;
      transition: opacity 0.18s;
    }

    .opt.sel .opt-check {
      background: var(--gray-900);
      border-color: var(--gray-900);
    }

    .opt.sel .opt-check svg {
      opacity: 1;
    }

    /* ===== SLIDER ===== */
    .slider-container {
      padding: 4px 0;
    }

    .slider-value-box {
      text-align: center;
      margin-bottom: 28px;
      padding: 24px;
      background: var(--gray-50);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
    }

    .slider-big-val {
      font-family: var(--font-heading);
      font-size: 52px;
      color: var(--gray-900);
      line-height: 1;
      font-style: italic;
    }

    .slider-unit {
      font-size: 13px;
      color: var(--gray-400);
      margin-top: 4px;
    }

    .slider-state-label {
      font-size: 13px;
      font-weight: 600;
      margin-top: 10px;
      padding: 5px 14px;
      border-radius: 99px;
      display: inline-block;
      letter-spacing: 0.03em;
    }

    .sl-label-good {
      background: var(--positive-bg);
      color: var(--positive);
    }

    .sl-label-neutral {
      background: var(--gray-100);
      color: var(--gray-600);
    }

    .sl-label-bad {
      background: var(--negative-bg);
      color: var(--negative);
    }

    .slider-track-wrap {
      padding: 0 4px;
    }

    input[type="range"] {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 99px;
      outline: none;
      cursor: pointer;
      background: linear-gradient(to right, var(--gray-800) var(--fill, 50%), var(--gray-200) var(--fill, 50%));
      touch-action: none;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--gray-900);
      border: 3px solid var(--white);
      box-shadow: 0 0 0 1px var(--gray-300), 0 2px 6px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      transition: box-shadow 0.18s;
    }

    input[type="range"]::-webkit-slider-thumb:hover {
      box-shadow: 0 0 0 1px var(--gray-400), 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    input[type="range"]::-moz-range-thumb {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 3px solid var(--white);
      background: var(--gray-900);
      box-shadow: 0 0 0 1px var(--gray-300);
      cursor: pointer;
    }

    .slider-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      font-size: 11px;
      color: var(--gray-400);
      padding: 0 2px;
    }

    .slider-labels span {
      text-align: center;
      flex: 1;
    }

    .slider-labels span:first-child {
      text-align: left;
    }

    .slider-labels span:last-child {
      text-align: right;
    }

    /* Validation error */
    .q-err {
      font-size: 12px;
      color: var(--negative);
      margin-top: 10px;
      display: none;
    }

    .q-card.invalid .q-err {
      display: block;
    }

    /* ===== QUIZ FOOTER NAV ===== */
    .quiz-foot {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.98);
      border-top: 1px solid var(--gray-200);
    }

    .quiz-foot-inner {
      max-width: var(--quiz-w);
      margin: 0 auto;
      padding: 14px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .foot-note {
      font-size: 12px;
      color: var(--gray-400);
    }

    /* ===== CALCULATING ===== */
    #calculating {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 400;
      background: var(--white);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px;
    }

    .calc-spinner {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 2px solid var(--gray-200);
      border-top-color: var(--gray-800);
      animation: spin 0.85s linear infinite;
      margin-bottom: 36px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    #calculating h2 {
      font-family: var(--font-heading);
      font-size: 28px;
      color: var(--gray-900);
      margin-bottom: 10px;
    }

    #calculating p {
      font-size: 15px;
      color: var(--gray-500);
      max-width: 36ch;
      line-height: 1.6;
    }

    .calc-list {
      margin-top: 40px;
      display: grid;
      gap: 10px;
      text-align: left;
      max-width: 340px;
      width: 100%;
    }

    .calc-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: var(--gray-400);
      transition: color 0.3s;
    }

    .calc-item.active {
      color: var(--gray-800);
      font-weight: 500;
    }

    .calc-item.done {
      color: var(--positive);
    }

    .calc-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gray-200);
      flex-shrink: 0;
      transition: background 0.3s;
    }

    .calc-item.active .calc-dot {
      background: var(--gray-800);
      animation: pulse-live 1s infinite;
    }

    .calc-item.done .calc-dot {
      background: var(--positive);
      animation: none;
    }

    /* ===== RESULTS ===== */
    #results {
      display: none;
    }

    /* Results hero */
    .res-hero {
      background: var(--gray-900);
      padding: 100px 28px 80px;
      position: relative;
      overflow: hidden;
    }

    .res-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(45, 91, 227, 0.12), transparent 70%);
      pointer-events: none;
    }

    .res-hero-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      position: relative;
    }

    .res-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 24px;
      display: block;
    }

    .res-score-block {
      display: flex;
      align-items: flex-end;
      gap: 24px;
      margin-bottom: 20px;
    }

    .res-big-score {
      font-family: var(--font-heading);
      font-size: clamp(80px, 14vw, 120px);
      color: var(--white);
      line-height: 1;
      font-style: italic;
    }

    .res-score-side {
      padding-bottom: 12px;
    }

    .res-band-name {
      font-size: 14px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 99px;
      display: inline-block;
      margin-bottom: 8px;
      border: 1px solid;
    }

    .res-tagline {
      font-size: 14px;
      color: var(--gray-500);
      max-width: 42ch;
      line-height: 1.65;
    }

    /* Score band row */
    .band-row {
      display: flex;
      gap: 8px;
      margin-top: 36px;
      flex-wrap: wrap;
    }

    .band-pill {
      flex: 1;
      min-width: 90px;
      text-align: center;
      padding: 10px 8px;
      border-radius: var(--radius);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.25);
      transition: all 0.3s;
    }

    .band-pill.active {
      border-color: rgba(255, 255, 255, 0.3);
      color: rgba(255, 255, 255, 0.9);
      background: rgba(255, 255, 255, 0.06);
    }

    .band-pill .bp-range {
      display: block;
      font-size: 10px;
      margin-top: 2px;
      font-weight: 400;
    }

    /* Dim section */
    .res-section {
      padding: 80px 28px;
    }

    .res-section-inner {
      max-width: var(--max-w);
      margin: 0 auto;
    }

    .res-section-alt {
      background: var(--gray-50);
      border-top: 1px solid var(--gray-200);
      border-bottom: 1px solid var(--gray-200);
    }

    .res-section-title {
      font-family: var(--font-heading);
      font-size: clamp(24px, 3vw, 34px);
      color: var(--gray-900);
      letter-spacing: -0.02em;
      line-height: 1.1;
      margin-bottom: 8px;
    }

    .res-section-sub {
      font-size: 15px;
      color: var(--gray-500);
      max-width: 52ch;
      margin-bottom: 48px;
      line-height: 1.6;
    }

    /* Dim rows */
    .dim-list {
      display: grid;
      gap: 12px;
    }

    .dim-row {
      display: grid;
      grid-template-columns: 200px 1fr auto;
      align-items: center;
      gap: 20px;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
      padding: 18px 22px;
      transition: box-shadow 0.2s;
    }

    .dim-row:hover {
      box-shadow: var(--shadow-sm);
    }

    @media (max-width: 600px) {
      .dim-row {
        grid-template-columns: 1fr;
      }
    }

    .dim-name-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .dim-icon {
      font-size: 20px;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--gray-100);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .dim-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--gray-800);
    }

    .dim-sub {
      font-size: 12px;
      color: var(--gray-400);
    }

    .dim-bar-area {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .dim-bar-track {
      flex: 1;
      height: 8px;
      background: var(--gray-100);
      border-radius: 99px;
      overflow: hidden;
      border: 1px solid var(--gray-200);
    }

    .dim-bar-fill {
      height: 100%;
      border-radius: 99px;
      transition: width 1.1s var(--ease-out);
      width: 0%;
    }

    .dim-pct {
      font-family: var(--font-heading);
      font-size: 22px;
      color: var(--gray-800);
      min-width: 52px;
      text-align: right;
    }

    /* Issue cards */
    .issues-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    @media (max-width: 760px) {
      .issues-grid {
        grid-template-columns: 1fr;
      }
    }

    .issue-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg);
      padding: 28px;
      border-top: 3px solid;
      transition: box-shadow 0.2s;
    }

    .issue-card:hover {
      box-shadow: var(--shadow-md);
    }

    .issue-rank {
      font-family: var(--font-heading);
      font-size: 40px;
      color: var(--gray-200);
      line-height: 1;
      margin-bottom: 14px;
      font-style: italic;
    }

    .issue-card h3 {
      font-size: 16px;
      font-weight: 600;
      color: var(--gray-900);
      margin-bottom: 8px;
    }

    .issue-card p {
      font-size: 13.5px;
      color: var(--gray-500);
      line-height: 1.65;
      margin-bottom: 16px;
    }

    .issue-tag {
      font-size: 12px;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: var(--radius);
      display: inline-block;
    }

    /* Plan section */
    .plan-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    @media (max-width: 760px) {
      .plan-grid {
        grid-template-columns: 1fr;
      }
    }

    .plan-card {
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--white);
    }

    .plan-head {
      background: var(--gray-50);
      padding: 18px 22px;
      border-bottom: 1px solid var(--gray-200);
    }

    .plan-head-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray-400);
      display: block;
      margin-bottom: 4px;
    }

    .plan-head b {
      font-size: 15px;
      font-weight: 600;
      color: var(--gray-900);
    }

    .plan-items {
      padding: 16px 22px;
      display: grid;
      gap: 0;
    }

    .plan-item {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid var(--gray-100);
      font-size: 13px;
      color: var(--gray-600);
      line-height: 1.5;
    }

    .plan-item:last-child {
      border-bottom: none;
    }

    .plan-week {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gray-400);
      background: var(--gray-100);
      padding: 3px 7px;
      border-radius: 4px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .plan-foot {
      background: var(--gray-900);
      padding: 12px 22px;
    }

    .plan-goal {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.7);
    }

    /* Final CTA */
    .final-cta {
      padding: 80px 28px;
      text-align: center;
    }

    .final-cta-inner {
      max-width: 640px;
      margin: 0 auto;
      background: var(--gray-900);
      border-radius: var(--radius-xl);
      padding: 60px 48px;
    }

    .final-cta-inner h2 {
      font-family: var(--font-heading);
      font-size: clamp(26px, 3.5vw, 36px);
      color: var(--white);
      line-height: 1.12;
      letter-spacing: -0.02em;
      margin-bottom: 14px;
    }

    .final-cta-inner p {
      font-size: 15px;
      color: var(--gray-400);
      margin-bottom: 32px;
      line-height: 1.65;
    }

    .final-btns {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-white {
      background: var(--white);
      color: var(--gray-900);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .btn-white:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }

    .btn-ghost-white {
      background: transparent;
      color: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .btn-ghost-white:hover {
      color: var(--white);
      border-color: rgba(255, 255, 255, 0.3);
    }

    /* Footer */
    .site-footer {
      background: var(--gray-100);
      border-top: 1px solid var(--gray-200);
      padding: 28px 28px;
      text-align: center;
      font-size: 13px;
      color: var(--gray-500);
    }

    /* ===== SCROLL REVEAL ===== */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    }

    .reveal.in-view {
      opacity: 1;
      transform: none;
    }

    .reveal-d1 {
      transition-delay: 0.1s;
    }

    .reveal-d2 {
      transition-delay: 0.2s;
    }

    .reveal-d3 {
      transition-delay: 0.3s;
    }

    .reveal-d4 {
      transition-delay: 0.4s;
    }

    /* Toast */
    .toast {
      position: fixed;
      bottom: 88px;
      left: 50%;
      z-index: 999;
      transform: translateX(-50%) translateY(8px);
      background: var(--gray-900);
      color: var(--white);
      font-size: 13px;
      padding: 11px 20px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-md);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s var(--ease);
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 600px) {
      .hero {
        padding: 110px 20px 70px;
      }

      .q-card {
        padding: 22px 18px;
      }

      .quiz-body {
        padding: 32px 20px 120px;
      }

      .features-section,
      .how-section {
        padding: 70px 20px;
      }

      .res-hero {
        padding: 80px 20px 60px;
      }

      .res-section {
        padding: 60px 20px;
      }

      .final-cta-inner {
        padding: 40px 24px;
      }
    }

    /* ===== CHECKOUT ===== */
    .checkout-section {
      padding: 60px 28px;
      background: var(--gray-50);
      border-top: 1px solid var(--gray-200);
    }

    .checkout-inner {
      max-width: 640px;
      margin: 0 auto;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-xl);
      padding: 40px;
    }

    .checkout-title {
      font-family: var(--font-heading);
      font-size: 28px;
      color: var(--gray-900);
      margin-bottom: 24px;
      text-align: center;
    }

    .opt-box {
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-lg);
      padding: 20px;
      margin-bottom: 16px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      background: var(--gray-50);
      transition: all 0.2s;
      cursor: pointer;
      user-select: none;
    }

    .opt-box.mandatory {
      border-color: var(--gray-400);
      background: var(--white);
      cursor: default;
    }

    .opt-box.selected {
      border-color: var(--gray-800);
      background: var(--white);
    }

    .opt-check {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      border: 2px solid var(--gray-300);
      display: grid;
      place-items: center;
      margin-top: 2px;
      flex-shrink: 0;
      background: var(--white);
      transition: all 0.2s;
    }

    .opt-box.mandatory .opt-check {
      background: var(--gray-900);
      border-color: var(--gray-900);
    }

    .opt-box.selected .opt-check {
      background: var(--gray-900);
      border-color: var(--gray-900);
    }

    .opt-check svg {
      width: 12px;
      height: 12px;
      stroke: var(--white);
      opacity: 0;
    }

    .opt-box.mandatory .opt-check svg,
    .opt-box.selected .opt-check svg {
      opacity: 1;
    }

    .opt-content {
      flex: 1;
    }

    .opt-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--gray-900);
      margin-bottom: 4px;
    }

    .opt-price {
      font-size: 15px;
      font-weight: 600;
      color: var(--gray-800);
    }

    .calendar-box {
      margin-top: 16px;
      display: none;
    }

    .calendar-box label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--gray-700);
      margin-bottom: 8px;
    }

    .calendar-box select {
      width: 100%;
      padding: 12px 16px;
      border-radius: var(--radius);
      border: 1px solid var(--gray-300);
      font-family: var(--font-sans);
      font-size: 14px;
      outline: none;
      appearance: none;
      background: var(--white) url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%233D3D38" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center;
      cursor: pointer;
    }

    .checkout-total {
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid var(--gray-200);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .total-label {
      font-size: 16px;
      font-weight: 600;
      color: var(--gray-700);
    }

    .total-amt {
      font-size: 24px;
      font-weight: 700;
      color: var(--gray-900);
    }

    .btn-pay {
      width: 100%;
      margin-top: 24px;
      padding: 16px;
      font-size: 16px;
      justify-content: center;
      background: var(--gray-900);
      color: var(--white);
      border-radius: var(--radius);
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
    }

    .btn-pay:hover {
      background: var(--gray-800);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .success-screen {
      display: none;
      text-align: center;
      padding: 60px 40px;
    }

    .success-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--positive-bg);
      color: var(--positive);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      margin: 0 auto 24px;
    }

    .success-title {
      font-family: var(--font-heading);
      font-size: 32px;
      color: var(--gray-900);
      margin-bottom: 16px;
    }

    .schedule-dropdowns {
      display: flex;
      gap: 12px;
      margin-top: 12px;
    }

    .schedule-select {
      flex: 1;
      padding: 10px 15px;
      border: 1px solid var(--gray-300);
      border-radius: 8px;
      font-family: var(--font-sans);
      font-size: 14px;
      color: var(--gray-700);
      background-color: white;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
    }

    .schedule-select:focus {
      outline: none;
      border-color: var(--gray-500);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    }

    .success-body {
      font-size: 16px;
      color: var(--gray-600);
      line-height: 1.6;
      margin-bottom: 0;
    }

    @media (max-width: 600px) {
      .schedule-dropdowns {
        flex-direction: column;
      }

      .checkout-section {
        padding: 40px 20px;
      }

      .checkout-inner {
        padding: 32px 20px;
      }
    }
/* Premium Responsive & Mobile Fixes */
@media (max-width: 768px) {
  :root {
    --radius: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
  }
  html {
    font-size: 15px;
  }
  .hero {
    padding: 100px 20px 60px !important;
  }
  .features-section, .how-section, .res-section, .checkout-section {
    padding: 60px 20px !important;
  }
  .nav-inner {
    padding: 0 16px !important;
  }
  .features-grid, .steps-grid, .issues-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .opt-box {
    padding: 16px !important;
  }
  .btn-pay {
    padding: 16px !important;
  }
  .total-amt {
    font-size: 28px !important;
  }
  /* Remove layout breaks */
  * {
    max-width: 100%;
  }
}


/* ===== LUXURY SUCCESS MODAL ===== */
.luxury-success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 10, 9, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: opacity 0.4s ease;
}

.luxury-glass-panel {
  background: rgba(20, 20, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8), 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: luxuryModalPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  position: relative;
  overflow: hidden;
}

.luxury-glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.luxury-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
  animation: pulseGlow 2s infinite alternate;
}

.luxury-check-icon {
  width: 40px;
  height: 40px;
  color: #10B981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
  animation: checkDraw 0.6s 0.3s ease-out both;
}

.luxury-success-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.luxury-success-body {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.luxury-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.luxury-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes luxuryModalPop {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.1); transform: scale(1); }
  100% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.3); transform: scale(1.05); }
}

@keyframes checkDraw {
  0% { stroke-dasharray: 50; stroke-dashoffset: 50; }
  100% { stroke-dasharray: 50; stroke-dashoffset: 0; }
}

/* ============================================================
   REDESIGNED DUAL-COLUMN QUIZ STYLES
   ============================================================ */

#quiz {
  background: #f9f9f8 !important; /* Light off-white background matching mockup */
}

/* Dual-column Quiz layout */
.quiz-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  width: 100%;
  perspective: 1500px;
  transform-style: preserve-3d;
}

@media (max-width: 900px) {
  .quiz-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Adjust quiz-body to accommodate 8% left and 16% right padding (asymmetrical two-column design) */
#quiz .quiz-body {
  max-width: 100% !important;
  width: 100%;
  padding: 40px 16vw 140px 8vw !important; /* Left: 8vw, Right: 16vw (double left) */
  box-sizing: border-box;
}

/* Section intro spans both columns */
.quiz-body .q-section-intro {
  grid-column: span 2;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .quiz-body .q-section-intro {
    grid-column: span 1;
    margin-bottom: 16px;
  }
  #quiz .quiz-body {
    padding: 24px 16px 140px 16px !important; /* Reset asymmetrical padding on mobile */
  }
}

/* Question card modifications */
.q-card {
  margin-bottom: 0 !important; /* Gap handled by grid */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 500px;
  padding: 40px !important;
  border-radius: 16px !important;
  border: 1px solid var(--gray-200) !important;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  animation: none !important;
}

.q-card .q-num {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.q-card .q-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  width: fit-content;
}

.q-card .q-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.q-card .q-options-context {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.5;
  font-style: italic;
}

/* MCQ Option Styling Overrides to match mockup */
.opts {
  gap: 12px !important;
  max-height: none !important; /* Allow options to show fully without scrolling */
  overflow-y: visible !important;
  padding-right: 0 !important;
}

.opt {
  background: #f4f4f3 !important; /* Warm light gray background */
  border: 1.5px solid transparent !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.opt:hover {
  background: #eaeae9 !important;
  border-color: transparent !important;
}

.opt.sel {
  background: var(--white) !important;
  border-color: #141412 !important; /* Solid dark border */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.opt-circle {
  border: 1.5px solid #d1d1cf !important;
  background: var(--white) !important;
}

.opt.sel .opt-circle {
  background: var(--gray-900) !important;
  border-color: var(--gray-900) !important;
}

.opt-text {
  font-size: 15px !important;
  color: var(--gray-800) !important;
  font-weight: 450 !important;
}

.opt.sel .opt-text {
  color: var(--gray-900) !important;
  font-weight: 500 !important;
}

/* Quote card stack (Right Column) */
.quote-card-stack {
  position: relative;
  z-index: 10;
  height: 100%;
  box-sizing: border-box;
  animation: none !important;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.quote-card-stack::before,
.quote-card-stack::after {
  content: '';
  position: absolute;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  z-index: 1;
  pointer-events: none;
  box-sizing: border-box;
}

.quote-card-stack::before {
  /* Middle layer */
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  box-shadow: var(--shadow-sm);
}

.quote-card-stack::after {
  /* Bottom layer */
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  opacity: 0.45;
  box-shadow: var(--shadow-xs);
}

.q-quote-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

.q-quote-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 32px;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  color: #141412;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.015em;
}

.q-quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.author-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #141412;
  margin-bottom: 4px;
}

.author-title {
  font-size: 13.5px;
  color: var(--gray-500);
  font-weight: 400;
}

/* Navbar progress integration styling */
.nav.quiz-active .nav-progress {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 500px;
  margin: 0 40px;
}

.nav.quiz-active .quiz-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav.quiz-active .qbar-label {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

.nav.quiz-active .qbar-pct {
  font-size: 11px;
  color: var(--gray-500);
  font-family: var(--font-heading);
  font-style: italic;
}

.nav.quiz-active .qbar-dots {
  display: flex;
  gap: 4px;
  width: 100%;
}

.nav.quiz-active .qbar-dot {
  height: 3px;
  flex: 1;
  border-radius: 99px;
  background: var(--gray-200);
  transition: background 0.3s;
}

.nav.quiz-active .qbar-dot.done {
  background: var(--gray-800) !important;
}

.nav.quiz-active .qbar-dot.active {
  background: var(--gray-900) !important;
}

/* Footer layout style tweaks */
.quiz-foot {
  background: rgba(255, 255, 255, 0.98) !important;
  border-top: 1px solid var(--gray-200) !important;
  padding: 8px 0 !important;
}

.quiz-foot-inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 14px 28px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.quiz-foot-inner #btn-prev {
  justify-self: start;
}

.quiz-foot-inner .foot-note {
  justify-self: center;
  font-size: 13px !important;
  color: var(--gray-400) !important;
}

.quiz-foot-inner .quiz-foot-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-foot-inner .btn-outline {
  border-radius: 99px !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
}

.quiz-foot-inner .btn-dark {
  border-radius: 99px !important;
  padding: 10px 24px !important;
  font-weight: 500 !important;
  background: var(--gray-900) !important;
  color: var(--white) !important;
}

/* =====================================================
   UNIFIED SCHEDULER WIDGET
   ===================================================== */

.custom-scheduler {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  font-family: var(--font-sans);
  margin-top: 16px;
  width: 100%;
}

@media(min-width: 768px) {
  .custom-scheduler {
    flex-direction: row;
    min-width: 680px;
    margin-left: -40px; /* Optional: break out of parent padding */
  }
}

.sch-left {
  flex: 55;
  padding: 24px;
  border-right: 1px solid var(--gray-100);
}

.sch-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sch-month-nav button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sch-month-nav button:hover {
  background: var(--gray-100);
}

.sch-month-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-900);
}

.sch-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.sch-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 4px;
  text-align: center;
}

.sch-day {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 99px;
  transition: all 0.2s;
  background: transparent;
  border: none;
}

.sch-day:hover:not(.sch-empty) {
  background: var(--gray-100);
}

.sch-day.active {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--accent-border);
}

.sch-day.sch-empty {
  color: var(--gray-300);
  cursor: default;
}

.sch-right {
  flex: 45;
  padding: 24px;
  background: rgba(249,249,248,0.4);
  display: flex;
  flex-direction: column;
}

.sch-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.sch-info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}

.sch-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.sch-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: all 0.2s;
}

.sch-status.active {
  border-color: var(--accent-border);
  background: var(--accent-muted);
  color: var(--gray-900);
}

.sch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sch-dot.bg-green { background: #10B981; }
.sch-dot.bg-red { background: #EF4444; }
.sch-dot.bg-orange { background: #F59E0B; }
.sch-dot.bg-gray { background: #9CA3AF; }

.sch-times-list {
  flex: 1;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}

.sch-times-list::-webkit-scrollbar {
  width: 4px;
}
.sch-times-list::-webkit-scrollbar-track {
  background: transparent;
}
.sch-times-list::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

.sch-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.sch-time-row:hover {
  background: var(--gray-50);
}

.sch-time-row.active {
  background: rgba(0,0,0,0.03);
}

.sch-time-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.sch-time-row.active .sch-time-text {
  font-weight: 700;
  color: var(--gray-900);
}

.sch-check {
  display: none;
}
.sch-time-row.active .sch-check {
  display: block;
}

.sch-custom-time {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sch-custom-time:hover {
  color: var(--gray-900);
}

.sch-footer {
  padding: 16px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.sch-event-info {
  font-size: 14px;
  color: var(--gray-600);
}

.sch-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.sch-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 4px;
  text-align: center;
}

.sch-day {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 99px;
  transition: all 0.2s;
  background: transparent;
  border: none;
}

.sch-day:hover:not(.sch-empty) {
  background: var(--gray-100);
}

.sch-day.active {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--accent-border);
}

.sch-day.sch-empty {
  color: var(--gray-300);
  cursor: default;
}

.sch-right {
  flex: 45;
  padding: 24px;
  background: rgba(249,249,248,0.4);
  display: flex;
  flex-direction: column;
}

.sch-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.sch-info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}

.sch-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.sch-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: all 0.2s;
}

.sch-status.active {
  border-color: var(--accent-border);
  background: var(--accent-muted);
  color: var(--gray-900);
}

.sch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sch-dot.bg-green { background: #10B981; }
.sch-dot.bg-red { background: #EF4444; }
.sch-dot.bg-orange { background: #F59E0B; }
.sch-dot.bg-gray { background: #9CA3AF; }

.sch-times-list {
  flex: 1;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}

.sch-times-list::-webkit-scrollbar {
  width: 4px;
}
.sch-times-list::-webkit-scrollbar-track {
  background: transparent;
}
.sch-times-list::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

.sch-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.sch-time-row:hover {
  background: var(--gray-50);
}

.sch-time-row.active {
  background: rgba(0,0,0,0.03);
}

.sch-time-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.sch-time-row.active .sch-time-text {
  font-weight: 700;
  color: var(--gray-900);
}

.sch-check {
  display: none;
}
.sch-time-row.active .sch-check {
  display: block;
}

.sch-custom-time {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
}
.sch-custom-time:hover {
  color: var(--gray-900);
}

.sch-footer {
  padding: 16px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.sch-event-info {
  font-size: 14px;
  color: var(--gray-600);
}
.sch-event-info span {
  font-weight: 600;
  color: var(--gray-900);
}

.sch-actions {
  display: flex;
  gap: 12px;
}

/* ─── LENIS SMOOTH SCROLL ──────────────────────────────────── */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Force Razorpay to always be clickable despite Lenis iframe blocking */
.razorpay-container,
.razorpay-backdrop,
.lenis.lenis-smooth .razorpay-container iframe,
.razorpay-container iframe {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}
