:root {
  --bg: #08080C;
  --bg-card: rgba(18, 19, 26, 0.75);
  --bg-card-hover: rgba(24, 26, 36, 0.85);
  --primary: #FF8A00;
  --primary-glow: rgba(255, 138, 0, 0.25);
  --primary-grad: linear-gradient(135deg, #FF9900 0%, #FF5E00 100%);
  --secondary-grad: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 138, 0, 0.35);
  --text: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --success: #10B981;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 138, 0, 0.12) 0%, rgba(255, 94, 0, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 138, 0, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-grad);
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

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

/* Main Container */
.main-content {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 56px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #D1D5DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Quick Nav Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Legal & Support Content Box */
.content-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary-grad);
  border-radius: 999px;
  display: inline-block;
}

.legal-section p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.legal-section li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.callout-box {
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.25);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.callout-box p {
  color: #FDE68A;
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(18, 19, 26, 0.5);
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Contact Card */
.contact-box {
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.1) 0%, rgba(18, 19, 26, 0.75) 100%);
  border: 1px solid rgba(255, 138, 0, 0.3);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.contact-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 999px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.email-pill:hover {
  border-color: var(--primary);
  background: rgba(255, 138, 0, 0.15);
  color: var(--primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  background: #060608;
  margin-top: auto;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.tmdb-attribution {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .content-box {
    padding: 24px 18px;
  }
  .nav-links {
    display: none;
  }
}
