/* ==========================================================================
   Organum — Luxury macOS Landing Page Stylesheet
   Aesthetic: Deep Obsidian Velvet (#060609) & Warm Organ-Pipe Gold (#DEB863)
   Author: Alexey Egelskiy / UniversalSDK
   ========================================================================== */

:root {
  --bg-base: #060609;
  --bg-elevated: #0d0c10;
  --bg-card: rgba(19, 18, 16, 0.74);
  --bg-card-hover: rgba(29, 27, 22, 0.88);
  --bg-glass: rgba(15, 14, 13, 0.76);

  --border-subtle: rgba(222, 184, 99, 0.14);
  --border-highlight: rgba(222, 184, 99, 0.36);
  --border-glass: rgba(255, 255, 255, 0.08);

  --gold-primary: #deb863;
  --gold-bright: #f5d46b;
  --gold-ivory: #fff0c2;
  --gold-bronze: #946e24;
  --gold-glow: rgba(222, 184, 99, 0.34);
  --gold-subtle: rgba(222, 184, 99, 0.12);

  --emerald-accent: #34d399;
  --danger-red: #f87171;
  --danger-subtle: rgba(239, 68, 68, 0.12);

  --text-primary: #faf8f3;
  --text-secondary: #b9b2a2;
  --text-muted: #7f796b;
  --text-dim: #524d43;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "New York", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-glass: 0 12px 38px rgba(0, 0, 0, 0.56);
  --shadow-elevation: 0 24px 64px rgba(0, 0, 0, 0.78);
  --blur-glass: blur(24px);
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(222, 184, 99, 0.11), transparent 65%),
    radial-gradient(ellipse 60% 45% at 85% 30%, rgba(148, 110, 36, 0.08), transparent 60%),
    var(--bg-base);
}

/* Ambient Harmonic Backdrop */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(150px);
  opacity: 0.24;
  will-change: transform;
}

.ambient-gold {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
  top: -180px;
  right: -120px;
  animation: floatGold 18s ease-in-out infinite alternate;
}

.ambient-bronze {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--gold-bronze) 0%, transparent 70%);
  top: 22%;
  left: -200px;
  animation: floatBronze 22s ease-in-out infinite alternate;
}

@keyframes floatGold {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-110px, 70px) scale(1.1); }
}

@keyframes floatBronze {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, -60px) scale(1.08); }
}

.mesh-grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(222, 184, 99, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 184, 99, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

/* Layout & Typography */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: 86px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-bright); }
.text-danger { color: var(--danger-red); }
.text-emerald { color: var(--emerald-accent); }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.glass-btn:hover {
  background: rgba(222, 184, 99, 0.12);
  border-color: var(--border-highlight);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  background: var(--gold-subtle);
  border: 1px solid rgba(222, 184, 99, 0.34);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, #fff4d1 0%, #deb863 48%, #c98f2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   STICKY NAVIGATION & 20-LANGUAGE SWITCHER
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
  pointer-events: none;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
  background: rgba(12, 11, 12, 0.82);
  border-color: rgba(222, 184, 99, 0.22);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-logo-badge {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(222, 184, 99, 0.35);
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff2ca, #deb863);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-version {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: var(--gold-subtle);
  border: 1px solid rgba(222, 184, 99, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold-bright);
}

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

.lang-selector-wrapper {
  position: relative;
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 370px;
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  border-radius: var(--radius-md);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: rgba(14, 13, 14, 0.96);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-elevation);
  z-index: 200;
}

.lang-menu.open {
  display: grid;
}

.lang-option {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.18s ease;
}

.lang-option:hover {
  background: rgba(222, 184, 99, 0.11);
  color: var(--text-primary);
}

.lang-option.active {
  background: rgba(222, 184, 99, 0.18);
  border-color: rgba(222, 184, 99, 0.45);
  color: var(--gold-bright);
  font-weight: 700;
}

.lang-code-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0.72;
  text-transform: uppercase;
}

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f5d46b 0%, #deb863 55%, #b88529 100%);
  color: #141008;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(222, 184, 99, 0.28);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(222, 184, 99, 0.44);
}

.btn-primary-nav svg {
  width: 15px;
  height: 15px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  top: 78px;
  left: 20px;
  right: 20px;
  padding: 18px;
  display: none;
  z-index: 95;
  background: rgba(14, 13, 14, 0.96);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-link:hover {
  background: var(--gold-subtle);
}

.btn-mobile-dl {
  background: linear-gradient(135deg, #f5d46b, #c59132);
  color: #141008;
  text-align: center;
  font-weight: 700;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 114px;
  padding-bottom: 72px;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-wrapper {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(222, 184, 99, 0.09);
  border: 1px solid rgba(222, 184, 99, 0.34);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-ivory);
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
  animation: pulseDot 2.2s ease-in-out infinite;
}

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

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.55rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.07;
  max-width: 960px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn-hero-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f7db7f 0%, #deb863 50%, #b37e22 100%);
  color: #140f07;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(222, 184, 99, 0.32);
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(222, 184, 99, 0.48);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4.8s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 75% { left: -100%; }
  100% { left: 160%; }
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(20, 19, 17, 0.85);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  background: rgba(31, 29, 23, 0.94);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  color: var(--gold-ivory);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 0.96rem;
  transition: var(--transition-smooth);
}

.btn-hero-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  background: rgba(222, 184, 99, 0.08);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-sub-title {
  font-size: 0.77rem;
  opacity: 0.82;
  margin-top: 2px;
}

/* Homebrew Copy Bar */
.hero-brew-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(14, 13, 12, 0.88);
  border: 1px solid rgba(222, 184, 99, 0.25);
  margin-bottom: 34px;
  max-width: 100%;
}

.brew-label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  justify-content: center;
}

.terminal-prompt {
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-weight: 700;
}

.brew-label {
  color: var(--text-muted);
}

.brew-code {
  font-family: var(--font-mono);
  color: var(--gold-ivory);
  font-weight: 600;
  background: rgba(222, 184, 99, 0.09);
  border: 1px solid rgba(222, 184, 99, 0.16);
  padding: 4px 10px;
  border-radius: 8px;
  direction: ltr;
  unicode-bidi: isolate;
}

.btn-copy-brew {
  background: rgba(222, 184, 99, 0.13);
  border: 1px solid rgba(222, 184, 99, 0.34);
  color: var(--gold-ivory);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-copy-brew:hover {
  background: rgba(222, 184, 99, 0.24);
  color: #ffffff;
}

.copy-icon {
  width: 13px;
  height: 13px;
}

/* Hero Crest 3D Parallax Showcase */
.hero-visual-wrapper {
  position: relative;
  margin-bottom: 42px;
  perspective: 1100px;
}

.harmonic-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(222, 184, 99, 0.16);
  box-shadow: 0 0 0 24px rgba(222, 184, 99, 0.03), inset 0 0 36px rgba(222, 184, 99, 0.06);
  pointer-events: none;
  animation: pulseRings 6s ease-in-out infinite;
}

@keyframes pulseRings {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.045); opacity: 1; }
}

.hero-icon-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 44px;
  background: radial-gradient(circle at 50% 0%, rgba(44, 37, 22, 0.62), rgba(8, 8, 11, 0.94));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.86);
  border: 1px solid rgba(222, 184, 99, 0.28);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rim-glow-gold {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-bright) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.36;
  pointer-events: none;
}

.rim-glow-bronze {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-bronze) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.42;
  pointer-events: none;
}

.hero-app-icon {
  width: 156px;
  height: 156px;
  border-radius: 34px;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.72));
}

.icon-meta-badges {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.52);
}

.meta-pill-gold {
  background: rgba(222, 184, 99, 0.2);
  border: 1px solid rgba(222, 184, 99, 0.46);
  color: var(--gold-ivory);
}

.meta-pill-dark {
  background: rgba(16, 16, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--gold-bright);
}

/* ==========================================================================
   INTERACTIVE PLAYER & TRAY SHOWCASE
   ========================================================================== */
.showcase-shell {
  overflow: hidden;
  border-color: rgba(222, 184, 99, 0.26);
  background: rgba(12, 11, 13, 0.9);
}

.mac-menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  background: rgba(22, 20, 18, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  user-select: none;
}

.mac-menubar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mac-apple-logo {
  font-size: 1rem;
  color: var(--text-primary);
}

.mac-app-name {
  font-weight: 700;
  color: var(--gold-bright);
}

.mac-menu-item-text {
  color: var(--text-secondary);
}

.mac-menubar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mac-status-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(222, 184, 99, 0.16);
  border: 1px solid rgba(222, 184, 99, 0.34);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mac-status-item-trigger:hover {
  background: rgba(222, 184, 99, 0.28);
}

.tray-pipe-icon {
  width: 15px;
  height: 15px;
  filter: invert(84%) sepia(32%) saturate(680%) hue-rotate(4deg) brightness(96%);
}

.tray-now-playing {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-ivory);
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mac-sys-icon {
  color: var(--text-secondary);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mac-sys-time {
  color: var(--text-primary);
  font-weight: 500;
}

/* Mode tabs inside showcase */
.showcase-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 15, 16, 0.72);
}

.mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mode-tab-btn.active {
  background: rgba(222, 184, 99, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

.quality-pill-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quality-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quality-btn {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quality-btn.active {
  background: linear-gradient(135deg, rgba(245, 212, 107, 0.22), rgba(184, 133, 41, 0.22));
  border-color: var(--gold-primary);
  color: var(--gold-ivory);
}

/* Desktop Stage */
.mac-desktop-stage {
  position: relative;
  min-height: 455px;
  padding: 36px 26px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 35% 40%, rgba(222, 184, 99, 0.14), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(148, 110, 36, 0.1), transparent 50%),
    #08080b;
}

.player-stage-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Organum Floating Dynamic Island Player */
.organum-pill {
  width: 100%;
  max-width: 440px;
  border-radius: 26px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  direction: ltr;
  text-align: left;
}

.organum-pill.theme-adaptive {
  background: linear-gradient(155deg, rgba(44, 34, 18, 0.94), rgba(14, 13, 12, 0.96));
  border: 1px solid rgba(222, 184, 99, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.78), 0 0 40px rgba(222, 184, 99, 0.14);
}

.organum-pill.theme-oled {
  background: #020203;
  border: 1px solid rgba(222, 184, 99, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.organum-pill.theme-frosted {
  background: rgba(240, 238, 232, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #151412;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.organum-pill.theme-frosted .pill-track-title { color: #111111; }
.organum-pill.theme-frosted .pill-track-artist,
.organum-pill.theme-frosted .pill-time { color: #52504a; }
.organum-pill.theme-frosted .ctrl-btn { color: #1e1c18; }

.organum-pill.theme-liquid {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(222, 184, 99, 0.08));
  backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Hero 3D Lyrics Stage inside Pill */
.hero-lyrics-stage {
  display: none;
  margin-bottom: 16px;
  padding: 20px 16px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(222, 184, 99, 0.26), rgba(14, 12, 10, 0.92));
  border: 1px solid rgba(222, 184, 99, 0.24);
  perspective: 600px;
  text-align: center;
}

.hero-lyrics-stage.visible {
  display: block;
}

.lyric-line {
  font-size: 0.92rem;
  color: rgba(255, 240, 194, 0.42);
  margin: 7px 0;
  transition: all 0.35s ease;
  transform: rotateX(12deg) scale(0.95);
}

.lyric-line.active {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff6db;
  text-shadow: 0 2px 14px rgba(222, 184, 99, 0.55);
  transform: rotateX(0deg) scale(1.03);
}

/* 4K Video Stage inside Showcase */
.video-stage {
  display: none;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(222, 184, 99, 0.34);
  background: linear-gradient(135deg, #1a150c, #09090d);
  position: relative;
}

.video-stage.visible {
  display: block;
}

.video-canvas {
  height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background:
    radial-gradient(circle at 60% 30%, rgba(222, 184, 99, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(16, 15, 13, 0.5), rgba(6, 6, 8, 0.95));
}

.video-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.badge-4k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(222, 184, 99, 0.22);
  border: 1px solid rgba(222, 184, 99, 0.45);
  color: var(--gold-bright);
}

.badge-sponsor {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #6ee7b7;
}

.video-center-title {
  text-align: center;
}

.video-center-title strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-ivory);
}

.video-center-title span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.sponsor-timeline-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.sponsor-progress-fill {
  height: 100%;
  width: 48%;
  background: linear-gradient(90deg, #deb863, #f5d46b);
}

.sponsor-skipped-segment {
  position: absolute;
  top: 0;
  left: 24%;
  width: 12%;
  height: 100%;
  background: #34d399;
}

/* Pill Top Row */
.pill-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.pill-artwork {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2b2313, #12100d);
  border: 1px solid rgba(222, 184, 99, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pill-artwork img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.pill-track-meta {
  flex: 1;
  min-width: 0;
}

.pill-track-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-track-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pill-hq-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(222, 184, 99, 0.18);
  border: 1px solid rgba(222, 184, 99, 0.45);
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Controls Row */
.pill-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  font-size: 1rem;
}

.ctrl-btn:hover {
  background: rgba(222, 184, 99, 0.16);
  color: var(--gold-bright);
}

.ctrl-btn-play {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f5d46b, #c59132);
  color: #140f07;
  box-shadow: 0 6px 18px rgba(222, 184, 99, 0.34);
}

.ctrl-btn-play:hover {
  background: linear-gradient(135deg, #fff0c2, #deb863);
  color: #140f07;
  transform: scale(1.06);
}

.ctrl-btn.liked {
  color: #f43f5e;
}

.ctrl-btn.active-repeat {
  color: var(--gold-bright);
}

/* Progress Styles Container */
.pill-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-visual {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.waveform-bars {
  width: 100%;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave-bar {
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: height 0.2s ease, background 0.2s ease;
}

.wave-bar.played {
  background: linear-gradient(180deg, #fff0c2, #deb863);
}

.neon-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.neon-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b88529, #f5d46b);
  box-shadow: 0 0 14px rgba(222, 184, 99, 0.8);
  position: relative;
}

.neon-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff6db;
  box-shadow: 0 0 12px #f5d46b;
}

.dots-matrix {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.led-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.led-dot.played {
  background: #f5d46b;
  box-shadow: 0 0 8px rgba(245, 212, 107, 0.7);
}

.minimal-line-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.minimal-line-fill {
  height: 100%;
  background: var(--gold-bright);
}

.pill-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.seek-feedback-toast {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(222, 184, 99, 0.24);
  border: 1px solid var(--gold-bright);
  color: var(--gold-ivory);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.seek-feedback-toast.show {
  opacity: 1;
}

/* Right Stage: Trackpad 1mm Edge + Menu Tray Popover */
.player-stage-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tray-popover-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(18, 17, 16, 0.94);
  border: 1px solid rgba(222, 184, 99, 0.26);
  font-size: 0.82rem;
  transition: var(--transition-smooth);
}

.tray-popover-card.highlighted {
  border-color: var(--gold-bright);
  box-shadow: 0 0 28px rgba(222, 184, 99, 0.2);
}

.tray-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  color: var(--text-secondary);
}

.tray-row strong {
  color: var(--gold-ivory);
}

.tray-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

/* 1mm Trackpad Edge Slider Card */
.trackpad-sim-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 15, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trackpad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.trackpad-vol-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-bright);
}

.trackpad-surface {
  height: 98px;
  border-radius: 12px;
  background: linear-gradient(135deg, #171618, #0e0d10);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.trackpad-hint-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  pointer-events: none;
}

.trackpad-edge-zone {
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 4px;
  width: 24px;
  border-radius: 8px;
  background: rgba(222, 184, 99, 0.14);
  border: 1px solid rgba(222, 184, 99, 0.45);
  cursor: ns-resize;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 3px;
}

.trackpad-edge-fill {
  width: 100%;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff0c2, #deb863);
  transition: height 0.08s linear;
}

.ctrl-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.ctrl-btn-play svg {
  width: 18px;
  height: 18px;
}

/* Showcase Bottom Controls */
.mockup-controls-footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(14, 13, 14, 0.92);
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  gap: 16px;
  align-items: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choice-pill {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.choice-pill.active {
  background: rgba(222, 184, 99, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

.hotkey-pad {
  display: flex;
  gap: 8px;
  direction: ltr;
}

.keycap-btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 9px;
  background: linear-gradient(180deg, #24221e, #151412);
  border: 1px solid rgba(222, 184, 99, 0.34);
  box-shadow: 0 3px 0 #090807;
  color: var(--gold-ivory);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.1s ease;
}

.keycap-btn svg {
  width: 13px;
  height: 13px;
  color: var(--gold-bright);
}

.keycap-btn:active,
.keycap-btn.pressed {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #090807;
  border-color: var(--gold-bright);
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.compare-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.compare-card-legacy {
  border-color: rgba(248, 113, 113, 0.25);
}

.compare-card-organum {
  border-color: rgba(222, 184, 99, 0.42);
  box-shadow: 0 16px 46px rgba(222, 184, 99, 0.12);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-warning {
  background: var(--danger-subtle);
  color: var(--danger-red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-gold {
  background: var(--gold-subtle);
  color: var(--gold-bright);
  border: 1px solid rgba(222, 184, 99, 0.44);
}

.stat-banner {
  padding: 22px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  text-align: center;
}

.stat-banner-legacy {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.13), rgba(14, 13, 14, 0.85));
  border: 1px dashed rgba(248, 113, 113, 0.38);
}

.stat-banner-gold {
  background: radial-gradient(circle, rgba(222, 184, 99, 0.16), rgba(14, 13, 14, 0.9));
  border: 1px solid rgba(222, 184, 99, 0.44);
}

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-cross {
  color: var(--danger-red);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-check {
  color: var(--gold-bright);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-content strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.list-content span {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(222, 184, 99, 0.2), rgba(148, 110, 36, 0.14));
  border: 1px solid rgba(222, 184, 99, 0.4);
  color: var(--gold-bright);
}

.feature-icon-badge svg {
  width: 22px;
  height: 22px;
}

.feature-card-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   TECHNICAL SPECS TABLE
   ========================================================================== */
.specs-table-wrapper {
  overflow: hidden;
  border-color: rgba(222, 184, 99, 0.24);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table th {
  width: 30%;
  color: var(--gold-ivory);
  font-weight: 600;
  background: rgba(222, 184, 99, 0.04);
}

.specs-table td {
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion-group {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 260px;
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner-card {
  padding: 58px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-color: rgba(222, 184, 99, 0.36);
  background: radial-gradient(circle at 50% 0%, rgba(222, 184, 99, 0.14), rgba(14, 13, 14, 0.94));
}

.cta-app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
}

.cta-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc {
  max-width: 640px;
  margin: 0 auto 30px auto;
  color: var(--text-secondary);
  font-size: 1.06rem;
}

.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-copy-brew-footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.86rem;
}

.btn-copy-brew-footer code {
  font-family: var(--font-mono);
  color: var(--gold-ivory);
  direction: ltr;
  unicode-bidi: isolate;
}

.copy-badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(222, 184, 99, 0.22);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.76rem;
}

/* ==========================================================================
   FOOTER & TOAST
   ========================================================================== */
.footer-wrapper {
  border-top: 1px solid rgba(222, 184, 99, 0.15);
  padding: 56px 0 36px 0;
  background: rgba(7, 7, 9, 0.92);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.footer-tagline {
  color: var(--text-secondary);
  max-width: 360px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 54px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

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

.back-to-top {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-lang-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.footer-lang-label {
  color: var(--text-muted);
  margin-right: 4px;
}

.footer-lang-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-lang-link:hover,
.footer-lang-link.active {
  color: var(--gold-primary);
  border-color: rgba(222, 184, 99, 0.45);
}

.toast-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: rgba(16, 15, 13, 0.96);
  border-color: var(--gold-primary);
  color: var(--gold-ivory);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.26s ease;
}

.toast-card.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  width: 17px;
  height: 17px;
  color: var(--gold-bright);
}

/* Fade animations */
.fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.4s; }

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

/* ==========================================================================
   RTL SUPPORT (Arabic)
   ========================================================================== */
[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option,
[dir="rtl"] .btn-text-block,
[dir="rtl"] .specs-table th,
[dir="rtl"] .specs-table td,
[dir="rtl"] .faq-question {
  text-align: right;
}

[dir="rtl"] .toast-card {
  right: auto;
  left: 24px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mac-desktop-stage {
    grid-template-columns: 1fr;
  }
  .mockup-controls-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }
  .hero-section {
    padding-top: 118px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .lang-menu {
    width: 280px;
    grid-template-columns: 1fr;
  }
  .btn-primary-nav span {
    display: none;
  }
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
  .icon-meta-badges {
    flex-direction: column;
    align-items: center;
    bottom: -44px;
  }
  .hero-visual-wrapper {
    margin-bottom: 74px;
  }
}
