/* ========================================
   8. TOPBAR NAVIGATION
   ======================================== */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 clamp(32px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a28;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  will-change: transform;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.topbar-logo img {
  height: 44px;
  width: auto;
}

.topbar-icon {
  height: 36px !important;
  width: auto !important;
  object-fit: contain;
}

/* White glow around SVG logo edges */
.svg-logo-glow {
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.25))
    drop-shadow(0 0 55px rgba(255, 255, 255, 0.14));
  transition: filter 0.4s ease;
}

.svg-logo-glow:hover {
  filter:
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 36px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 70px rgba(255, 255, 255, 0.18));
}

.topbar-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

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

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

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

.nav-link.active::after {
  width: 100%;
  background: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background-color: var(--blue);
  border-radius: 1px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* ========================================
   9. FULLSCREEN MENU
   ======================================== */

.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(32px, 5vw, 80px);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.fullscreen-menu.open {
  transform: translateX(0);
}

.fullscreen-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 48px);
}

.fullscreen-menu-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  line-height: 1.1;
  transition: all var(--transition-smooth);
}

.fullscreen-menu-link:hover {
  color: var(--blue);
  transform: translateX(20px);
}

/* ========================================
   10. SIDE NAVIGATION DOTS
   ======================================== */

.side-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
}

.side-nav-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.side-nav-dot:hover {
  border-color: var(--blue);
}

.side-nav-dot.active {
  background-color: var(--blue);
  border-color: var(--blue);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(21, 101, 192, 0.3);
}

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

/* ========================================
   11. SECTIONS & LAYOUT
   ======================================== */

.section {
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(32px, 5vw, 80px);
  padding-top: 72px;
  overflow: hidden;
}

/* Wrapper for all content below hero — white bg covers the fixed 3D canvas */
.content-below-hero {
  position: relative;
  z-index: 1;
  background-color: var(--bg);
}

.section-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 400px);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  pointer-events: none;
  line-height: 0.9;
  white-space: nowrap;
}

.section-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .section-label {
    display: none;
  }
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 48px;
}

.section-subtitle strong {
  color: var(--gold);
  font-weight: 600;
}

/* Global gold accent class */
.gold {
  color: var(--gold);
}

/* ========================================
   12. HERO SECTION (V2 block layout)
   ======================================== */

.hero {
  min-height: 100vh;
  padding-top: 72px;
  background-color: transparent;
  z-index: 0;
  display: flex;
  align-items: center;
}

.hero-inner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Large Hero Logo Showcase */
.hero-logo-showcase {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 460px;
  max-width: 820px;
}

/* Radial glow backdrop behind the logo */
.hero-logo-showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(66, 165, 245, 0.12) 0%,
    rgba(30, 30, 42, 0.25) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-logo-large {
  width: 120%;
  max-width: 880px;
  height: auto;
  animation: heroLogoFloat 6s ease-in-out infinite 3s;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.25))
    drop-shadow(0 0 35px rgba(66, 165, 245, 0.18))
    drop-shadow(0 0 70px rgba(212, 160, 32, 0.08));
  transition: filter 0.5s ease;
}

.hero-logo-large:hover {
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 50px rgba(66, 165, 245, 0.25))
    drop-shadow(0 0 90px rgba(212, 160, 32, 0.12));
}

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

/* Hero Logo Tagline */
.hero-logo-tagline {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.5;
  text-align: right;
  opacity: 0;
}

.hero-tagline-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hero-inner-flex {
    flex-direction: column;
    text-align: center;
  }
  .hero-logo-showcase {
    min-width: unset;
    max-width: 450px;
    order: -1;
  }
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-logo-showcase {
    max-width: 340px;
  }
  .hero-logo-large {
    max-width: 340px;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0;
  word-break: break-word;
}

.hero-word {
  display: block;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
}

/* Initial hidden states — GSAP animates these in */
.hero-subtitle,
.hero-ctas .btn,
.hero-stats .stat,
.hero-logo-showcase,
.hero-logo-tagline {
  opacity: 0;
}


.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-top: 32px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-stats {
  position: absolute;
  bottom: 80px;
  right: clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: row;
  gap: clamp(32px, 5vw, 48px);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .hero-stats {
    position: static;
    margin-top: 48px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
  }

  .stat {
    text-align: left;
  }
}
