:root {
  --bg: #060b18;
  --surface: rgba(13, 24, 49, 0.72);
  --text: #eaf2ff;
  --muted: #9cb0d7;
  --line: rgba(173, 195, 238, 0.28);
  --primary: #2dd4ff;
  --primary-strong: #1887ff;
  --accent: #5dffb6;
  --violet: #8a7dff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

section[id] {
  scroll-margin-top: 98px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -3;
}

.orb-a {
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(45, 212, 255, 0.28), transparent 70%);
}

.orb-b {
  right: -120px;
  top: 120px;
  background: radial-gradient(circle, rgba(138, 125, 255, 0.26), transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -4;
  pointer-events: none;
}

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

.site-header {
  background: rgba(5, 12, 26, 0.86);
  border-bottom: 1px solid rgba(173, 195, 238, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  background: rgba(12, 24, 49, 0.78);
  border: 1px solid rgba(173, 195, 238, 0.26);
  text-decoration: none;
  color: #f2f7ff;
  font-family: "Sora", sans-serif;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(173, 195, 238, 0.35);
  background: rgba(8, 16, 34, 0.8);
  padding: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brand-text-wrap {
  display: grid;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.73rem;
  color: #9fbae8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(173, 195, 238, 0.2);
  border-radius: 12px;
  background: rgba(9, 18, 38, 0.62);
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 11px;
}

.top-nav a:hover {
  color: #ffffff;
  background: rgba(45, 212, 255, 0.13);
}

.top-nav a:focus-visible {
  outline: 2px solid rgba(45, 212, 255, 0.45);
  outline-offset: 1px;
}

.top-nav a:last-child {
  margin-right: 0;
}

.kicker {
  color: #85d7ff;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  line-height: 1.06;
  font-family: "Sora", sans-serif;
}

.intro {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-note {
  margin-top: 18px;
  color: #b8c9e8;
  font-size: 0.95rem;
}

nav a:hover {
  color: #ffffff;
}

.hero {
  padding: 90px 0 54px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(173, 195, 238, 0.3);
  background: rgba(8, 16, 34, 0.55);
  margin-bottom: 14px;
  box-shadow: 0 14px 28px rgba(7, 16, 42, 0.45);
}


.actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  border: 1px solid rgba(45, 212, 255, 0.8);
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  color: #011526;
  text-decoration: none;
  padding: 11px 15px;
  border-radius: 12px;
  font-weight: 600;
}

.button-secondary {
  background: rgba(6, 12, 26, 0.72);
  color: var(--primary);
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: rgba(13, 24, 49, 0.58);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.metric span {
  display: inline-block;
  font-family: "Sora", sans-serif;
  color: var(--accent);
  font-size: 1.06rem;
  font-weight: 700;
}

.metric p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 48px 0;
}

.section-muted {
  background: rgba(9, 18, 38, 0.66);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.project-live {
  border-color: rgba(93, 255, 182, 0.48);
  box-shadow: 0 12px 32px rgba(24, 135, 255, 0.22);
}

.project-status {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-family: "Sora", sans-serif;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.project-card a {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.muted-small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
  background: rgba(8, 16, 34, 0.7);
}

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

  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .top-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}
