:root {
  --bg: #04070b;
  --bg-soft: #0b1118;
  --teal: #8bbcff;
  --teal-soft: rgba(139, 188, 255, 0.35);
  --teal-glow: rgba(139, 188, 255, 0.55);
  --white: #e6f1ff;
  --muted: rgba(230, 241, 255, 0.68);
  --card: rgba(8, 12, 18, 0.82);
  --card-border: rgba(139, 188, 255, 0.2);
  --shadow: 0 0 25px rgba(139, 188, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(60% 40% at 15% 20%, rgba(139, 188, 255, 0.02), transparent 70%),
    radial-gradient(50% 50% at 90% 10%, rgba(139, 188, 255, 0.03), transparent 65%),
    radial-gradient(45% 45% at 65% 85%, rgba(139, 188, 255, 0.02), transparent 80%),
    linear-gradient(180deg, #020406 0%, #04070b 55%, #030509 100%);
  opacity: 0.45;
}

body::after {
  background: radial-gradient(circle at 30% 40%, rgba(139, 188, 255, 0.03), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.22;
}

canvas#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

canvas#slime {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  border-bottom: 1px solid rgba(139, 188, 255, 0.12);
  backdrop-filter: blur(6px);
  background: rgba(4, 5, 5, 0.65);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 0;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a[data-active="true"] {
  color: var(--white);
  background: rgba(139, 188, 255, 0.12);
  box-shadow: inset 0 0 12px rgba(139, 188, 255, 0.2);
}

.hero {
  padding: 110px 6vw 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  color: var(--bg);
  background: var(--teal);
  border: none;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(139, 188, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 188, 255, 0.35);
  text-shadow: 0 0 10px rgba(139, 188, 255, 0.8);
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(139, 188, 255, 0.35);
  color: var(--white);
}

.section {
  padding: 60px 6vw;
}

.section-title {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  margin: 0 0 18px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 680px;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side-stack {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 160px;
  backdrop-filter: blur(12px);
}

.card h3 {
  margin-top: 0;
  font-family: "Syne", "Space Grotesk", sans-serif;
}

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

.highlight {
  border: 1px solid rgba(139, 188, 255, 0.35);
  box-shadow: 0 0 35px rgba(139, 188, 255, 0.15);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(139, 188, 255, 0.1);
  color: var(--muted);
}

iframe.profile {
  width: 100%;
  min-height: 520px;
  border: 1px solid rgba(139, 188, 255, 0.2);
  border-radius: 0;
  background: var(--bg-soft);
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid rgba(139, 188, 255, 0.2);
  background: rgba(4, 6, 6, 0.75);
  color: var(--white);
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(139, 188, 255, 0.4);
}

footer {
  padding: 40px 6vw 60px;
  color: rgba(247, 247, 244, 0.5);
  border-top: 1px solid rgba(139, 188, 255, 0.12);
  text-align: center;
}

.glow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 0;
  background: rgba(139, 188, 255, 0.16);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}



@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    padding-top: 80px;
  }

  .project-layout {
    grid-template-columns: 1fr;
  }
}
