/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Common Variables */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

[data-theme="dark"] {
  --bg-color: #1a0033;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.5);
  --purple-accent: #b366ff;
  --purple-light: #8b3dff;
  --gradient-bg: linear-gradient(135deg, #1a0033 0%, #2d0052 25%, #4a0080 50%, #6b00b8 100%);
  --gradient-card: linear-gradient(135deg, rgba(107, 0, 184, 0.2) 0%, rgba(139, 61, 255, 0.1) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(26, 0, 51, 0) 0%, rgba(26, 0, 51, 0.9) 100%);
  --panel-bg: rgba(26, 0, 51, 0.6);
  --shadow-glow: 0 0 40px rgba(139, 61, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(10, 10, 30, 0.95);
  --phone-frame-edge: rgba(255, 255, 255, 0.2);
  --btn-text: #ffffff;
  --logo-shadow: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] {
  --bg-color: #f5f0ff;
  --text-color: #000000;
  --text-muted: rgba(0, 0, 0, 0.65);
  --text-dim: rgba(0, 0, 0, 0.45);
  --purple-accent: #6b00b8;
  --purple-light: #4a0080;
  --gradient-bg: linear-gradient(135deg, #f5f0ff 0%, #e0d1ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(107, 0, 184, 0.05) 0%, rgba(139, 61, 255, 0.05) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
  --panel-bg: rgba(255, 255, 255, 0.8);
  --shadow-glow: 0 0 40px rgba(107, 0, 184, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(107, 0, 184, 0.15);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --phone-frame-edge: rgba(0, 0, 0, 0.15);
  --btn-text: #000000;
  --logo-shadow: rgba(0, 0, 0, 0.2);
}

/* Legacy variables mapping for compatibility */
:root {
  --purple-dark: #1a0033;
  --purple-deep: #2d0052;
  --purple-medium: #4a0080;
  --purple-bright: #6b00b8;
  --pink-accent: #ff3d9a;
  --blue-accent: #3d9aff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body {
  font-family: var(--font-primary);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--gradient-bg);
    z-index: -1;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, padding 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-color);
}

.nav-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 5px var(--logo-shadow));
}

.nav-menu {
  flex: 1;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

.header-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-color);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* Updated Theme Toggle for Header */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Consistent circle shape */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(139, 61, 255, 0.2);
    box-shadow: 0 0 15px rgba(139, 61, 255, 0.4);
}

/* Language Switcher Styles */
.lang-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 0 12px;
  height: 45px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-right: 12px;
}

.lang-toggle:hover {
    transform: scale(1.05);
    background: rgba(139, 61, 255, 0.2);
    box-shadow: 0 0 15px rgba(139, 61, 255, 0.4);
}

/* Language Visibility Logic */
html[lang="en"] .lang-id { display: none !important; }
html[lang="id"] .lang-en { display: none !important; }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--spacing-md) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 61, 255, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-color) 0%, var(--purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 20px var(--logo-shadow));
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-top: var(--spacing-sm);
  color: var(--text-muted);
  max-width: 600px;
}

/* ===================================
   PHONE MOCKUP
   =================================== */
.phone-mockup {
    position: relative;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(var(--shadow-glow));
}

.phone-frame {
    width: 280px;
    height: 570px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        var(--shadow-lg),
        0 0 0 1px var(--phone-frame-edge),
        inset 0 0 20px rgba(139, 61, 255, 0.2);
    position: relative;
    border: 4px solid #1a1a1a;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    margin-left: 20px;
    box-shadow: inset 0 0 1px var(--phone-frame-edge);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

/* ===================================
   SPLASH SCREEN
   =================================== */
.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a0033 0%, #4a0080 100%);
    position: relative;
}

.splash-content::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(179, 102, 255, 0.1) 0%, transparent 60%);
    animation: rotate 10s linear infinite;
}

.splash-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    background: #000;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.app-logo {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-color);
  text-shadow: 0 0 30px var(--logo-shadow);
}

.splash-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===================================
   STATUS BAR & HEADER
   =================================== */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  color: var(--text-color);
  margin-top: 20px;
}

.status-icons {
  display: flex;
  gap: 4px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.app-logo-small {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(
    135deg,
    var(--purple-light) 0%,
    var(--pink-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-icons {
  display: flex;
  gap: 12px;
}

.icon {
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.icon:hover {
  transform: scale(1.1);
}

/* ===================================
   HOME SCREEN
   =================================== */
.home-content {
  padding: 0 16px 80px;
}

.featured-card {
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-image {
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--purple-medium) 0%,
    var(--pink-accent) 50%,
    var(--purple-bright) 100%
  );
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
}

.featured-text {
  position: relative;
  z-index: 1;
}

.featured-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.featured-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 12px;
}

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

.album-card {
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    var(--purple-medium) 0%,
    var(--purple-bright) 100%
  );
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* ===================================
   NOW PLAYING SCREEN
   =================================== */
.nowplaying-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 24px;
  height: 100%;
}

.album-artwork {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--pink-accent) 0%,
    var(--purple-bright) 50%,
    var(--blue-accent) 100%
  );
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.artwork-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 61, 154, 0.6) 0%,
    rgba(107, 0, 184, 0.6) 100%
  );
}

.song-info {
  text-align: center;
  margin-bottom: 24px;
}

.song-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.song-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--glass-border);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-fill {
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--purple-light) 0%,
    var(--pink-accent) 100%
  );
  border-radius: 2px;
}

.time-stamps {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
}

.control-btn {
  font-size: 1.5rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    opacity 0.2s;
  opacity: 0.8;
}

.control-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

.play-btn {
  font-size: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--purple-light) 0%,
    var(--pink-accent) 100%
  );
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* ===================================
   LIBRARY SCREEN
   =================================== */
.library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 16px 16px;
}

.library-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.library-content {
  padding: 0 16px 80px;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.song-thumbnail {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--purple-medium) 0%,
    var(--purple-bright) 100%
  );
  border-radius: 8px;
  flex-shrink: 0;
}

.song-details {
  flex: 1;
}

.song-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

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

.more-icon {
  font-size: 1.2rem;
  color: var(--text-dim);
  cursor: pointer;
}

/* ===================================
   BOTTOM NAVIGATION
   =================================== */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
}

.nav-icon {
  font-size: 1.5rem;
  opacity: 0.5;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.nav-icon:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.nav-icon.active {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--purple-light));
}

/* ===================================
   SCREEN SECTIONS
   =================================== */
.screen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: var(--spacing-lg);
}

.section-content.reverse {
  flex-direction: row-reverse;
}

.feature-description {
  flex: 1;
  max-width: 500px;
  opacity: 0;
  transition: opacity 1s ease-out, transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
  position: relative;
}

/* When phone is on the left, description on the right: slide from left to right */
.section-content > .phone-mockup + .feature-description {
    transform: translateX(-250px);
}

/* When description is on the left, phone on the right: slide from right to left */
.section-content > .feature-description:first-child {
    transform: translateX(250px);
}

.feature-description.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-description h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--text-color) 0%, var(--purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.feature-list {
  list-style: none;
  margin-top: var(--spacing-md);
}

.feature-list li {
  font-size: 1rem;
  padding: var(--spacing-xs) 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 0, 51, 0.5) 100%
  );
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--text-color) 0%, var(--purple-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--spacing-md);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s,
    background 0.3s,
    opacity 0.6s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    justify-content: center;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn,
.cta-btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  font-family: var(--font-primary);
  border: none;
}

.btn.primary,
.cta-btn.primary {
  background: linear-gradient(
    135deg,
    var(--purple-light) 0%,
    var(--pink-accent) 100%
  );
  color: var(--btn-text);
  box-shadow: var(--shadow-md);
}

.btn.primary:hover,
.cta-btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.btn.secondary,
.cta-btn.secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--purple-light);
}

.btn.secondary:hover,
.cta-btn.secondary:hover {
  background: var(--glass-bg);
  transform: translateY(-5px);
}

.desktop-download-wrapper {
  position: relative;
  display: inline-block;
}

.desktop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 10px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 100;
  margin-top: 10px;
}

.desktop-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.desktop-menu .menu-item {
  color: var(--text-color);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.desktop-menu .menu-item:hover {
  background: rgba(139, 61, 255, 0.15);
  transform: translateX(5px);
}

.desktop-menu .menu-item .icon {
  font-size: 1.2rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .hero-content,
  .section-content {
    flex-direction: column;
    text-align: center;
  }

  .section-content.reverse {
    flex-direction: column;
  }

  .hero-title {
    margin-bottom: var(--spacing-md);
  }

  .feature-description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .phone-frame {
    width: 240px;
    height: 490px;
  }

  .album-artwork {
    width: 220px;
    height: 220px;
  }

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

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

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

@media (max-width: 480px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
  }

  .phone-frame {
    width: 200px;
    height: 410px;
  }

  .app-logo {
    font-size: 3rem;
  }
}

/* Responsive */

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

