/* ============================================
   VECTOR - Vanilla CSS Styles
   ============================================ */

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

/* CSS Variables - Light & Dark Themes */
:root {
  --background: 210 20% 98%;
  --foreground: 220 30% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 30% 10%;
  --primary: 185 75% 40%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 15% 92%;
  --secondary-foreground: 220 30% 15%;
  --muted: 210 20% 95%;
  --muted-foreground: 220 15% 45%;
  --accent: 185 90% 50%;
  --accent-foreground: 220 30% 10%;
  --border: 210 20% 88%;
  --input: 210 20% 88%;
  --ring: 185 75% 40%;
  --radius: 0.75rem;
  --glow-primary: 185 90% 60%;
  --glow-secondary: 195 85% 55%;
  --slate-dark: 220 25% 12%;
  --slate-medium: 220 20% 25%;
}

.dark {
  --background: 220 30% 5%;
  --foreground: 210 40% 98%;
  --card: 220 28% 8%;
  --card-foreground: 210 40% 98%;
  --primary: 185 95% 55%;
  --primary-foreground: 220 30% 10%;
  --secondary: 220 25% 12%;
  --secondary-foreground: 210 40% 98%;
  --muted: 220 25% 10%;
  --muted-foreground: 210 20% 70%;
  --accent: 185 100% 60%;
  --accent-foreground: 220 30% 10%;
  --border: 220 25% 15%;
  --input: 220 25% 15%;
  --ring: 185 95% 55%;
  --glow-primary: 185 100% 65%;
  --glow-secondary: 195 90% 60%;
}

/* Dark/Light mode image utility */
img.show-dark {
  display: none !important;
}

html.dark img.show-dark,
.dark img.show-dark {
  display: block !important;
}

img.show-light {
  display: block !important;
}

html.dark img.show-light,
.dark img.show-light {
  display: none !important;
}

.full-width-rounded {
  width: 100%;
  border-radius: 1rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right,
      hsl(var(--primary)),
      hsl(var(--accent)));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 0 20px hsl(var(--glow-primary) / 0.3),
    0 0 40px hsl(var(--glow-primary) / 0.15);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(170, 156, 156, 0.7);
  backdrop-filter: blur(12px);
  border: 2px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--foreground));
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: hsl(var(--primary) / 0.6);
  background: hsl(var(--primary) / 0.05);
}

.btn-link {
  text-decoration: none;
  color: black;
  display: inline-block;
}

/* Navbar */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: cover;
}

.navbar {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 50;
  animation: slideDown 0.6s ease-out;
}

.navbar-inner {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
  width: 100%;
  box-sizing: border-box;
}

.navbar-inner.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.navbar-inner:not(.scrolled) {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .navbar-inner {
    margin: 0 1.5rem;
  }
}

@media (min-width: 1280px) {
  .navbar-inner {
    margin: 0 2rem;
  }
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: hsl(var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;


  box-sizing: border-box;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  display: none;
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.125rem;
}

.mobile-menu .nav-actions {
  display: flex;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right,
      hsl(var(--primary) / 0.1),
      hsl(var(--accent) / 0.1));
  border: 1px solid hsl(var(--primary) / 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle:hover {
  border-color: hsl(var(--primary) / 0.4);
  transform: scale(1.1);
}

.theme-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.logo-svg {
  width: 2rem;
  height: 2rem;
}

.logo-svg.md {
  width: 3rem;
  height: 3rem;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #1a1a1a 1px, transparent 1px),
    linear-gradient(to bottom, #1a1a1a 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%,
      #000 70%,
      transparent 110%);
}

.hero-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: hsl(var(--primary) / 0.2);
  border-radius: 50%;
  filter: blur(120px);
  animation: fadeIn 1s ease;
}

.hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  animation: fadeInUp 0.5s ease 0.1s both;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.hero h1 {
  font-family: "monospace";
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .primary {
  color: hsl(var(--primary));
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 0.6s ease 0.35s both;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease 0.5s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.stat-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.stat-card .value {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: monospace;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .stat-card .value {
    font-size: 2.25rem;
  }
}

.stat-card .label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Section Styles */
.section {
  padding: 6rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 2rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
}

.section-title {
  font-family: "Inter", monospace;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title .primary {
  color: hsl(var(--primary));
}

.section-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* About Section */
.about-section {
  background: hsl(var(--card));
}

/* .features-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
} */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-6px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}

.feature-card:hover .feature-icon {
  background: hsl(var(--primary) / 0.2);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.feature-title {
  font-family: monospace;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Hidden accordion content */
.feature-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  line-height: 1.6;
  transition: all 0.35s ease;
  border-top: 1px solid transparent;
  padding-top: 0;
}

/* Expand on hover */
.feature-card:hover .feature-extra {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.8rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 0.8rem;
}

/* Mission Section */
.mission-section {
  margin-top: 4rem;
  padding: 2rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .mission-section {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
}

.mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mission-tag {
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mission-stat {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  text-align: center;
}

.mission-stat .value {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: monospace;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.mission-stat .label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Organizational Structure */
.eco-wrapper {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 30px;
}

.eco-branch {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.eco-node.center {
  text-align: center;
}

.eco-line {
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 0%;
  background: hsl(var(--primary));
  transition: height 0.15s linear;
  opacity: 0.8;
}

.eco-node {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.eco-node.small {
  font-size: 0.75rem;
  padding: 6px 12px;
}

.eco-node.active {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 10px hsl(var(--primary) / 0.25);
}

.eco-node.highlight {
  font-weight: 600;
}

/* CoderRoots Section */
.coderroots-section {
  position: relative;
}

.coderroots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.coderroots-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transition: all 0.28s ease;
}

.coderroots-card:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--primary) / 0.4);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .coderroots-grid {
    grid-template-columns: 1fr;
  }
}

.coderroots-quote {
  margin-top: 40px;
  text-align: center;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}

.coderroots-quote::before {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 0 auto 16px;
  background: hsl(var(--primary));
  opacity: 0.5;
}

/* Research/Pillars Section */
.pillars-section {
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.pillars-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(120px);
}

.pillars-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s;
}

.pillar-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-6px);
}

.pillar-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: 1.25rem;
}

.pillar-stats .value {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: monospace;
  color: hsl(var(--primary));
}

.pillar-stats .label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Roadmap Section */
.roadmap-section {
  background: hsl(var(--card));
}

.roadmap-timeline {
  position: relative;
  padding-top: 4rem;
}

.roadmap-line {
  display: none;
}

@media (min-width: 1024px) {
  .roadmap-line {
    display: block;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    height: 4px;
    background: hsl(var(--border));
    z-index: 0;
  }
}

.roadmap-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

.roadmap-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .roadmap-item {
    margin-top: 0;
  }
}

.roadmap-dot {
  display: none;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .roadmap-dot {
    display: flex;
    position: absolute;
    /* top: 4rem;                      */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
}

.roadmap-dot.completed {
  background: hsl(var(--primary));
}

.roadmap-dot.completed svg {
  color: hsl(var(--primary-foreground));
}

.roadmap-dot.in-progress {
  background: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.2);
}

.roadmap-dot.in-progress svg {
  color: hsl(var(--primary-foreground));
}

.roadmap-dot.upcoming {
  background: hsl(var(--secondary));
  border: 2px solid hsl(var(--border));
}

.roadmap-dot.upcoming svg {
  color: hsl(var(--muted-foreground));
}

/* Glow effect when progress line reaches dot */
.roadmap-dot.reached {
  box-shadow:
    0 0 20px hsl(var(--primary) / 0.6),
    0 0 40px hsl(var(--primary) / 0.4),
    0 0 0 4px hsl(var(--primary) / 0.2);
  transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.roadmap-dot.reached svg {
  filter: drop-shadow(0 0 8px hsl(var(--primary)));
}

.roadmap-card {
  padding: 1.5rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .roadmap-card {
    margin-top: 6rem;
    min-height: 320px;
  }
}

.roadmap-card.in-progress {
  border-color: hsl(var(--primary));
}

.roadmap-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.roadmap-mobile-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .roadmap-mobile-status {
    display: none;
  }
}

.roadmap-phase {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.roadmap-title {
  font-family: monospace;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.roadmap-quarter {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.roadmap-list {
  list-style: none;
}

.roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.roadmap-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.roadmap-item.completed .roadmap-list li::before {
  background: hsl(var(--primary));
}

.roadmap-item:not(.completed) .roadmap-list li::before {
  background: hsl(var(--muted-foreground));
}

/* Institutional Value */
.value-section {
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: 0.25s ease;
  height: 100%;
}

.value-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-3px);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.value-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.value-arrow {
  text-align: center;
  font-size: 18px;
  color: hsl(var(--primary));
}

/* .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
} */

/* .value-flow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
} */

.value-box {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid hsl(var(--border));
}

.value-box.before {
  background: hsl(var(--muted));
}

.value-box.after {
  background: hsl(var(--primary) / 0.08);
  border-color: hsl(var(--primary) / 0.4);
}

.value-label {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
  font-weight: 600;
  opacity: 0.8;
}

/* .value-arrow {
  font-size: 20px;
  color: hsl(var(--primary));
} */

@media (max-width: 768px) {
  .value-card {
    flex-direction: column;
  }

  .value-flow {
    flex-direction: column;
  }

  .value-arrow {
    transform: rotate(90deg);
  }
}

/* Team Section */
.team-section {
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.team-glow {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 500px;
  height: 500px;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(120px);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  padding: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-6px);
}

.team-photo {
  width: 100%;
  height: 220px;
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-name {
  font-family: monospace;
  font-weight: 600;
  font-size: 1.05rem;
}

.team-role {
  font-size: 0.8rem;
  color: hsl(var(--primary));
  margin-bottom: 0.4rem;
}

.team-bio {
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.8rem;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid hsl(var(--border));
}

.team-socials a {
  padding: 0.4rem 0.55rem;
  background: hsl(var(--secondary));
  border-radius: 0.4rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.25s;
}

.team-socials a:hover {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.team-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}

.team-cta h3 {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.team-cta p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.team-cta a {
  display: inline-flex;
  padding: 0.75rem 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s;
}

.team-cta a:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Footer */
.footer {
  background: hsl(var(--slate-dark));
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      hsl(var(--accent) / 0.5),
      transparent);
}

.footer-newsletter {
  padding: 4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-newsletter .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.footer-newsletter-inner {
  padding: 2rem;
  background: hsl(var(--slate-dark) / 0.9);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-newsletter-inner {
    flex-direction: row;
    padding: 3rem;
  }
}

.footer-newsletter h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-newsletter h3 {
    text-align: left;
  }
}

.footer-newsletter h3 .accent {
  color: hsl(var(--accent));
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-newsletter-form {
    width: auto;
    flex-shrink: 0;
  }
}

.footer-newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: white;
  font-size: 1rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-main {
  padding: 4rem 1rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 1.5rem;
}

.footer-brand .powered {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-brand .powered span:first-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand .powered span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--accent));
}

.footer h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer ul a:hover {
  color: hsl(var(--accent));
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
  margin-top: 0.125rem;
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover {
  color: hsl(var(--accent));
}

.footer-bottom {
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: hsl(var(--accent));
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* About Page Specific */
.about-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 20%, hsl(var(--accent) / 0.1) 0%, transparent 50%),
    radial-gradient(at 80% 20%, hsl(var(--primary) / 0.08) 0%, transparent 50%),
    radial-gradient(at 40% 80%, hsl(var(--accent) / 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.about-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .about-hero h1 {
    font-size: 4.5rem;
  }
}

.text-gradient {
  background: linear-gradient(to right,
      hsl(var(--primary)),
      hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section-alt {
  background: hsl(var(--secondary) / 0.3);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.glass-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.dark .glass-card {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}

.domain-card {
  padding: 2.5rem;
  background: hsl(var(--slate-dark));
  border-radius: 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.outcome-item {
  padding: 1rem;
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
}

.dark .outcome-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.outcome-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(to right,
      hsl(var(--primary)),
      hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outcome-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* 404 Page */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
}

.not-found-content {
  text-align: center;
}

.not-found h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.not-found a {
  color: hsl(var(--primary));
  text-decoration: underline;
  transition: color 0.3s;
}

.not-found a:hover {
  color: hsl(var(--primary) / 0.9);
}

/* Page Container */
.page {
  min-height: 100vh;
  background: hsl(var(--background));
}

.page.dark {
  background: hsl(var(--background));
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
  transition-delay: 0.5s;
}

/* Floating animation for hero icons */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-float-icon {
  animation: float 3s ease-in-out infinite;
  position: absolute;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: none;
}

@media (min-width: 1024px) {
  .hero-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-float-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.hero-float-icon.float-delay-1 {
  animation-delay: 0.5s;
}

.hero-float-icon.float-delay-2 {
  animation-delay: 1s;
}

.hero-float-icon.float-delay-3 {
  animation-delay: 1.5s;
}

/* Roadmap progress line - filled by JS based on scroll */
.roadmap-progress-line {
  display: none;
  position: absolute;
  top: 4rem;
  left: 0;
  height: 4px;
  background: linear-gradient(to right,
      hsl(var(--primary)),
      hsl(var(--accent)));
  transition: width 0.15s ease-out;
  z-index: 1;
  box-shadow: 0 0 10px hsl(var(--primary) / 0.5);
}

@media (min-width: 1024px) {
  .roadmap-progress-line {
    display: block;
  }
}

/* Contact page */
.contact-section {
  padding: 8rem 1rem 6rem;
  min-height: 100vh;
}

.contact-form-wrapper {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px hsl(var(--foreground) / 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.contact-form-wrapper .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--primary) / 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.5);
}