/* ===========================
   Reset & base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0f0f11;
  --color-surface: #18181c;
  --color-border: #2a2a30;
  --color-text: #e8e8ea;
  --color-muted: #888891;
  --color-accent: #6c8ef5;
  --color-accent-hover: #8aa3f8;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --max-width: 1100px;
  --section-pad: 6rem 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   Layout
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 8rem 1.5rem 7rem;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ===========================
   Button
   =========================== */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* ===========================
   Sections
   =========================== */
section {
  padding: var(--section-pad);
}

section + section {
  border-top: 1px solid var(--color-border);
}

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

section p {
  color: var(--color-muted);
  max-width: 600px;
  font-size: 1rem;
}


/* ===========================
   Services
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: none;
}

/* ===========================
   Contact
   =========================== */
.contact {
  background: var(--color-surface);
}

.contact p {
  margin-bottom: 1.5rem;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--color-muted);
  max-width: none;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 600px) {
  .site-nav {
    gap: 1.25rem;
  }

  .hero {
    padding: 5rem 1.5rem 4rem;
  }

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