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

:root {
  --bg: #050611;
  --bg-alt: #07091a;
  --bg-soft: #0b0e25;
  --accent: #66e0ff;
  --accent-soft: rgba(102, 224, 255, 0.2);
  --accent-strong: #ffd36d;
  --text-main: #f3f4ff;
  --text-muted: #a3a6c2;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --card-bg: rgba(9, 12, 34, 0.9);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 22px 65px rgba(0, 0, 0, 0.7);
  --nav-blur: blur(18px);
  --transition-fast: 180ms ease-out;
  --transition-med: 260ms ease;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #172042 0, #050611 55%);
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: var(--nav-blur);
  background: linear-gradient(to bottom, rgba(5, 6, 17, 0.95), rgba(5, 6, 17, 0.85), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, #66e0ff, #ffd36d, #c084ff, #66e0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #050611;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
}

.logo-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top left, rgba(102, 224, 255, 0.25), rgba(7, 9, 26, 0.9));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  color: var(--text-main) !important;
}

/* NAV TOGGLE (MOBILE) */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 9, 26, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* HERO */

.hero {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.8rem 1.25rem 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.3rem, 3vw + 1.5rem, 3rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.gradient-text {
  background: linear-gradient(120deg, #66e0ff, #ffd36d, #c084ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  font-family: "Inter", system-ui, sans-serif;
}

.btn.primary {
  background: linear-gradient(135deg, #66e0ff, #ffd36d);
  color: #050611;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 26, 0.85);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(9, 12, 34, 1);
}

.btn.full-width {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 34, 0.9);
}

/* EARTH VISUAL */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}

.earth-orbit {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 20%, #1b2748, #050611 70%);
  box-shadow: var(--shadow-soft);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.earth-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(102, 224, 255, 0.35), transparent 60%);
  filter: blur(12px);
  opacity: 0.9;
}

.earth {
  position: relative;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3), transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(102, 224, 255, 0.2), transparent 50%),
    repeating-radial-gradient(circle at 50% 50%, #061633 0, #061633 4px, #050611 5px, #050611 8px);
  box-shadow:
    inset 0 0 25px rgba(0, 0, 0, 0.9),
    0 18px 35px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: spin 26s linear infinite;
}

.earth-highlight {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.6), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(102, 224, 255, 0.35), transparent 50%);
  mix-blend-mode: screen;
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.orbit-ring-1 {
  transform: rotateX(65deg);
}

.orbit-ring-2 {
  transform: rotateX(75deg) rotateZ(25deg);
}

.orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 16px var(--accent-strong);
  animation: orbit 18s linear infinite;
}

.orbit-dot-1 {
  top: 12%;
  left: 50%;
  transform-origin: 0 150px;
}

.orbit-dot-2 {
  bottom: 14%;
  right: 20%;
  transform-origin: -100px -30px;
  animation-duration: 24s;
}

.hero-stat-card {
  width: 100%;
  padding: 1rem 1.3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(9, 12, 34, 0.96), rgba(13, 18, 51, 0.96));
  border: 1px solid rgba(102, 224, 255, 0.25);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
}

.hero-stat-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.hero-stat-main {
  margin: 0;
  font-size: 0.95rem;
}

/* Sections */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #101530 0, #050611 55%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-inner {
  max-width: 980px;
}

.section-header h2 {
  margin-top: 0.4rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.7rem, 2vw + 1rem, 2.1rem);
  margin-bottom: 0.5rem;
}

.section-intro {
  margin-top: 0.5rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* ABOUT GRID */

.about-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.about-point {
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(150deg, rgba(9, 12, 34, 0.98), rgba(11, 15, 46, 0.98));
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

.about-point h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.about-point p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CARDS */

.card-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background: radial-gradient(circle at top left, rgba(102, 224, 255, 0.18), transparent 60%);
  transition: opacity var(--transition-med), transform var(--transition-med);
  transform: translate3d(-10px, 0, 0);
  pointer-events: none;
}

.lift-card {
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.lift-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-strong);
  border-color: rgba(102, 224, 255, 0.55);
  background: radial-gradient(circle at top left, rgba(102, 224, 255, 0.1), rgba(9, 12, 34, 0.98));
}

.lift-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card ul li + li {
  margin-top: 0.25rem;
}

/* TIMELINE */

.timeline {
  margin-top: 1.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1.6rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffd36d, #ff9f1c);
  box-shadow: 0 0 14px rgba(255, 211, 109, 0.9);
  transform: translateX(-50%);
}

.timeline-content h3 {
  margin: 0 0 0.25rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* CONTACT */

.contact-section {
  padding-bottom: 4.5rem;
}

.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(102, 224, 255, 0.2);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 7, 22, 0.98);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(163, 166, 194, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(102, 224, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(102, 224, 255, 0.4);
  background: rgba(7, 10, 28, 0.98);
  transform: translateY(-1px);
}

.contact-aside .card {
  height: 100%;
}

.contact-list {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.25rem 1.5rem;
  margin-top: 2rem;
  background: radial-gradient(circle at top, rgba(10, 14, 34, 0.9), rgba(5, 6, 17, 1));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-dot {
  opacity: 0.6;
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */

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

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(0);
  }
  to {
    transform: rotate(360deg) translateX(0);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.7rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    padding-inline: 1rem;
  }

  .nav-links {
    position: absolute;
    inset: 56px 0 auto;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.7rem 1.2rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    background: radial-gradient(circle at top, rgba(10, 14, 34, 0.98), rgba(5, 6, 17, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    gap: 0.75rem;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .hero {
    padding-inline: 1.1rem;
  }

  .section {
    padding-inline: 1.1rem;
  }

  .about-grid,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .hero-meta span {
    font-size: 0.78rem;
  }

  .earth-orbit {
    width: min(280px, 90vw);
  }
}
