/* ==========================================================================
   eMovie - Modern Cinema App & Movie Download Landing Page Styles
   Aesthetic: Ultra-Dark Cinema Glassmorphism, Neon Crimson & Cyan Glow
   Fully Optimized for Desktop, Tablet & Mobile Views
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #07080d;
  --bg-secondary: #0c0e17;
  --bg-card: rgba(18, 21, 33, 0.75);
  --bg-card-hover: rgba(26, 30, 48, 0.85);
  --bg-glass: rgba(14, 17, 27, 0.75);
  --bg-elevated: #131623;

  --accent-red: #e50914;
  --accent-red-hover: #f40612;
  --accent-red-glow: rgba(229, 9, 20, 0.45);
  
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);

  --accent-gold: #ffb800;
  --accent-purple: #7928ca;
  --accent-green: #00e676;

  --text-primary: #ffffff;
  --text-secondary: #9ea5ba;
  --text-muted: #626a84;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-neon: rgba(229, 9, 20, 0.5);

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows & Glows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-glow-red: 0 0 35px var(--accent-red-glow);
  --shadow-glow-cyan: 0 0 30px var(--accent-cyan-glow);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #07080d;
}

::-webkit-scrollbar-thumb {
  background: #232738;
  border-radius: 5px;
  border: 2px solid #07080d;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

::selection {
  background: var(--accent-red);
  color: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(121, 40, 202, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #07080d 0%, #0a0c14 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

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

/* ==========================================================================
   Top Announcement Bar (Configurable via Admin Panel)
   ========================================================================== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.announcement-bar.type-info {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.35);
  color: #e0f7fa;
  backdrop-filter: blur(14px);
}

.announcement-bar.type-alert {
  background: rgba(229, 9, 20, 0.22);
  border-color: rgba(229, 9, 20, 0.45);
  color: #ffebee;
  backdrop-filter: blur(14px);
}

.announcement-bar.type-success {
  background: rgba(0, 230, 118, 0.18);
  border-color: rgba(0, 230, 118, 0.4);
  color: #e8f5e9;
  backdrop-filter: blur(14px);
}

.announcement-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 40px;
}

#announcementText {
  text-align: center;
  width: 100%;
  display: inline-block;
  letter-spacing: 0.2px;
}

.btn-close-announcement {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.btn-close-announcement:hover {
  opacity: 1;
}

body.has-announcement .navbar {
  top: 42px;
}

@media (max-width: 768px) {
  body.has-announcement .navbar {
    top: 50px;
  }
  .announcement-bar {
    font-size: 0.78rem;
    padding: 8px 0;
  }
}

/* ==========================================================================
   Navigation Bar (Desktop & Mobile)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(7, 8, 13, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 8, 13, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  background: linear-gradient(135deg, #ffffff 40%, #ff8088 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(229, 9, 20, 0.2);
  color: #ff4757;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 9, 20, 0.4);
  text-transform: uppercase;
  margin-left: -2px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #b20710 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-bounce);
}

.nav-btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(229, 9, 20, 0.7);
}

/* Animated Hamburger for Mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-hamburger span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

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

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

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

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(7, 8, 13, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-highlight);
  padding: 24px;
  gap: 16px;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.mobile-menu-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer a {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-drawer a:hover {
  color: var(--accent-red);
}

/* ==========================================================================
   Hero Section (Split Grid Desktop, Flow Stack Mobile)
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.22) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 25%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffcdd2;
  margin-bottom: 24px;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulseGlow 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--accent-red); }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-red); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px var(--accent-red); }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ff2a4b 0%, #ff8597 50%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(229, 9, 20, 0.4);
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

/* App Metadata Specs */
.app-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.meta-pill strong {
  color: var(--text-primary);
  font-weight: 600;
}

.meta-pill svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #b20710 100%);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 30px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 30%
  );
  transform: rotate(30deg);
  animation: btnShine 4s infinite linear;
}

@keyframes btnShine {
  0% { transform: translateX(-100%) rotate(30deg); }
  25% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(229, 9, 20, 0.7);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 16px 30px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

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

.trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Visual Showcase (Phone Mockup with Floating Elements) */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.hero-phone-container {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(229, 9, 20, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: floatPhone 6s ease-in-out infinite;
  background: #0d0f19;
}

@keyframes floatPhone {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-phone-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

.hero-phone-container:hover .hero-phone-img {
  transform: scale(1.03);
}

/* Floating Feature Badges around Phone */
.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(14, 17, 28, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: floatBadge 5s ease-in-out infinite;
  white-space: nowrap;
}

.pill-1 {
  top: 14%;
  left: -20px;
  color: #fff;
  border-left: 3px solid var(--accent-red);
}

.pill-2 {
  bottom: 22%;
  right: -25px;
  color: #fff;
  border-left: 3px solid var(--accent-cyan);
  animation-delay: -2.5s;
}

.pill-3 {
  bottom: 6%;
  left: 20px;
  color: #fff;
  border-left: 3px solid var(--accent-gold);
  animation-delay: -1.2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
  padding: 40px 0 70px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.stat-number {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 50%, #ff8088 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: #ffffff;
  line-height: 1.25;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   App Features Section
   ========================================================================== */
.features-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 14, 23, 0.6) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: var(--transition-bounce);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(229, 9, 20, 0.08), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 9, 20, 0.15);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.15);
}

.feature-card:nth-child(2) .feature-icon-wrap {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.feature-card:nth-child(3) .feature-icon-wrap {
  background: rgba(121, 40, 202, 0.12);
  border-color: rgba(121, 40, 202, 0.3);
  color: #a855f7;
  box-shadow: 0 0 20px rgba(121, 40, 202, 0.15);
}

.feature-card:nth-child(4) .feature-icon-wrap {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.3);
  color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.15);
}

.feature-card:nth-child(5) .feature-icon-wrap {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.feature-card:nth-child(6) .feature-icon-wrap {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.feature-title {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   Installation Guide (3 Steps)
   ========================================================================== */
.guide-section {
  padding: 90px 0;
  position: relative;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  position: relative;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

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

.step-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-main);
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.step-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   Download Center Showcase (CTA Banner with QR Code)
   ========================================================================== */
.download-center-section {
  padding: 80px 0;
}

.download-cta-card {
  background: radial-gradient(circle at 100% 0%, rgba(229, 9, 20, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 0% 100%, rgba(0, 229, 255, 0.18) 0%, transparent 50%),
              var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
}

.dl-card-content h3 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.dl-card-content p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  margin-bottom: 30px;
  max-width: 520px;
}

.dl-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.dl-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #b20710 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 30px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-bounce);
}

.dl-primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(229, 9, 20, 0.7);
}

.dl-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 16px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-highlight);
  transition: var(--transition-fast);
}

.dl-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* QR Code Box */
.qr-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 13, 0.8);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.qr-code-holder {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.qr-code-holder svg {
  display: block;
}

.qr-box-wrap p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.qr-box-wrap strong {
  color: #fff;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-red);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-brand-pill .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-pill .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-pill .brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.footer-brand-pill .brand-tag {
  background: rgba(229, 9, 20, 0.16);
  color: var(--accent-red);
  border: 1px solid rgba(229, 9, 20, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.footer-row-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
  text-align: left;
}

.footer-single-row .footer-social-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 0;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--accent-red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Download Modal Popup
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 34px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(229, 9, 20, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: rgba(229, 9, 20, 0.2);
  color: #fff;
  border-color: var(--accent-red);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-app-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 20px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.modal-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-info h3 {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.modal-header-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Download Progress Simulation */
.progress-container {
  margin: 20px 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan));
  box-shadow: 0 0 10px var(--accent-red);
  transition: width 0.2s linear;
}

.download-status-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Mirror Download Options */
.mirror-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.mirror-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.mirror-btn:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.4);
}

.mirror-tag {
  font-size: 0.75rem;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.modal-security-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 18, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints: Tablets & Desktops (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .app-meta-strip {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

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

  .download-cta-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
  }

  .dl-card-content p {
    margin: 0 auto 30px;
  }

  .dl-btn-row {
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Safe floating badges positioning */
  .pill-1 {
    left: 10px;
    top: 8%;
  }

  .pill-2 {
    right: 10px;
    bottom: 18%;
  }

  .pill-3 {
    left: 20px;
    bottom: 8%;
  }
}

/* ==========================================================================
   Responsive Breakpoints: Mobile Devices (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .nav-links, .nav-actions .nav-btn-download {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-phone-container {
    max-width: 320px;
    border-radius: 28px;
  }

  /* Keep floating pills responsive & tidy inside mobile viewport */
  .floating-pill {
    padding: 7px 13px;
    font-size: 0.75rem;
  }

  .pill-1 {
    left: 4px;
    top: 10%;
  }

  .pill-2 {
    right: 4px;
    bottom: 22%;
  }

  .pill-3 {
    left: 16px;
    bottom: 6%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    padding: 15px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 20px 14px;
  }

  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 26px 20px;
  }

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

  .download-cta-card {
    padding: 32px 18px;
    border-radius: var(--radius-md);
  }

  .dl-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .dl-primary-btn, .dl-secondary-btn {
    width: 100%;
  }

  .qr-box-wrap {
    padding: 22px 16px;
    width: 100%;
  }

  .qr-code-holder svg {
    width: 120px;
    height: 120px;
  }

  .faq-question {
    padding: 16px 18px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }

  .footer {
    padding: 50px 0 24px;
  }

  .footer-single-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 18px;
    margin-bottom: 24px;
  }

  .footer-row-desc {
    text-align: center;
    max-width: 100%;
    font-size: 0.88rem;
  }

  .footer-single-row .footer-social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .modal-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .mirror-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
  }
}

/* ==========================================================================
   Extra Small Mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-badge-pill {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .app-meta-strip {
    gap: 8px;
  }

  .meta-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .floating-pill {
    font-size: 0.72rem;
    padding: 6px 10px;
    gap: 6px;
  }

  .pill-1 {
    left: 2px;
    top: 6%;
  }

  .pill-2 {
    right: 2px;
    bottom: 18%;
  }

  .pill-3 {
    left: 8px;
    bottom: 4%;
  }
}

/* ==========================================================================
   Production Legal & Compliance Modal (DMCA, Privacy, Terms)
   ========================================================================== */
.legal-modal-card {
  max-width: 680px;
  width: 92%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 9, 20, 0.15);
  position: relative;
  overflow: hidden;
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
}

.legal-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.legal-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.legal-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-red) 0%, #b20710 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.legal-modal-body {
  overflow-y: auto;
  padding-right: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.4);
  border-radius: 3px;
}

.legal-tab-pane {
  display: none;
}

.legal-tab-pane.active {
  display: block;
}

.legal-tab-pane h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 16px 0 8px;
  font-weight: 700;
}

.legal-tab-pane p {
  margin-bottom: 12px;
}

.legal-contact-box {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 16px;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.legal-contact-box strong {
  color: var(--accent-cyan);
}

.qr-code-img {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #ffffff;
  padding: 4px;
}
