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

:root {
  --bg: #020617;
  --primary: #4F8CFF;
  --primary-light: #6CCBFF;
  --text: #FFFFFF;
  --muted: #A0AEC0;
  --border: rgba(255,255,255,0.09);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.gradient-text {
  background: linear-gradient(110deg, var(--primary-light) 0%, var(--primary) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 56px;
}

.nav-logo { text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 68px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-dropdown { position: relative; }

.nav-dropdown details { display: inline; }

.nav-dropdown summary {
  display: inline;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: color 0.2s;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::marker { display: none; }
.nav-dropdown summary:hover { color: var(--text); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  z-index: 200;
}

.dropdown-panel--about { width: 300px; }

.dp-mission {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dp-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dp-values li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.dp-values li span {
  display: inline;
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}

.btn-connect {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-connect:hover {
  background: rgba(79,140,255,0.1);
  box-shadow: 0 0 18px rgba(79,140,255,0.25);
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 56% 44%;
  background: radial-gradient(ellipse at 80% 8%, #0E1B42 0%, #020617 50%);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 40px 80px;
}

.hero-title {
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 350px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(79,140,255,0.55);
  padding: 14px 26px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cta:hover {
  background: rgba(79,140,255,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(79,140,255,0.2);
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
}

/* ── MISSION ─────────────────────────────────────────── */
.mission {
  text-align: center;
  padding: 72px 48px 48px;
}

.mission-pre {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
}

.mission-title {
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
}

/* ── VALUES ──────────────────────────────────────────── */
.values { padding: 48px 80px 120px; }

.values-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: linear-gradient(150deg, #07132A 0%, #040C1E 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 26px 40px;
}

.value-icon { margin-bottom: 22px; }

.value-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HAMBURGER TOGGLE ────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ── MOBILE DROPDOWN MENU ────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(2, 6, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 32px 28px;
  flex-direction: column;
  gap: 0;
}

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

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.nav-mobile-links li a {
  display: block;
  padding: 16px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-links li:last-child a { border-bottom: none; }
.nav-mobile-links li a:hover { color: var(--text); }

.nav-mobile .btn-connect {
  display: inline-flex;
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 12px;
  margin-top: 4px;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .btn-connect { display: none; }
  .nav-toggle { display: flex; }
  /* crop horizontal logo to V icon only on mobile */
  .nav-logo img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    object-position: left center;
  }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .hero-content { padding: 120px 28px 60px; }
  .mission { padding: 64px 28px 40px; }
  .values { padding: 32px 24px 80px; }
  .values-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .values-inner { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -0.02em; }
}
