/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --surface:   #111118;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --muted:     #8888a0;
  --accent:    #7c6dfa;
  --accent2:   #4fc4cf;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10,10,15,0.75);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-cta:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

/* Ambient orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: drift 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -80px; right: -80px;
  animation-delay: -4s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: #b06dfa;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}
.orb-3 {
  animation-name: drift3;
}
@keyframes drift3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(calc(-50% + 20px), calc(-50% - 30px)) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 0 40px rgba(124,109,250,0.3);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  font-size: 1.2rem;
  color: var(--muted);
  animation: bob 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Shared Layout ── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 720px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

/* ── Pillars ── */
.pillars { padding: 7rem 0; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.pillar-card:hover {
  border-color: rgba(124,109,250,0.35);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ── Philosophy ── */
.philosophy {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
blockquote em { color: var(--text); font-style: normal; }

/* ── Apps ── */
.apps { padding: 7rem 0; }

.coming-card {
  background: var(--surface);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.coming-badge {
  display: inline-block;
  background: rgba(124,109,250,0.15);
  border: 1px solid rgba(124,109,250,0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.coming-card p { color: var(--muted); margin-bottom: 1.75rem; }

.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(124,109,250,0.08);
}

/* ── About ── */
.about {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.about p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .coming-card { padding: 2.5rem 1.5rem; }
}
