/* ==========================================================================
   TAVRICON DESIGN SYSTEM — ROYAL COBALT & NEON CYAN COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: var(--header-compact-height);
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 242, 254, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container-width), var(--container-fluid));
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.brand-logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
  filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.45));
}

.brand-lockup:hover .brand-logo-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 18px rgba(0, 242, 254, 0.75));
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-6);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--aurora-gradient);
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-bright);
}

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

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  background: rgba(7, 14, 34, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--cyan-primary);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background: var(--bg-surface-1);
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.85), -2px 0 25px rgba(0, 242, 254, 0.12);
  z-index: var(--z-drawer);
  transition: right var(--transition-smooth);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.drawer-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  transition: all var(--transition-fast);
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-bright);
  border-left: 3px solid var(--cyan-primary);
}

/* --------------------------------------------------------------------------
   3. ROYAL & NEON CYAN BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  min-height: 46px;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn-primary,
.btn-gold {
  background: linear-gradient(135deg, #00F2FE 0%, #2563EB 50%, #1D4ED8 100%);
  color: #FFFFFF;
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35), 0 0 15px rgba(37, 99, 235, 0.35);
  font-weight: 700;
}

.btn-primary:hover,
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6), 0 0 25px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 35%, #2563EB 75%, #1D4ED8 100%);
  color: #FFFFFF;
}

.btn-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #0284C7 100%);
  color: #030712;
  font-weight: 800;
  box-shadow: 0 4px 22px rgba(0, 242, 254, 0.45);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 242, 254, 0.7);
  background: linear-gradient(135deg, #FFFFFF 0%, #00F2FE 100%);
  color: #030712;
}

.btn-secondary {
  background: rgba(7, 14, 34, 0.65);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  color: var(--cyan-bright);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.35);
}

.btn-sm {
  padding: 9px 18px;
  font-size: var(--text-xs);
  min-height: 40px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  min-height: 54px;
}

/* --------------------------------------------------------------------------
   4. ROYAL GLASS CARDS & KINETIC BORDER BEAMS
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--space-8);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.45), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 242, 254, 0.25);
}

/* Interactive Border Beam Card Hook */
.card-beam {
  position: relative;
}

.card-beam::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 242, 254, 0.8) 60deg, rgba(37, 99, 235, 0.8) 120deg, transparent 180deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
  animation: rotateBeam 4s linear infinite;
}

/* Service Card Specialization */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(37, 99, 235, 0.45) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--cyan-bright);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.25);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
  color: #FFFFFF;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   5. ROYAL & CYAN BADGES, PILLS & TELEMETRY
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.badge-cyan,
.badge-gold,
.badge-emerald {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 242, 254, 0.38);
  box-shadow: 0 2px 14px rgba(0, 242, 254, 0.22);
}

.badge-royal {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00F2FE;
  box-shadow: 0 0 12px #00F2FE;
  animation: pulseCyan 2s infinite;
}

/* Live Telemetry Ticker Pill */
.telemetry-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  padding: 6px 14px;
  background: rgba(7, 14, 34, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.32);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 2.6vw, 0.76rem);
  color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(12px);
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .telemetry-pill {
    border-radius: var(--radius-lg);
    padding: 8px 12px;
    gap: 4px 8px;
  }
}

.telemetry-pill .live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan-primary);
  font-weight: 700;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 42px;
}

.filter-btn:hover {
  color: var(--cyan-bright);
  border-color: var(--border-glass);
  background: rgba(0, 242, 254, 0.1);
}

.filter-btn.active {
  background: var(--aurora-gradient);
  color: #FFFFFF;
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. METRIC STATS
   -------------------------------------------------------------------------- */
.stat-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: rgba(7, 14, 34, 0.72);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. FORM ELEMENTS
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  text-align: left;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.form-label .required {
  color: var(--cyan-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25);
  background: var(--bg-surface-3);
}

.form-input.error,
.form-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-error-msg {
  font-size: var(--text-xs);
  color: #F87171;
  display: none;
  margin-top: 4px;
}

.form-error-msg.visible {
  display: block;
}

.chip-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip-option {
  position: relative;
}

.chip-option input[type="radio"],
.chip-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.chip-option input:checked + .chip-label {
  background: rgba(0, 242, 254, 0.16);
  border-color: var(--cyan-primary);
  color: var(--cyan-bright);
  box-shadow: 0 2px 16px rgba(0, 242, 254, 0.3);
}

/* --------------------------------------------------------------------------
   8. ACCORDIONS (FAQ)
   -------------------------------------------------------------------------- */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 860px;
  margin-inline: auto;
}

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

.accordion-item.active {
  border-color: var(--cyan-primary);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: var(--space-4);
  min-height: 56px;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--cyan-primary);
  transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding-inline: var(--space-6);
}

.accordion-content-inner {
  padding-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #02050E;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-bottom: var(--space-8);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 340px;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--cyan-bright);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
  
  .footer-legal-links {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   10. FLOATING ACTIONS & MODALS
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: var(--z-sticky);
}

.fab-whatsapp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-bounce);
  border: none;
  cursor: pointer;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.back-to-top:hover {
  background: var(--bg-surface-3);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.modal-container {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(0, 242, 254, 0.2);
  padding: var(--space-8);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--cyan-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
  background: rgba(0, 242, 254, 0.2);
}

/* Welcome Popup Modal */
#welcome-modal-overlay {
  z-index: 999999 !important;
}

#welcome-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.welcome-modal-container {
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 242, 254, 0.22);
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%), var(--bg-surface-1);
}

.welcome-modal-header {
  margin-bottom: var(--space-5);
}

.welcome-modal-title {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  color: #FFFFFF;
  margin-top: 10px;
  margin-bottom: 8px;
}

.welcome-modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.welcome-input-wrap {
  position: relative;
}

.welcome-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan-light);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-input-wrap .form-input {
  padding-left: 44px;
}

@media (max-width: 480px) {
  .welcome-modal-container {
    padding: var(--space-5) var(--space-4);
    max-width: calc(100vw - 32px);
  }

  .welcome-modal-title {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .header-cta-desktop {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: var(--header-compact-height);
  }

  .header-inner {
    padding-inline: 12px;
  }

  .brand-lockup {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 0.06em;
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .header-cta-wrap {
    gap: 8px;
    flex-shrink: 0;
  }

  .sound-toggle-btn {
    padding: 7px 10px;
    gap: 0;
  }

  .sound-toggle-btn .sound-status-text {
    display: none;
  }

  .mobile-toggle-btn {
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 14px 20px;
    font-size: 0.95rem;
    min-height: 48px;
    width: 100%;
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .fab-whatsapp,
  .back-to-top {
    width: 46px;
    height: 46px;
  }
}

/* --------------------------------------------------------------------------
   12. HIGH-TECH SOUND CONTROLS & REVEAL HINTS
   -------------------------------------------------------------------------- */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 14, 34, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan-light);
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.15);
  transition: all var(--transition-normal);
  user-select: none;
}

.sound-toggle-btn:hover {
  border-color: var(--cyan-primary);
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.sound-wave-bars .bar {
  width: 2px;
  background: var(--cyan-primary);
  border-radius: 1px;
  transition: all 0.2s ease;
}

.sound-wave-bars .bar-1 {
  height: 6px;
  animation: soundEqualizer 1.2s infinite ease-in-out;
}

.sound-wave-bars .bar-2 {
  height: 12px;
  animation: soundEqualizer 0.8s infinite ease-in-out 0.2s;
}

.sound-wave-bars .bar-3 {
  height: 8px;
  animation: soundEqualizer 1.0s infinite ease-in-out 0.4s;
}

.sound-toggle-btn.sound-muted {
  border-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  box-shadow: none;
}

.sound-toggle-btn.sound-muted .sound-wave-bars .bar {
  animation: none;
  height: 2px;
  background: var(--text-muted);
}

/* Sound hint on brand reveal */
.reveal-sound-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(7, 14, 34, 0.9);
  border: 1px solid var(--cyan-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: all 0.2s ease;
  animation: pulseCyan 2s infinite ease-in-out;
  z-index: 10001;
}

.reveal-sound-hint:hover {
  background: rgba(0, 242, 254, 0.2);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
}

.replay-reveal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}
