:root {
  --navy: #211751;
  --navy-light: #2d2070;
  --navy-mid: #1a1240;
  --cyan: #00e5ff;
  --violet: #a855f7;
  --blue: #60a5fa;
  --white: #F8F9FA;
  --white-dim: rgba(248, 249, 250, 0.07);
  --white-dim2: rgba(248, 249, 250, 0.12);
  --glass: rgba(33, 23, 81, 0.55);
  --glass-border: rgba(96, 165, 250, 0.18);
  --grad: linear-gradient(135deg, #00e5ff 0%, #818cf8 50%, #a855f7 100%);
  --grad-text: linear-gradient(90deg, #00e5ff 0%, #818cf8 55%, #c084fc 100%);
  --font-head: 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0d0a1e;
  color: var(--white);
  font-family: var(--font-head);
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

body:hover #cursor {
  opacity: 1;
}

/* CANVAS BG */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(13, 10, 30, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(96, 165, 250, 0.12);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 52px;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 58px;
  width: auto;
  min-width: 140px;
  display: block;
}

@media (max-width: 1024px) {
  .nav-logo svg {
    height: 38px;
    min-width: 110px;
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(248, 249, 250, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  padding: 0.65rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--cyan);
  border-radius: 3px;
  cursor: none;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

/* SECTIONS */
section {
  position: relative;
  z-index: 1;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
  content: '// ';
  opacity: 0.5;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
  margin-bottom: 1.5rem;
}

.hero-title .grad-word {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(248, 249, 250, 0.55);
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  background: var(--grad);
  border: none;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0d0a1e;
  text-decoration: none;
  cursor: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid rgba(248, 249, 250, 0.18);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.65);
  text-decoration: none;
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(248, 249, 250, 0.45);
  color: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(248, 249, 250, 0.3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

.hero-scroll-hint::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(248, 249, 250, 0.2);
}

.hero-stat-strip {
  position: absolute;
  right: 4rem;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-stat {
  text-align: right;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(248, 249, 250, 0.3);
  text-transform: uppercase;
}

/* VALUE PROP */
.value-section {
  padding: 5rem 4rem;
  border-top: 0.5px solid rgba(96, 165, 250, 0.08);
  border-bottom: 0.5px solid rgba(96, 165, 250, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: block;
}

.value-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.value-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248, 249, 250, 0.55);
}

.value-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.value-cell {
  padding: 1.5rem 1.25rem;
  background: rgba(13, 10, 30, 0.9);
}

.value-cell-icon {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.value-cell-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.value-cell-text {
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(248, 249, 250, 0.4);
  font-family: var(--font-mono);
}

/* SERVICES */
.services-section {
  padding: 7rem 4rem;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(248, 249, 250, 0.45);
  margin-top: 0.75rem;
  max-width: 500px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(96, 165, 250, 0.07);
  border: 1px solid rgba(96, 165, 250, 0.07);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  background: rgba(13, 10, 30, 0.95);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  background: rgba(33, 23, 81, 0.6);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .service-num {
  opacity: 1;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  opacity: 0.35;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s;
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  background: var(--white-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(96, 165, 250, 0.12);
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.25);
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.service-desc {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(248, 249, 250, 0.42);
}

.service-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.75rem;
  font-size: 0.85rem;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

/* PHILOSOPHY */
.philosophy-section {
  padding: 7rem 4rem;
  background: linear-gradient(180deg, rgba(33, 23, 81, 0.25) 0%, rgba(13, 10, 30, 0) 100%);
  border-top: 0.5px solid rgba(96, 165, 250, 0.08);
}

.philosophy-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.philosophy-quote em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.philosophy-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(248, 249, 250, 0.5);
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar {
  padding: 2rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pillar-text {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(248, 249, 250, 0.45);
}

/* CTA BAND */
.cta-band {
  padding: 5rem 4rem;
  border-top: 0.5px solid rgba(96, 165, 250, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-left {
  max-width: 600px;
}

.cta-band-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.cta-band-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(248, 249, 250, 0.45);
  line-height: 1.7;
}

.cta-band-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.cta-detail {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(248, 249, 250, 0.3);
  text-transform: uppercase;
}

/* FOOTER */
footer {
  padding: 3.5rem 4rem 2.5rem;
  border-top: 0.5px solid rgba(96, 165, 250, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(248, 249, 250, 0.3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(248, 249, 250, 0.4);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248, 249, 250, 0.3);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(248, 249, 250, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(248, 249, 250, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  outline: none;
  margin-bottom: 0.6rem;
  transition: border-color 0.2s;
}

.footer-newsletter input[type="email"]:focus {
  border-color: rgba(0, 229, 255, 0.4);
}

.footer-newsletter input[type="email"]::placeholder {
  color: rgba(248, 249, 250, 0.25);
}

.footer-newsletter button {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--grad);
  border: none;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0d0a1e;
  cursor: none;
  transition: opacity 0.2s;
}

.footer-newsletter button:hover {
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(96, 165, 250, 0.06);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(248, 249, 250, 0.2);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(248, 249, 250, 0.15);
  text-align: right;
  line-height: 1.7;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav {
    padding: 1.1rem 2rem;
    position: relative;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 0.5rem;
    z-index: 101;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 0.5px solid rgba(96, 165, 250, 0.12);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 7rem 2rem 5rem;
  }

  .hero-stat-strip {
    display: none;
  }

  .value-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 2rem;
  }

  .services-section {
    padding: 5rem 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-section {
    padding: 5rem 2rem;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 4rem 2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    padding: 3rem 2rem 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .value-right {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}