:root {
  --bg: #080e1d;
  --surface: #101a30;
  --surface-hover: #16243d;
  --border: #263750;
  --text: #eef4ff;
  --muted: #9caec7;
  --accent: #54e2c1;
  --accent-blue: #72a7ff;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.5px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  padding: 110px 0 105px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%,
      rgba(46, 100, 170, .22), transparent 65%);
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 20px auto;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 650px;
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: #08231e;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.section { padding: 75px 0; }

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1px;
}

.section-heading p { color: var(--muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: .2s ease;
}

.project-card:hover {
  border-color: var(--accent-blue);
  background: var(--surface-hover);
  transform: translateY(-4px);
}

.project-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(84, 226, 193, .1);
  color: var(--accent);
  font-size: 25px;
}

.project-card h3 { margin: 0; font-size: 21px; }

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

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

.tag {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}

.project-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.about-section {
  border-top: 1px solid var(--border);
  background: #0c1426;
}

.about-section p {
  max-width: 780px;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 850px) {
  .project-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  .section { padding: 55px 0; }
}

@media (max-width: 520px) {
  .nav-links { gap: 15px; font-size: 12px; }
  .brand { font-size: 17px; }
  .hero h1 { letter-spacing: -1px; }
}
