/* ==========================================================================
   Paatify - Pure AMOLED Music Theme & Design System
   Matches Paatify's Flutter AppTheme (#0A0A0A AMOLED + Pastel Peach #FFB4A8)
   ========================================================================== */

:root {
  --bg-amoled: #0a0a0a;
  --bg-surface: #141414;
  --bg-card: #18181c;
  --bg-card-hover: #212128;
  --bg-glass: rgba(20, 20, 24, 0.78);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 180, 168, 0.25);

  --text-main: #f5ebe9;
  --text-muted: #c7b6b3;
  --text-dim: #8b7b78;

  /* Paatify Signature Pastel Peach & Terracotta Palette */
  --accent-peach: #ffb4a8;
  --accent-coral: #ff8a78;
  --accent-container: #4a2522;
  --accent-mint: #81c784;
  --accent-cyan: #4dd0e1;
  --accent-lavender: #d0bcff;

  --primary-gradient: linear-gradient(135deg, #ffb4a8 0%, #ff705b 100%);
  --glow-peach: rgba(255, 180, 168, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-amoled);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Ambient Aurora Glows
   ========================================================================== */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.glow-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #ff705b 0%, transparent 70%);
  top: -160px;
  right: -120px;
}

.glow-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #d0bcff 0%, transparent 70%);
  bottom: 10%;
  left: -140px;
}

.glow-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #4dd0e1 0%, transparent 70%);
  top: 45%;
  right: 10%;
  opacity: 0.11;
}

.ambient-frosted-diffuser {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(40px);
}

/* ==========================================================================
   Navbar (Matches ExpenseMate & PasswordDiary)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.back-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 168, 0.3);
  background: #141414;
}

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

.brand-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-version {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 180, 168, 0.14);
  color: var(--accent-peach);
  border: 1px solid rgba(255, 180, 168, 0.3);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-peach);
}

.btn-topbar-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 180, 168, 0.14);
  border: 1px solid rgba(255, 180, 168, 0.35);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.btn-topbar-cta:hover {
  background: rgba(255, 180, 168, 0.24);
  transform: translateY(-1px);
}

.topbar-cta-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 1;
}

.hero-section {
  padding: 72px 0 54px;
  text-align: center;
}

.hero-content {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 180, 168, 0.1);
  border: 1px solid rgba(255, 180, 168, 0.28);
  color: var(--accent-peach);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-peach);
  box-shadow: 0 0 10px var(--accent-peach);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #140806;
  box-shadow: 0 8px 26px rgba(255, 112, 91, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 112, 91, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.store-svg {
  width: 19px;
  height: 19px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-peach);
  background: rgba(255, 180, 168, 0.1);
  border: 1px solid rgba(255, 180, 168, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   Interactive Phone Simulator
   ========================================================================== */
.simulator-section {
  padding: 60px 0 80px;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: center;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 20px;
}

.control-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-peach);
  margin-bottom: 12px;
}

.theme-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-btn.active {
  background: rgba(255, 180, 168, 0.14);
  border-color: var(--accent-peach);
  color: var(--text-main);
}

.theme-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-amoled {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dot-light {
  background: #f8f8fa;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.accent-swatches-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.accent-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.accent-swatch.active {
  transform: scale(1.15);
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.control-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.btn-lock-sim {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 180, 168, 0.14);
  border: 1px solid rgba(255, 180, 168, 0.35);
  color: var(--accent-peach);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.btn-lock-sim:hover {
  background: rgba(255, 180, 168, 0.24);
}

.stats-mini-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.stat-key {
  color: var(--text-dim);
  font-weight: 600;
}

.stat-val {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

/* Phone Mockup */
.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  --sim-accent: #ffb4a8;
  --sim-container: #4a2522;
  position: relative;
  width: 100%;
  max-width: 375px;
  height: 675px;
  border-radius: 40px;
  border: 7px solid #222228;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.phone-frame.theme-amoled {
  background: #0a0a0a;
  color: #f5ebe9;
}

.phone-frame.theme-light {
  background: #f8f8fa;
  color: #141416;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 10px;
}

.phone-app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 168, 0.3);
  transition: transform 0.3s ease;
}

.app-mini-icon.grooving {
  animation: paceGroove 1.1s ease-in-out infinite;
}

@keyframes paceGroove {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(3deg); }
}

.app-mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-display-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.sim-source-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sim-accent);
}

.app-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-bar-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.phone-frame.theme-light .app-bar-icon-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

.app-bar-icon-btn:hover {
  border-color: var(--sim-accent);
  color: var(--sim-accent);
}

/* Song / Video Mode Bar */
.sim-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 10px;
}

.sim-mode-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.phone-frame.theme-light .sim-mode-toggle {
  background: rgba(0, 0, 0, 0.06);
}

.mode-pill {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.mode-pill.active {
  background: var(--sim-accent);
  color: #120806;
  opacity: 1;
}

.sim-datasaver-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(129, 199, 132, 0.15);
  color: #81c784;
}

/* Now Playing Area */
.sim-now-playing {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 18px 16px;
  overflow-y: auto;
}

.sim-art-stage {
  display: flex;
  justify-content: center;
  margin: 6px 0 14px;
}

.sim-art-card {
  width: 215px;
  height: 215px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--sim-container), #141418);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease;
}

.sim-art-card.video-mode {
  width: 100%;
  height: 175px;
  border-radius: 18px;
}

.sim-art-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sim-art-emoji {
  font-size: 4.2rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

.sim-video-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 0, 0, 0.75);
  color: #ffffff;
}

.sim-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sim-track-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.sim-track-artist {
  font-size: 0.78rem;
  opacity: 0.7;
}

.sim-track-actions {
  display: flex;
  gap: 6px;
}

.sim-icon-action {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: inherit;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone-frame.theme-light .sim-icon-action {
  background: rgba(0, 0, 0, 0.06);
}

.sim-progress-wrap {
  margin-bottom: 12px;
}

.sim-progress-range {
  width: 100%;
  height: 5px;
  accent-color: var(--sim-accent);
  cursor: pointer;
}

.sim-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.68;
  margin-top: 3px;
}

.sim-playback-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px;
}

.sim-ctrl-sm,
.sim-ctrl-md {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
  padding: 6px;
}

.sim-scalloped-play {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  border: none;
  background: var(--sim-accent);
  color: #140806;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 180, 168, 0.35);
  transition: transform 0.2s ease, border-radius 0.2s ease;
}

.sim-scalloped-play:hover {
  transform: scale(1.06);
}

.sim-scalloped-play.playing {
  border-radius: 50%;
}

/* Queue Strip */
.sim-queue-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.sim-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.phone-frame.theme-light .sim-queue-item {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.sim-queue-item.active {
  border-color: var(--sim-accent);
  background: rgba(255, 180, 168, 0.12);
}

.sim-queue-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Car Mode Overlay inside Phone */
.phone-car-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  color: #ffffff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 20px 28px;
}

.car-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 180, 168, 0.18);
  color: var(--sim-accent);
}

.car-exit-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.car-track-meta {
  text-align: center;
}

.car-track-title {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.car-track-artist {
  font-size: 0.95rem;
  color: #c7b6b3;
}

.car-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
}

.car-big-btn {
  height: 92px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #141414;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.car-play-btn {
  background: var(--sim-accent);
  color: #140806;
  border-color: transparent;
}

.car-footer-note {
  text-align: center;
  font-size: 0.74rem;
  color: #8b7b78;
}

/* Phone Dialog Overlay */
.phone-dialog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 30;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.phone-dialog-card {
  width: 100%;
  background: #16161b;
  color: #f5ebe9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 18px;
  max-height: 82%;
  overflow-y: auto;
}

.phone-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.phone-dialog-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-dialog-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.dialog-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.dialog-action-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent-peach);
  color: #140806;
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================================================
   5-Band Equalizer Studio Section
   ========================================================================== */
.eq-section {
  padding: 60px 0;
}

.eq-studio-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(160deg, #16161c 0%, #0d0d10 100%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

.eq-presets-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.eq-preset-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.eq-preset-btn.active {
  background: var(--accent-peach);
  color: #140806;
  border-color: transparent;
}

.eq-bands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.eq-band-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.eq-db-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-peach);
}

.eq-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 8px;
  height: 130px;
  accent-color: var(--accent-peach);
  cursor: pointer;
}

.eq-freq-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.eq-dsp-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dsp-toggle-pill,
.dsp-speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.dsp-toggle-pill input {
  accent-color: var(--accent-peach);
  width: 16px;
  height: 16px;
}

.speed-step-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 180, 168, 0.35);
  background: rgba(255, 180, 168, 0.12);
  color: var(--accent-peach);
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================================================
   Lyrics & Transliteration Section
   ========================================================================== */
.lyrics-section {
  padding: 60px 0;
}

.lyrics-demo-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 26px;
  padding: 28px;
}

.lyrics-demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

.lyric-tab {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.lyric-tab.active {
  background: rgba(255, 180, 168, 0.18);
  border-color: var(--accent-peach);
  color: var(--accent-peach);
}

.btn-translit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 180, 168, 0.35);
  background: var(--accent-container);
  color: var(--accent-peach);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.lyrics-lines-box {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.lyric-line-row {
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 600;
}

.lyric-line-row.active {
  background: rgba(255, 180, 168, 0.12);
  color: var(--accent-peach);
  font-size: 1.08rem;
  font-weight: 800;
}

.lyrics-demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.lyrics-offset-badge {
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-peach);
}

/* ==========================================================================
   9 Core Features Grid
   ========================================================================== */
.features-section {
  padding: 60px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.feat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-peach);
  background: rgba(255, 180, 168, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.feat-icon {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.14rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

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

.feat-pills span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* ==========================================================================
   Technical Specs Table
   ========================================================================== */
.specs-section {
  padding: 60px 0;
}

.specs-table-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
}

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

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

.specs-table th {
  width: 34%;
  color: var(--accent-peach);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

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

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

.specs-table code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #f5ebe9;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 60px 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--accent-peach);
}

.faq-item.open .faq-icon {
  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 22px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Bottom CTA & Footer
   ========================================================================== */
.bottom-cta-section {
  padding: 60px 0 80px;
}

.bottom-cta-card {
  background: linear-gradient(145deg, #1b1414 0%, #101013 100%);
  border: 1px solid rgba(255, 180, 168, 0.22);
  border-radius: 32px;
  padding: 54px 32px;
  text-align: center;
}

.cta-logo-wrap {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 168, 0.35);
}

.cta-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottom-cta-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.bottom-cta-card p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

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

.footer {
  border-top: 1px solid var(--border-color);
  padding: 56px 0 32px;
  background: #070708;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 300px;
}

.footer-nav-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-links-group a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition-fast);
}

.footer-links-group a:hover {
  color: var(--accent-peach);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }

  .nav-container {
    padding: 0 16px;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .back-link-text {
    display: none;
  }

  .back-link {
    padding: 7px 10px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .eq-studio-card {
    padding: 22px 14px;
  }

  .eq-bands-grid {
    gap: 6px;
    padding: 16px 8px;
  }

  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
  }

  .specs-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .footer-nav-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-version {
    display: none;
  }

  .nav-logo-box {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .btn-topbar-cta {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .btn-topbar-cta .topbar-cta-icon {
    width: 14px;
    height: 14px;
  }
}
