/* ═══════════════════════════════════════════
   VoltaTV Landing Page — style.css
   Brand palette:
     --bg:        #0d0d0d
     --bg-2:      #141414
     --bg-3:      #1a1a1a
     --border:    rgba(255,255,255,0.07)
     --orange:    #f07020
     --red:       #d01a1a
     --silver:    #c0c0c0
     --white:     #ffffff
   ═══════════════════════════════════════════ */

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

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

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --border: rgba(255, 255, 255, 0.07);
  --orange: #f07020;
  --red: #d01a1a;
  --silver: #c8c8c8;
  --white: #ffffff;
  --grad: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  --grad-text: linear-gradient(135deg, #f8a060 0%, var(--orange) 40%, var(--red) 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── Utility ── */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent {
  color: var(--orange);
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(240, 112, 32, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 36px rgba(240, 112, 32, 0.5);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ═══════════ NAVBAR ═══════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 240px;
}

.mobile-menu ul {
  padding: 20px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--silver);
}

.mobile-menu a:hover {
  color: var(--white);
}

/* ═══════════ HERO ═══════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 120px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(240, 112, 32, 0.12) 0%, rgba(208, 26, 26, 0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1.2);
  }
}

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(240, 112, 32, 0.12);
  border: 1px solid rgba(240, 112, 32, 0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 112, 32, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(240, 112, 32, 0);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--silver);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--silver);
  font-weight: 400;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Phone Mockup */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.phone-mockup {
  position: relative;
  width: 400px;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(240, 112, 32, 0.15),
    0 32px 80px rgba(0, 0, 0, 0.8),
    inset 0 0 60px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

.phone-screen img {
  width: 100%;
  display: block;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(240, 112, 32, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  animation: float 6s ease-in-out infinite;
}

/* ═══════════ SECTION COMMON ═══════════ */
section:not(#hero) {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--silver);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════ FEATURES ═══════════ */
#features {
  max-width: 1200px;
}

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

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(240, 112, 32, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(240, 112, 32, 0.12);
  border: 1px solid rgba(240, 112, 32, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
  font-weight: 300;
}

.feature-screenshot {
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 220px;
  position: relative;
}

.feature-screenshot img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-screenshot img {
  transform: scale(1.04);
}

/* Wide card spanning full width */
.feature-card--wide {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}

.feature-card-inner {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.feature-card--wide .feature-text {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.feature-card--wide .feature-text p {
  max-width: 400px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver);
}

.feature-list li svg {
  color: var(--orange);
  flex-shrink: 0;
}

.feature-screenshot--tall {
  flex: 1;
  max-height: none;
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--border);
  min-height: 280px;
}

.feature-screenshot--tall img {
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

/* ═══════════ SCREENSHOTS SLIDER ═══════════ */
#screenshots {
  overflow: hidden;
}

.screenshots-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: grab;
  user-select: none;
}

.screenshots-slider:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slide img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: cover;
  height: 480px;
  box-shadow: var(--shadow);
}

.slide-caption {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: rgba(240, 112, 32, 0.15);
  border-color: rgba(240, 112, 32, 0.4);
  color: var(--orange);
}

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--orange);
}

/* ═══════════ DOWNLOAD ═══════════ */
#download {
  max-width: 100%;
  padding: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(240, 112, 32, 0.1) 0%, rgba(208, 26, 26, 0.05) 50%, transparent 75%);
  pointer-events: none;
}

.download-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download-logo {
  width: 88px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(240, 112, 32, 0.3);
  animation: float 6s ease-in-out infinite;
}

.download-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.download-desc {
  font-size: 1rem;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.7;
  max-width: 500px;
}

.download-fine {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

/* TV Downloader Code */
.tv-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tv-divider::before,
.tv-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.tv-code-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 112, 32, 0.2);
  border-radius: var(--radius);
  padding: 18px 24px;
  width: 100%;
  max-width: 420px;
  transition: var(--transition);
}

.tv-code-card:hover {
  border-color: rgba(240, 112, 32, 0.45);
  background: rgba(240, 112, 32, 0.06);
}

.tv-code-icon {
  width: 48px;
  height: 48px;
  background: rgba(240, 112, 32, 0.12);
  border: 1px solid rgba(240, 112, 32, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.tv-code-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.tv-code-label {
  font-size: 0.78rem;
  color: var(--silver);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.tv-code-label strong {
  color: var(--orange);
  font-weight: 600;
}

.tv-code-number {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-code-number span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tv-copy-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.tv-copy-btn:hover {
  background: rgba(240, 112, 32, 0.15);
  border-color: rgba(240, 112, 32, 0.4);
  color: var(--orange);
}

.tv-copy-btn.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.tv-code-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
  line-height: 1.5;
}

/* Hero variant — compact, no max-width constraint */
.tv-code-card--hero {
  max-width: 320px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

/* ═══════════ FOOTER ═══════════ */
#footer {
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-brand img {
  width: 28px;
  border-radius: 6px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

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

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    gap: 48px;
    text-align: center;
    padding: 110px 24px 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .phone-mockup {
    width: 300px;
  }

  .tv-code-card--hero {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .feature-card--wide {
    grid-column: auto;
  }

  .feature-card-inner {
    flex-direction: column;
  }

  .feature-screenshot--tall {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .feature-screenshot--tall img {
    max-height: 220px;
  }
}

@media (max-width: 680px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section:not(#hero) {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .slide img {
    height: 240px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}