/* ------------- GLOBAL ------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-deep: #080a12;
  --bg-elevated: #0f1320;
  --violet: #a259ff;
  --cyan: #3ef9e1;
  --magenta: #ff4fdb;
  --blue: #4d7cff;
  --text-main: #f4f7ff;
  --text-sub: #9ca5c6;
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 19, 32, 0.8);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.45);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #161c2f 0, #060712 50%, #020308 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* ------------- NAVBAR ------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 7vw;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      120deg,
      rgba(10, 12, 24, 0.88),
      rgba(8, 10, 18, 0.94)
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta));
  box-shadow:
    0 0 18px rgba(62, 249, 225, 0.7),
    0 0 38px rgba(162, 89, 255, 0.65);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

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

.nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav a:hover {
  color: var(--text-main);
  background: radial-gradient(circle at top, rgba(62, 249, 225, 0.09), transparent 60%);
}

/* ------------- HERO ------------- */

.hero {
  position: relative;
  padding: 120px 7vw 100px;
  overflow: hidden;
  text-align: left;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 10% 0%, rgba(162, 89, 255, 0.28) 0, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(62, 249, 225, 0.26) 0, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 79, 219, 0.23) 0, transparent 60%);
  opacity: 0.9;
  filter: blur(10px);
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 30px;
  background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(110deg, var(--cyan), var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 700px;
  color: var(--text-sub);
  margin: 8px 0 28px;
  font-size: 0.98rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ------------- BUTTONS ------------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-med),
    transform var(--transition-fast),
    box-shadow var(--transition-med),
    color var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--cyan), var(--violet));
  color: #050509;
  box-shadow: 0 16px 40px rgba(162, 89, 255, 0.7);
}

.btn-primary.large {
  padding: 14px 28px;
  font-size: 1.02rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(162, 89, 255, 0.9);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-main);
  background: rgba(11, 15, 30, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-ghost:hover {
  background: linear-gradient(120deg, rgba(162, 89, 255, 0.18), rgba(62, 249, 225, 0.09));
}

/* ------------- SECTIONS GENERIC ------------- */

section {
  padding: 70px 7vw;
}

section h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--text-sub);
  font-size: 0.95rem;
  max-width: 640px;
}

/* ------------- WHY SECTION ------------- */

.why {
  background: radial-gradient(circle at top, rgba(162, 89, 255, 0.12), transparent 60%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.holo-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(62, 249, 225, 0.07), rgba(10, 12, 24, 0.96));
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.holo-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.holo-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.holo-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.holo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(62, 249, 225, 0.35);
}

.holo-card:hover::before {
  opacity: 1;
  transform: translate(-10px, 10px);
}

/* ------------- HOW IT WORKS ------------- */

.how {
  background: radial-gradient(circle at bottom, rgba(62, 249, 225, 0.05), transparent 55%);
}

.timeline {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.timeline-step {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--text-sub);
  background: linear-gradient(120deg, rgba(13, 16, 32, 0.95), rgba(8, 10, 18, 0.95));
}

.timeline-step::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.timeline-step.end::after {
  display: none;
}

/* ------------- PILLARS ------------- */

.pillars {
  background: radial-gradient(circle at top right, rgba(255, 79, 219, 0.08), transparent 60%);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.pillar-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(13, 17, 36, 0.96), rgba(12, 15, 30, 0.98));
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.25), transparent 45%, rgba(62, 249, 225, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.pillar-card:hover::before {
  opacity: 1;
}

/* ------------- CTA SECTION ------------- */

.cta {
  text-align: center;
  background: radial-gradient(circle at center, rgba(162, 89, 255, 0.18), rgba(2, 3, 8, 0.96));
  box-shadow: var(--shadow-soft);
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta p {
  color: var(--text-sub);
  margin-bottom: 24px;
}

/* ------------- FOOTER ------------- */

.footer {
  padding: 20px 7vw 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #05060c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7c86a6;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: #9aa4c2;
  text-decoration: none;
}

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

/* ------------- RESPONSIVE ------------- */

@media (max-width: 768px) {
  .nav {
    padding: 12px 16px;
  }

  .nav nav {
    gap: 12px;
  }

  section {
    padding: 56px 16px;
  }

  .hero {
    padding: 110px 16px 80px;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .timeline {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
/* Highlight active nav link */
.nav a.active-nav {
  color: var(--text-main);
  background: radial-gradient(circle at top, rgba(62, 249, 225, 0.16), transparent 65%);
}
