﻿:root {
  --bg: #0b1020;
  --bg-soft: #151c31;
  --surface: rgba(21, 28, 49, 0.7);
  --text: #eef3ff;
  --muted: #b4bfd8;
  --primary: #00c2a8;
  --accent: #f7b733;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #1f2a4d 0%, var(--bg) 55%), linear-gradient(130deg, #0b1020, #111936);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 88px 0 56px;
  position: relative;
}

.eyebrow {
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  line-height: 1.05;
}

.hero-copy {
  margin-top: 18px;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.8;
}

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

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn.primary {
  background: var(--primary);
  color: #04201b;
  box-shadow: 0 10px 25px rgba(0, 194, 168, 0.35);
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transform: translateY(14px);
  opacity: 0;
  animation: reveal 0.5s ease forwards;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  color: #dce5ff;
}

.panel {
  background: linear-gradient(145deg, rgba(10, 17, 33, 0.85), rgba(38, 49, 82, 0.75));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
}

.panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.footer {
  padding: 40px 0 56px;
  color: var(--muted);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  filter: blur(45px);
  opacity: 0.32;
}

.orb-a {
  width: 320px;
  height: 320px;
  background: #00c2a8;
  top: -80px;
  right: 8%;
}

.orb-b {
  width: 260px;
  height: 260px;
  background: #f7b733;
  bottom: -60px;
  left: 6%;
}

@keyframes reveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 30px));
  }

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

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}
