/* ==========================================================================
   ReMusic Landing Page CSS Stylesheet
   Designed with Premium Dark Theme, Glassmorphism, and Fluid Transitions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette - HSL & Hex */
  --bg-dark-950: #ffffff;
  --bg-dark-900: #fafafa;
  --bg-dark-800: #f4f4f5;
  --bg-dark-700: #e4e4e7;
  
  --primary: #6d3bd7; /* ReMusic Standard Violet */
  --primary-rgb: 109, 59, 215;
  --primary-hover: #5b2eb5;
  --primary-glow: rgba(109, 59, 215, 0.08);
  
  --accent: #d82c8f;
  --accent-rgb: 216, 44, 143;
  --accent-glow: rgba(216, 44, 143, 0.08);
  
  --violet-light: #a78bfa;
  --success: #059669;
  --success-glow: rgba(5, 150, 105, 0.08);
  
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  
  --border-color: rgba(9, 9, 11, 0.08);
  --border-hover: rgba(9, 9, 11, 0.15);
  --border-glow: rgba(109, 59, 215, 0.2);
  
  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(9, 9, 11, 0.06);
  --glass-blur: blur(20px);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
  
  /* Gradients Color Space Interpolation Fallbacks */
  --in-oklab: ;
  --in-oklch: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Elements
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-950);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-950);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-dark-700);
  border-radius: 5px;
  border: 2px solid var(--bg-dark-950);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Selection */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. Background Ambient Effects (Mesh Grid & Glow Orbs)
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
}

.orb-purple {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: float-orb-1 25s infinite alternate ease-in-out;
}

.orb-violet {
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: 20%;
  right: -10%;
  animation: float-orb-2 30s infinite alternate ease-in-out;
}

.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(9, 9, 11, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

@keyframes float-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* --------------------------------------------------------------------------
   4. Common Layout Classes & Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem auto;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg var(--in-oklch), #c084fc, #7c3aed 50%, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(109, 59, 215, 0.4), 0 0 15px var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 14px;
}

/* --------------------------------------------------------------------------
   5. Header / Navigation Styles
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: 1.125rem;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   6. Hero Section Styles
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.badge-container {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--violet-light);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.border-left {
  border-left: 1px solid var(--border-color);
  padding-left: 2.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-dark-900);
}

.hero-mockup {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover {
  transform: translateY(-10px) rotate(1deg);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 40px 80px -15px rgba(124, 58, 237, 0.25), 0 0 30px rgba(124, 58, 237, 0.15);
}

.image-wrapper:hover .hero-mockup {
  transform: scale(1.03);
}

.glow-underlay {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
  top: 10%;
  left: 10%;
  z-index: -1;
  filter: blur(20px);
}

/* --------------------------------------------------------------------------
   7. Core Features Grid Section
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(109, 59, 215, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px -10px rgba(109, 59, 215, 0.08);
  background: var(--bg-dark-800);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-light);
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Before / After Interactive Showcase Section
   -------------------------------------------------------------------------- */
.showcase-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
}

/* Showcase Left Navigation Cards */
.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-tab.active {
  background: rgba(109, 59, 215, 0.05);
  border-color: rgba(109, 59, 215, 0.25);
  box-shadow: 0 10px 25px -10px rgba(109, 59, 215, 0.15);
}

.tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.showcase-tab:hover .tab-icon {
  color: var(--text-primary);
}

.showcase-tab.active .tab-icon {
  background: var(--primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.tab-details h4 {
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.tab-details p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.showcase-tab.active .tab-details h4 {
  color: var(--primary);
}

/* Showcase Right Player Panel */
.player-panel {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
  overflow: hidden;
}

.player-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right var(--in-oklch), var(--primary), var(--accent));
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.player-genre {
  font-size: 0.875rem;
  color: var(--violet-light);
  font-family: var(--font-display);
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  max-width: 75%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visualizer-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.visualizer-toggle.inactive {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.active-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 1.5s infinite alternate;
}

.visualizer-toggle.inactive .active-dot {
  background-color: var(--text-muted);
  box-shadow: none;
  animation: none;
}

.visualizer-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.visualizer-toggle.inactive .visualizer-status {
  color: var(--text-muted);
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 1; }
}

.player-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Audio Visualizer Waveform Container */
.waveform-container {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 0 0.5rem;
}

.waveform-bar {
  flex: 1;
  height: 100%;
  background: var(--bg-dark-700);
  border-radius: 20px;
  transform-origin: center;
  transform: scaleY(0.08);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

/* Toggle Switch Styling */
.toggle-switch-container {
  display: flex;
  align-items: center;
  background: var(--bg-dark-800);
  border: 1px solid var(--border-color);
  padding: 0.375rem;
  border-radius: 99px;
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-content: space-between;
}

.toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  cursor: pointer;
  z-index: 2;
  flex: 1;
  text-align: center;
  transition: color 0.4s ease;
}

.toggle-btn.active {
  color: #ffffff;
}

.toggle-slider-bar {
  position: absolute;
  top: 0.375rem;
  left: 0.375rem;
  right: 0.375rem;
  bottom: 0.375rem;
  pointer-events: none;
  z-index: 1;
}

.toggle-slider-knob {
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 99px;
  box-shadow: 0 5px 15px -3px rgba(124, 58, 237, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  transform: translateX(0);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.play-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.play-trigger:hover {
  transform: scale(1.06);
  box-shadow: 0 15px 25px -5px rgba(124, 58, 237, 0.6), 0 0 15px rgba(124, 58, 237, 0.3);
}

.play-trigger:active {
  transform: scale(0.96);
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
}

.time-elapsed, .time-duration {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--text-muted);
  min-width: 32px;
}

.progress-bar-bg {
  flex-grow: 1;
  height: 6px;
  background: var(--bg-dark-700);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   9. How It Works Pipeline Section
   -------------------------------------------------------------------------- */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.workflow-steps::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
  z-index: -1;
}

.work-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-dark-900);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.work-step:hover {
  background: var(--bg-dark-800);
  border-color: var(--border-glow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--violet-light);
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
}

.step-title {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Prompt Magic Formula Section
   -------------------------------------------------------------------------- */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prompt-card {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
}

.prompt-card:hover {
  transform: scale(1.02);
  border-color: rgba(219, 39, 119, 0.3);
  box-shadow: 0 25px 45px -15px rgba(219, 39, 119, 0.15);
}

.prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(219, 39, 119, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.style-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--text-primary);
}

.code-box {
  background: var(--bg-dark-800);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.code-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.code-box code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.5;
  word-break: break-word;
}

.prompt-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.tip-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.tip-desc {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. Security & Privacy Panel
   -------------------------------------------------------------------------- */
.privacy-panel {
  padding: 4.5rem;
}

.border-glow-purple {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 30px 60px -25px rgba(124, 58, 237, 0.2);
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}

.privacy-content h3 {
  font-size: 2.25rem;
  color: var(--text-primary);
}

.privacy-content > p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.privacy-bullet-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.bullet-item {
  display: flex;
  gap: 1.25rem;
}

.bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.bullet-item h5 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.bullet-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. Download Call-To-Action Card
   -------------------------------------------------------------------------- */
.download-hero {
  padding-bottom: 9rem;
}

.download-card {
  padding: 5rem 3rem;
  background: linear-gradient(135deg, rgba(109, 59, 215, 0.04), rgba(216, 44, 143, 0.04) 70%);
  border: 1px solid rgba(109, 59, 215, 0.15);
  border-radius: 32px;
  box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  text-align: center;
}

.download-card h2 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-card p {
  font-size: 1.125rem;
  max-width: 600px;
  color: var(--text-secondary);
}

.download-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.requirements {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Footer Styles
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-dark-900);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 360px;
}

.footer-brand .logo {
  align-self: flex-start;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links h5 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--violet-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. Modern Responsive Media Queries (Mobile-Responsive Adaptation)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow-steps::after {
    display: none;
  }
  
  .prompt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .header {
    height: 70px;
  }
  
  .nav-menu {
    display: none; /* In a real app we'd add a hamburger menu, keeping it simple for the landing page */
  }
  
  .hero-section {
    padding-top: 8rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .stat-item {
    flex: 1;
    min-width: 120px;
  }
  
  .border-left {
    border-left: none;
    padding-left: 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-container {
    padding: 1.5rem;
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  
  .prompt-grid {
    grid-template-columns: 1fr;
  }
  
  .privacy-panel {
    padding: 2.5rem 1.5rem;
  }
  
  .privacy-bullet-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .download-card {
    padding: 3.5rem 1.5rem;
  }
  
  .download-card h2 {
    font-size: 2.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}
