/* ════════════════════════════════════════════════════════════════════
   Wingetix — Web Oficial & Portal Promocional
   Design System: Windows 11 Glassmorphism & Fluent Acrylic
   ════════════════════════════════════════════════════════════════════ */

:root {
  --color-bg-base:        #060a14;
  --color-bg-card:        rgba(11, 17, 30, 0.92);
  --color-bg-secondary:   #0d1424;
  --color-bg-tertiary:    #162035;
  --color-surface:        rgba(255, 255, 255, 0.07);
  --color-surface-hover:  rgba(255, 255, 255, 0.12);
  --color-surface-active: rgba(255, 255, 255, 0.18);
  
  --color-border:         rgba(255, 255, 255, 0.12);
  --color-border-strong:  rgba(255, 255, 255, 0.22);
  --color-border-glow:    rgba(110, 231, 183, 0.45);

  --color-primary:        #4f8ef7;
  --color-primary-hover:  #3b82f6;
  --color-primary-glow:   rgba(79, 142, 247, 0.35);

  --color-accent:         #6ee7b7;
  --color-accent-dark:    #10b981;
  --color-accent-glow:    rgba(110, 231, 183, 0.35);

  --color-danger:         #f87171;
  --color-danger-glow:    rgba(248, 113, 113, 0.3);
  --color-warning:        #fbbf24;
  --color-success:        #34d399;

  --color-text-primary:   #ffffff;
  --color-text-secondary: #e2e8f0;
  --color-text-muted:     #94a3b8;

  --font-sans:            'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:            'JetBrains Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;

  --radius-xs:            4px;
  --radius-sm:            8px;
  --radius-md:            12px;
  --radius-lg:            18px;
  --radius-xl:            26px;
  --radius-full:          9999px;

  --shadow-sm:            0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md:            0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-lg:            0 24px 64px rgba(0, 0, 0, 0.65);
  --shadow-glow:          0 0 45px rgba(79, 142, 247, 0.2);

  --transition-fast:      all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth:    all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce:    all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Accessibility Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--color-accent);
  color: #06090e;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.4);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 20px;
  outline: 2px solid #ffffff;
}

/* ── Deep Space & Cosmic Nebula Background ─────────────────────────────── */
.space-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 90% at 50% -15%, #0d1a2d 0%, #060b16 48%, #03050a 100%);
}

/* ── Starfield Layers ─────────────────────────────────────────────────── */
.stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stars-layer-1 {
  background-image: 
    radial-gradient(1px 1px at 28px 36px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 85px 120px, rgba(167, 243, 208, 0.9), transparent),
    radial-gradient(1px 1px at 160px 45px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 225px 180px, rgba(125, 211, 252, 0.85), transparent),
    radial-gradient(1px 1px at 310px 90px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.2px 1.2px at 390px 240px, rgba(196, 181, 253, 0.75), transparent),
    radial-gradient(1px 1px at 450px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 530px 195px, rgba(110, 231, 183, 0.85), transparent),
    radial-gradient(1px 1px at 600px 310px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 680px 110px, rgba(56, 189, 248, 0.9), transparent),
    radial-gradient(1px 1px at 750px 260px, rgba(255, 255, 255, 0.75), transparent);
  background-size: 780px 380px;
  opacity: 0.75;
}

.stars-layer-2 {
  background-image: 
    radial-gradient(1.6px 1.6px at 45px 95px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 175px 230px, rgba(110, 231, 183, 0.9), rgba(110, 231, 183, 0.2) 3px, transparent),
    radial-gradient(1.5px 1.5px at 325px 45px, rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.2) 3px, transparent),
    radial-gradient(2.2px 2.2px at 475px 290px, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3) 4px, transparent),
    radial-gradient(1.5px 1.5px at 615px 145px, rgba(167, 139, 250, 0.85), transparent),
    radial-gradient(1.8px 1.8px at 745px 275px, rgba(110, 231, 183, 0.85), transparent);
  background-size: 890px 430px;
  opacity: 0.65;
}

/* ── Cosmic Nebula Clouds (Static Zero-Overhead Ambient Veils) ─────────── */
.nebula-cloud {
  position: absolute;
  pointer-events: none;
}

/* Mint / Emerald Gas Veil */
.nebula-cloud-mint {
  top: 2%;
  left: -8%;
  width: 65vw;
  height: 60vw;
  max-width: 860px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(110, 231, 183, 0.14) 0%, rgba(16, 185, 129, 0.07) 35%, rgba(6, 95, 70, 0.02) 60%, transparent 75%);
  opacity: 0.9;
}

/* Electric Cyan / Blue Stardust Veil */
.nebula-cloud-cyan {
  top: 28%;
  right: -10%;
  width: 62vw;
  height: 66vw;
  max-width: 840px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, rgba(79, 142, 247, 0.08) 38%, rgba(37, 99, 235, 0.02) 65%, transparent 80%);
  opacity: 0.85;
}

/* Cosmic Violet Deep Interstellar Cloud */
.nebula-cloud-violet {
  bottom: -5%;
  left: 12%;
  width: 58vw;
  height: 58vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 52%, rgba(139, 92, 246, 0.14) 0%, rgba(99, 102, 241, 0.07) 38%, rgba(76, 29, 149, 0.01) 65%, transparent 80%);
  opacity: 0.8;
}

/* Central Galactic Core */
.nebula-cloud-core {
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78vw;
  height: 78vw;
  max-width: 980px;
  max-height: 980px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08) 0%, rgba(110, 231, 183, 0.05) 30%, rgba(139, 92, 246, 0.03) 55%, transparent 75%);
}

/* ── Cosmic Stardust Shimmer ─────────────────────────────────────────── */
.cosmic-dust {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(110, 231, 183, 0.025) 1px, transparent 1px);
  background-size: 42px 42px, 76px 76px;
  background-position: 0 0, 24px 24px;
  opacity: 0.6;
}

.shooting-star {
  display: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 0.9s linear infinite;
  display: inline-block;
}

/* ── Container Layout ─────────────────────────────────────────────────── */
.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ── Glassmorphism Surface Base ───────────────────────────────────────── */
.glass-panel {
  background: #0b111e;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   Navigation Header
   ═══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(9, 13, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(9, 13, 20, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-link > span:not(.brand-badge) {
  white-space: nowrap;
  display: inline-block;
}

.brand-logo-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.25) 0%, transparent 70%);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(110, 231, 183, 0.5));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: rotate(25deg) scale(1.12);
  filter: drop-shadow(0 0 16px rgba(110, 231, 183, 0.85));
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(110, 231, 183, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(110, 231, 183, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
}

.star-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-accent);
}

/* ── Language Switcher Selector ─────────────────────────────────────── */
.lang-selector-wrap {
  position: relative;
}

.btn-lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-lang-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(110, 231, 183, 0.4);
  transform: translateY(-1px);
}

.lang-icon {
  color: var(--color-accent);
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.btn-lang-selector[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(11, 17, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  padding: 6px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: langDropdownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes langDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-dropdown.show {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: var(--transition-fast);
}

.lang-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
}

.lang-opt.active {
  background: rgba(110, 231, 183, 0.15);
  color: var(--color-accent);
  font-weight: 600;
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #60a5fa, var(--color-primary));
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════ */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 26px;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.hero-pill-badge:hover {
  background: rgba(110, 231, 183, 0.16);
  border-color: rgba(110, 231, 183, 0.45);
  transform: translateY(-1px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.pill-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.pill-tag {
  color: var(--color-accent);
  font-weight: 600;
}

/* Hero Brand Block */
.hero-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

/* ── Hero Brand Logo (Native Zero-Overhead Inline Logo) ───────────────── */
.hero-logo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 16px rgba(110, 231, 183, 0.4));
  transition: transform 0.3s ease;
}

.hero-logo-wrap:hover .hero-logo-img {
  transform: scale(1.05) rotate(4deg);
}

.hero-logo-halo {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.20) 0%, rgba(79, 142, 247, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-logo-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
  }
}

.hero-brand-title {
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1.18;
  color: #ffffff;
  overflow: visible;
}

.hero-brand-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 10%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  vertical-align: top;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #93c5fd;
  max-width: 820px;
  margin: 0 auto 12px;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 950px;
  margin: 0 auto 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #93c5fd 65%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title .highlight-text {
  background: linear-gradient(135deg, #60a5fa 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 450;
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-description strong {
  color: #6ee7b7;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(110, 231, 183, 0.4);
}

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

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary-hero:hover::after {
  transform: translateX(100%);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--color-border-strong);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-secondary-hero:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-icon {
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════════════════════════════════
   System Modules & Interface Visual Showcase
   ═══════════════════════════════════════════════════════════════════════ */
.modules-showcase-section {
  padding: 40px 0 80px;
  position: relative;
}

/* Metric Counter Bar */
.metric-counter-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  background: #0b111e;
  border: 1px solid rgba(110, 231, 183, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(16, 185, 129, 0.12);
}

.metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
}

.metric-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--color-border);
}

@media (max-width: 900px) {
  .metric-box:not(:last-child)::after {
    display: none;
  }
}

.metric-value {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #ffffff 40%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-align: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.metric-label {
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  max-width: 230px;
}

/* Showcase Modules Grid */
.modules-showcase-section .container {
  max-width: 1360px;
}

.showcase-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .showcase-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .showcase-modules-grid {
    grid-template-columns: 1fr;
  }
}

.showcase-mod-card {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.showcase-mod-card:hover {
  transform: translateY(-5px);
  background: rgba(14, 22, 38, 0.96);
  border-color: rgba(79, 142, 247, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(79, 142, 247, 0.2);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.showcase-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.showcase-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(79, 142, 247, 0.16);
  border: 1px solid rgba(79, 142, 247, 0.4);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.showcase-mod-card:hover .showcase-icon-box {
  transform: scale(1.08);
  background: rgba(110, 231, 183, 0.22);
  border-color: rgba(110, 231, 183, 0.6);
  color: var(--color-accent);
}

.showcase-mod-title {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  white-space: nowrap;
}

.showcase-mod-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(79, 142, 247, 0.18);
  border: 1px solid rgba(79, 142, 247, 0.4);
  color: #93c5fd;
  white-space: nowrap;
  line-height: 1.25;
}

.showcase-mod-badge.shield-color {
  background: rgba(110, 231, 183, 0.18);
  border-color: rgba(110, 231, 183, 0.45);
  color: var(--color-accent);
}

.showcase-mod-desc {
  font-size: 0.91rem;
  color: #e2e8f0;
  font-weight: 450;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

.showcase-preview-pill {
  margin-top: auto;
  padding: 10px 14px;
  background: rgba(5, 9, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase-preview-pill .pill-accent {
  color: #6ee7b7;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-preview-pill .pill-sub {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 450;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════════════
   Interactive Before vs After (Console vs Wingetix)
   ═══════════════════════════════════════════════════════════════════════ */
.comparison-section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(110, 231, 183, 0.4);
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.section-desc {
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 450;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.comp-card.old-way {
  background: rgba(20, 12, 16, 0.92);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.comp-card.new-way {
  background: rgba(10, 24, 25, 0.92);
  border: 1px solid rgba(110, 231, 183, 0.45);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.12);
}

.comp-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.comp-card.old-way .comp-badge {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.comp-card.new-way .comp-badge {
  background: rgba(110, 231, 183, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.5);
}

.comp-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.comp-mockup {
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.comp-card.old-way .comp-mockup {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.comp-card.new-way .comp-mockup {
  background: rgba(8, 14, 20, 0.95);
  border: 1px solid rgba(110, 231, 183, 0.4);
  color: #a7f3d0;
}

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

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.comp-icon-bad {
  color: #f87171;
  font-weight: bold;
  flex-shrink: 0;
}

.comp-icon-good {
  color: #6ee7b7;
  font-weight: bold;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Features & Modules Grid
   ═══════════════════════════════════════════════════════════════════════ */
.features-section {
  padding: 80px 0;
  position: relative;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(110, 231, 183, 0.15);
}

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

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(79, 142, 247, 0.12);
  border: 1px solid rgba(79, 142, 247, 0.25);
  color: #93c5fd;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1);
  background: rgba(110, 231, 183, 0.18);
  border-color: rgba(110, 231, 183, 0.4);
  color: var(--color-accent);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 18px;
}

.features-section .container {
  max-width: 1360px;
}

.feature-tags-row {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.ft-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  font-weight: 500;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   Interactive Software Search & Catalog Explorer
   ═══════════════════════════════════════════════════════════════════════ */
.catalog-section {
  padding: 70px 0;
  position: relative;
}

.catalog-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.catalog-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border-strong);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.catalog-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text-primary);
  font-size: 1rem;
}

.catalog-search-input::placeholder {
  color: var(--color-text-muted);
}

.catalog-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.catalog-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.catalog-pill:hover,
.catalog-pill.active {
  background: rgba(110, 231, 183, 0.15);
  border-color: rgba(110, 231, 183, 0.4);
  color: var(--color-accent);
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.cat-app-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-app-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(79, 142, 247, 0.4);
  transform: translateY(-2px);
}

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

.cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 142, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #93c5fd;
  font-size: 0.9rem;
}

.cat-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 2px 6px;
  background: rgba(110, 231, 183, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius-xs);
}

.cat-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cat-id {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.cat-btn-test {
  margin-top: auto;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cat-btn-test:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   Security, Trust & Privacy Fortress Section
   ═══════════════════════════════════════════════════════════════════════ */
.security-section {
  padding: 80px 0;
  position: relative;
}

.security-section .container {
  max-width: 1360px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

.security-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(14, 22, 38, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.12);
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.security-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(110, 231, 183, 0.4);
  color: #6ee7b7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.security-card:hover .security-icon-box {
  transform: scale(1.08);
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 20px rgba(110, 231, 183, 0.35);
}

.security-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.security-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.security-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(110, 231, 183, 0.15);
  border: 1px solid rgba(110, 231, 183, 0.4);
  color: #6ee7b7;
}

.security-card-desc {
  font-size: 0.94rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 20px;
}

.security-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.security-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
}

.security-check-icon {
  color: #6ee7b7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Trust Banner Bottom */
.security-trust-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: #0b111e;
  border: 1px solid rgba(110, 231, 183, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(16, 185, 129, 0.1);
}

@media (max-width: 850px) {
  .security-trust-banner {
    grid-template-columns: 1fr;
  }
}

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

.trust-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-item-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════
   Downloads & Releases Hub
   ═══════════════════════════════════════════════════════════════════════ */
.downloads-section {
  padding: 80px 0;
  position: relative;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.dl-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.dl-card.highlight {
  border-color: rgba(110, 231, 183, 0.55);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(11, 17, 30, 0.96) 100%);
  box-shadow: 0 16px 50px rgba(16, 185, 129, 0.18), 0 0 30px rgba(16, 185, 129, 0.1);
}

.dl-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--color-accent-dark);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.dl-type-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 8px;
  display: block;
}

.dl-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.dl-card-desc {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.dl-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.dl-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.dl-btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.dl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #60a5fa, var(--color-primary));
}

.dl-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-primary);
}

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

/* ═══════════════════════════════════════════════════════════════════════
   Interactive FAQ Accordion
   ═══════════════════════════════════════════════════════════════════════ */
.faq-section {
  padding: 70px 0 90px;
}

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

.faq-item {
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  background: rgba(14, 22, 38, 0.96);
  border-color: rgba(110, 231, 183, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(110, 231, 183, 0.12);
  transform: translateY(-1px);
}

.faq-item.active {
  border-color: rgba(110, 231, 183, 0.55);
  background: rgba(13, 20, 36, 0.98);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(110, 231, 183, 0.18);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--color-accent);
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 12px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════════
   Modal for Download & Release Info
   ═══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(110, 231, 183, 0.35);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(110, 231, 183, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-release-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.modal-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.modal-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-bullet-check {
  color: var(--color-accent);
  font-weight: bold;
}

.smartscreen-tip {
  display: flex;
  gap: 12px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #fde68a;
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: rgba(9, 13, 20, 0.95);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand-desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  max-width: 360px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

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

.footer-author-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-author-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════
   Responsive Breakpoints
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 10px;
  }
  .btn-github span:not(.star-count) {
    display: none;
  }
  .sim-workspace {
    grid-template-columns: 220px 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .brand-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .sim-workspace {
    grid-template-columns: 1fr;
  }

  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .sim-nav-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Performance & Ultra-Smooth Rendering Engine
   ═══════════════════════════════════════════════════════════════════════ */

/* Aceleración por GPU y salto de renderizado fuera de pantalla (Core Web Vitals) */
.modules-showcase-section,
.comparison-section,
.features-section,
.security-section,
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

/* Optimización para dispositivos móviles y pantallas táctiles */
@media (max-width: 768px) {
  .glass-panel,
  .metric-counter-banner,
  .showcase-mod-card,
  .comp-card,
  .feature-card,
  .security-card,
  .security-trust-banner,
  .dl-card,
  .faq-item {
    background: #0b111e !important;
  }
}

/* Respeto por preferencias de reducción de movimiento y modo de ahorro de energía */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .nebula-cloud, .stars-layer, .shooting-star, .pill-dot, .brand-logo-img {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Google AdSense & Cookie Consent Banner Engine
   ═══════════════════════════════════════════════════════════════════════ */

/* AdSense Slot Containers with zero-CLS reserve height */
.adsense-slot-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.adsense-card {
  background: rgba(13, 21, 37, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.adsense-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
}

/* Cookie Consent Banner (GDPR / CCPA / Google ePrivacy Compliance) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(11, 17, 30, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 18px;
  padding: 22px 28px;
  z-index: 99999;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-info {
  flex: 1;
}

.cookie-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-desc a {
  color: #10b981;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 820px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 18px 20px;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

