/* ============================================
   DEAD CENTER APPS - SPECIALTY APPS DIVISION
   Bright & Modern Tech Theme
   ============================================ */

/* CSS Variables */
:root {
  --bg-dark: #0a1628;
  --bg-panel: #0c1e36;
  --bg-card: #102a45;
  
  --accent-primary: #0ea5e9;
  --accent-secondary: #38bdf8;
  --accent-tertiary: #67e8f9;
  --accent-glow: rgba(14, 165, 233, 0.4);
  
  --text-bright: #ffffff;
  --text-normal: #f0f9ff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(14, 165, 233, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.4);
  
  --gradient-tech: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
  --gradient-bg: linear-gradient(180deg, #0a1628 0%, #0c2440 50%, #0a1628 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-normal);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-tertiary);
  text-decoration: underline;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.5));
}

.brand span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

nav a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--text-bright);
  background: rgba(14, 165, 233, 0.1);
  text-decoration: none;
}

nav a.active {
  color: var(--accent-primary);
  background: rgba(14, 165, 233, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-bg);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 60px rgba(14, 165, 233, 0.4);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--accent-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.hero-particles {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 50%, var(--bg-dark) 100%);
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-content p {
  font-size: 1.15rem;
  color: var(--text-normal);
  margin-bottom: 2rem;
}

.mission-content strong {
  color: var(--accent-secondary);
}

.mission-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.mission-list li {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-bright);
  font-weight: 600;
}

/* ============================================
   FEATURED APP
   ============================================ */
.featured-section {
  background: var(--bg-panel);
}

.featured-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .featured-app {
    grid-template-columns: auto 1fr;
  }
}

.app-icon-wrapper {
  text-align: center;
}

.app-icon {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3);
  transition: transform 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.05);
}

.app-info h3 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.app-tagline {
  font-size: 1.1rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.app-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.app-features {
  list-style: none;
  margin-bottom: 2rem;
}

.app-features li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-normal);
}

.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-section {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  text-align: center;
}

.download-section h4 {
  font-size: 1.5rem;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.download-subtitle {
  font-size: 1rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.download-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-code {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  transition: transform 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
}

.qr-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.download-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.play-badge {
  height: 60px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.play-badge:hover {
  transform: scale(1.05);
}

.short-link {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  font-weight: 600;
  opacity: 0.85;
}

.short-link:hover {
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #0284c7 100%);
  color: var(--text-bright);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--text-dim);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(14, 165, 233, 0.1);
  text-decoration: none;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0c2440 100%);
  text-align: center;
  padding: 6rem 0;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050a14;
  padding: 3rem 0;
  border-top: 1px solid rgba(14, 165, 233, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.footer-brand span {
  font-weight: 700;
  color: var(--text-bright);
}

.footer-copyright {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .mission-list {
    flex-direction: column;
  }
  
  .download-content {
    gap: 1.5rem;
  }
  
  .qr-code {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .app-icon {
    width: 140px;
    height: 140px;
  }
}