@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #010308;
  --surface: #0a1122;
  --surface-alt: #0f172a;
  --surface-soft: rgba(15, 23, 42, 0.45);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(108, 140, 255, 0.3);
  --accent: #3b82f6;
  --accent-deep: #1d4ed8;
  --accent-soft: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.5);

  --container: 1200px;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: 'Outfit', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================= LOADER ================= */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loader-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: var(--text-soft);
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

/* ================= AURORA BG ================= */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: -2;
  background: linear-gradient(to bottom, #010308, #050a16);
  overflow: hidden;
  will-change: transform;
}

.aurora-bg::before,
.aurora-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: aurora-drift 25s infinite alternate ease-in-out;
}

.aurora-bg::before {
  width: 120vw;
  height: 120vh;
  background: radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 40%, transparent 65%);
  top: -30%;
  left: -20%;
}

.aurora-bg::after {
  width: 110vw;
  height: 110vh;
  background: radial-gradient(circle at 60% 60%, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.03) 40%, transparent 65%);
  bottom: -20%;
  right: -20%;
  animation-delay: -12s;
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

/* ================= NAVIGATION ================= */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  padding: 1.5rem 0;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding 0.3s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-brand img {
  height: 64px;  /* Decreased by 10% */
  width: auto;
  max-width: 300px;
  border-radius: 4px;
  object-fit: contain;
  display: block;  /* Fixes weird upper baseline offset */
  margin-top: 2px; /* Slight optical adjustment down towards perfect center */
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ================= LAYOUT ================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0 4rem;
}

/* ================= HERO ================= */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-copy {
  flex: 1;
  min-width: 320px;
  max-width: 620px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 3rem;
  height: 2px;
  background: var(--accent-glow);
  border-radius: 2px;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ================= BUTTONS & CARDS ================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.launch-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
}

.launch-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Glass Panels */
.hero-panel,
.card,
.contact-panel {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top-color: rgba(255, 255, 255, 0.12);
  border-left-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-panel {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  padding: 3rem;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.2);
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.panel-stat {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.panel-stat:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.panel-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
  display: block;
}

.panel-label {
  font-size: 0.85rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.panel-value {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}

/* ================= GRID SECTION ================= */
h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 3.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem;
}

.card-index {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--accent-soft);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  display: block;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.card p {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ================= TRUST STRIP ================= */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 3rem;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.4), rgba(30, 41, 59, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  max-width: 950px;
  margin: 2rem auto 4rem;
  box-shadow: var(--shadow-soft);
}

.trust-copy {
  font-weight: 600;
  font-size: 1.1rem;
}

.trust-items {
  display: flex;
  gap: 2.5rem;
}

.trust-items span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
}

.trust-items span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-soft);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-soft);
}

/* ================= SCROLL ENGINE ANIMATIONS ================= */
.scroll-hidden-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hidden-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hidden-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-show {
  opacity: 1;
  transform: translate(0) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ================= CONTACT SECTION ================= */
.contact-panel {
  padding: 2rem;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 450px;
}

.contact-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.contact-copy {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.contact-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-soft);
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent-soft);
}

/* ================= FOOTER ================= */
.footer-legal {
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer {
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Stronger border */
  background: rgba(5, 10, 22, 0.85); /* Deep rich background tying the blue/black together */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-inner a {
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--text);
}

/* ================= ABOUT PAGE OVERRIDES ================= */
.page-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.content-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.content-body h2 {
  font-size: 2.2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
}

.content-body p {
  margin-bottom: 1.8rem;
}

.content-body strong {
  color: var(--text);
}

.mobile-menu-btn { display: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-panel {
    max-width: 100%;
    padding: 2.5rem;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    border-radius: 2rem;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 2.5rem;
  }

  .trust-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .nav-brand img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .nav-header {
    padding: 1rem 0;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-brand img {
    height: 42px;
  }

  /* Hamburger Menu Button */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative; /* Forces the z-index to activate */
    z-index: 10000;
  }

  .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile Links Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100dvh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    padding-top: 5rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
  }

  .hero-panel {
    padding: 1.5rem;
  }

  .card {
    padding: 1.5rem;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .contact-panel {
    padding: 2.5rem 1.5rem;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-panel,
  .card,
  .contact-panel {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .trust-strip {
    padding: 1.5rem;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
    border-radius: var(--radius);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .launch-card {
    width: 100%;
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-items span {
    font-size: 0.9rem;
  }
}

/* ================= CUSTOM CURSOR EFFECTS ================= */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 1 !important;
  transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease, border 0.15s ease;
}

.cursor-dot.active {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle closest-side, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0.05) 45%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.cursor-glow.hidden {
  opacity: 0 !important;
}
