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

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --border: #2a2d3a;
  --text: #e8eaf0;
  --muted: #8b8fa8;
  --accent: #4f8ef7;
  --accent-hover: #6ba3ff;
  --radius: 10px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); }

/* Services */
.services {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.services h2, .about h2, .contact h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card .icon { font-size: 28px; margin-bottom: 14px; }
.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* About */
.about {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.about p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 16px;
}

/* Contact */
.contact {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.contact p { color: var(--muted); margin-bottom: 12px; }
.contact .email a {
  color: var(--accent);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}
.contact .email a:hover { color: var(--accent-hover); }

/* Footer */
footer {
  padding: 28px 0;
}
footer p {
  font-size: 13px;
  color: var(--muted);
}
