:root {
  --bg: #0d1117;
  --bg-alt: #111827;
  --accent: #1f8ecd;
  --accent-soft: rgba(31, 142, 205, 0.15);
  --text: #f9fafb;
  --muted: #9ca3af;
  --card-bg: #111827;
  --border-subtle: #1f2933;
  --max-width: 900px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Hero */

.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle at top, rgba(31, 142, 205, 0.35), transparent 65%);
  filter: blur(45px);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline {
  margin: 0 0 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: inline-flex;
  gap: 1.25rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(16px);
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

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

/* Sections */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617 100%);
  border-radius: var(--radius-xl);
  margin-block: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

/* About */

.about-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(31, 142, 205, 0.1), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.about-meta h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

/* Services grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.3rem;
}

/* Contact */

#contact p {
  margin: 0.35rem 0;
}

/* Footer */

.footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  margin-top: 1rem;
}
