/* =============================================
   PLUUTO LANDING — Zero dependencies
   ============================================= */

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

:root {
  --purple: #6750a4;
  --purple-light: #a78bfa;
  --purple-glow: rgba(103, 80, 164, 0.15);
  --dark: #0f0d15;
  --dark-surface: #1a1725;
  --text: #e8e4ef;
  --text-dim: #9991ad;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --max-width: 1100px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 720px;
}

/* ── NAV ─────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 13, 21, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-links a.btn-primary {
  color: #fff;
}
.nav-links a.btn-primary:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  position: absolute;
  left: 6px;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle span:first-child {
  top: 11px;
}
.nav-toggle span:last-child {
  top: 19px;
}

/* ── BUTTONS ─────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 0 0 0 rgba(103, 80, 164, 0);
}

.btn-primary:hover {
  background: #7b68b6;
  box-shadow: 0 4px 24px rgba(103, 80, 164, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid rgba(167, 139, 250, 0.3);
}

.btn-secondary:hover {
  border-color: var(--purple-light);
  background: rgba(167, 139, 250, 0.06);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.82rem;
}

/* ── HERO ────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(
    135deg,
    var(--purple-light),
    #c4b5fd,
    var(--purple-light)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 3D GLOBE ────────────────────────────── */

/* Globe: completely isolated from layout and scroll */
#globe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  contain: strict;
  /* sizing and transform done by JS */
}

/* ── SCROLL HINT ─────────────────────────── */

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--purple-light), transparent);
  animation: scroll-pulse 2s var(--ease-out) infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  30% {
    opacity: 1;
    transform: scaleY(1);
  }
  70% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(16px) scaleY(0.5);
  }
}

/* ── REVEAL ANIMATION ────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.12s;
}
.reveal-delay-2 {
  transition-delay: 0.24s;
}
.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* ── SECTIONS ────────────────────────────── */

.section {
  padding: 120px 0;
  position: relative;
  overflow-x: hidden;
}

.section-dark {
  background: var(--dark-surface);
}

.section-alt {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-surface) 100%);
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  margin-bottom: 12px;
}

/* ── CARDS ────────────────────────────────── */

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(103, 80, 164, 0.12);
}

.card-icon {
  color: var(--purple-light);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── PROCESS TRACK ───────────────────────── */

.process-track {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  display: flex;
  gap: 28px;
  position: relative;
}

.step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}

.node {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--purple-light);
  transition: transform 0.5s var(--ease-spring);
}

.process-step.visible .node {
  animation: node-pop 0.6s var(--ease-spring) forwards;
}

@keyframes node-pop {
  0% {
    transform: scale(0.5);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.connector {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--purple-light), transparent);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.6s var(--ease-out) 0.2s;
}

.process-step.visible .connector {
  opacity: 0.3;
  transform: scaleY(1);
}

.step-content {
  padding-bottom: 48px;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  opacity: 0.7;
}

.step-content h3 {
  font-size: 1.15rem;
  margin: 6px 0 8px;
  font-weight: 700;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.process-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple-light);
}

/* ── SPLIT PANELS ────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.split-panel {
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-surface);
}

.split-panel h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-light);
  background: rgba(167, 139, 250, 0.1);
}

/* ── TRUST VISUAL ────────────────────────── */

.trust-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

.trust-ring {
  position: relative;
  width: 280px;
  height: 280px;
}

.trust-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--purple);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px 8px rgba(103, 80, 164, 0.3);
}

.trust-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: slow-spin 40s linear infinite;
}

@keyframes slow-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.trust-point {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-point span {
  display: inline-block;
  padding: 8px 16px;
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
}

.trust-point span:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.15);
}

.tp-1 {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.tp-2 {
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.tp-3 {
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.tp-4 {
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.trust-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.trust-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.trust-item:hover {
  border-color: rgba(167, 139, 250, 0.2);
}

.trust-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── FAQ ──────────────────────────────────── */

.faq-list {
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--purple-light);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  animation: faq-open 0.4s var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── CTA SECTION ─────────────────────────── */

.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  opacity: 0.5;
}

.cta-section h2,
.cta-section .section-sub,
.cta-section .hero-ctas {
  position: relative;
  z-index: 2;
}

/* ── FOOTER ──────────────────────────────── */

.footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── GLOW ACCENT for dark sections ───────── */

.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 600px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--purple-light),
    transparent
  );
  opacity: 0.15;
  transform: translateX(-50%);
}

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 13, 21, 0.97);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-toggle {
    display: block;
  }

  .card-row {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .trust-details {
    grid-template-columns: 1fr;
  }

  .split-panel {
    padding: 32px 24px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .trust-ring {
    width: 220px;
    height: 220px;
  }
  .trust-orbit-ring {
    width: 180px;
    height: 180px;
  }

  .section {
    padding: 64px 0;
  }
}
