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

:root {
  --indigo-50: #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --indigo-800: #3730A3;
  --indigo-900: #312E81;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --red: #EF4444;
  --green: #22C55E;
  --yellow: #FBBF24;
  --purple: #8B5CF6;
  --blue: #3B82F6;
  --orange: #F97316;
  --pink: #EC4899;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gray-900);
  text-decoration: none;
}

.nav-icon {
  border-radius: 8px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--gray-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
}

.mobile-menu.open {
  display: flex;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

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

.btn-primary {
  background: var(--indigo-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--indigo-700);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.btn-white {
  background: var(--white);
  color: var(--indigo-600);
}

.btn-white:hover {
  background: var(--indigo-50);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.nav-links .btn {
  background: var(--indigo-600);
  color: var(--white);
}

.nav-links .btn:hover {
  background: var(--indigo-700);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--indigo-50) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--indigo-100);
  color: var(--indigo-700);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ===== Hero Visual (Dashboard mockup) ===== */
.hero-visual {
  max-width: 880px;
  margin: 0 auto;
}

.hero-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

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

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

.window-body {
  display: flex;
  min-height: 320px;
}

.dash-sidebar {
  width: 180px;
  background: var(--indigo-900);
  padding: 20px 0;
  flex-shrink: 0;
}

.dash-nav-item {
  padding: 10px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
}

.dash-nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-left: 3px solid var(--indigo-500);
}

.dash-main {
  flex: 1;
  padding: 24px;
  background: var(--gray-50);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.dash-chart {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--indigo-500), var(--indigo-600));
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: height 0.6s ease;
}

/* ===== Platforms Bar ===== */
.platforms-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.platforms-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}

.platform-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.platform-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.platform-logo span {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--gray-50);
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.purple  { background: #F3E8FF; color: var(--purple); }
.feature-icon.blue    { background: #DBEAFE; color: var(--blue); }
.feature-icon.green   { background: #DCFCE7; color: var(--green); }
.feature-icon.orange  { background: #FFF7ED; color: var(--orange); }
.feature-icon.indigo  { background: var(--indigo-100); color: var(--indigo-600); }
.feature-icon.pink    { background: #FCE7F3; color: var(--pink); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===== Steps (How It Works) ===== */
.steps {
  max-width: 560px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.step-connector {
  width: 2px;
  height: 40px;
  background: var(--indigo-200);
  margin-left: 23px;
}

/* ===== Platforms Grid ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.platform-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.platform-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.platform-card-icon.youtube    { background: #FEE2E2; color: var(--red); }
.platform-card-icon.transistor { background: #F3E8FF; color: var(--purple); }
.platform-card-icon.spotify    { background: #DCFCE7; color: #1DB954; }
.platform-card-icon.podcast    { background: #FFF7ED; color: var(--orange); }

.platform-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 96px 0;
  background: var(--white);
}

.cta-card {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--indigo-800) 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .dash-sidebar {
    display: none;
  }

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

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

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

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .platform-logos {
    gap: 32px;
  }
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-container {
  max-width: 720px;
}

.legal-container h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.legal-container h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-container h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-container p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-container ul {
  margin: 8px 0 16px 24px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-container li {
  margin-bottom: 4px;
}

.legal-container a {
  color: var(--indigo-600);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gray-600);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

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

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
