:root {
  --bg: #0a0f14;
  --bg-soft: #0f1821;
  --surface: #111c25;
  --surface-soft: #162634;
  --panel: #0d161f;
  --text: #e8eef5;
  --muted: #a9b6c5;
  --gold: #000000;
  --gold-soft: #1a1a1a;
  --accent: #17c6a3;
  --accent-soft: #25e0ba;
  --line: rgba(23, 198, 163, 0.34);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at 20% 20%, #132331 0%, var(--bg) 36%),
    radial-gradient(circle at 84% 12%, #0d2834 0%, transparent 36%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 42vw;
  height: 42vw;
  border: 2px solid rgba(23, 198, 163, 0.2);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: slowRotate 32s linear infinite;
}

body::before {
  top: -18vw;
  left: -14vw;
}

body::after {
  right: -16vw;
  bottom: -20vw;
  animation-direction: reverse;
  animation-duration: 42s;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 28px 0 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.logo span {
  color: var(--accent-soft);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-soft);
}

.hero-content {
  margin-top: 64px;
}

.eyebrow {
  font-size: 0.9rem;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #f2efe8;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  animation: pulseFloat 4.5s ease-in-out infinite;
}

.hero h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 800px;
}

.subtitle {
  margin-top: 14px;
  max-width: 720px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: #051418;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.04);
}

.btn-secondary {
  background: linear-gradient(90deg, #12323b, #184550);
  color: #e8eef5;
}

.btn-outline {
  background: rgba(23, 198, 163, 0.07);
  border: 2px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.section {
  padding: 72px 0;
}

.section h3 {
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.section-head {
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 18px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
}

.card h4 {
  margin-bottom: 10px;
  color: var(--accent-soft);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 7px;
}

.panel {
  background: linear-gradient(180deg, rgba(18, 39, 52, 0.65), rgba(15, 30, 40, 0.58));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: linear-gradient(180deg, #0f1f2a 0%, #142635 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.stat-card h4 {
  font-size: 1.7rem;
  color: var(--accent-soft);
}

.stat-card p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.3);
}

.project a,
#contact a {
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 600;
}

.project a:hover,
#contact a:hover {
  text-decoration: underline;
}

.achievements {
  padding-top: 20px;
}

.footer {
  text-align: center;
  padding: 24px 12px 34px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-cta {
  background: linear-gradient(180deg, rgba(23, 198, 163, 0.09), rgba(7, 18, 25, 0.7));
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-parallax] {
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.12s linear;
  will-change: transform;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}

@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-bottom: 54px;
  }
}
