@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --base: #030308;
  --surface: rgba(8, 8, 16, 0.95);
  --elevated: rgba(16, 16, 28, 0.98);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99, 102, 241, 0.2);
  --accent: #c084fc;
  --accent-glow: rgba(192, 132, 252, 0.15);
  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.15);
  --text: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.65);
  --text-subtle: rgba(248, 250, 252, 0.4);
  --border: rgba(99, 102, 241, 0.2);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.cosmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(192, 132, 252, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 60%);
  z-index: -1;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px var(--primary-glow);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.cta-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.cta-large {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.cta-outline {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-outline:hover {
  border-color: var(--primary);
  color: var(--text);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
}

.crystal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crystal-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.crystal-core {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 
    0 0 60px var(--primary-glow),
    0 0 120px var(--accent-glow),
    inset 0 0 60px rgba(255,255,255,0.1);
  animation: morph 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Sections */
.section {
  padding: 120px 48px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Vision Section */
.section-vision {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vision-card {
  padding: 48px 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--primary-glow);
}

.vision-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
}

.vision-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--primary-light);
}

.vision-icon svg {
  width: 100%;
  height: 100%;
}

.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

/* Philosophy Section */
.section-dark {
  background: linear-gradient(180deg, var(--base) 0%, rgba(99, 102, 241, 0.05) 50%, var(--base) 100%);
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  margin-bottom: 48px;
}

.philosophy-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0 auto 48px;
}

.philosophy-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pillar-item {
  padding: 40px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.pillar-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px var(--primary-glow);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 16px;
  display: block;
}

.pillar-item h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* About Section */
.section-about {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-cta {
  margin-top: 32px;
}

.cta-link {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.cta-link:hover {
  color: var(--text);
}

.about-statement {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.statement-card {
  padding: 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.statement-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--elevated), rgba(251, 191, 36, 0.05));
}

.statement-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.statement-card.highlight .statement-label {
  color: var(--gold);
}

.statement-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Roadmap Section */
.section-roadmap {
  background: linear-gradient(180deg, var(--base) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
}

.roadmap-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-phase {
  display: flex;
  gap: 40px;
  padding-bottom: 48px;
  position: relative;
}

.roadmap-phase:last-child {
  padding-bottom: 0;
}

.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.phase-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--elevated);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  box-shadow: 0 0 30px var(--primary-glow);
}

.phase-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--primary), transparent);
  margin-top: 16px;
}

.roadmap-phase:last-child .phase-line {
  display: none;
}

.phase-content {
  flex: 1;
  padding-top: 8px;
}

.phase-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.phase-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}

.phase-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

/* CTA Section */
.section-cta {
  text-align: center;
  padding: 160px 48px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.cta-text {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-nav {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.footer-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .vision-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .main-header {
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
  }
  .main-nav { gap: 20px; }
  .hero { padding: 140px 24px 60px; }
  .section { padding: 80px 24px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .footer-container { flex-direction: column; gap: 48px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
