/* ═══════════════════════════════════════════════════════════════════════
   soliplayer.com — Global Stylesheet
   Design: Dark premium, brand colors: Violet #7B5CF6 + Cyan #22D3EE
   Fonts: Inter (Google Fonts)
   ═══════════════════════════════════════════════════════════════════════ */

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

/* ─── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
  /* Brand */
  --soli-violet:      #7B5CF6;
  --soli-violet-dark: #5B3FD6;
  --soli-violet-light:#A78BFA;
  --soli-cyan:        #22D3EE;
  --soli-cyan-dark:   #06B6D4;
  --soli-gold:        #F59E0B;

  /* Backgrounds */
  --bg-base:          #08080F;
  --bg-surface:       #0F0F1A;
  --bg-elevated:      #16162A;
  --bg-card:          #1A1A2E;
  --bg-border:        rgba(255,255,255,0.08);

  /* Text */
  --text-primary:     #F1F0FF;
  --text-secondary:   rgba(241,240,255,0.60);
  --text-muted:       rgba(241,240,255,0.35);

  /* Gradients */
  --grad-brand:       linear-gradient(135deg, var(--soli-cyan), var(--soli-violet));
  --grad-card:        linear-gradient(160deg, #1A1A2E 0%, #0F0F1A 100%);
  --grad-hero-glow:   radial-gradient(ellipse 60% 50% at 50% -10%, rgba(123,92,246,0.35), transparent);

  /* Typography */
  --font:             'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --radius-sm:        8px;
  --radius-md:        14px;
  --radius-lg:        20px;
  --radius-xl:        28px;
  --radius-pill:      999px;

  /* Transitions */
  --ease-snappy:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── Typography Scale ───────────────────────────────────────────────────── */
.t-hero     { font-size: clamp(3rem, 7vw, 6rem);   font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; }
.t-display  { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.1;  letter-spacing: -0.03em; }
.t-heading  { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.2; }
.t-body     { font-size: 1.0625rem; font-weight: 400; line-height: 1.7; }
.t-small    { font-size: 0.875rem;  font-weight: 500; }
.t-tag      { font-size: 0.75rem;   font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-snappy);
  white-space: nowrap;
}

.btn-primary {
  background: var(--soli-violet);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(123,92,246,0);
}
.btn-primary:hover {
  background: var(--soli-violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(123,92,246,0.4);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--bg-border);
}
.btn-secondary:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
  border-color: rgba(123,92,246,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--grad-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.nav-logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-primary); }

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

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero-glow);
  pointer-events: none;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--soli-violet);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--soli-cyan);
  bottom: -100px; left: -100px;
  animation-delay: -3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(123,92,246,0.15);
  border: 1px solid rgba(123,92,246,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--soli-violet-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--soli-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title { margin-bottom: 24px; }
.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
}

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

/* Apple TV badge */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── TV Mockup ──────────────────────────────────────────────────────────── */
.tv-mockup-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 860px;
}

.tv-mockup {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow:
    0 0 0 6px #1a1a2e,
    0 0 0 9px rgba(255,255,255,0.06),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(123,92,246,0.2);
  position: relative;
}

.tv-mockup-inner {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0D0D1A 0%, #050510 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tv-mock-logo {
  font-size: 18px;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tv-mock-tag {
  font-size: 9px;
  font-weight: 700;
  color: #EF4444;
  background: rgba(239,68,68,0.15);
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tv-mock-tag::before {
  content: '●';
  animation: pulse 1s infinite;
}

.tv-mock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  flex: 1;
}

.tv-mock-card {
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.tv-mock-card.focused {
  border-color: var(--soli-violet);
  box-shadow: 0 0 0 2px var(--soli-violet), 0 0 20px rgba(123,92,246,0.4);
  transform: scale(1.05);
}
.tv-mock-card-shimmer {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--bg-elevated) 0%, var(--bg-card) 50%, var(--bg-elevated) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.tv-mock-card:nth-child(3) .tv-mock-card-shimmer { background: linear-gradient(135deg, #1a1a4e, #2d1a4e); }
.tv-mock-card:nth-child(7) .tv-mock-card-shimmer { background: linear-gradient(135deg, #1a2a2e, #0d2830); }
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  padding: 28px;
  background: var(--grad-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease-snappy);
}
.feature-card:hover {
  border-color: rgba(123,92,246,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(123,92,246,0.1);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-icon.violet { background: rgba(123,92,246,0.18); }
.feature-icon.cyan   { background: rgba(34,211,238,0.15); }
.feature-icon.gold   { background: rgba(245,158,11,0.15); }
.feature-icon.green  { background: rgba(34,197,94,0.15); }

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
  align-items: start;
}

.pricing-card {
  padding: 36px 28px;
  background: var(--grad-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.25s var(--ease-snappy);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--soli-violet);
  box-shadow: 0 0 0 1px var(--soli-violet), 0 0 60px rgba(123,92,246,0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: white;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--soli-violet-light);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-feature-check {
  width: 20px; height: 20px;
  background: rgba(123,92,246,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--soli-violet-light);
  flex-shrink: 0;
}

/* ─── Section Header ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.section-header .t-tag {
  color: var(--soli-violet-light);
  margin-bottom: 12px;
  display: block;
}
.section-header p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ─── How It Works ───────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(123,92,246,0.15);
  border: 2px solid rgba(123,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--soli-violet-light);
  margin: 0 auto 16px;
}

.step-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(123,92,246,0.15) 0%, rgba(34,211,238,0.10) 100%);
  border: 1px solid rgba(123,92,246,0.25);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(123,92,246,0.15), transparent);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p  { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.0625rem; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--bg-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }

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

/* ─── Scroll Animations ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-snappy), transform 0.6s var(--ease-snappy);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
