@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================== */
:root {
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Core Accents */
  --coral: #ff5a79;
  --coral-rgb: 255, 90, 121;
  --indigo: #6366f1;
  --indigo-rgb: 99, 102, 241;
  --violet: #8b5cf6;
  --violet-rgb: 139, 92, 246;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Premium Dark Theme (Default) */
[data-theme="dark"] {
  --bg-base: #09090b;
  --bg-surface: rgba(18, 18, 23, 0.6);
  --bg-surface-solid: #18181b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-active: rgba(255, 255, 255, 0.15);
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --glow-primary: rgba(255, 90, 121, 0.15);
  --glow-secondary: rgba(99, 102, 241, 0.15);
  
  --btn-primary-bg: #f4f4f5;
  --btn-primary-text: #09090b;
  --btn-primary-hover: #ffffff;
}

/* Elegant Warm Sand/Cream Light Theme */
[data-theme="light"] {
  --bg-base: #fcfbfa;
  --bg-surface: rgba(255, 255, 255, 0.7);
  --bg-surface-solid: #f4f1eb;
  --border-glass: rgba(0, 0, 0, 0.06);
  --border-glass-active: rgba(0, 0, 0, 0.12);
  --text-main: #18181b;
  --text-muted: #71717a;
  
  --shadow-sm: 0 4px 12px rgba(180, 170, 160, 0.08);
  --shadow-lg: 0 16px 40px rgba(180, 170, 160, 0.15);
  --glow-primary: rgba(255, 90, 121, 0.06);
  --glow-secondary: rgba(99, 102, 241, 0.06);
  
  --btn-primary-bg: #18181b;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #09090b;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  transition: opacity 0.5s ease;
  animation: float-glow 25s infinite alternate ease-in-out;
}

.glow-1 {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  animation-duration: 28s;
}

.glow-2 {
  top: 600px;
  left: -200px;
  background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
  animation-duration: 32s;
  animation-delay: -5s;
}

.glow-3 {
  bottom: 200px;
  right: -200px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 30px) scale(1.08);
  }
  100% {
    transform: translate(-30px, -50px) scale(0.95);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass-active);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* ==========================================
   NAVIGATION
   ========================================== */
header {
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(9, 9, 11, 0.05); /* Managed transparent background */
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  transition: var(--transition-smooth);
}

[data-theme="light"] header {
  background-color: rgba(252, 251, 250, 0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(var(--coral-rgb), 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-left: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.95rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass-active);
}

.btn-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-solid);
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-main);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.accent {
  background: linear-gradient(135deg, var(--coral) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats-board {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.board-item {
  display: flex;
  flex-direction: column;
}

.board-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

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

/* Smartphone Mockup */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.phone-mockup {
  width: 290px;
  height: 580px;
  background-color: #09090b;
  border: 10px solid #27272a;
  border-radius: 40px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(var(--coral-rgb), 0.1);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: translateY(-5px) rotate(1deg);
}

.phone-notch {
  width: 120px;
  height: 25px;
  background-color: #27272a;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-speaker {
  width: 40px;
  height: 4px;
  background-color: #52525b;
  border-radius: 2px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 6px 20px 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  z-index: 25;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(15px);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.phone-app-interface {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 30px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0.5rem;
}

.phone-app-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.phone-app-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.phone-canvas-container {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.phone-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 90, 121, 0.9);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 90, 121, 0.4);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.phone-play-btn::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0;
  animation: pulse-ring 2.5s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.phone-play-btn svg {
  width: 22px;
  height: 22px;
}

.phone-play-btn:hover {
  transform: scale(1.1);
  background: var(--coral);
}

.phone-play-btn.playing {
  background: rgba(99, 102, 241, 0.9);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.phone-play-btn.playing::after {
  border-color: var(--indigo);
}

.phone-app-footer {
  padding: 0.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.phone-track-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.phone-home-indicator {
  width: 100px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* ==========================================
   PHILOSOPHY & TECH SPECS
   ========================================== */
.philosophy {
  padding: 6rem 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.vision-spec-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.vision-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vision-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.75rem;
}

.vision-spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.philosophy-text-wrapper {
  display: flex;
  flex-direction: column;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.philosophy-text-wrapper h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.philosophy-body {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.philosophy-bullet {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.philosophy-bullet:last-child {
  margin-bottom: 0;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(var(--coral-rgb), 0.1);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.bullet-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.bullet-text p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}

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

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(var(--coral-rgb), 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-lg), 0 8px 30px rgba(var(--coral-rgb), 0.04);
}

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

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(var(--coral-rgb), 0.1);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card:nth-child(2) .feature-icon {
  background-color: rgba(var(--indigo-rgb), 0.1);
  color: var(--indigo);
}

.feature-card:nth-child(3) .feature-icon {
  background-color: rgba(var(--violet-rgb), 0.1);
  color: var(--violet);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

/* ==========================================
   PRESET SHOWCASE
   ========================================== */
.presets-section {
  padding: 6rem 0;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.preset-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.preset-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-lg);
}

.preset-img-container {
  height: 160px;
  position: relative;
  background-color: #121214;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preset-placeholder-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.6;
}

.glow-coral { background: var(--coral); }
.glow-indigo { background: var(--indigo); }
.glow-violet { background: var(--violet); }
.glow-yellow { background: #eab308; }

.preset-canvas-sim {
  position: relative;
  z-index: 5;
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  position: relative;
  animation: spin-sim 20s linear infinite;
}

@keyframes spin-sim {
  100% { transform: rotate(360deg); }
}

.sim-bars {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 60px;
  bottom: 10px;
}

.sim-bar {
  width: 4px;
  background-color: #fff;
  border-radius: 2px;
  animation: bounce-sim 1.2s ease-in-out infinite alternate;
}

@keyframes bounce-sim {
  0% { height: 10px; }
  100% { height: 45px; }
}

.preset-info {
  padding: 1.25rem;
}

.preset-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.preset-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   WORKFLOW (TIMELINE)
   ========================================== */
.workflow {
  padding: 6rem 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--indigo) 50%, var(--violet) 100%);
  opacity: 0.15;
  z-index: 1;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 5;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-surface-solid);
  border: 2px solid var(--border-glass);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.step-item:hover .step-num {
  background-color: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(var(--coral-rgb), 0.4);
}

.step-item:nth-child(2):hover .step-num {
  background-color: var(--indigo);
  border-color: var(--indigo);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.step-item:nth-child(3):hover .step-num {
  background-color: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================
   DOWNLOAD SECTION
   ========================================== */
.download {
  padding: 6rem 0;
  text-align: center;
}

.download-intro {
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.download-intro h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-active);
  box-shadow: var(--shadow-lg);
}

.download-card-icon-svg {
  color: var(--text-main);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.download-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.download-card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 280px;
}

.download-card-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 0.75rem 2rem;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.download-card-btn:hover {
  background-color: var(--btn-primary-hover);
  transform: scale(1.03);
}

.download-card-btn.disabled {
  background-color: var(--bg-surface-solid);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  cursor: not-allowed;
  box-shadow: none;
}

.download-card-btn.disabled:hover {
  transform: none;
}

.download-card-tag {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ==========================================
   FOOTER & POLICIES
   ========================================== */
footer {
  background-color: rgba(9, 9, 11, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  padding: 5rem 0 2rem;
  margin-top: 6rem;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-glass) 15%, var(--coral) 50%, var(--border-glass) 85%, transparent 100%);
  opacity: 0.8;
}

[data-theme="light"] footer {
  background-color: rgba(244, 241, 235, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface-solid);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon:hover {
  color: var(--text-main);
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--text-main);
  padding-left: 2px;
}

.footer-subscribe p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 0.35rem;
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.subscribe-form:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 15px rgba(var(--coral-rgb), 0.15);
  background-color: rgba(255, 255, 255, 0.04);
}

.subscribe-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-main);
}

.subscribe-form input:focus {
  outline: none;
}

.subscribe-btn {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.subscribe-btn:hover {
  background-color: var(--btn-primary-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Policy Pages styling */
.policy-page {
  padding: 4rem 0;
}

.policy-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.policy-header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

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

.policy-content-box {
  max-width: 800px;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.policy-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.policy-section li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.policy-section li::before {
  content: '•';
  color: var(--coral);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface-solid);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-links.active {
    display: flex;
  }
  .btn-menu {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-badge {
    margin: 0 auto 1.5rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats-board {
    justify-content: center;
    gap: 2rem;
  }
  .hero-mockup-wrapper {
    margin-top: 2rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .philosophy-text-wrapper {
    text-align: center;
  }
  .philosophy-bullet {
    text-align: left;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .workflow-steps::before {
    display: none;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .presets-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .subscribe-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.5rem;
  }
  .subscribe-btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
