/* ═══════════════════════════════════════════════════
   PC Remote — Website Styles
   Dark premium aesthetic with purple/blue neon theme
   ═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg-base:       #080c18;
  --bg-surface:    #0d1225;
  --bg-card:       #111829;
  --bg-card-hover: #16203a;
  --border:        rgba(124, 58, 237, 0.18);
  --border-glow:   rgba(124, 58, 237, 0.45);

  --purple:        #7c3aed;
  --purple-light:  #a78bfa;
  --blue:          #3b82f6;
  --blue-light:    #93c5fd;
  --cyan:          #06b6d4;
  --green:         #10b981;
  --amber:         #f59e0b;
  --pink:          #ec4899;

  --text-primary:  #f0f4ff;
  --text-secondary:#94a3b8;
  --text-muted:    #4b5563;

  --nav-h:         72px;
  --radius-card:   16px;
  --radius-btn:    10px;

  --shadow-card:   0 4px 40px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 60px rgba(124, 58, 237, 0.25);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-light) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glow);
}

.btn-ghost:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--purple-light);
  transform: translateY(-2px);
}

.btn-download {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--text-primary); }
.accent { color: var(--purple-light); }

.nav-links {
  list-style: none;
  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;
}

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

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.55);
}

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

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 80px) 80px 80px;
  display: flex;
  align-items: center;
  gap: 64px;
  overflow: hidden;
}

.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  bottom: -200px; right: 200px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 40%; right: 80px;
  animation-delay: -6s;
  opacity: 0.2;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

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

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

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

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 80px rgba(124, 58, 237, 0.2);
  transition: transform 0.5s ease;
}

.hero-img:hover { transform: scale(1.02) rotate(-0.5deg); }

.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  position: relative;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--icon-color, var(--purple)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(124, 58, 237, 0.15);
}

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

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--icon-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 30%, transparent);
  color: var(--icon-color);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  box-shadow: 0 0 20px color-mix(in srgb, var(--icon-color) 40%, transparent);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.04) 50%, transparent 100%);
}

.steps-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.step:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
  margin-top: 80px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
}

/* ── PLATFORMS ── */
.platforms {
  padding: 100px 0;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.platform-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.platform-logo {
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.platform-card:hover .platform-logo { color: var(--purple-light); }

.platform-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.platform-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.platform-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.platform-badge--recommended {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--green);
}

/* ── DOWNLOAD ── */
.download {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.download-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.download-text .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.download-text .section-header { text-align: left; }
.download-text .section-tag { margin-bottom: 12px; }
.download-text .section-title { text-align: left; }
.download-text .section-subtitle { text-align: left; }

.download-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.download-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.download-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.download-card--primary {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.15);
}

.download-card--primary:hover {
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.3);
}

.dl-platform-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: color 0.3s;
}

.download-card:hover .dl-platform-icon { color: var(--purple-light); }
.download-card--primary .dl-platform-icon { color: var(--purple-light); }

.dl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dl-platform {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dl-version {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── SCROLL ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero { padding: calc(var(--nav-h) + 60px) 48px 60px; gap: 40px; }
  .ad-sidebar-hero { display: none; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .download-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: calc(var(--nav-h) + 48px) 24px 60px;
    text-align: center;
    min-height: auto;
  }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 100%; }
  .hero-img { max-width: 100%; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(8, 12, 24, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: 1fr; }
  .steps-wrapper { flex-direction: column; align-items: stretch; }
  .step-connector { display: none; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .ad-slot--leaderboard .ad-placeholder { width: 100%; max-width: 320px; height: 50px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
}
