/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg:     #000000;
  --blue:   #4ea6db;
  --purple: #8b5cf6;
  --white:  #ffffff;
  --muted:  rgba(255,255,255,0.45);
  --display: 'Bebas Neue', sans-serif;
  --body:    'DM Sans', sans-serif;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: grab;
}
body.dragging { cursor: grabbing; }


/* ── CANVAS ─────────────────────────────────────────────────── */
#threeCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ── SCROLL WRAP ────────────────────────────────────────────── */
.scroll-wrap { position: relative; z-index: 3; }

/* ── PANELS ─────────────────────────────────────────────────── */
.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 9vw;
}

.panel-content           { max-width: 500px; }
.panel-content--right    { margin-left: auto; }
.panel-content--center   { margin: 0 auto; text-align: center; }
.panel-content--center .sub { margin: 0 auto; }

/* ── TYPE ───────────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.87;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.87;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.glow {
  color: var(--blue);
  text-shadow:
    0 0 30px rgba(78,166,219,0.55),
    0 0 80px rgba(78,166,219,0.18);
}

.sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

/* ── SPECS ──────────────────────────────────────────────────── */
.specs {
  list-style: none;
  margin-top: 2rem;
}

.specs li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.specs li span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  min-width: 72px;
}

/* ── CTA BUTTON ─────────────────────────────────────────────── */
.cta-btn {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 14px 36px;
  background: var(--blue);
  color: var(--bg);
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cta-btn:hover {
  background: #6ec0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(78,166,219,0.35);
}

/* ── SCROLL HINT ────────────────────────────────────────────── */
.scroll-hint {
  margin-top: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.arrow {
  display: inline-block;
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── NAV ────────────────────────────────────────────────────── */
.sdp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(78, 166, 219, 0.12);
}

.sdp-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sdp-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.sdp-nav__logo-img { height: 44px; width: auto; }

.sdp-nav__logo-text {
  font-family: 'Syne', var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sdp-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin-left: auto;
}

.sdp-nav__links li a {
  font-family: 'Syne', var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
}

.sdp-nav__links li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sdp-nav__links li a:hover { color: var(--white); }
.sdp-nav__links li a:hover::after { width: 100%; }

.sdp-nav__cta {
  padding: 0.5rem 1.4rem !important;
  background: rgba(78, 166, 219, 0.12) !important;
  border: 1.5px solid var(--blue) !important;
  color: var(--blue) !important;
  border-radius: 6px;
}
.sdp-nav__cta:hover {
  background: var(--blue) !important;
  color: #000 !important;
}
.sdp-nav__cta::after { display: none !important; }

.sdp-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.sdp-nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transition: 0.3s ease;
}

.panel--hero { padding-top: 130px; }

/* ── LOADER ─────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loader.done { opacity: 0; visibility: hidden; }

.loader-label {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: var(--blue);
}

.loader-track {
  width: 180px;
  height: 2px;
  background: rgba(78,166,219,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  transition: width 0.35s ease;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sdp-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.96);
    border-top: 1px solid rgba(78, 166, 219, 0.12);
    padding: 0.5rem 2rem 1rem;
  }
  .sdp-nav__links.open { display: flex; }
  .sdp-nav__links li a { padding: 0.75rem 0; display: block; }
  .sdp-nav__hamburger { display: flex; }

  .panel { padding: 80px 6vw; }
  .panel--hero { padding-top: 110px; }
  .panel-content--right { margin-left: 0; }
  h1 { font-size: clamp(3.5rem, 18vw, 6rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 5rem); }
}
