:root {
  --bg-primary: #0a0b0e;
  --bg-card: rgba(18, 20, 26, 0.72);
  --bg-card-hover: rgba(26, 29, 38, 0.85);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-hover: rgba(255, 255, 255, 0.28);
  --accent-orange: #ff9500;
  --accent-orange-glow: rgba(255, 149, 0, 0.25);
  --accent-blue: #0a84ff;
  --accent-purple: #bf5af2;
  --accent-cyan: #64d2ff;
  --text-primary: #ffffff;
  --text-secondary: #98989f;
  --text-tertiary: #636366;
  --radius-card: 22px;
  --radius-pill: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient glow backgrounds */
.ambient-glows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-1 {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0) 70%);
  filter: blur(80px);
}

.glow-2 {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(191, 90, 242, 0.16) 0%, rgba(191, 90, 242, 0) 70%);
  filter: blur(90px);
}

.glow-3 {
  position: absolute;
  bottom: 10%;
  left: 30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(100, 210, 255, 0.10) 0%, rgba(100, 210, 255, 0) 70%);
  filter: blur(100px);
}

/* Layout container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation bar */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(10, 11, 14, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  padding: 8px 18px;
  background: var(--text-primary);
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* Hero section */
.hero {
  padding: 100px 0 70px;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.35);
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

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

.hero-meta {
  color: var(--text-tertiary);
  font-size: 0.88rem;
}

/* App Hero Mockup */
.mockup-wrapper {
  margin: 50px auto 0;
  max-width: 980px;
  position: relative;
}

.glass-window {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 24px;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.window-shelf-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.shelf-heading {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shelf-tag {
  font-size: 0.75rem;
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 149, 0, 0.3);
}

/* Shelf Cards Grid */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
}

.card-poster {
  aspect-ratio: 2/3;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #141720;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.preview-card:hover .poster-img {
  transform: scale(1.04);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 50%, rgba(10, 11, 14, 0.85) 100%);
  pointer-events: none;
}

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.rt-score { color: #fa320a; }
.aud-score { color: #f9c000; }

.poster-quick-tick {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.card-info {
  padding: 12px 14px 16px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-episode {
  font-size: 0.8rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-orange);
  border-radius: 2px;
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.section-label {
  color: var(--accent-orange);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.icon-orange { background: rgba(255, 149, 0, 0.15); color: var(--accent-orange); }
.icon-blue   { background: rgba(10, 132, 255, 0.15); color: var(--accent-blue); }
.icon-purple { background: rgba(191, 90, 242, 0.15); color: var(--accent-purple); }
.icon-cyan   { background: rgba(100, 210, 255, 0.15); color: var(--accent-cyan); }
.icon-green  { background: rgba(48, 209, 88, 0.15);  color: #30d158; }
.icon-red    { background: rgba(255, 69, 58, 0.15);  color: #ff453a; }

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

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

/* Privacy & Offline Banner */
.privacy-banner {
  margin: 60px 0 100px;
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.8) 0%, rgba(14, 16, 22, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.privacy-badge-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.privacy-content {
  flex: 1;
  min-width: 280px;
}

.privacy-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

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

/* Ecosystem section */
.ecosystem-section {
  padding: 60px 0 100px;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.platform-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}

.platform-pill:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass-hover);
}

.platform-icon {
  font-size: 2rem;
}

.platform-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.platform-meta {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* CTA footer section */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(circle at center, rgba(255, 149, 0, 0.12) 0%, rgba(10, 11, 14, 0) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }
  .nav-links {
    display: none;
  }
  .privacy-banner {
    padding: 30px;
  }
}
