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

:root {
  --bg: #080a10;
  --card: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a1a1aa;
  --blue: #38bdf8;
  --purple: #a855f7;
  --green: #22c55e;
  --yellow: #eab308;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.25), transparent 30rem),
    linear-gradient(180deg, #080a10, #111827 45%, #09090b);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.glow-one {
  top: 8rem;
  left: -8rem;
  background: var(--blue);
}

.glow-two {
  right: -8rem;
  bottom: 8rem;
  background: var(--purple);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--card-border);
  background: rgba(8, 10, 16, 0.68);
  backdrop-filter: blur(18px);
  border-radius: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #d4d4d8;
  font-size: 14px;
}

.nav-links a:hover {
  color: white;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 9px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.1);
  color: #bae6fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.subtitle,
.section-heading p,
.split p,
.contact p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.subtitle {
  max-width: 700px;
  margin-top: 24px;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-buttons.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 17px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
}

.btn.secondary {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.terminal-card {
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.terminal-header {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.terminal-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.terminal-body {
  min-height: 230px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.58);
  padding: 24px;
  font-family: "Cascadia Code", "Courier New", monospace;
  color: #d4d4d8;
  line-height: 2;
  border: 1px solid rgba(255,255,255,0.08);
}

.green { color: var(--green); }
.blue { color: var(--blue); }
.purple { color: #c084fc; }
.yellow { color: var(--yellow); }
.comment { color: #71717a; margin-top: 16px; }

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

.stats div {
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  padding: 16px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 25px;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-top: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.value {
  min-height: 245px;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.value:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(56, 189, 248, 0.35);
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.13);
  font-size: 27px;
}

.card h3,
.value h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p,
.value p {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 45px;
  align-items: center;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 34px;
  padding: 42px;
}

.split p {
  margin-top: 18px;
}

.skill-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.skill-cloud span {
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.35);
  padding: 11px 15px;
  border-radius: 999px;
  color: #e4e4e7;
  font-weight: 700;
  font-size: 14px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value {
  min-height: 180px;
}

.contact {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px auto 0;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 35px 0 45px;
  color: #71717a;
  text-align: center;
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .cards,
  .values {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .terminal-card {
    order: -1;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

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

  .split {
    padding: 26px;
  }

  .terminal-body {
    padding: 18px;
    font-size: 13px;
  }

  .btn {
    width: 100%;
  }
}
