/* 🎬 DEADFLIX — Landing Page Core Stylesheet */

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

:root {
  /* HSL Color Tokens */
  --primary: hsl(356, 92%, 47%);
  --primary-hover: hsl(356, 92%, 40%);
  --primary-glow: hsla(356, 92%, 47%, 0.4);
  
  --firefox: hsl(25, 100%, 45%);
  --firefox-hover: hsl(25, 100%, 38%);
  --firefox-glow: hsla(25, 100%, 45%, 0.4);

  --bg: hsl(0, 0%, 5%);
  --surface: hsla(0, 0%, 9%, 0.7);
  --surface-hover: hsla(0, 0%, 12%, 0.85);
  --border-color: hsla(0, 0%, 100%, 0.08);
  --border-hover: hsla(0, 0%, 100%, 0.16);

  --text: hsl(0, 0%, 98%);
  --text-muted: hsl(0, 0%, 75%);
  --text-dim: hsl(0, 0%, 55%);

  /* Font Settings */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
}

/* Reset & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: 20px;
  background-image:
    radial-gradient(circle at top, hsla(356, 92%, 47%, 0.18) 0%, transparent 55%),
    radial-gradient(circle at bottom, hsla(0, 0%, 0%, 0.95) 0%, var(--bg) 100%);
  background-attachment: fixed;
}

.container {
  max-width: 640px;
  width: 100%;
  padding: 40px 16px;
  text-align: center;
  z-index: 2;
  animation: pageFadeIn var(--duration-normal) var(--ease-smooth);
}

/* Header & Identity */
.header-section {
  margin-bottom: 28px;
}

.logo {
  font-family: var(--font-display);
  font-size: 5.5rem;
  letter-spacing: 3px;
  color: var(--primary);
  text-shadow: 0 4px 30px var(--primary-glow);
  margin-bottom: 4px;
  display: inline-block;
  user-select: none;
  animation: logoFloat 4s ease-in-out infinite;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: hsla(356, 92%, 47%, 0.08);
  border: 1px solid hsla(356, 92%, 47%, 0.25);
  padding: 6px 16px;
  border-radius: 9999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.12);
  margin-bottom: 12px;
}

.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulseLight 1.8s ease-in-out infinite;
}

/* Glassmorphic Card Container */
.card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 
    0 24px 60px hsla(0, 0%, 0%, 0.7),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
  margin-bottom: 32px;
  transition: border-color var(--duration-normal) var(--ease-smooth);
}

.card:hover {
  border-color: var(--border-hover);
}

.description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 28px;
  font-weight: 400;
}

/* Core Features Checklist */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto 36px auto;
  text-align: left;
}

@media (min-width: 480px) {
  .features-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: hsl(0, 0%, 90%);
  background: hsla(0, 0%, 100%, 0.02);
  border: 1px solid hsla(0, 0%, 100%, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.feature-item:hover {
  background: hsla(0, 0%, 100%, 0.04);
  border-color: hsla(0, 0%, 100%, 0.08);
  transform: translateX(2px);
}

.feature-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Interactive Download Buttons */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 480px) {
  .btn-group {
    flex-direction: row;
  }
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 10px;
  transition: all var(--duration-normal) var(--ease-smooth);
  border: none;
  cursor: pointer;
  color: white;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn:hover::after {
  opacity: 1;
  left: 125%;
}

.btn-chrome {
  background-color: var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-chrome:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px hsla(356, 92%, 47%, 0.65);
}

.btn-firefox {
  background-color: var(--firefox);
  box-shadow: 0 4px 20px var(--firefox-glow);
}

.btn-firefox:hover {
  background-color: var(--firefox-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px hsla(25, 100%, 45%, 0.65);
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.btn:hover svg {
  transform: translateY(2px);
}

/* Custom Instruction Guide Tabs */
.instructions-section {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  text-align: left;
}

.instructions-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.5px;
}

.tabs-header {
  display: flex;
  background: hsla(0, 0%, 0%, 0.4);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 9px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.tab-btn:hover {
  color: var(--text-muted);
}

.tab-btn.active {
  background: var(--surface-hover);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tab-content {
  display: none;
  animation: tabFadeIn var(--duration-normal) var(--ease-smooth);
}

.tab-content.active {
  display: block;
}

/* Steps List styling */
.steps-list {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.6;
}

.steps-list li::marker {
  color: var(--primary);
  font-weight: 700;
}

.steps-list code {
  background: hsla(0, 0%, 100%, 0.08);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Custom Warning/Note Container */
.note-box {
  margin-top: 20px;
  background: hsla(25, 100%, 45%, 0.06);
  border: 1px solid hsla(25, 100%, 45%, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: hsl(25, 100%, 80%);
  line-height: 1.5;
}

.note-box strong {
  color: var(--firefox);
}

.note-box code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid hsla(0, 0%, 100%, 0.05);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: monospace;
  color: hsl(25, 100%, 75%);
}

/* Footer Section */
.footer {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  line-height: 1.5;
  animation: pageFadeIn var(--duration-normal) var(--ease-smooth);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: text-shadow var(--duration-fast);
}

.footer a:hover {
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Keyframe Animations */
@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseLight {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
