/* ── CORE VARIABLES & BASE ── */
:root {
  --brand: #0A192F;
  --brand-light: #112240;
  --accent: #00B4D8;
  --accent-bright: #64FFDA;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --font-h: 'Montserrat', sans-serif;
  --font: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--slate-50);
  color: var(--slate-900);
  overflow-x: hidden;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 2.5rem 1.5rem;
}



/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

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

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(100, 255, 218, .35);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
  }
}

@keyframes badgePing {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, .4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}



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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all .3s ease;
  background: rgba(8, 20, 40, 0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}

nav.scrolled {
  background: rgba(8, 20, 40, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 180, 216, .18), 0 4px 28px rgba(0, 0, 0, .35);
  padding: 1rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 35px !important;
  width: auto !important;
  display: block;
}

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

.nav-links a {
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent) !important;
}

.btn-nav {
  background: var(--accent-bright);
  color: var(--brand);
  border: none;
  padding: .65rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 16px rgba(100, 255, 218, .3);
  text-decoration: none;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100, 255, 218, .4);
}

.hamburger {
  display: none !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff !important;
  transition: all .3s;
  border-radius: 2px;
}

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

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

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

@media (max-width: 1050px) {
  .nav-links {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {

  .nav-links,
  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex !important;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  padding: 6rem 1.5rem 2rem;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.btn-mobile {
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 1.1rem;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
}

/* ── COMMON UI ── */

.hero h1 .gt {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 24px rgba(10, 25, 47, .22);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 25, 47, .28);
}

.btn-primary.bright {
  background: var(--accent-bright);
  color: var(--brand);
  box-shadow: 0 6px 28px rgba(100, 255, 218, .3);
  animation: glowPulse 3s infinite;
}

.btn-primary.bright:hover {
  background: #7fffd6;
  box-shadow: 0 12px 40px rgba(100, 255, 218, .5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: .6rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.section-header h2 .hl {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gt {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-bright) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.section-header h2.light {
  color: var(--white);
}

.section-header p.light {
  color: rgba(255, 255, 255, 0.72);
}

.section-header h2.light .hl {
  background: linear-gradient(100deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO SHARED COMPONENTS ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(0, 180, 216, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-blob1 {
  position: absolute;
  z-index: 2;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 180, 216, .12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-blob2 {
  position: absolute;
  z-index: 2;
  bottom: -150px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 255, 218, .05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}


/* ── FOOTER ── */
footer {
  background: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--slate-200);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  height: 35px;
  width: auto;
  display: block;
}

.footer-copy {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 300;
  color: var(--slate-600);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font);
  font-size: .82rem;
  color: var(--slate-600);
  text-decoration: none;
  transition: color .2s;
}

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

@media(max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── EXPERT CARDS ── */
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media(max-width: 900px) {
  .expert-grid {
    grid-template-columns: 1fr;
  }
}

.expert-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(10, 25, 47, .04);
  border: 1px solid var(--slate-200);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
}

.expert-card:hover {
  transform: translateY(-5px);
}

.expert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.team-photo {
  width: 90px;
  height: 90px;
  background: var(--slate-100);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.expert-card:hover .team-photo img {
  transform: scale(1.1);
}

.expert-card h3 {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: var(--brand);
  line-height: 1.2;
}

.expert-card .headline {
  display: block;
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--brand-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.expert-card p {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.expert-card .power {
  background: var(--slate-50);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 3px solid #10b981;
}

.expert-card .power strong {
  display: block;
  font-family: var(--font-h);
  font-size: .9rem;
  color: var(--brand);
  margin-bottom: .4rem;
}

.expert-card .power p {
  margin: 0;
  font-size: 0.95rem;
}

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: var(--accent-bright);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--accent-bright);
  color: var(--brand);
  transform: translateY(-5px);
  border-color: var(--accent-bright);
  box-shadow: 0 8px 30px rgba(100, 255, 218, 0.4);
}

#backToTop svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s;
}

#backToTop:hover svg {
  transform: translateY(-2px);
}