:root {
  --bg: #100a17;
  --bg-panel: #1a1223;
  --bg-elevated: #241a30;
  --border: #34234a;
  --accent: #7c3aed;
  --accent-hover: #9256f5;
  --text: #ffffff;
  --text-muted: #c9c9cc;
  --text-faint: #949499;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

a { color: inherit; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16, 10, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #e9e9f0, #a86bf5);
  color: #100a17; font-size: 13px; font-weight: 800;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

.hero {
  max-width: 720px; margin: 0 auto; padding: 90px 24px 70px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-logo { margin-bottom: 8px; opacity: 0.95; }
.hero h1 { font-size: 38px; line-height: 1.25; margin: 8px 0 14px; }
.hero-sub { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 0 28px; }

.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; transition: background .15s;
}
.btn-primary:hover { background: var(--accent-hover); }

section { padding: 60px 24px; }
section h2 { text-align: center; font-size: 26px; margin: 0 0 36px; }

.services { max-width: 1000px; margin: 0 auto; }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px;
}
.service-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 22px; text-align: center;
}
.service-icon { font-size: 30px; margin-bottom: 10px; }
.service-card h3 { margin: 0 0 8px; font-size: 17px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; }

.about { max-width: 640px; margin: 0 auto; text-align: center; }
.about p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

.contact { max-width: 520px; margin: 0 auto; }
.contact-sub { text-align: center; color: var(--text-muted); margin: -20px 0 28px; font-size: 15px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-muted); }
input, textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text);
  font-size: 14px; font-family: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-status { min-height: 20px; font-size: 14px; margin-top: 12px; }
.form-status.ok { color: #2ecc71; }
.form-status.error { color: #ff8080; }

.site-footer {
  text-align: center; padding: 30px 24px; color: var(--text-faint); font-size: 13px;
  border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 30px; }
}
