:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --card: #16213d;
  --text: #e7ecf7;
  --muted: #b6c0d8;
  --accent: #6ea8fe;
  --accent-strong: #4e8ffc;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
}

.menu-button {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-cta {
  background: rgba(110, 168, 254, 0.15);
  border: 1px solid rgba(110, 168, 254, 0.35);
  border-radius: 8px;
  padding: 0.35rem 0.75rem !important;
  color: var(--accent) !important;
}

.nav-cta:hover {
  background: rgba(110, 168, 254, 0.25);
  color: var(--text) !important;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(110, 168, 254, 0.1), transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 168, 254, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.hero-glow--secondary {
  width: 320px;
  height: 320px;
  top: auto;
  bottom: -60px;
  right: auto;
  left: -40px;
  background: radial-gradient(circle, rgba(78, 143, 252, 0.12) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0.4rem 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-text {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #071021;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 80px;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-bottom: 0.4rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-top: 0;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 168, 254, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.card-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0b1220;
  background: #9ec5ff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
}

.portfolio-points {
  color: var(--muted);
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.portfolio-points li + li {
  margin-top: 0.35rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-values li {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.about-values strong {
  display: block;
  margin-bottom: 0.25rem;
}

.about-values span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-contact {
  text-align: center;
}

.contact-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.contact-box p {
  color: var(--muted);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  padding-top: 0.5rem;
}

@media (min-width: 861px) {
  .footer-copy {
    width: auto;
    text-align: right;
    padding-top: 0;
  }
}

@media (max-width: 1100px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    min-width: 180px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
