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

:root {
  --bg: #0A1A14;
  --bg2: #0F2118;
  --bg3: #152B1E;
  --surface: #1A2E22;
  --surface2: #1F3628;
  --green: #00E676;
  --green2: #00C853;
  --border: rgba(0, 230, 118, 0.12);
  --border2: rgba(255, 255, 255, 0.08);
  --white: #FFFFFF;
  --gray: #B0BEC5;
  --gray2: #607D8B;
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 26, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px
}

.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.02em
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none
}

.nav-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400
}

.nav-links a:hover {
  color: var(--green)
}

.nav-cta {
  background: var(--green);
  color: #0A1A14;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s
}

.nav-cta:hover {
  background: var(--green2)
}

/* HERO */
.hero {
  padding: 130px 48px 80px;
  max-width: 1000px;
  margin: 0 auto
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 3px
}

.hero h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 10px
}

.green {
  color: var(--green)
}

.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 560px;
  margin: 24px 0 40px;
  font-weight: 300;
  line-height: 1.7
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn-primary {
  background: var(--green);
  color: #0A1A14;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s
}

.btn-primary:hover {
  background: var(--green2)
}

.btn-ghost {
  border: 1px solid var(--border2);
  color: var(--gray);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green)
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 72px
}

.stat {
  background: var(--bg2);
  padding: 28px 24px
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1
}

.stat-label {
  font-size: 12px;
  color: var(--gray2);
  margin-top: 6px;
  font-family: var(--mono);
  display: block
}

/* SECTIONS */
section {
  padding: 80px 48px;
  max-width: 1000px;
  margin: 0 auto
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  line-height: 1.05;
  color: var(--white)
}

.section-title .dim {
  color: var(--gray2);
  font-weight: 300
}

/* PROJECT */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  position: relative;
  overflow: hidden
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green)
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px
}

.project-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite
}

@keyframes pulse {
  0%, 100% { opacity: 1 }
  50% { opacity: 0.4 }
}

.project-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px
}

.project-card p {
  font-size: 15px;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 300
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px
}

.pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid var(--border2);
  color: var(--gray)
}

.pill.hot {
  border-color: var(--border);
  color: var(--green);
  background: rgba(0, 230, 118, 0.06)
}

.proj-links {
  display: flex;
  gap: 12px
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em
}

.proj-link.solid {
  background: var(--green);
  color: #0A1A14
}

.proj-link.solid:hover {
  background: var(--green2)
}

.proj-link.outline {
  border: 1px solid var(--border2);
  color: var(--gray)
}

.proj-link.outline:hover {
  border-color: var(--green);
  color: var(--green)
}

/* FIT */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden
}

.fit-card {
  background: var(--bg2);
  padding: 32px
}

.fit-card.green-card {
  background: var(--green);
  border: none
}

.fit-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray2);
  margin-bottom: 12px;
  letter-spacing: 0.06em
}

.fit-card.green-card .fit-num {
  color: rgba(10, 26, 20, 0.6)
}

.fit-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em
}

.fit-card.green-card h3 {
  color: #0A1A14
}

.fit-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300
}

.fit-card.green-card p {
  color: rgba(10, 26, 20, 0.75)
}

/* TIMELINE */
.tl {
  display: flex;
  flex-direction: column
}

.tl-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border2)
}

.tl-row:last-child {
  border-bottom: none
}

.tl-period {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray2);
  margin-bottom: 4px;
  letter-spacing: 0.02em
}

.tl-co {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400
}

.tl-role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--white)
}

.tl-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 14px
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray2);
  background: var(--surface);
  border: 1px solid var(--border2);
  padding: 4px 10px;
  border-radius: 3px
}

.tag.hot {
  color: var(--green);
  background: rgba(0, 230, 118, 0.06);
  border-color: var(--border)
}

/* CTA SECTION */
.cta-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 48px;
  text-align: center
}

.cta-wrap h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.0
}

.cta-wrap h2 span {
  color: var(--green)
}

.cta-wrap p {
  font-size: 16px;
  color: var(--gray2);
  margin-bottom: 36px;
  font-weight: 300
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

footer {
  padding: 24px 48px;
  border-top: 1px solid var(--border2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray2)
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 0 24px
  }

  .nav-links {
    display: none
  }

  .hero {
    padding: 100px 24px 60px
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 48px
  }

  section {
    padding: 60px 24px
  }

  .project-card {
    padding: 32px 24px
  }

  .fit-grid {
    grid-template-columns: 1fr
  }

  .tl-row {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .cta-wrap {
    padding: 60px 24px
  }

  footer {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 16px
  }

  .nav-cta {
    display: none
  }

  .hero {
    padding: 88px 16px 48px
  }

  section {
    padding: 48px 16px
  }

  .project-card {
    padding: 24px 16px
  }

  .fit-card {
    padding: 24px
  }

  .cta-wrap {
    padding: 48px 16px
  }

  footer {
    padding: 20px 16px
  }
}
