:root {
  --bg: #060b14;
  --bg-alt: #091222;
  --surface: rgba(13, 21, 38, 0.7);
  --surface-strong: rgba(8, 14, 26, 0.88);
  --border: rgba(118, 190, 255, 0.16);
  --text: #f6fbff;
  --muted: #a8b5c7;
  --primary: #4ca5ff;
  --primary-strong: #0ca6f3;
  --accent: #7ef5ff;
  --accent-soft: rgba(126, 245, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1200px;
  --transition: 260ms ease;
}

body.theme-alt {
  --bg: #03070f;
  --bg-alt: #0a0f1c;
  --surface: rgba(14, 18, 30, 0.74);
  --surface-strong: rgba(10, 14, 24, 0.92);
  --border: rgba(76, 165, 255, 0.2);
  --primary: #8ce6ff;
  --primary-strong: #45b3ff;
  --accent: #89ffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(12, 126, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(32, 248, 255, 0.12), transparent 18%),
    radial-gradient(circle at 55% 35%, rgba(77, 104, 255, 0.1), transparent 20%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.02) 24%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

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

button,
input,
select,
summary {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

img,
iframe {
  max-width: 100%;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.section-heading p,
.hero__content p,
.about__card p,
.service-card p,
.timeline__item p,
.support__card p,
.panel p,
.location__info li,
.preview-stage__content p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(126, 245, 255, 0.08);
  border: 1px solid rgba(126, 245, 255, 0.14);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #04111e;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.main-nav,
.header-actions,
.hero__cta,
.hero__trust,
.portfolio__filters,
.client-logos,
.support__actions,
.support-badges,
.location__actions,
.footer-nav,
.footer-socials,
.chat-popup__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.main-nav a,
.footer-nav a,
.footer-socials a {
  color: var(--muted);
  transition: color var(--transition);
}

.main-nav a:hover,
.footer-nav a:hover,
.footer-socials a:hover {
  color: var(--text);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.text-btn,
.chip-btn,
.slot {
  border-radius: 14px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03101d;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(76, 165, 255, 0.28);
}

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

.ghost-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.text-btn,
.chip-btn {
  background: transparent;
  color: var(--accent);
  padding: 0;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.slot:hover,
.service-card:hover,
.portfolio-card:hover,
.icon-card:hover,
.timeline__item:hover,
.panel:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 36px;
  min-height: calc(100vh - 120px);
}

.hero__content h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 760px;
}

.hero__content p {
  max-width: 700px;
  font-size: 1.08rem;
}

.hero__video-frame {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 152, 255, 0.45), transparent 25%),
    radial-gradient(circle at 75% 30%, rgba(49, 241, 255, 0.24), transparent 18%),
    linear-gradient(135deg, rgba(8, 15, 28, 0.92), rgba(6, 13, 20, 0.9));
}

.hero__video-overlay,
.hero__scanlines,
.hero__video-beam {
  position: absolute;
  inset: 0;
}

.hero__video-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(3, 8, 16, 0.72)),
    radial-gradient(circle at center, transparent 18%, rgba(3, 8, 16, 0.8) 100%);
}

.hero__scanlines {
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 6px
  );
  opacity: 0.4;
}

.hero__video-beam {
  filter: blur(16px);
  animation: beamMove 8s ease-in-out infinite;
}

.beam-1 {
  background: linear-gradient(135deg, transparent 35%, rgba(76, 165, 255, 0.42) 50%, transparent 68%);
}

.beam-2 {
  background: linear-gradient(225deg, transparent 32%, rgba(126, 245, 255, 0.26) 48%, transparent 66%);
  animation-delay: -4s;
}

.hero__video-caption,
.play-chip {
  position: absolute;
  z-index: 2;
}

.hero__video-caption {
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.play-chip {
  left: 24px;
  bottom: 24px;
  padding: 12px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.trust-pill {
  min-width: 160px;
  padding: 16px 18px;
  border-radius: 18px;
}

.trust-pill strong,
.stat-card strong,
.quote-box strong,
.booking-summary strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.about__card,
.icon-card,
.service-card,
.stat-card,
.timeline__item,
.portfolio-card,
.testimonial-card,
.panel,
.support__card,
.location__info,
.map-card,
.chat-popup,
.preview-modal {
  border-radius: var(--radius-xl);
}

.about__card {
  padding: 28px;
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.icon-card {
  min-height: 132px;
  padding: 24px;
}

.icon-card span,
.timeline__item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(126, 245, 255, 0.1);
  color: var(--accent);
  margin-bottom: 18px;
}

.services__grid,
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px;
  min-height: 220px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(126, 245, 255, 0.08);
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.stats-grid,
.point-list,
.booking-slots {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
}

.stat-card,
.timeline__item,
.portfolio-card,
.testimonial-card,
.panel {
  padding: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.point-list {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.point-list span,
.support-badges span,
.client-logos span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}

.portfolio__filters {
  margin-bottom: 24px;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.filter-btn.active {
  color: #03101d;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-thumb {
  min-height: 200px;
  border-radius: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 16, 0.34));
}

.gradient-stream { background: linear-gradient(135deg, rgba(10, 60, 120, 0.9), rgba(57, 196, 255, 0.65)); }
.gradient-event { background: linear-gradient(135deg, rgba(13, 32, 84, 0.95), rgba(140, 93, 255, 0.55)); }
.gradient-studio { background: linear-gradient(135deg, rgba(7, 19, 45, 0.95), rgba(50, 220, 180, 0.5)); }
.gradient-virtual { background: linear-gradient(135deg, rgba(9, 20, 44, 0.95), rgba(63, 120, 255, 0.6)); }
.gradient-commercial { background: linear-gradient(135deg, rgba(24, 23, 53, 0.95), rgba(0, 205, 255, 0.52)); }
.gradient-bts { background: linear-gradient(135deg, rgba(10, 16, 34, 0.95), rgba(72, 129, 255, 0.55)); }

.portfolio-body span {
  color: var(--accent);
  font-size: 0.9rem;
}

.portfolio-card.hidden {
  display: none;
}

.testimonial__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
}

.testimonial-stars {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.interactive__grid,
.location__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.85fr;
  gap: 20px;
}

.consultation-form,
.faq-head,
.ai-faq__controls,
.chat-popup__head {
  display: grid;
  gap: 14px;
}

.consultation-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.consultation-form input,
.consultation-form select,
#faqSearch,
#aiFaqInput {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.consultation-form input:focus,
.consultation-form select:focus,
#faqSearch:focus,
#aiFaqInput:focus {
  border-color: rgba(126, 245, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(126, 245, 255, 0.08);
}

.quote-box,
.booking-summary,
.ai-faq {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 16px 18px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item summary {
  list-style: none;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-bottom: 0;
}

.booking-slots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.slot {
  min-height: 52px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.slot.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03101d;
  font-weight: 700;
}

.support__card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 32px;
}

.location__info ul {
  padding-left: 18px;
}

.map-card {
  min-height: 420px;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1) contrast(1.2) brightness(0.8) saturate(0.7);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
  display: grid;
  gap: 18px;
}

.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: grid;
  gap: 4px;
  max-width: 280px;
  padding: 16px 18px;
  border-radius: 24px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(17, 31, 51, 0.94), rgba(6, 12, 20, 0.92));
  border: 1px solid rgba(126, 245, 255, 0.26);
  box-shadow: 0 0 0 1px rgba(126, 245, 255, 0.04), 0 20px 60px rgba(0, 0, 0, 0.48), 0 0 28px rgba(76, 165, 255, 0.24);
  animation: floatY 3.6s ease-in-out infinite;
}

.floating-wa__badge {
  color: var(--accent);
  font-size: 0.82rem;
}

.chat-popup {
  position: fixed;
  right: 24px;
  bottom: 124px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  z-index: 26;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition);
}

.chat-popup.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-popup__head {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 14px;
}

.chat-popup__head small {
  color: var(--muted);
}

.chat-popup__head button,
.preview-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.chat-popup__body {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.chat-bubble.is-agent {
  border-top-left-radius: 4px;
}

.chat-bubble.is-user {
  border-top-right-radius: 4px;
  justify-self: end;
  background: rgba(76, 165, 255, 0.16);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(76, 165, 255, 0.2), transparent 20%),
    linear-gradient(180deg, rgba(3, 7, 15, 0.98), rgba(4, 9, 18, 0.98));
  transition: opacity 500ms ease, visibility 500ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__content {
  text-align: center;
}

.loader__content h1 {
  margin: 10px 0 6px;
}

.loader__content p,
.loader__eyebrow {
  color: var(--muted);
}

.loader__ring {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  border-right-color: var(--primary);
  animation: spin 1.1s linear infinite;
}

.cursor-glow {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(76, 165, 255, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.preview-modal {
  width: min(760px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface-strong);
}

.preview-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.preview-stage {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.preview-stage__visual {
  min-height: 320px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(76, 165, 255, 0.32), transparent 22%),
    radial-gradient(circle at 70% 35%, rgba(126, 245, 255, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(7, 15, 29, 0.95), rgba(10, 22, 40, 0.94));
}

.preview-pulse {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(126, 245, 255, 0.4);
  box-shadow: 0 0 0 20px rgba(126, 245, 255, 0.05);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes beamMove {
  0%, 100% { transform: translateX(-8%) translateY(0) scale(1); }
  50% { transform: translateX(8%) translateY(2%) scale(1.08); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@media (max-width: 1180px) {
  .services__grid,
  .portfolio__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .interactive__grid,
  .location__grid,
  .about__grid,
  .support__card,
  .hero,
  .preview-stage {
    grid-template-columns: 1fr;
  }

  .feature-icons,
  .timeline,
  .point-list,
  .testimonial__track,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .services__grid,
  .portfolio__grid,
  .feature-icons,
  .timeline,
  .point-list,
  .testimonial__track,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__video-frame {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 76px 0;
  }

  .site-header,
  .support__card,
  .panel,
  .service-card,
  .portfolio-card,
  .timeline__item,
  .testimonial-card,
  .about__card,
  .icon-card,
  .location__info {
    border-radius: 20px;
  }

  .main-nav {
    gap: 10px;
    font-size: 0.94rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .floating-wa,
  .chat-popup {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .chat-popup {
    bottom: 130px;
  }
}
