* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  --blue-dark:   #0c1628;   
  --white:       #ffffff;
  --white-dim:   rgba(255,255,255,0.65);
  --white-muted: rgba(255,255,255,0.35);
  --accent:      #7FCBFF;
  --dark-text:   #0d1b2e;
  --dark-text2:  #1c3050;
  --gray-text:   #4a6080;
  --border-light: rgba(255,255,255,0.1);
  --border-dark:  rgba(13,27,46,0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans:    'Barlow', Arial, sans-serif;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
}

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

body {
  background: #0c1628;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.42;
  overflow-x: hidden;
  cursor: none;
}

a, button, .pill { 
  cursor: none; 
}

#gradient-canvas {
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  display: block; 
  z-index: 0; 
  pointer-events: none;
}

/* Custom cursor */
#custom-cursor { 
  position: fixed; 
  inset: 0; 
  pointer-events: none; 
  z-index: 9999; 
}

.cursor-dot {
  position: absolute; 
  width: 8px; 
  height: 8px; 
  background: var(--white);
  border-radius: 50%; 
  left: 0;
  top: 0;
  will-change: transform;
  transition: width .35s var(--ease), height .35s var(--ease), background .25s;
}

.cursor-ring {
  position: absolute; 
  width: 36px; 
  height: 36px;
  border: 1.5px solid rgba(255,255,255,.5); 
  border-radius: 50%;
  left: 0;
  top: 0;
  will-change: transform;
  transition: opacity .3s, border-color .25s;
}

body.hover-effect .cursor-dot  { 
  width: 56px; 
  height: 56px; 
  background: rgba(255,255,255,.08); 
}

body.hover-effect .cursor-ring { 
  opacity: 0; 
}

body.light-section .cursor-dot  { 
  background: var(--dark-text); 
}

body.light-section .cursor-ring { 
  border-color: rgba(13,27,46,.3); 
}

/* Navbar */
.navbar {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 900;
  display: flex; 
  align-items: center; 
  justify-content: flex-end;
  padding: 24px 56px; 
  background: transparent;
  transition: transform 0.5s var(--ease);
}

.navbar.nav-hidden { 
  transform: translateY(-110%); 
}

.nav-logo { 
  position: absolute; 
  left: 56px; 
  display: flex; 
  align-items: center; 
  text-decoration: none; 
}

.nav-logo.dynamic-logo { 
  opacity: 0; 
  transition: opacity 0.4s; 
}

.nav-logo.dynamic-logo.logo-visible { 
  opacity: 1; 
}

.nav-logo-img { 
  height: 36px;
  width: auto; 
  display: block; 
  filter: invert(0); 
  transition: filter 0.3s; 
}

.nav-links {
  display: flex; 
  align-items: center;
  gap: 1.389vw; 
  padding: .8vw .694vw .694vw;
}

.nav-links a {
  color: var(--white); 
  letter-spacing: .035vw; 
  text-transform: uppercase;
  white-space: nowrap; 
  font-family: var(--font-sans); 
  font-size: .694vw;
  font-weight: 500; 
  line-height: 1.4; 
  text-decoration: none;
  opacity: .75; 
  transition: opacity .2s, color 0.3s;
}

.nav-links a:hover, .nav-links a.active { 
  opacity: 1; 
}

.nav-right { 
  position: absolute; 
  right: 56px; 
  display: flex; 
  align-items: center; 
  gap: 18px; 
}

.lang-switch {
  letter-spacing: .035vw; 
  text-transform: uppercase; 
  font-family: var(--font-sans);
  font-size: .694vw; 
  font-weight: 500; 
  color: var(--white);
  opacity: .75; 
  transition: color 0.3s, opacity 0.3s;
}

/* Navbar Dropdown */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-wrap > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: rgba(8, 16, 32, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(127, 203, 255, 0.10);
  border-radius: 10px;
  box-shadow:
    0 2px 0 0 rgba(127,203,255,0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 4px 16px rgba(0, 0, 0, 0.3);

  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.28s var(--ease);
  z-index: 1000;
}

/* Subtle top accent line */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,203,255,0.35), transparent);
}

.nav-dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

/* Force close when clicked */
.nav-dropdown-wrap.force-close .nav-dropdown {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(-6px) !important;
}

/* Hover / focus-within reveal */
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown section label */
.nav-dropdown-section {
  padding: 11px 16px 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(127,203,255,0.45);
  font-family: var(--font-sans);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Dropdown items */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-family: var(--font-sans);
  opacity: 1 !important;
  transition: color 0.18s, background 0.18s, padding-left 0.2s var(--ease);
  position: relative;
}

.nav-dropdown a:hover {
  color: var(--white);
  background: rgba(127,203,255,0.06);
  padding-left: 20px;
}

/* Arrow icon per item */
.nav-dropdown a .dd-arrow {
  margin-left: auto;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.2s var(--ease);
  flex-shrink: 0;
}

.nav-dropdown a:hover .dd-arrow {
  opacity: 0.6;
  transform: translateX(0);
}

/* Tag badge */
.nav-dropdown .dd-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(127,203,255,0.1);
  border: 1px solid rgba(127,203,255,0.2);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1.5;
}

/* Item icon */
.nav-dropdown .dd-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(127,203,255,0.07);
  border: 1px solid rgba(127,203,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.nav-dropdown a:hover .dd-icon {
  background: rgba(127,203,255,0.13);
  border-color: rgba(127,203,255,0.25);
}

.nav-dropdown .dd-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

/* Item text group */
.nav-dropdown .dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown .dd-text-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.2;
}

.nav-dropdown .dd-text-sub {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255,255,255,0.38);
  line-height: 1.3;
}

body.light-section .navbar .nav-links a  { 
  color: var(--dark-text); 
}

body.light-section .navbar .lang-switch  { 
  color: var(--dark-text); 
}

body.light-section .navbar .pill .pill-text   { 
  background-color: rgba(204,229,255,0.35); 
  color: var(--dark-text); 
}

body.light-section .navbar .pill .pill-icon   { 
  background-color: rgba(204,229,255,0.35); 
}

body.light-section .navbar .pill .pill-icon svg { 
  stroke: var(--dark-text); 
}

body.light-section .navbar .pill:hover .pill-icon { 
  background: rgba(13,27,46,0.15); 
}

/* Pill */
.pill { 
  display: inline-flex; 
  align-items: center; 
  transition: transform .3s var(--ease); 
  will-change: transform; 
  text-decoration: none; 
}

.pill-text {
  padding: 12px 20px 12px 24px; 
  border-radius: 9999px 0 0 9999px;
  background-color: rgba(255,255,255,0.1); 
  color: #fff; 
  white-space: nowrap;
  font-family: var(--font-sans); 
  font-size: .694vw; 
  font-weight: 600; 
  line-height: 1.4;
  transition: background-color 0.3s, color 0.3s;
}

.pill-icon {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: background 0.3s;
}

.pill-icon svg { 
  stroke: var(--white); 
  width: 8px; 
  height: 8px; 
  transition: stroke 0.3s; 
}

.pill:hover .pill-icon { 
  background: #3d424f; 
}

.pill:hover { 
  transform: translateY(-2px); 
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  gap: 5px; 
  width: 40px; 
  height: 40px;
  background: none; 
  border: none; 
  padding: 8px;
  position: relative; 
  z-index: 1001;
}

.hamburger-btn span {
  display: block; 
  width: 22px; 
  height: 1.5px;
  background: var(--white); 
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) { 
  transform: translateY(6.5px) rotate(45deg); 
}

.hamburger-btn.open span:nth-child(2) { 
  opacity: 0; width: 0; 
}

.hamburger-btn.open span:nth-child(3) { 
  transform: translateY(-6.5px) rotate(-45deg); 
}

body.light-section .navbar .hamburger-btn span { 
  background: var(--dark-text); 
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; 
  inset: 0;
  background: rgba(7, 13, 26, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 960;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 0;
  opacity: 0; 
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.open { 
  opacity: 1; 
  pointer-events: all; 
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.mobile-menu.open .mobile-menu-close {
  opacity: 0.6;
  transition-delay: 0.1s;
}

.mobile-menu-close:hover {
  opacity: 1 !important;
}

.mobile-menu-close svg {
  stroke: var(--white);
  width: 22px;
  height: 22px;
}

/* Logo inside mobile menu */
.mobile-menu-logo {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open .mobile-menu-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.mobile-menu-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.mobile-menu a {
  font-family: var(--font-sans);
  font-size: clamp(26px, 6.5vw, 38px);
  font-weight: 300; 
  letter-spacing: 0.18em;
  text-transform: uppercase; 
  color: var(--white);
  text-decoration: none;
  opacity: 0; 
  transform: translateY(18px);
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.25s ease;
  padding: 12px 0;
}

.mobile-menu.open a { 
  opacity: 0.75; 
  transform: translateY(0); 
}

/* Spread out each link in */
.mobile-menu.open a:nth-child(3) { 
  transition-delay: 0.08s; 
}

.mobile-menu.open a:nth-child(4) { 
  transition-delay: 0.14s; 
}

.mobile-menu.open a:nth-child(5) { 
  transition-delay: 0.20s; 
}

.mobile-menu.open a:nth-child(6) { 
  transition-delay: 0.26s; 
}

.mobile-menu.open a:nth-child(7) { 
  transition-delay: 0.32s; 
}

.mobile-menu a:hover { 
  opacity: 1 !important; 
  color: var(--accent); 
}

.mobile-menu-divider {
  width: 40px; 
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin: 16px 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu.open .mobile-menu-divider { 
  opacity: 1; 
}

.mobile-menu.open .mobile-menu-divider:first-of-type { 
  transition-delay: 0.06s; 
}

.mobile-menu.open .mobile-menu-divider:last-of-type  { 
  transition-delay: 0.36s; 
}

/* Footer */
.site-footer {
  position: relative; 
  background: transparent; 
  min-height: 50vh;
  display: flex; 
  flex-direction: column;
  padding: 0 56px 56px 56px; 
  overflow: hidden; 
  z-index: 1;
}

.site-footer::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(145deg, rgba(6,12,22,.85) 0%, rgba(10,24,40,.75) 35%, rgba(19,38,64,.7) 65%, rgba(9,15,26,.85) 100%);
  z-index: 0; 
  pointer-events: none;
}

.footer-b1, .footer-b2 { 
  position: absolute; 
  border-radius: 50%; 
  filter: blur(100px); 
  pointer-events: none; 
  z-index: 0; 
}

.footer-b1 { 
  width: 680px; 
  height: 680px; 
  background: rgba(38,95,195,.26); 
  top: -140px; 
  right: -80px; 
}

.footer-b2 { 
  width: 460px; 
  height: 460px; 
  background: rgba(18,55,130,.22); 
  bottom: 60px; 
  left: -100px; 
}

.footer-grid-bg {
  position: absolute; 
  inset: 0; 
  z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 96px 96px; 
  pointer-events: none;
}

.footer-content {
  flex: 1; 
  display: flex; 
  justify-content: space-between;
  align-items: flex-end; 
  position: relative; 
  z-index: 10;
}

.footer-brand {
  font-family: Inter, sans-serif; 
  font-size: clamp(80px, 14vw, 250px);
  font-weight: 800; 
  line-height: 0.75; 
  letter-spacing: -.01em;
  text-transform: uppercase; 
  color: var(--white, #fff);
}

.footer-nav {
  display: flex; 
  flex-direction: column;
  align-items: flex-end; 
  gap: 16px;
  padding-bottom: 8px; 
  position: relative; 
  z-index: 10;
}

.footer-nav a {
  font-size: 13px; 
  font-weight: 600; 
  letter-spacing: .1em;
  text-transform: uppercase; 
  color: var(--white-muted, rgba(255,255,255,0.7));
  transition: color .2s; 
  text-decoration: none;
}

.footer-nav a:hover { 
  color: var(--white, #fff); 
}

/* Scroll reveal */
.rv { 
  opacity: 0; 
  transform: translateY(38px); 
  transition: opacity .85s var(--ease), transform .85s var(--ease); 
}

.rv.in { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Keyframes */
@keyframes fadeIn   { 
  from { 
    opacity: 0; 
  } to { 
    opacity: 1; 
  } 
}

@keyframes revealUp { 
  from { 
    transform: translateY(110%); 
  } to { 
    transform: translateY(0); 
  } 
}

@keyframes revealFade { 
  to { 
    opacity: 1; 
    transform: translateY(0); 
  } 
}

@keyframes tickerMove { 
  from { 
    transform: translateX(0); 
  } to { 
    transform: translateX(-50%); 
  } 
}

/* Responsive */
/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .navbar { 
    padding: 20px 32px; 
  }

  .nav-logo { 
    left: 32px; 
  }

  .nav-right { 
    right: 32px; 
  }

  .nav-links { 
    gap: 1vw; 
  }

  .nav-links a { 
    font-size: 1vw; 
  }

  .site-footer { 
    padding: 0 32px 40px; 
  }
}

/* Tablets */
@media (max-width: 900px) {
  .navbar { 
    padding: 18px 24px; 
  }

  .nav-logo { 
    left: 24px; 
  }

  .nav-logo-img { 
    height: 30px; 
  }

  .nav-right { 
    right: 24px; 
  }

  .nav-links { 
    gap: 16px; 
    padding: 8px 4px; 
  }

  .nav-links a { 
    font-size: 11px; 
    letter-spacing: .04em; 
  }

  .pill-text { 
    font-size: 11px; 
    padding: 10px 16px 10px 18px; 
  }

  .pill-icon { 
    width: 38px; 
    height: 38px; 
  }

  .site-footer { 
    padding: 0 24px 36px; 
    min-height: 40vh; 
  }

  .footer-brand { 
    font-size: clamp(56px, 11vw, 120px); 
  }

  .footer-nav { 
    gap: 12px; 
  }

  .footer-nav a { 
    font-size: 11px; 
  }
}

/* Mobile */
@media (max-width: 768px) {
  body { 
    cursor: auto; 
  }

  a, button, .pill { 
    cursor: auto; 
  }

  #custom-cursor { 
    display: none; 
  }

  .navbar { 
    padding: 18px 20px; 
  }

  .nav-logo { 
    left: 20px; 
  }

  .nav-logo-img { 
    height: 26px; 
  }

  .nav-right { 
    right: 20px; 
    gap: 12px; 
  }

  .nav-links { 
    display: none; 
  }

  .pill-text { 
    font-size: 11px; 
    padding: 9px 14px 9px 16px; 
  }

  .pill-icon { 
    width: 36px; 
    height: 36px; 
  }

  .hamburger-btn { 
    display: flex; 
  }

  .mobile-menu { 
    display: flex; 
  }

  .site-footer { 
    padding: 0 20px 32px; 
    min-height: 35vh; 
  }

  .footer-content { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 20px; 
    justify-content: flex-end; 
  }

  .footer-brand { 
    font-size: clamp(48px, 16vw, 100px); 
    line-height: 0.8; 
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px 24px;
    padding-bottom: 0;
    width: 100%;
  }

  .footer-nav a { 
    font-size: 10px; 
    letter-spacing: .08em; 
  }

  .footer-b1 { 
    width: 300px; 
    height: 300px; 
  }

  .footer-b2 { 
    width: 220px; 
    height: 220px; 
  }

  /* Hide dropdown on mobile — handled by mobile menu instead */
  .nav-dropdown-wrap > a::after {
    display: none;
  }
  .nav-dropdown {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .navbar { 
    padding: 16px 16px; 
  }

  .nav-logo { 
    left: 16px; 
  }

  .nav-logo-img { 
    height: 24px; 
  }

  .nav-right { 
    right: 16px; 
  }

  .site-footer { 
    padding: 0 16px 28px; 
  }

  .footer-brand { 
    font-size: clamp(42px, 18vw, 80px); 
  }

  .footer-nav { 
    gap: 8px 16px; 
  }

  .footer-nav a { 
    font-size: 9px; 
    letter-spacing: .06em; 
  }
}