/*
Theme Name: PixelDrift
Theme URI: https://pixeldrift.tv
Author: PixelDrift
Author URI: https://pixeldrift.tv
Description: Official website theme for PixelDrift — The premium photo screensaver app for NVIDIA Shield and Google TV.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixeldrift
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --bg-primary:       #070710;
  --bg-secondary:     #0c0c1c;
  --bg-card:          rgba(255, 255, 255, 0.04);
  --bg-card-hover:    rgba(255, 255, 255, 0.08);
  --bg-glass:         rgba(12, 12, 28, 0.85);

  --accent-purple:    #8b5cf6;
  --accent-blue:      #3b82f6;
  --accent-cyan:      #22d3ee;
  --accent-pink:      #ec4899;

  --grad-main:        linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  --grad-hero-bg:     radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,0.18) 0%, transparent 70%);
  --grad-cta:         linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);

  --text-primary:     #f1f5f9;
  --text-secondary:   #94a3b8;
  --text-muted:       #475569;

  --border-color:     rgba(255, 255, 255, 0.08);
  --border-bright:    rgba(139, 92, 246, 0.4);

  --glow-purple:      0 0 60px rgba(139, 92, 246, 0.25);
  --glow-cyan:        0 0 60px rgba(34, 211, 238, 0.2);
  --glow-btn:         0 8px 40px rgba(139, 92, 246, 0.45);

  --font-head:        'Space Grotesk', 'Outfit', system-ui, sans-serif;
  --font-body:        'Inter', system-ui, sans-serif;

  --radius-sm:        8px;
  --radius-md:        16px;
  --radius-lg:        24px;
  --radius-xl:        40px;

  --max-w:            1200px;
  --nav-h:            72px;

  --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-hero-bg);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   NAVIGATION
============================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

#site-nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-color);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--glow-purple);
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--grad-main);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--glow-btn);
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px rgba(139,92,246,0.55);
}

.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
}

.hero-text { padding: 80px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--glow-btn);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(139,92,246,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-bounce);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

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

/* Hero Device Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.tv-body {
  background: #1a1a2e;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.05),
    var(--glow-purple);
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.tv-screen {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: #0a0a18;
  overflow: hidden;
  position: relative;
}

.tv-screen-content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  animation: slideshow 8s ease infinite;
}

.tv-photo {
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s;
}

.tv-photo:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2545 40%, #2d1b69 100%);
  position: relative;
  overflow: hidden;
}
.tv-photo:nth-child(1)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(139,92,246,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(34,211,238,0.3) 0%, transparent 40%);
}
.tv-photo:nth-child(2) { background: linear-gradient(135deg, #1a2a4a, #2d3561); }
.tv-photo:nth-child(3) { background: linear-gradient(135deg, #2d1b69, #1a0a3d); }

.tv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(7,7,16,0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.tv-overlay-text {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.tv-overlay-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.tv-stand {
  width: 40%;
  height: 12px;
  background: linear-gradient(180deg, #1a1a2e, #111120);
  margin: 0 auto;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.tv-base {
  width: 55%;
  height: 6px;
  background: #111120;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
}

/* Floating badges on the mockup */
.mockup-badge {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float-badge 4s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.mockup-badge-icon {
  font-size: 1.2rem;
}

.mockup-badge.badge-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.mockup-badge.badge-2 {
  bottom: 18%;
  left: -8%;
  animation-delay: 2s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   FEATURES
============================================================ */
#features {
  background: var(--bg-secondary);
}

#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

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

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

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.feature-icon-wrap.purple { background: rgba(139,92,246,0.15); }
.feature-icon-wrap.blue   { background: rgba(59,130,246,0.15); }
.feature-icon-wrap.cyan   { background: rgba(34,211,238,0.15); }
.feature-icon-wrap.pink   { background: rgba(236,72,153,0.15); }
.feature-icon-wrap.green  { background: rgba(34,197,94,0.15); }
.feature-icon-wrap.orange { background: rgba(249,115,22,0.15); }

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-head);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
#how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

#how-it-works .steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  box-shadow: var(--glow-purple);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   DEVICES
============================================================ */
#devices {
  background: var(--bg-secondary);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-smooth);
}

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

.device-icon {
  font-size: 3rem;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-head);
}

.device-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.device-tag {
  padding: 4px 12px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-purple);
}

/* ============================================================
   SCREENSHOTS / APP PREVIEW
============================================================ */
#preview {
  overflow: hidden;
}

.preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.preview-text { }

.preview-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: background 0.25s, border-color 0.25s;
}

.preview-list-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.preview-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.preview-list-item-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.preview-list-item-text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

/* UI Screenshot mockup */
.app-ui-mockup {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), var(--glow-purple);
}

.app-ui-titlebar {
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
}

.app-ui-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.app-ui-dot.red { background: #ff5f57; }
.app-ui-dot.yellow { background: #febc2e; }
.app-ui-dot.green { background: #28c840; }

.app-ui-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.app-ui-row.active {
  border-color: var(--accent-purple);
  background: rgba(139,92,246,0.08);
}

.app-ui-checkbox {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-ui-checkbox.checked {
  background: var(--grad-main);
  border-color: transparent;
}

.app-ui-icon { font-size: 1rem; }
.app-ui-label { flex: 1; }
.app-ui-count { font-size: 0.75rem; color: var(--text-muted); }

.app-ui-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.app-ui-start-btn {
  padding: 8px 20px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--glow-btn);
}

/* ============================================================
   DOWNLOAD / CTA
============================================================ */
#download {
  background: var(--bg-secondary);
}

.cta-box {
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.05);
  transform: rotate(15deg);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  transform: rotate(-10deg);
  pointer-events: none;
}

.cta-box .section-label { color: rgba(255,255,255,0.7); }

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.play-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.play-badge-icon {
  font-size: 1.75rem;
}

.play-badge-text-top {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}

.play-badge-text-main {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-head);
  line-height: 1.2;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

/* ============================================================
   FAQ
============================================================ */
.faq-list {
  max-width: 720px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: var(--border-bright); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item.open .faq-q { color: var(--accent-purple); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s;
}

.faq-item.open .faq-a { max-height: 200px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  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: 28px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS (Scroll Reveal)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-purple); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { padding: 80px 0 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  #how-it-works .steps-grid::before { display: none; }

  .preview-inner { grid-template-columns: 1fr; gap: 48px; }
  .app-ui-mockup { max-width: 480px; margin: 0 auto; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-top: 1px solid var(--border-color);
    gap: 20px;
    z-index: 999;
  }
  .nav-hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  #how-it-works .steps-grid { grid-template-columns: 1fr; }

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

  .cta-box { padding: 48px 32px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat-divider { display: none; }
}
