:root {
  --bg: #0b1220;
  --bg-soft: #111c2f;
  --card: #16263f;
  --text: #e6edf8;
  --muted: #9fb3cf;
  --accent: #e51d3d;
  --line: #243b5e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

img {
  max-width: 100%;
  height: auto;
}

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

.narrow {
  width: min(820px, 92vw);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  height: 56px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.hero {
  padding: 86px 0 64px;
  background:
    radial-gradient(1000px 400px at 0% -10%, rgba(229, 29, 61, 0.16), transparent 60%),
    radial-gradient(900px 300px at 100% 0%, rgba(59, 130, 246, 0.15), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.7;
  max-width: 700px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-outline {
  border-color: #3a5379;
  color: var(--text);
}

.hero-card {
  background: linear-gradient(180deg, rgba(22, 38, 63, 0.95), rgba(16, 30, 50, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 68px 0;
  border-top: 1px solid rgba(36, 59, 94, 0.55);
}

.section-alt {
  background: var(--bg-soft);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.project-meta {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #c4d5ec;
}

.project-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  background: rgba(229, 29, 61, 0.15);
  border: 1px solid rgba(229, 29, 61, 0.4);
  color: #ffdbe1;
}

.project-link:hover {
  background: rgba(229, 29, 61, 0.24);
}

.stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.label {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-box {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0a111e;
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer p {
  font-size: 0.92rem;
}

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

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

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

@media (max-width: 720px) {
  .topbar-inner {
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 10px 0 12px;
  }

  .logo {
    height: 44px;
    max-width: 180px;
    align-self: center;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 2px;
    scrollbar-width: thin;
  }

  .nav a {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(159, 179, 207, 0.25);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 46px 0 42px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .section {
    padding: 48px 0;
  }

  .footer-inner {
    padding: 14px 0;
    flex-direction: column;
    text-align: center;
  }
}
