:root {
  --bg: #050505;
  --panel: #0d0d0f;
  --ink: #ffffff;
  --muted: #88888b;
  --accent: #9dff3c;
  --accent-2: #21ffaa;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

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

img {
  max-width: 100%;
  display: block;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.9;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -4px;
}

.hero-text .kicker {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.hero-text p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-wrap:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.cta-group {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.4s;
  font-size: 15px;
}

.btn.primary {
  background: var(--gradient);
  color: #000;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(157, 255, 60, 0.3);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0 120px;
}

.timeline-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
  text-align: center;
  margin: 0 0 10px;
}

.timeline-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 80px;
}

/* Timeline Container */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Central vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent-2) 90%, transparent);
  transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  color: inherit;
  text-decoration: none;
}

/* Odd items — left side */
.timeline-item:nth-child(odd) {
  padding-right: 60px;
  justify-content: flex-end;
  align-self: flex-start;
}

/* Even items — right side */
.timeline-item:nth-child(even) {
  padding-left: 60px;
  margin-left: 50%;
}

/* Dot on the timeline */
.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid var(--bg);
  z-index: 2;
  transition: 0.4s;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
  box-shadow: 0 0 20px rgba(157, 255, 60, 0.6);
}

/* Timeline Card */
.timeline-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(157, 255, 60, 0.1), 0 0 80px rgba(33, 255, 170, 0.05);
}

.timeline-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: 0.4s;
}

.timeline-item:hover .timeline-icon {
  background: var(--gradient);
  color: #000;
}

.timeline-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 5px;
  letter-spacing: -0.5px;
}

.timeline-desc {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 10px;
}

.timeline-tag {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sig {
  color: var(--muted);
  font-size: 14px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-image-wrap {
    transform: none;
  }
}

@media (max-width: 768px) {
  /* Timeline shifts to left on mobile */
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 55px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 50px;
  }

  .timeline-title {
    font-size: 30px;
  }
}
