/* ==========================================================================
   SongFlip – Design System & Stylesheet (Dark AMOLED & Modern Slate)
   ========================================================================== */

:root {
  /* Color Palette: AMOLED & Slate */
  --bg-amoled: #070B12;
  --bg-slate-900: #0F172A;
  --bg-card: #131D2F;
  --bg-card-hover: #1A263D;
  --bg-surface: #1E293B;
  --bg-input: #0B111D;

  /* Accent & Brand Colors */
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #00F3FF;
  --accent-cyan-glow: rgba(0, 243, 255, 0.2);

  /* Service Brand Colors */
  --brand-spotify: #1DB954;
  --brand-spotify-glow: rgba(29, 185, 84, 0.25);
  --brand-apple: #FA243C;
  --brand-apple-glow: rgba(250, 36, 60, 0.25);
  --brand-ytmusic: #FF0000;
  --brand-ytmusic-glow: rgba(255, 0, 0, 0.25);
  --brand-tidal: #00F3FF;
  --brand-tidal-glow: rgba(0, 243, 255, 0.25);
  --brand-deezer: #A238FF;
  --brand-deezer-glow: rgba(162, 56, 255, 0.25);
  --brand-amazon: #00A8E1;
  --brand-amazon-glow: rgba(0, 168, 225, 0.25);

  /* Typography & Text Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-highlight: #34D399;

  /* Borders & Glassmorphism */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-active: rgba(16, 185, 129, 0.4);
  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-card: rgba(19, 29, 47, 0.7);
  --backdrop-blur: blur(16px);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--accent-emerald-glow);

  /* Layout & Sizing */
  --max-width: 1200px;
  --max-width-narrow: 840px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-amoled);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #132238 0%, #070B12 70%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.logo-icon-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-icon-wrapper {
  transform: rotate(-10deg) scale(1.05);
}

.logo-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.logo-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald);
  transition: width var(--transition-fast);
}

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

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-emerald);
  color: #070B12;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-nav-cta:hover {
  background: #34D399;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 8px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Language Switcher Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
  background: rgba(30, 41, 59, 1);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-slate-900);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 130px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
  animation: fadeInDown 0.15s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lang-dropdown-menu a:hover,
.lang-dropdown-menu a.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 700;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-emerald); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #070B12;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
  color: #000000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 70px 0 90px 0;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #00F3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-subnote {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 55px;
}

.hero-subnote span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Interactive Link-Flipper Mockup / Demo Playground
   ========================================================================== */

.hero-mockup-wrapper {
  margin-top: 20px;
  perspective: 1000px;
}

.link-flipper-box {
  background: var(--glass-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.1);
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.flipper-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.flipper-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
}

.flipper-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.flipper-interactive-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.flipper-card {
  background: var(--bg-amoled);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
  position: relative;
}

.flipper-card.source {
  border-color: rgba(29, 185, 84, 0.35);
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.08);
}

.flipper-card.target {
  border-color: rgba(255, 0, 0, 0.35);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.08);
}

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-service {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.service-icon-badge.spotify { background: #1DB954; color: #000; }
.service-icon-badge.ytmusic { background: #FF0000; color: #fff; }
.service-icon-badge.apple { background: #FA243C; color: #fff; }
.service-icon-badge.tidal { background: #000; border: 1px solid #00F3FF; color: #00F3FF; }

.track-preview-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-preview-artist {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.flipper-transform-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flipper-arrow-btn {
  width: 46px;
  height: 46px;
  background: var(--accent-emerald);
  color: #070B12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-emerald-glow);
  transition: transform var(--transition-fast);
}

.flipper-arrow-btn:hover {
  transform: scale(1.15) rotate(180deg);
}

.speed-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Sample Track Selector Bar */
.sample-tracks-bar {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sample-tracks-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sample-buttons-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sample-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.sample-btn:hover, .sample-btn.active {
  background: var(--bg-surface);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* ==========================================================================
   Section Title Common Styles
   ========================================================================== */

.section-block {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   How it Works (3 Steps)
   ========================================================================== */

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-visual-hint {
  margin-top: auto;
  background: var(--bg-amoled);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-visual-hint strong {
  color: var(--text-main);
}

/* ==========================================================================
   Compatibility Grid
   ========================================================================== */

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.compat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.compat-card:hover {
  transform: translateY(-4px);
  border-color: var(--service-color, var(--accent-emerald));
  box-shadow: 0 10px 25px var(--service-glow, rgba(0,0,0,0.3));
}

.compat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compat-card[data-service="spotify"] { --service-color: var(--brand-spotify); --service-glow: var(--brand-spotify-glow); }
.compat-card[data-service="apple"] { --service-color: var(--brand-apple); --service-glow: var(--brand-apple-glow); }
.compat-card[data-service="ytmusic"] { --service-color: var(--brand-ytmusic); --service-glow: var(--brand-ytmusic-glow); }
.compat-card[data-service="tidal"] { --service-color: var(--brand-tidal); --service-glow: var(--brand-tidal-glow); }
.compat-card[data-service="deezer"] { --service-color: var(--brand-deezer); --service-glow: var(--brand-deezer-glow); }
.compat-card[data-service="amazon"] { --service-color: var(--brand-amazon); --service-glow: var(--brand-amazon-glow); }

.compat-name {
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
}

.compat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.compat-banner-note {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(0, 243, 255, 0.1) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Feature Highlights Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
}

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

.feature-tag {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Free vs. Pro / Future Roadmap
   ========================================================================== */

.pricing-roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card.highlight {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.2);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--accent-emerald);
  color: #070B12;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-check-icon {
  color: var(--accent-emerald);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-future-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--accent-emerald);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Waitlist & Coming Soon CTA Box
   ========================================================================== */

.waitlist-cta-box {
  background: radial-gradient(circle at 50% 0%, #132742 0%, #0D1626 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.waitlist-form {
  max-width: 520px;
  margin: 28px auto 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1 1 260px;
  background: var(--bg-amoled);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 16px 24px;
  color: #FFFFFF;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.waitlist-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.waitlist-btn {
  background: var(--accent-emerald);
  color: #070B12;
  font-weight: 800;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.waitlist-btn:hover {
  background: #34D399;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.waitlist-status {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 24px;
}

.waitlist-status.success { color: var(--accent-emerald); }
.waitlist-status.error { color: #EF4444; }

/* ==========================================================================
   Tipps Hub & Article SEO Teaser
   ========================================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.article-tag {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-emerald);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card:hover .article-link {
  gap: 10px;
}

/* ==========================================================================
   Legal & Content Pages (Imprint, Privacy, Articles)
   ========================================================================== */

.legal-content-page {
  padding: 60px 0 100px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 30px;
  transition: gap var(--transition-fast);
}

.back-link:hover {
  gap: 12px;
}

.legal-article {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.legal-article h1,
.legal-article h2,
.legal-article h3,
.legal-article p,
.legal-article li {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.legal-article h1 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 36px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  line-height: 1.35;
}

.legal-article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-top: 24px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.legal-article p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-article ul, .legal-article ol {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 22px;
}

.legal-article li {
  margin-bottom: 8px;
}

.legal-article a {
  color: var(--accent-emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-article a.btn-primary,
.legal-article a.btn-secondary,
.legal-article a.btn-nav-cta,
.btn-primary,
.btn-secondary {
  text-decoration: none !important;
}

.legal-article a.btn-primary,
.btn-primary {
  color: #070B12 !important;
}

.legal-article a.btn-secondary,
.btn-secondary {
  color: var(--text-main) !important;
}

.legal-article strong {
  color: #FFFFFF;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-amoled);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px 0;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Modal Dialogs (Waitlist / Coming Soon)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-slate-900);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .logo-badge {
    display: none;
  }
  .btn-nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .mobile-toggle:hover {
    background: rgba(30, 41, 59, 1);
    border-color: var(--accent-emerald);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
    padding: 20px 24px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: var(--z-header);
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 6px 0;
    color: #E2E8F0;
  }
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .flipper-interactive-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flipper-transform-arrow {
    transform: rotate(90deg);
    margin: 6px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .legal-article {
    padding: 28px 20px;
  }
}
