:root {
  color-scheme: dark;
  --bg: #0b111c;
  --bg-alt: #0f1626;
  --surface: #151f32;
  --surface-glow: rgba(65, 120, 255, 0.12);
  --text: #e7edf8;
  --muted: #a7b3c7;
  --accent: #6aa6ff;
  --accent-soft: rgba(106, 166, 255, 0.15);
  --line: rgba(231, 237, 248, 0.08);
  --max-width: 1120px;
  --shadow: 0 28px 60px rgba(5, 10, 20, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141e33 0%, var(--bg) 45%)
    fixed;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 17, 28, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 160px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.button {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f8dff, #7cb4ff);
  color: #0a0f1b;
  font-weight: 600;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(79, 141, 255, 0.35);
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(79, 141, 255, 0.4);
}

.hero {
  padding: 120px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  margin: 32px 0 24px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ghost {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 44px;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(21, 31, 50, 0.6);
  border: 1px solid var(--line);
}

.hero-panel {
  background: linear-gradient(145deg, rgba(21, 31, 50, 0.9), rgba(12, 18, 30, 0.6));
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(124, 166, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0.9;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.panel-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(11, 17, 28, 0.7);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.panel-card h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}

.panel-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106, 166, 255, 0.4);
}

.services {
  padding: 96px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 650px;
  margin-bottom: 48px;
}

.section-head h2,
.about h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  background: rgba(11, 17, 28, 0.6);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 20px 40px rgba(6, 10, 20, 0.35);
}

.service-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(6, 10, 20, 0.45);
}

.about {
  padding: 96px 0 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: start;
}

.about-body {
  color: var(--muted);
  font-size: 1rem;
}

.about-points {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.about-points h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  margin-bottom: 6px;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(11, 17, 28, 0.9);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer img {
  width: 120px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}

.hero,
.services,
.about {
  animation: fadeUp 0.9s var(--ease) both;
}

.services {
  animation-delay: 0.1s;
}

.about {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 12px;
  }

  .hero {
    padding: 96px 0 72px;
  }

  .hero-meta {
    gap: 10px;
  }
}
