:root {
  color-scheme: dark;
  --bg: #0b1020;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --accent-2: #22d3ee;
  --surface: #0f172a;
  --surface-alt: rgba(15, 23, 42, 0.7);
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 20px 40px rgba(2, 6, 23, 0.45);
  --radius: 18px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.2), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.18), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 32, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
}

.hero {
  padding: 120px 0 96px;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.4), transparent 55%),
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.35), transparent 45%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.7));
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 12px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 28px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b1020;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.35);
}

.section {
  padding: 80px 0;
}

.section.muted {
  background: var(--surface);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

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

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.card-link {
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.18);
}

.card h3 {
  margin-top: 0;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.18);
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--accent-2);
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.9);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 16px;
  font-size: 1.2rem;
}

.social-links a {
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.social-links a:hover {
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

@media (max-width: 900px) {
  .grid.two,
  .grid.three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 4%;
    flex-direction: column;
    background: rgba(11, 16, 32, 0.95);
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

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