/* ==========================================================================
   VIRTUSO Pro — Awwwards-Level 3D Full-Site Scrollytelling Suite
   Color Palette:
     --bg-primary: #050810 (Midnight Void)
     --bg-secondary: #0B1120 / #0F172A (Studio Canvas)
     --surface-panel: rgba(15, 23, 42, 0.55)
     --accent-primary: #0050FF
     --accent-cyan: #00D6FF
     --accent-sky: #38BDF8
     --accent-gold: #F5C542
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #050810;
  --bg-secondary: #0b1120;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(20, 30, 55, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-active: rgba(0, 214, 255, 0.45);
  --border-gradient: linear-gradient(135deg, rgba(0, 214, 255, 0.4), rgba(0, 80, 255, 0.1), rgba(245, 197, 66, 0.2));
  
  --text-white: #ffffff;
  --text-heading: rgba(255, 255, 255, 0.95);
  --text-body: rgba(255, 255, 255, 0.68);
  --text-muted: rgba(255, 255, 255, 0.42);

  --accent-blue: #0050ff;
  --accent-cyan: #00d6ff;
  --accent-sky: #38bdf8;
  --accent-gold: #f5c542;
  --accent-purple: #7c3aed;

  --state-success: #4ade80;
  --state-warning: #fbbf24;
  --state-error: #f87171;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: rgba(0, 214, 255, 0.3);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Scrollbar & Ambient Backdrop
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 214, 255, 0.5);
}

/* ==========================================================================
   GLOBAL FIXED 3D BACKGROUND CANVAS (Follows Entire Site Scroll)
   ========================================================================== */
.fixed-piano-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.bg-video-stream {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
  filter: contrast(1.08) brightness(0.96);
}

.hero-canvas-engine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.ambient-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 95%);
}

/* --------------------------------------------------------------------------
   Apple-Style Glassmorphism Navbar
   -------------------------------------------------------------------------- */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
  transition: background-color 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo), backdrop-filter 0.4s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-glyph {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-pro-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  letter-spacing: 0.05em;
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 214, 255, 0.8);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-body);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.audio-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border-color: var(--accent-cyan);
}
.audio-toggle-btn.active {
  background: rgba(0, 214, 255, 0.16);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 214, 255, 0.3);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(0, 80, 255, 0.85), rgba(0, 214, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0, 80, 255, 0.4);
  transition: all 0.3s var(--ease-out-expo);
}
.btn-nav-cta:hover {
  box-shadow: 0 4px 24px rgba(0, 214, 255, 0.6);
  transform: translateY(-1px);
}

.scroll-progress-bar {
  position: fixed;
  top: 56px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-gold));
  z-index: 999;
  box-shadow: 0 0 10px rgba(0, 214, 255, 0.8);
  transition: width 0.05s linear;
}

/* ==========================================================================
   PAGE SECTIONS & FLOATING GLASS OVERLAYS
   ========================================================================== */
.site-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Scrollytelling Narrative Story Track */
.story-scroll-track {
  position: relative;
  width: 100%;
}

.story-stage-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
}

.story-glass-card {
  max-width: 780px;
  width: 100%;
  background: rgba(11, 17, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 42px 48px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 214, 255, 0.05);
  transition: all 0.4s var(--ease-out-expo);
}

.story-glass-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 214, 255, 0.12);
}

.story-stage-section.left-pos {
  justify-content: flex-start;
  padding-left: 8%;
}

.story-stage-section.right-pos {
  justify-content: flex-end;
  padding-right: 8%;
}

.story-stage-section.center-pos {
  justify-content: center;
}

/* Story Typography */
.beat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 214, 255, 0.08);
  border: 1px solid rgba(0, 214, 255, 0.25);
}

.beat-eyebrow .gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.beat-headline {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  background: linear-gradient(180deg, #ffffff 40%, rgba(0, 214, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.beat-subheadline {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 14px;
}

.beat-body {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.beat-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.beat-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.beat-feature-item .mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 214, 255, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 214, 255, 0.25);
  white-space: nowrap;
  font-weight: 600;
}

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

.btn-primary-hero {
  padding: 13px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  box-shadow: 0 4px 28px rgba(0, 214, 255, 0.4);
  transition: all 0.3s var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(0, 214, 255, 0.6);
}

.btn-secondary-link {
  font-size: 14.5px;
  color: var(--text-heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  padding: 10px 16px;
}
.btn-secondary-link:hover {
  color: var(--accent-cyan);
}

.store-row-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.store-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}
.store-badge-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}
.store-badge-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Floating Corner Telemetry HUD */
.hud-telemetry-fixed {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  background: rgba(5, 8, 16, 0.6);
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hud-val {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   SPEC STRIP (Monoline Translucent Glass)
   -------------------------------------------------------------------------- */
.spec-strip-section {
  position: relative;
  padding: 60px 24px;
  background: rgba(11, 17, 32, 0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-strip-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  text-align: center;
}

.spec-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.spec-node:last-child {
  border-right: none;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.spec-val .spec-unit {
  font-size: 14px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.spec-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   INTERACTIVE SHOWCASE & 12-FEATURE BENTO GRID (Glass Panels)
   -------------------------------------------------------------------------- */
.showcase-section {
  position: relative;
  padding: 120px 24px;
}

.section-header-block {
  max-width: 800px;
  margin: 0 auto 70px;
  text-align: center;
  background: rgba(11, 17, 32, 0.6);
  padding: 30px 40px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
}

.feature-bento-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.35s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 214, 255, 0.1);
}

.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 214, 255, 0.08);
  border: 1px solid rgba(0, 214, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card.gold-accent .bento-icon-box {
  background: rgba(245, 197, 66, 0.08);
  border-color: rgba(245, 197, 66, 0.25);
  color: var(--accent-gold);
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-interactive-demo {
  background: rgba(5, 8, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  margin-top: 10px;
}

.demo-controls-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.demo-btn-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s;
}
.demo-btn-pill:hover, .demo-btn-pill.active {
  background: rgba(0, 214, 255, 0.18);
  border-color: var(--accent-cyan);
  color: #fff;
}

.demo-canvas-display {
  width: 100%;
  background: #060a14;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   ECOSYSTEM & TRUST SECTIONS (Glass Surfaces)
   -------------------------------------------------------------------------- */
.ecosystem-section {
  position: relative;
  padding: 100px 24px;
  background: rgba(11, 17, 32, 0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ecosystem-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ecosystem-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.platform-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s;
}
.platform-box:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  background: rgba(20, 30, 55, 0.9);
}

.platform-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.platform-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.platform-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--state-success);
}

.trust-section {
  position: relative;
  padding: 100px 24px;
}

.trust-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  background: rgba(15, 23, 42, 0.55);
  border-left: 2px solid var(--accent-cyan);
  padding: 22px 20px;
  border-radius: 0 14px 14px 0;
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   FOOTER & MODALS
   -------------------------------------------------------------------------- */
.footer-minimal {
  position: relative;
  padding: 60px 24px 40px;
  background: rgba(3, 5, 10, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links-row {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0e1526;
  border: 1px solid rgba(0, 214, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 214, 255, 0.2);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out-expo);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
.modal-close-btn:hover {
  color: #fff;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 24px;
}

.platform-download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.platform-dl-row:hover {
  background: rgba(0, 214, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

/* ==========================================================================
   LANGUAGE DROPDOWN SELECTOR (APPLE GLASSMORPHISM)
   ========================================================================== */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.lang-dropdown-btn:hover {
  background: rgba(0, 214, 255, 0.15);
  border-color: var(--accent-cyan);
}

.lang-dropdown-btn .dropdown-chevron {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(11, 17, 32, 0.94);
  border: 1px solid rgba(0, 214, 255, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 214, 255, 0.1);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  animation: fadeInDown 0.15s ease-out;
}

.lang-dropdown-menu.open {
  display: flex;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.lang-dropdown-item:hover {
  background: rgba(0, 214, 255, 0.14);
  color: #fff;
}

.lang-dropdown-item.active {
  background: rgba(0, 214, 255, 0.2);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   FEATURED VIDEO & MEDIA SHOWCASE SECTION
   ========================================================================== */
.media-showcase-section {
  position: relative;
  z-index: 10;
  padding: 100px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.video-player-container {
  position: relative;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid rgba(0, 214, 255, 0.3);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 80, 255, 0.15);
  backdrop-filter: blur(16px);
  margin-bottom: 36px;
  overflow: hidden;
}

.video-player-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 214, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.social-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 214, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 214, 255, 0.12);
}

.social-card.youtube-card:hover {
  border-color: rgba(255, 68, 68, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 68, 68, 0.15);
}

.social-card.instagram-card:hover {
  border-color: rgba(225, 48, 108, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(225, 48, 108, 0.15);
}

.social-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.social-icon-box.yt {
  background: rgba(255, 0, 0, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-icon-box.ig {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(131, 58, 180, 0.2));
  color: #f56040;
  border: 1px solid rgba(225, 48, 108, 0.35);
}

.social-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.social-card-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
}

.btn-social-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  align-self: flex-start;
}

.btn-social-cta.yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

.btn-social-cta.ig:hover {
  background: linear-gradient(135deg, #e1306c, #833ab4);
  border-color: #e1306c;
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.4);
}

/* ==========================================================================
   INTERACTIVE LABS & MINI-GAMES STYLING
   ========================================================================== */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.quiz-option-btn:hover {
  background: rgba(0, 214, 255, 0.18);
  border-color: var(--accent-cyan);
}

.quiz-option-btn.correct {
  background: rgba(74, 222, 128, 0.25) !important;
  border-color: var(--state-success) !important;
  color: var(--state-success) !important;
}

.quiz-option-btn.wrong {
  background: rgba(248, 113, 113, 0.25) !important;
  border-color: var(--state-error) !important;
  color: var(--state-error) !important;
}

.arcade-hit-bar {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 214, 255, 0.3);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.arcade-hit-target {
  position: absolute;
  width: 50px;
  height: 100%;
  background: rgba(0, 214, 255, 0.2);
  border-left: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
}

.arcade-hit-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  border-radius: 3px;
}

/* RTL Support for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav-actions {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .story-stage-section.left-pos {
  justify-content: flex-end;
}

[dir="rtl"] .story-stage-section.right-pos {
  justify-content: flex-start;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS & MOBILE FIRST UX
   -------------------------------------------------------------------------- */

/* Mobile Hamburger Toggle Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  z-index: 110;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.mobile-menu-btn:hover, .mobile-menu-btn:active {
  background: rgba(0, 214, 255, 0.15);
  border-color: rgba(0, 214, 255, 0.4);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background: rgba(10, 15, 29, 0.95);
  border-left: 1px solid rgba(0, 214, 255, 0.2);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.mobile-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--state-error);
  color: var(--state-error);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 48px;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: rgba(0, 214, 255, 0.1);
  color: #fff;
  border-left: 3px solid var(--accent-cyan);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile Floating Quick Bar (Fixed Bottom) */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 400px);
  height: 56px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 214, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 214, 255, 0.15);
  z-index: 90;
  padding: 4px 8px;
  align-items: center;
  justify-content: space-between;
}

.mobile-float-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  gap: 2px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.mobile-float-link:hover, .mobile-float-link:active {
  color: #fff;
}

.float-icon {
  font-size: 16px;
  line-height: 1;
}

.mobile-float-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), #0088cc);
  color: #000 !important;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 214, 255, 0.4);
}

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
  .feature-bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-col-4, .bento-col-6, .bento-col-8 {
    grid-column: span 6;
  }
  .social-cards-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-platforms-grid, .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile Smartphone Breakpoint (768px and below) */
@media (max-width: 768px) {
  .section-header-block {
    padding: 18px 14px;
    margin: 0 auto 30px;
    border-radius: 16px;
  }
  .section-title {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 8px;
  }
  .section-desc {
    font-size: 13.5px;
    line-height: 1.5;
  }
  .section-eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .showcase-section {
    padding: 50px 14px;
  }
  .feature-bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-col-4, .bento-col-6, .bento-col-8, .bento-col-12 {
    grid-column: span 1;
  }
  .bento-card {
    padding: 16px 14px;
    border-radius: 18px;
    gap: 8px;
  }
  .bento-title {
    font-size: 15.5px;
    margin-bottom: 2px;
  }
  .bento-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
  }
  .btn-card-action {
    margin-top: 6px;
    padding: 6px 12px;
    font-size: 12px;
    min-height: 38px;
    border-radius: 10px;
  }
  .spec-strip-section {
    padding: 30px 12px;
  }
  .spec-strip-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .spec-val {
    font-size: 24px;
  }
  .spec-label {
    font-size: 10px;
  }
  .ecosystem-platforms-grid, .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story-stage-section {
    min-height: 70vh;
    padding: 16px 10px;
  }
  .story-stage-section.left-pos, .story-stage-section.right-pos {
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
  }
  .story-glass-card {
    padding: 20px 16px;
    border-radius: 18px;
    max-width: 100%;
  }
  .beat-headline {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.15;
  }
  .beat-subheadline {
    font-size: clamp(14px, 4vw, 17px);
  }
  .beat-body {
    font-size: 13px;
    line-height: 1.5;
  }
  .hud-telemetry-fixed {
    display: none;
  }
  .mobile-floating-bar {
    display: flex;
  }
  .btn-nav-cta {
    display: none;
  }
  .nav-container {
    padding: 0 14px;
    height: 58px;
  }
  .maqam-chips-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .maqam-card-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
  }
  .quiz-options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .quiz-option-btn {
    min-height: 42px;
    font-size: 12px;
    padding: 8px;
  }
  .poly-buttons-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .tuner-preset-btn {
    font-size: 11px;
    padding: 6px 8px;
  }
  .site-content-wrapper {
    padding-bottom: 74px; /* Space for mobile floating bar */
  }
}

/* Small Smartphone (480px and below) */
@media (max-width: 480px) {
  .beat-headline {
    font-size: 26px;
  }
  .section-title {
    font-size: 22px;
  }
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Landscape Phones (height <= 500px) */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-bar-glass {
    height: 46px;
  }
  .nav-container {
    height: 46px;
  }
  .showcase-section {
    padding: 30px 16px;
  }
  .mobile-floating-bar {
    display: none; /* Hide bottom floating bar in landscape to maximize vertical canvas */
  }
}

/* Bento Card Action Launch Buttons */
.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(0, 214, 255, 0.12);
  border: 1px solid rgba(0, 214, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 42px;
  transition: all 0.2s ease;
  touch-action: manipulation;
}
.btn-card-action:hover, .btn-card-action:active {
  background: rgba(0, 214, 255, 0.25);
  border-color: var(--accent-cyan);
  transform: translateX(3px);
  box-shadow: 0 0 15px rgba(0, 214, 255, 0.3);
}
.bento-card.gold-accent .btn-card-action {
  background: rgba(245, 197, 66, 0.12);
  border-color: rgba(245, 197, 66, 0.35);
  color: var(--accent-gold);
}
.bento-card.gold-accent .btn-card-action:hover, .bento-card.gold-accent .btn-card-action:active {
  background: rgba(245, 197, 66, 0.25);
  box-shadow: 0 0 15px rgba(245, 197, 66, 0.3);
}


