/* ============================================
   BUNKER GUARD — Design System & Styles
   Minimalist Dark Military Theme
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Press+Start+2P&display=swap');

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Colors — Dark Military */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0e0e16;
  --bg-card: #14141f;
  --bg-card-hover: #1a1a2e;
  --surface: #111119;
  --surface-elevated: #18182a;

  /* Text */
  --text-primary: #e8e8f0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Accent */
  --accent-primary: #4f8cff;
  --accent-hover: #6ba3ff;
  --accent-glow: rgba(79, 140, 255, 0.12);
  --accent-green: #34d399;
  --accent-green-glow: rgba(52, 211, 153, 0.12);
  --accent-amber: #fbbf24;
  --accent-amber-glow: rgba(251, 191, 36, 0.12);

  /* Borders */
  --border: #1e1e2e;
  --border-hover: #2a2a40;
  --border-glow: rgba(79, 140, 255, 0.25);

  /* Feedback */
  --danger: #ef4444;
  --success: #22c55e;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: 100px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

a:hover {
  color: var(--accent-hover);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-primary);
  color: #fff;
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   3. UTILITY
   ============================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section__subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Pixel accent for headings */
.section__heading::before {
  content: '//';
  color: var(--accent-primary);
  margin-right: var(--space-sm);
  font-family: var(--font-pixel);
  font-size: 0.6em;
  vertical-align: middle;
}

/* ============================================
   4. NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.navbar__brand img {
  border-radius: var(--radius-sm);
}

/* User-supplied logo: black on transparent → recolor to site accent so it
   shows on the dark navbar. Swap to .navbar__brand-logo--dark if placed on
   a light background. */
.navbar__brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* renders the black logo as solid white */
  image-rendering: pixelated; /* keep pixel-art sharp when upscaled */
  transition: filter var(--transition-base);
}

.navbar__brand:hover .navbar__brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px var(--accent-glow));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-toggle__btn {
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  letter-spacing: 0.05em;
}

.lang-toggle__btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

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

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.navbar__mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.navbar__mobile-menu .navbar__link {
  font-size: 1.25rem;
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-lg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: blur(2px) saturate(0.6);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.7) 50%,
    var(--bg-primary) 100%
  );
}

/* Scanline overlay for retro feel */
.hero__scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(79, 140, 255, 0.06);
  border: 1px solid rgba(79, 140, 255, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.hero__badge span {
  color: var(--accent-green);
}

/* --- Hero Title Block --- */
.hero__title {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Decorative accent line above the title */
.hero__title-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* Main title text */
.hero__title-main {
  display: block;
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-md);
  color: #ffffff;
  text-shadow:
    0 0 60px rgba(79, 140, 255, 0.3),
    0 0 120px rgba(79, 140, 255, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Genre subtitle tag */
.hero__title-sub {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: clamp(0.5rem, 1.2vw, 0.7rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-primary);
  padding: 6px 16px;
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(79, 140, 255, 0.06);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(79, 140, 255, 0.35);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

.btn--download {
  width: 100%;
  padding: 16px var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  justify-content: flex-start;
  text-align: left;
}

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

.btn--download .btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--download .btn__label {
  flex: 1;
}

.btn--download .btn__badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--download .btn__badge--full {
  background: var(--accent-green-glow);
  color: var(--accent-green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.btn--download .btn__badge--preview {
  background: var(--accent-amber-glow);
  color: var(--accent-amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.btn--download .btn__size {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: var(--space-sm);
}

/* ============================================
   7. SCREENSHOTS SECTION (Carousel)
   ============================================ */
.screenshots__carousel {
  position: relative;
  overflow: hidden;
}

.screenshots__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0 var(--space-xl);
  cursor: grab;
}

.screenshots__track:active {
  cursor: grabbing;
}

.screenshots__track::-webkit-scrollbar {
  display: none;
}

/* While mouse-dragging, drop snap so the drag feels smooth */
.screenshots__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.screenshots__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  min-width: calc(33.333% - var(--space-lg) * 2 / 3);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.screenshots__item:hover {
  border-color: var(--accent-primary);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(79, 140, 255, 0.15);
}

.screenshots__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  pointer-events: none;
}

.screenshots__item:hover img {
  transform: scale(1.08);
}

.screenshots__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.screenshots__item:hover .screenshots__overlay {
  opacity: 1;
}

.screenshots__overlay span {
  font-size: 0.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Carousel nav arrows */
.screenshots__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0.7;
}

.screenshots__nav:hover {
  opacity: 1;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.screenshots__nav--prev {
  left: var(--space-sm);
}

.screenshots__nav--next {
  right: var(--space-sm);
}

/* Dot indicators */
.screenshots__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.screenshots__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.screenshots__dot.active {
  background: var(--accent-primary);
  width: 24px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================
   8. DOWNLOAD SECTION
   ============================================ */
.download__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.download__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.download__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.download__card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.download__card:hover::before {
  opacity: 1;
}

.download__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.download__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
}

.download__card-icon svg {
  width: 28px;
  height: 28px;
}

.download__card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

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

.download__card-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ============================================
   9. ABOUT SECTION
   ============================================ */
.about__content {
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.about__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.about__feature {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.about__feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.about__feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.about__feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   10. FAQ SECTION
   ============================================ */
.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq__item.open {
  border-color: rgba(79, 140, 255, 0.2);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: var(--space-md);
}

.faq__question:hover {
  color: var(--accent-primary);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

/* ============================================
   11. CONTACT / FOOTER
   ============================================ */
.contact__content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact__socials {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* LinkedIn-style pill boxes: icon + text, equal width, side by side */
.contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-width: 150px;
  height: 52px;
  padding: 0 var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
}

.contact__social-link:hover {
  border-color: var(--accent-primary);
  color: #ffffff;
  background: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.contact__social-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact__social-label {
  line-height: 1;
}

.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer__text {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.footer__text:hover {
  opacity: 0.8;
}

/* ============================================
   12. LIGHTBOX / MODAL
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-spring);
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: var(--space-lg);
}

.lightbox__nav--next {
  right: var(--space-lg);
}

/* ============================================
   13. SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="fade-left"].visible,
[data-animate="fade-right"].visible {
  transform: translateX(0);
}

[data-animate="scale-in"] {
  transform: scale(0.9);
}

[data-animate="scale-in"].visible {
  transform: scale(1);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ============================================
   14. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* ============================================
   14. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   15. RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --space-section: 72px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero__title-main {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .screenshots__item {
    min-width: calc(50% - var(--space-lg) / 2);
  }

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

  .about__features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .section__heading {
    font-size: 1.75rem;
  }

  .lightbox__nav--prev {
    left: var(--space-sm);
  }

  .lightbox__nav--next {
    right: var(--space-sm);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: var(--space-3xl);
  }

  .hero__title-main {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .hero__title-sub {
    font-size: 0.45rem;
    letter-spacing: 0.15em;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .screenshots__item {
    min-width: 85%;
  }

  .screenshots__nav {
    display: none;
  }

  .download__card {
    padding: var(--space-lg);
  }

  .faq__question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
  }

  .faq__answer-inner {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.875rem;
  }

  .section__heading {
    font-size: 1.5rem;
  }

  .section__heading::before {
    display: none;
  }

  .contact__socials {
    gap: var(--space-md);
  }

  .contact__social-link {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 var(--space-md);
    font-size: 0.8rem;
  }
}
