/* ─── Self-hosted Vazirmatn Font Faces ─────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

    /* ─── Tokens & Design System ─────────────────────────────────────── */
    :root {
      --bg: #090d14;            /* Deep midnight obsidian */
      --surface: #111722;       /* Elevated dark glass surface */
      --surface-raised: #182232;/* Popover / active card */
      --fg: #f0f4f9;            /* Moonlight soft white */
      --muted: #8896a8;         /* Celestial slate */
      --border: #1e293b;        /* Subtle hairline divider */
      --border-light: #2c3c54;  /* Highlight border */
      --accent: #2dd4bf;        /* Calming Persian turquoise emerald */
      --accent-glow: rgba(45, 212, 191, 0.25);
      --gold: #f59e0b;          /* Golden subscription tag */
      --gold-glow: rgba(245, 158, 11, 0.2);

      --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      --card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
      --nav-bg: rgba(9, 13, 20, 0.88);
      --nav-bg-scrolled: rgba(9, 13, 20, 0.96);
      --drawer-bg: rgba(14, 20, 30, 0.98);
      --foot-bg: #06090f;
      --player-bg: rgba(18, 26, 38, 0.94);
      --backdrop-bg: rgba(4, 7, 12, 0.7);

      /* Derived colors */
      --accent-soft: rgba(45, 212, 191, 0.14);
      --fg-soft: rgba(240, 244, 249, 0.06);

      /* Typography */
      --font-display: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      --font-body: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      --font-mono: 'Vazirmatn', ui-monospace, 'JetBrains Mono', monospace;

      /* Scale */
      --fs-h1: clamp(34px, 5vw, 56px);
      --fs-h2: clamp(26px, 3.5vw, 38px);
      --fs-h3: 20px;
      --fs-lead: clamp(16px, 1.8vw, 19px);
      --fs-body: 15px;
      --fs-meta: 13px;

      /* Spacing */
      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 96px;
      --container: 1160px;
      --gutter: 24px;

      --radius-sm: 8px;
      --radius: 14px;
      --radius-lg: 22px;
      --radius-full: 9999px;
    }

    /* ─── Light Theme Palette ────────────────────────────────────────── */
    [data-theme="light"] {
      --bg: #f8fafc;            /* Crisp soft daylight slate */
      --surface: #ffffff;       /* Pure white elevated cards */
      --surface-raised: #f1f5f9;/* Light secondary container */
      --fg: #0f172a;            /* Deep slate navy text */
      --muted: #475569;         /* High readability muted slate */
      --border: #e2e8f0;        /* Clean hairline divider */
      --border-light: #cbd5e1;  /* Highlight border */
      --accent: #0d9488;        /* Rich Persian turquoise teal with high contrast */
      --accent-glow: rgba(13, 148, 136, 0.2);
      --gold: #d97706;          /* Deep warm amber gold */
      --gold-glow: rgba(217, 119, 6, 0.18);

      --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
      --card-shadow-hover: 0 14px 36px rgba(15, 23, 42, 0.1);
      --nav-bg: rgba(255, 255, 255, 0.88);
      --nav-bg-scrolled: rgba(255, 255, 255, 0.97);
      --drawer-bg: rgba(255, 255, 255, 0.98);
      --foot-bg: #f1f5f9;
      --player-bg: rgba(255, 255, 255, 0.94);
      --backdrop-bg: rgba(15, 23, 42, 0.45);

      /* Derived colors */
      --accent-soft: rgba(13, 148, 136, 0.12);
      --fg-soft: rgba(15, 23, 42, 0.04);
    }

    /* ─── Reset & Base ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.65;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      background-image: 
        radial-gradient(ellipse at 85% 15%, rgba(45, 212, 191, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 65%, rgba(30, 58, 138, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(45, 212, 191, 0.04) 0%, transparent 40%);
      background-attachment: fixed;
      transition: background-color 0.35s ease, color 0.35s ease;
    }
    [data-theme="light"] body {
      background-image: 
        radial-gradient(ellipse at 85% 15%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 65%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(13, 148, 136, 0.06) 0%, transparent 40%);
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; font-weight: 800; color: var(--fg); }

    /* ─── Theme Transition Helpers ───────────────────────────────────── */
    .topnav, .mobile-nav-drawer, .card, .feature-card, .price-card, 
    .testimonial-card, .stat-card, .turntable-card, .mixer-board, 
    .mixer-track-card, .breathing-box, .breath-step-card, .faq-item, 
    .pagefoot, .miniplayer-float, .btn, .theme-toggle-btn, .menu-toggle {
      transition: background 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    }

    /* ─── Layout Primitives ─────────────────────────────────────────── */
    .container {
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .section {
      padding-block: clamp(48px, 7vw, var(--gap-2xl));
      position: relative;
    }
    .section + .section { border-top: 1px solid var(--border); }
    .stack { display: flex; flex-direction: column; }
    .stack > * + * { margin-top: var(--gap-md); }
    .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
    .grid-2-1 { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap-xl); align-items: center; }
    .grid-1-2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gap-xl); align-items: center; }

    @media (max-width: 960px) {
      .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
    }

    /* ─── Typography & Utilities ────────────────────────────────────── */
    .h1, h1 { font-size: var(--fs-h1); line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
    .h2, h2 { font-size: var(--fs-h2); line-height: 1.3; letter-spacing: -0.015em; margin: 0; }
    .h3, h3 { font-size: var(--fs-h3); line-height: 1.4; margin: 0; }
    .lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--muted); max-width: 62ch; margin: 0; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      background: var(--accent-soft);
      border: 1px solid rgba(45, 212, 191, 0.2);
      padding: 6px 14px;
      border-radius: var(--radius-full);
      margin: 0 0 var(--gap-md);
      width: fit-content;
    }
    [data-theme="light"] .eyebrow {
      border-color: rgba(13, 148, 136, 0.25);
    }
    .eyebrow::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent);
      animation: pulseDot 2.2s infinite ease-in-out;
    }
    .meta { font-size: var(--fs-meta); color: var(--muted); }
    .num { font-variant-numeric: tabular-nums; }

    /* ─── Chrome: Topnav & Mobile Menu ───────────────────────────── */
    .topnav {
      position: sticky; top: 0; z-index: 100;
      background: var(--nav-bg);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }
    .topnav.scrolled {
      background: var(--nav-bg-scrolled);
      border-bottom-color: var(--border-light);
      box-shadow: var(--card-shadow);
    }
    .topnav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-block: 14px;
      gap: 16px;
    }
    .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo-mark {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), var(--surface-raised));
      border: 1px solid rgba(45, 212, 191, 0.4);
      display: grid;
      place-items: center;
      color: var(--accent);
      box-shadow: 0 4px 12px rgba(45, 212, 191, 0.15);
      transition: transform 0.2s ease;
    }
    [data-theme="light"] .logo-mark {
      background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), var(--surface-raised));
      border-color: rgba(13, 148, 136, 0.35);
      box-shadow: 0 4px 12px rgba(13, 148, 136, 0.12);
    }
    .logo-container:hover .logo-mark {
      transform: scale(1.05);
    }
    .logo-text {
      font-size: 20px;
      font-weight: 900;
      letter-spacing: -0.01em;
      color: var(--fg);
    }
    .logo-badge {
      font-size: 11px;
      color: var(--muted);
      background: var(--surface-raised);
      padding: 2px 8px;
      border-radius: var(--radius-full);
      border: 1px solid var(--border);
    }
    .topnav nav.nav-desktop {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .topnav nav.nav-desktop a {
      font-size: 14px;
      font-weight: 500;
      color: var(--muted);
      position: relative;
      padding-block: 6px;
      transition: color 0.2s ease;
    }
    .topnav nav.nav-desktop a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
      transition: width 0.25s ease, left 0.25s ease;
    }
    .topnav nav.nav-desktop a:hover,
    .topnav nav.nav-desktop a.active {
      color: var(--fg);
    }
    .topnav nav.nav-desktop a:hover::after,
    .topnav nav.nav-desktop a.active::after {
      width: 100%;
      left: 0;
    }
    .topnav-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* ─── Theme Toggle Button ────────────────────────────────────────── */
    .theme-toggle-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--fg);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    .theme-toggle-btn:hover {
      background: var(--surface-raised);
      border-color: var(--border-light);
      color: var(--accent);
      transform: translateY(-1px);
    }
    .theme-toggle-btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .theme-toggle-btn .icon-sun,
    .theme-toggle-btn .icon-moon {
      position: absolute;
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    }
    :root:not([data-theme="light"]) .theme-toggle-btn .icon-sun {
      opacity: 0;
      transform: scale(0.5) rotate(-90deg);
      pointer-events: none;
    }
    :root:not([data-theme="light"]) .theme-toggle-btn .icon-moon {
      opacity: 1;
      transform: scale(1) rotate(0deg);
      color: #fbbf24;
    }
    [data-theme="light"] .theme-toggle-btn .icon-sun {
      opacity: 1;
      transform: scale(1) rotate(0deg);
      color: #d97706;
    }
    [data-theme="light"] .theme-toggle-btn .icon-moon {
      opacity: 0;
      transform: scale(0.5) rotate(90deg);
      pointer-events: none;
    }

    /* Mobile theme switcher row inside drawer */
    .mobile-theme-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      background: var(--surface-raised);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-top: 4px;
    }
    .mobile-theme-label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 500;
      color: var(--fg);
    }
    .theme-pill-group {
      display: flex;
      align-items: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      padding: 3px;
      gap: 2px;
    }
    .theme-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .theme-pill-btn.active {
      background: var(--accent);
      color: #090d14;
    }
    [data-theme="light"] .theme-pill-btn.active {
      color: #ffffff;
    }

    /* Mobile Hamburger Menu Toggle Button */
    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--fg);
      cursor: pointer;
      position: relative;
      align-items: center;
      justify-content: center;
      padding: 0;
      z-index: 102;
    }
    .menu-toggle:hover {
      background: var(--surface-raised);
      border-color: var(--border-light);
      color: var(--accent);
    }
    .menu-toggle-lines {
      width: 20px;
      height: 14px;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .menu-toggle-lines span {
      display: block;
      width: 100%;
      height: 2px;
      background: currentColor;
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
      transform-origin: center;
    }
    .menu-toggle.is-active .menu-toggle-lines span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle.is-active .menu-toggle-lines span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .menu-toggle.is-active .menu-toggle-lines span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* Mobile Dropdown / Drawer */
    .mobile-nav-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--backdrop-bg);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 98;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .mobile-nav-drawer {
      display: none;
      position: fixed;
      top: 67px;
      left: 0;
      right: 0;
      background: var(--drawer-bg);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border-light);
      padding: 20px 24px 28px;
      box-shadow: var(--card-shadow-hover);
      z-index: 99;
      transform: translateY(-12px);
      opacity: 0;
      visibility: hidden;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    }
    .mobile-nav-drawer.is-open {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    .mobile-nav-links {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 20px;
    }
    .mobile-nav-links a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      color: var(--fg);
      font-size: 15px;
      font-weight: 500;
      background: transparent;
      transition: all 0.2s ease;
    }
    .mobile-nav-links a:hover,
    .mobile-nav-links a:active {
      background: var(--surface-raised);
      color: var(--accent);
      padding-inline-start: 18px;
    }
    .mobile-nav-links a svg {
      color: var(--muted);
      transition: transform 0.2s ease, color 0.2s ease;
    }
    .mobile-nav-links a:hover svg {
      color: var(--accent);
      transform: translateX(-4px);
    }
    .mobile-nav-footer {
      padding-top: 16px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    @media (max-width: 860px) {
      .topnav nav.nav-desktop { display: none; }
      .menu-toggle { display: flex; }
      .mobile-nav-backdrop { display: block; pointer-events: none; }
      .mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
      .mobile-nav-drawer { display: block; }
    }

    @media (max-width: 480px) {
      .logo-badge { display: none; }
      .topnav-cta .btn {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
      }
      .topnav-cta .btn span.btn-cta-full { display: none; }
      .topnav-cta .btn span.btn-cta-short { display: inline; }
    }
    @media (min-width: 481px) {
      .topnav-cta .btn span.btn-cta-short { display: none; }
    }

    /* ─── Footer Styles (Responsive & Safe Area) ───────────────────────── */
    .pagefoot {
      padding-top: clamp(48px, 6vw, 72px);
      padding-bottom: clamp(96px, 12vw, 128px); /* Safe padding for floating mini-player */
      background: var(--foot-bg);
      border-top: 1px solid var(--border);
      color: var(--muted);
      position: relative;
    }
    .pagefoot-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: var(--gap-xl);
      margin-bottom: 48px;
    }
    .pagefoot-col {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .pagefoot-col-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--fg);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .pagefoot-col-title::after {
      content: '';
      display: block;
      width: 16px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }
    .pagefoot-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .pagefoot-links a {
      font-size: 13.5px;
      color: var(--muted);
      transition: color 0.2s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .pagefoot-links a:hover {
      color: var(--accent);
      transform: translateX(-3px);
    }
    .pagefoot-badge-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 4px;
    }
    .pagefoot-trust-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 12.5px;
      color: var(--fg);
    }
    .pagefoot-trust-badge svg {
      color: var(--accent);
      flex-shrink: 0;
    }
    .pagefoot-bottom {
      padding-top: 24px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-size: 13px;
      flex-wrap: wrap;
    }
    .pagefoot-bottom-links {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .pagefoot-bottom-links a {
      color: var(--muted);
      transition: color 0.2s ease;
    }
    .pagefoot-bottom-links a:hover {
      color: var(--fg);
    }

    @media (max-width: 960px) {
      .pagefoot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
      }
    }

    @media (max-width: 600px) {
      .pagefoot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
      }
      .pagefoot-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }
      .pagefoot-bottom-links {
        gap: 16px;
      }
    }

    /* ─── Buttons & Interactive Controls ────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 22px;
      border-radius: var(--radius);
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
      user-select: none;
    }
    .btn:active { transform: scale(0.97); }
    .btn-primary {
      background: var(--accent);
      color: #051b18;
      border-color: var(--accent);
      box-shadow: 0 4px 20px var(--accent-glow);
    }
    .btn-primary:hover {
      background: #39e6d0;
      box-shadow: 0 6px 24px rgba(45, 212, 191, 0.4);
      transform: translateY(-2px);
    }
    .btn-secondary {
      background: var(--surface);
      color: var(--fg);
      border-color: var(--border);
    }
    .btn-secondary:hover {
      background: var(--surface-raised);
      border-color: var(--border-light);
      color: var(--accent);
    }
    .btn-bazaar {
      background: #008453;
      color: #ffffff;
      border-color: #00a266;
      box-shadow: 0 4px 16px rgba(0, 132, 83, 0.3);
    }
    .btn-bazaar:hover {
      background: #009960;
      transform: translateY(-2px);
    }
    .btn-ghost {
      background: transparent;
      color: var(--muted);
      padding: 8px 14px;
    }
    .btn-ghost:hover {
      color: var(--fg);
      background: var(--fg-soft);
    }

    /* ─── Cards & Surfaces ──────────────────────────────────── */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    .card:hover {
      border-color: var(--border-light);
      box-shadow: var(--card-shadow-hover);
    }
    .card-accent-hover:hover {
      border-color: rgba(45, 212, 191, 0.4);
      transform: translateY(-4px);
    }
    [data-theme="light"] .card-accent-hover:hover {
      border-color: rgba(13, 148, 136, 0.4);
    }

    /* ─── Light Mode Component Adaptations ─────────────────────────── */
    [data-theme="light"] .btn-primary {
      background: #0d9488;
      color: #ffffff;
      border-color: #0d9488;
      box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
    }
    [data-theme="light"] .btn-primary:hover {
      background: #0f766e;
      border-color: #0f766e;
      box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
    }
    [data-theme="light"] .turntable-card {
      background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    [data-theme="light"] .vinyl-platter {
      background: radial-gradient(circle, #f1f5f9 0%, #e2e8f0 100%);
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    }
    [data-theme="light"] .tonearm-base {
      background: #e2e8f0;
      border-color: #cbd5e1;
      box-shadow: 0 3px 8px rgba(15, 23, 42, 0.15);
    }
    [data-theme="light"] .tonearm {
      background: linear-gradient(to bottom, #64748b, #475569);
    }
    [data-theme="light"] .mixer-board {
      box-shadow: var(--card-shadow);
    }
    [data-theme="light"] .sound-slider {
      background: #e2e8f0;
    }
    [data-theme="light"] .sound-slider::-webkit-slider-thumb {
      background: #ffffff;
      border-color: var(--accent);
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    }
    [data-theme="light"] .breathing-box {
      background: radial-gradient(circle at center, #f0fdfa 0%, #f8fafc 100%);
      box-shadow: var(--card-shadow);
    }
    [data-theme="light"] .breath-orb {
      color: #ffffff;
    }
    [data-theme="light"] .pricing-card.featured {
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border-color: var(--gold);
      box-shadow: 0 16px 40px var(--gold-glow);
    }
    [data-theme="light"] .miniplayer-float {
      background: var(--player-bg);
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.25);
    }
    [data-theme="light"] .miniplayer-art {
      background: #f1f5f9;
    }
    [data-theme="light"] .switch-btn {
      background: #e2e8f0;
    }
    [data-theme="light"] .switch-btn.active {
      background: var(--accent);
    }

    /* ─── Vinyl Turntable Interactive Experience ────────────────────── */
    .turntable-card {
      background: linear-gradient(145deg, #101724 0%, #0c121d 100%);
      border: 1px solid var(--border);
      border-radius: 28px;
      padding: 32px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      position: relative;
    }
    .turntable-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
    .vinyl-stage {
      position: relative;
      width: 280px;
      height: 280px;
      display: grid;
      place-items: center;
      margin-bottom: 24px;
    }
    .vinyl-platter {
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      background: radial-gradient(circle, #1a2332 0%, #0f1622 100%);
      border: 2px solid var(--border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
    .vinyl-record {
      width: 250px;
      height: 250px;
      border-radius: 50%;
      background: repeating-radial-gradient(
        circle,
        #11141a 0,
        #11141a 2px,
        #181c24 3px,
        #181c24 4px
      );
      position: relative;
      display: grid;
      place-items: center;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 12px rgba(0, 0, 0, 0.9);
      transition: transform 0.5s ease;
    }
    .vinyl-record.playing {
      animation: spinVinyl 6s linear infinite;
    }
    .vinyl-groove-glare {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: conic-gradient(
        from 45deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.04) 40deg,
        transparent 80deg,
        transparent 180deg,
        rgba(255, 255, 255, 0.04) 220deg,
        transparent 260deg
      );
      pointer-events: none;
    }
    .vinyl-center {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1e3a5f, #0d1e33);
      border: 3px solid rgba(45, 212, 191, 0.5);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 10px;
      text-align: center;
      box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
      z-index: 2;
    }
    .vinyl-spindle {
      width: 12px;
      height: 12px;
      background: #cfd8dc;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
      margin-top: 2px;
    }
    /* Tonearm */
    .tonearm-base {
      position: absolute;
      top: 10px;
      left: 15px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #2a3444;
      border: 2px solid #475569;
      box-shadow: 0 4px 10px rgba(0,0,0,0.5);
      z-index: 5;
    }
    .tonearm {
      position: absolute;
      top: 25px;
      left: 30px;
      width: 120px;
      height: 6px;
      background: linear-gradient(to bottom, #94a3b8, #64748b);
      border-radius: 3px;
      transform-origin: 0% 50%;
      transform: rotate(-35deg);
      transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
      z-index: 4;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
    .tonearm::after {
      content: '';
      position: absolute;
      right: -8px;
      top: -4px;
      width: 18px;
      height: 14px;
      background: #38bdf8;
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    }
    .tonearm.playing {
      transform: rotate(18deg);
    }

    /* Waveform visualizer */
    .waveform-visualizer {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      height: 28px;
      margin-block: 10px;
    }
    .wave-bar {
      width: 3px;
      background: var(--accent);
      border-radius: 2px;
      height: 6px;
      transition: height 0.2s ease;
      opacity: 0.7;
    }
    .playing .wave-bar {
      animation: soundWave 1.2s ease-in-out infinite alternate;
    }
    .wave-bar:nth-child(2) { animation-delay: 0.15s; }
    .wave-bar:nth-child(3) { animation-delay: 0.3s; }
    .wave-bar:nth-child(4) { animation-delay: 0.45s; }
    .wave-bar:nth-child(5) { animation-delay: 0.2s; }
    .wave-bar:nth-child(6) { animation-delay: 0.5s; }
    .wave-bar:nth-child(7) { animation-delay: 0.35s; }
    .wave-bar:nth-child(8) { animation-delay: 0.1s; }

    /* ─── Interactive Multi-Layer Mixer ─────────────────────────────── */
    .mixer-board {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    .mixer-track-card {
      background: var(--surface-raised);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: all 0.25s ease;
    }
    .mixer-track-card.active {
      border-color: rgba(45, 212, 191, 0.5);
      box-shadow: 0 4px 16px rgba(45, 212, 191, 0.1);
    }
    .track-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      color: var(--muted);
      transition: all 0.2s ease;
    }
    .mixer-track-card.active .track-icon {
      color: var(--accent);
      background: var(--accent-soft);
      border-color: rgba(45, 212, 191, 0.3);
    }
    .sound-slider {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 3px;
      background: #243144;
      outline: none;
      transition: background 0.2s ease;
    }
    .sound-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--fg);
      cursor: pointer;
      border: 2px solid var(--accent);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      transition: transform 0.15s ease;
    }
    .sound-slider::-webkit-slider-thumb:hover {
      transform: scale(1.2);
    }

    /* ─── Breathing 4-7-8 Orb Interactive ───────────────────────────── */
    .breathing-box {
      background: radial-gradient(circle at center, #152238 0%, #0d1420 100%);
      border: 1px solid var(--border);
      border-radius: 32px;
      padding: clamp(32px, 5vw, 64px) 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .breath-orb-wrap {
      width: 240px;
      height: 240px;
      margin: 32px auto;
      position: relative;
      display: grid;
      place-items: center;
    }
    .breath-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px dashed rgba(45, 212, 191, 0.3);
      animation: spinSlow 30s linear infinite;
    }
    .breath-orb {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: radial-gradient(circle, #2dd4bf 0%, #0d9488 60%, rgba(13, 148, 136, 0.2) 100%);
      box-shadow: 0 0 50px rgba(45, 212, 191, 0.5);
      display: grid;
      place-items: center;
      color: #03201c;
      font-weight: 800;
      font-size: 16px;
      transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1s ease;
      cursor: pointer;
      user-select: none;
    }
    .breath-orb.inhale {
      transform: scale(1.85);
      box-shadow: 0 0 80px rgba(45, 212, 191, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.6);
      transition-duration: 4s;
    }
    .breath-orb.hold {
      transform: scale(1.85);
      box-shadow: 0 0 90px rgba(245, 158, 11, 0.6);
      background: radial-gradient(circle, #fbbf24 0%, #d97706 60%, rgba(217, 119, 6, 0.2) 100%);
      transition-duration: 0.5s;
    }
    .breath-orb.exhale {
      transform: scale(1);
      box-shadow: 0 0 30px rgba(45, 212, 191, 0.3);
      transition-duration: 8s;
    }

    /* ─── Pricing Cards ─────────────────────────────────────────────── */
    .pricing-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.3s ease;
    }
    .pricing-card.featured {
      background: linear-gradient(180deg, #162438 0%, #111a28 100%);
      border-color: rgba(45, 212, 191, 0.6);
      box-shadow: 0 16px 40px rgba(45, 212, 191, 0.15);
      transform: scale(1.03);
    }
    @media (max-width: 960px) {
      .pricing-card.featured { transform: none; }
    }
    .featured-badge {
      position: absolute;
      top: -12px;
      right: 28px;
      background: var(--accent);
      color: #03221e;
      font-size: 12px;
      font-weight: 800;
      padding: 4px 14px;
      border-radius: var(--radius-full);
      box-shadow: 0 4px 12px var(--accent-glow);
    }

    /* ─── Persistent Floating MiniPlayer Demo ────────────────────────── */
    .miniplayer-float {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      width: min(92%, 520px);
      background: rgba(18, 26, 38, 0.94);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-full);
      padding: 10px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(45, 212, 191, 0.2);
      z-index: 99;
      transition: all 0.3s ease;
    }
    .miniplayer-art {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #1e2c40;
      border: 2px solid var(--accent);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      animation: spinVinyl 8s linear infinite;
    }

    /* ─── Keyframe Animations ───────────────────────────────────────── */
    @keyframes spinVinyl {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @keyframes spinSlow {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @keyframes soundWave {
      0% { height: 4px; }
      100% { height: 26px; }
    }
    @keyframes pulseDot {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.5); opacity: 0.6; }
    }
    @keyframes floatOrb {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-8px); }
    }

    /* ─── Feature Icons & Marks ─────────────────────────────────────── */
    .feature-icon-box {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--surface-raised);
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      color: var(--accent);
      margin-bottom: 20px;
    }

    /* Switch toggle */
    .switch-btn {
      width: 44px;
      height: 24px;
      background: #222e40;
      border-radius: 12px;
      position: relative;
      cursor: pointer;
      transition: background 0.2s ease;
    }
    .switch-btn.active {
      background: var(--accent);
    }
    .switch-btn::after {
      content: '';
      position: absolute;
      top: 3px;
      right: 3px;
      width: 18px;
      height: 18px;
      background: #fff;
      border-radius: 50%;
      transition: transform 0.2s ease;
    }
    .switch-btn.active::after {
      transform: translateX(-20px);
    }
