/* ==========================================================================
   AZORWEB CMS v2.0 - Official Stylesheet
   Modern, Dark, Gaming/MMORPG, Glassmorphism, Premium & Responsive Design
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #06070a;
  --bg-card: #0e111a;
  --bg-card-hover: #141926;
  --bg-surface: #121624;
  --bg-glass: rgba(14, 17, 26, 0.75);
  --bg-glass-header: rgba(6, 7, 10, 0.85);

  --accent-red: #E6192E;
  --accent-red-hover: #FF2A42;
  --accent-red-glow: rgba(230, 25, 46, 0.4);
  --accent-red-subtle: rgba(230, 25, 46, 0.12);

  --accent-gold: #D4AF37;
  --accent-gold-bright: #FFD700;
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
  --accent-gold-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 60%, #AA7C11 100%);

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(230, 25, 46, 0.35);
  --border-gold: rgba(212, 175, 55, 0.4);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Rajdhani', 'Space Grotesk', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(230, 25, 46, 0.25);
  --shadow-gold-glow: 0 0 25px rgba(212, 175, 55, 0.2);

  /* Layout & Transitions */
  --max-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   LIGHT THEME OVERRIDES
   ========================================== */
[data-theme="light"] {
  --bg-dark: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-surface: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-header: rgba(241, 245, 249, 0.92);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --border-light: rgba(15, 23, 42, 0.12);
  --border-accent: rgba(230, 25, 46, 0.4);
  --border-gold: rgba(170, 124, 17, 0.5);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(230, 25, 46, 0.15);
  --shadow-gold-glow: 0 0 20px rgba(170, 124, 17, 0.15);
}

/* Theme Toggle Button Styles */
.theme-toggle-li {
  display: flex;
  align-items: center;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: var(--accent-red-subtle);
  border-color: var(--accent-red);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 12px var(--accent-red-glow);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(230, 25, 46, 0.15);
}

/* Smooth color transitions */
body, header, section, div, card, .gallery-hero-stage, .hero-stage-viewport, .modal-content {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #1e2436;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(230, 25, 46, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-red-hover);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title span {
  color: var(--accent-red);
  background: linear-gradient(135deg, #FFF 0%, var(--accent-red-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.badge-demo {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFD700;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red) 100%);
  color: var(--text-main);
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 42, 66, 0.6);
  background: linear-gradient(135deg, #FF455B 0%, var(--accent-red-hover) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

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

.btn-gold {
  background: var(--accent-gold-gradient);
  color: #000;
  font-weight: 800;
  box-shadow: var(--shadow-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
  filter: brightness(1.1);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background: rgba(4, 5, 8, 0.95);
  border-bottom: 1px solid rgba(230, 25, 46, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: var(--transition-fast);
  filter: drop-shadow(0 0 8px rgba(230, 25, 46, 0.4));
}

.logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #800010 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFF;
}

.logo-version {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: rgba(230, 25, 46, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent-red-hover);
  border-radius: 4px;
  font-weight: 700;
}

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

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

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

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section with Panel Background Image */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 6rem;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.85) 0%, rgba(8, 10, 15, 0.92) 65%, rgba(6, 7, 10, 0.98) 100%),
              url('../img/panel.jpg') center top / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, rgba(35, 40, 55, 0.45) 0%, transparent 70%),
              radial-gradient(circle at 50% 85%, rgba(18, 22, 30, 0.6) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header-content {
  max-width: 980px;
  margin: 0 auto 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.hero-title span {
  color: var(--accent-red);
  text-shadow: 0 0 25px rgba(230, 25, 46, 0.6);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-gold-bright);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-actions.justify-center {
  justify-content: center;
}

.hero-indicators-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.35rem;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.indicator-item svg {
  color: var(--accent-red-hover);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Dashboard Mockup Component (Wide Full Layout) */
.hero-mockup-wide {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.mockup-window {
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(230, 25, 46, 0.2);
  overflow: hidden;
  transition: var(--transition-normal);
  position: relative;
}

.mockup-window:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 1), 0 0 55px rgba(212, 175, 55, 0.25);
}

.mockup-header {
  height: 42px;
  background: #11141f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
  display: flex;
  gap: 7px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dot.red { background: #FF5F56; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #27C93F; }

.mockup-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}

.mockup-sidebar {
  background: #080a10;
  padding: 0.85rem 0.6rem;
  border-right: 1px solid var(--border-light);
}

.mockup-menu-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 0.2rem;
}

.mockup-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.mockup-nav-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold-bright);
  border-left: 3px solid var(--accent-gold);
  font-weight: 600;
}

.mockup-nav-item .nav-icon {
  font-size: 0.9rem;
}

.mockup-content {
  padding: 1.25rem;
  background: #0c0f18;
  overflow: hidden;
}

/* Executive Suite Mockup Styling */
.mockup-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pill-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pill-badge.green {
  background: rgba(39, 201, 63, 0.12);
  border: 1px solid rgba(39, 201, 63, 0.3);
  color: #27C93F;
}

.pill-badge.gold {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFD700;
}

.pill-badge.user {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.sidebar-brand-box {
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-brand-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.badge-gold-mini {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  color: #FFD700;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 0.1rem 0.45rem;
  letter-spacing: 0.5px;
}

.badge-dark-mini {
  font-size: 0.58rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
}

.mockup-search-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.dashboard-executive-header {
  margin-bottom: 1rem;
}

.mockup-subheading {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.mockup-stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mini-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.mini-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.mini-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.mini-stat-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.mini-stat-value.green { color: #27C93F; }
.mini-stat-value.gold { color: var(--accent-gold-bright); }
.mini-online-dot { font-size: 0.7rem; color: #27C93F; margin-left: 0.2rem; }

.executive-modules-title-box {
  margin-top: 1.25rem;
  margin-bottom: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.exec-title {
  font-size: 1rem;
  font-weight: 700;
}

.exec-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.exec-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.exec-module-card {
  background: rgba(18, 22, 32, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  transition: var(--transition-fast);
}

.exec-module-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.exec-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.exec-card-icon {
  font-size: 1.1rem;
}

.exec-card-badge {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
}

.exec-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.exec-card-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mockup-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 1rem;
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.svg-chart {
  width: 100%;
  height: 90px;
}

/* Feature Cards Grid (4 Pillars) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

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

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  background: rgba(230, 25, 46, 0.1);
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 25, 46, 0.2);
}

.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Full Features Grid (22 Items) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-red-subtle);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(230, 25, 46, 0.12);
  border: 1px solid rgba(230, 25, 46, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-red-hover);
  font-size: 1.2rem;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ==========================================
   SHOWCASE INTERACTIVO HERO STAGE & STRIP
   ========================================== */
.gallery-hero-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.gallery-hero-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-red), var(--accent-gold-bright), transparent);
}

.hero-stage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-stage-info {
  text-align: left;
  flex: 1;
}

.hero-stage-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.hero-stage-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.hero-stage-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 800px;
}

.hero-stage-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.hero-stage-counter {
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold-bright);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.hero-stage-viewport {
  position: relative;
  width: 100%;
  max-height: 650px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-stage-img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-stage-img.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 17, 26, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.hero-nav-arrow:hover {
  background: var(--accent-red);
  color: #FFF;
  border-color: var(--accent-red-hover);
  box-shadow: 0 0 20px var(--accent-red-glow);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-arrow.prev { left: 15px; }
.hero-nav-arrow.next { right: 15px; }

/* ==========================================
   TIRA HORIZONTAL DE MINIATURAS ELEGANTE
   ========================================== */
.gallery-strip-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.gallery-thumbnails-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.4rem 0.25rem;
  width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.gallery-thumbnails-strip::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.strip-scroll-btn {
  background: rgba(14, 17, 26, 0.9);
  border: 1.5px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 5;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.strip-scroll-btn.prev {
  margin-right: 0.6rem;
}

.strip-scroll-btn.next {
  margin-left: 0.6rem;
}

.strip-scroll-btn:hover {
  background: var(--accent-red);
  color: #FFF;
  border-color: var(--accent-red-hover);
  box-shadow: 0 0 15px var(--accent-red-glow);
  transform: scale(1.08);
}

.thumb-item {
  width: 160px;
  flex-shrink: 0;
  cursor: pointer;
  background: rgba(9, 12, 20, 0.85);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.thumb-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.2);
}

.thumb-item.active {
  border-color: var(--accent-gold-bright);
  box-shadow: 0 0 18px var(--accent-gold-glow), 0 6px 20px rgba(0, 0, 0, 0.7);
  background: rgba(22, 27, 40, 0.95);
  transform: translateY(-3px);
}

.thumb-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.thumb-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.thumb-item:hover .thumb-img-wrapper img {
  transform: scale(1.08);
}

.thumb-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(14, 17, 26, 0.85);
  color: var(--accent-gold-bright);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.thumb-title-text {
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.thumb-item.active .thumb-title-text,
.thumb-item:hover .thumb-title-text {
  color: #FFF;
}

/* Image Lightbox Modal Header & Badge */
.modal-image-header {
  margin-bottom: 0.5rem;
  text-align: left;
}

.modal-image-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

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

@media (max-width: 900px) {
  .modules-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.module-item:hover {
  background: rgba(230, 25, 46, 0.08);
  border-color: rgba(230, 25, 46, 0.3);
  color: #FFF;
  transform: translateX(4px);
}

.module-emoji {
  font-size: 1.1rem;
}

/* Large Admin Panel Showcase */
.admin-showcase-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.admin-tabs-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--accent-red);
  color: #FFF;
  border-color: var(--accent-red);
  box-shadow: 0 0 15px var(--accent-red-glow);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box-large {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stat-box-number {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-gold-bright);
  margin-top: 0.3rem;
}

/* Security Section */
.security-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(230, 25, 46, 0.08) 0%, transparent 70%);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.security-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-fast);
}

.security-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.security-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  background: rgba(230, 25, 46, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-shield-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
}

.shield-circle-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(230, 25, 46, 0.4);
  position: absolute;
  animation: spin 30s linear infinite;
}

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

.shield-center {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #50000a 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(230, 25, 46, 0.6);
  border: 3px solid #FFF;
  z-index: 2;
}

.shield-center svg {
  width: 60px;
  height: 60px;
  fill: #FFF;
}

.shield-status-tag {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFF;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* Multi-language Showcase */
.lang-box {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.lang-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.lang-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-glow);
}

.lang-flag {
  font-size: 2.2rem;
}

.lang-name {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Responsive Devices Section */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.device-frame {
  background: #000;
  border: 2px solid #2a2f45;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.device-frame-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.device-screen-preview {
  background: #0d0f17;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.screen-skeleton-header {
  height: 20px;
  background: rgba(230, 25, 46, 0.3);
  border-radius: 4px;
}

.screen-skeleton-body {
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

/* Profile Section (Para quién es) */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.profile-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.profile-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: #090b10;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compare-table th.highlight-col {
  background: rgba(230, 25, 46, 0.15);
  color: var(--accent-red-hover);
  border-bottom: 2px solid var(--accent-red);
}

.compare-table td.highlight-col {
  background: rgba(230, 25, 46, 0.04);
  font-weight: 600;
}

.check-icon {
  color: #27C93F;
  font-weight: 800;
  font-size: 1.2rem;
}

.cross-icon {
  color: #FF5F56;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Pricing Cards Grid */
.pricing-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: linear-gradient(180deg, #121626 0%, #0a0d16 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.pricing-card.popular {
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.2);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
}

.pricing-badge-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(230, 25, 46, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent-red-hover);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  padding: 0.35rem 1.5rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card.popular .pricing-badge-top {
  background: var(--accent-gold-gradient);
  border: none;
  color: #000;
  font-weight: 800;
}

.pricing-title {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.price-display-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.5rem;
  display: inline-block;
  margin: 1.25rem 0;
}

.price-display-text {
  font-size: 1.9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-gold-bright);
  letter-spacing: 1px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin: 1.5rem 0 2rem 0;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.pricing-feature-item svg {
  color: var(--accent-gold-bright);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Demo Section - Interactive Rotating Video Gallery Carousel (5 Cards Visible) */
.demo-carousel-wrapper {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 3rem;
}

.demo-carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
}

.demo-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.demo-carousel-track .video-card-item {
  flex: 0 0 calc(20% - 1rem);
  min-width: 190px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(14, 17, 26, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-family: inherit;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.carousel-control:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px var(--accent-red-glow);
}

.carousel-control.prev-btn { left: 0; }
.carousel-control.next-btn { right: 0; }

.carousel-dots-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot-indicator:hover {
  background: rgba(230, 25, 46, 0.4);
}

.dot-indicator.active {
  background: var(--accent-red);
  border-color: var(--accent-red-hover);
  box-shadow: 0 0 12px var(--accent-red-glow);
  width: 26px;
  border-radius: 6px;
}

.video-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}

.video-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-red);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-red-subtle);
}

.video-card-thumb {
  position: relative;
  width: 100%;
  height: 130px;
  background: radial-gradient(circle at 50% 50%, #1c060a 0%, #070912 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card-item:hover .video-thumb-img {
  transform: scale(1.08);
}

.video-card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-card-item:hover .video-card-play-overlay {
  background: rgba(230, 25, 46, 0.25);
}

.mini-play-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-red-glow);
  transition: transform 0.3s ease;
}

.mini-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #FFF;
  margin-left: 3px;
}

.video-card-item:hover .mini-play-btn {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(255, 42, 66, 0.8);
}

.video-badge-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--accent-gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.video-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.video-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: #1e2436;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-red);
  border: 1px solid var(--border-accent);
}

.author-info h4 {
  font-size: 1rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ Section */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
  color: var(--accent-red);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
  transition: max-height 0.3s cubic-bezier(0.9, 0, 0.8, 0.2);
}

/* CTA Final Section */
.cta-banner {
  background: linear-gradient(135deg, #1c0509 0%, #080910 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: var(--accent-red-glow);
  filter: blur(80px);
  pointer-events: none;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Footer */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-red-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Floating Controls */
.floating-contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-fast);
  color: #FFF;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.floating-contact-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Modal Lightbox */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

/* Image Lightbox Modal - Expanded High Resolution */
div.modal-content-box.image-modal-box {
  max-width: 96vw !important;
  width: 96vw !important;
  max-height: 94vh !important;
  padding: 1.25rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto;
}

div.modal-content-box.image-modal-box .modal-image-header {
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

div.modal-content-box.image-modal-box .modal-image-container {
  width: 100%;
  flex: 1;
  max-height: calc(94vh - 90px) !important;
  min-height: 70vh;
  overflow: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

div.modal-content-box.image-modal-box .modal-full-img {
  width: 100%;
  height: 100%;
  max-height: calc(94vh - 90px) !important;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

div.modal-content-box.image-modal-box .modal-image-container.zoomed {
  align-items: flex-start;
  justify-content: flex-start;
}

div.modal-content-box.image-modal-box .modal-image-container.zoomed .modal-full-img {
  max-height: none !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  cursor: zoom-out;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2015;
}

/* Modal Lightbox Carousel Arrows (< >) */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 17, 26, 0.88);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-bright);
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
  user-select: none;
}

.modal-nav-btn:hover {
  background: var(--accent-red);
  color: #FFF;
  border-color: var(--accent-red-hover);
  box-shadow: 0 0 30px var(--accent-red-glow);
  transform: translateY(-50%) scale(1.12);
}

.modal-nav-btn.prev {
  left: 20px;
}

.modal-nav-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  .modal-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .modal-nav-btn.prev { left: 8px; }
  .modal-nav-btn.next { right: 8px; }
}

.modal-close-btn:hover {
  background: var(--accent-red);
}

.modal-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Scroll Animation Utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .demo-carousel-track .video-card-item {
    flex: 0 0 calc(25% - 0.94rem);
  }
}

@media (max-width: 1024px) {
  .hero-grid, .security-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillars-grid, .profiles-grid, .demo-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-stats-grid-4, .exec-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-carousel-track .video-card-item {
    flex: 0 0 calc(33.333% - 0.833rem);
  }
  .stats-grid-large {
    grid-template-columns: repeat(3, 1fr);
  }
  .modules-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #080a10;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition-fast);
  }
  .nav-links.mobile-open {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-indicators {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid, .profiles-grid, .testimonials-grid, .devices-grid, .pricing-grid, .demo-videos-grid {
    grid-template-columns: 1fr;
  }
  .demo-carousel-track .video-card-item {
    flex: 0 0 calc(50% - 0.625rem);
  }
  .demo-carousel-wrapper {
    padding: 0 2.25rem;
  }
  .pricing-features-list {
    grid-template-columns: 1fr;
  }
  .stats-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .lang-box {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 540px) {
  .demo-carousel-track .video-card-item {
    flex: 0 0 100%;
  }
  .mockup-stats-grid-4, .exec-modules-grid {
    grid-template-columns: 1fr;
  }
}
