:root {
  --bg: #0a0e14;
  --bg-alt: #11161f;
  --card: #151b26;
  --border: #232c3b;
  --text: #e6edf3;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
header.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 800; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(900px 400px at 50% -10%, rgba(56,189,248,0.12), transparent 70%);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin: 0 auto 32px; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121c;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 40px; }

/* Cards grid */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card .tags { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; }
.card .more { font-size: 0.88rem; font-weight: 600; }

/* About lists */
.about-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 36px; }
.about-grid h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--text); }
.about-grid ul { list-style: none; }
.about-grid li { color: var(--muted); padding: 8px 0 8px 22px; position: relative; font-size: 0.93rem; }
.about-grid li::before { content: "▹"; color: var(--accent); position: absolute; left: 0; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 820px; margin-bottom: 18px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 28px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p.muted { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text); }
.contact-line .ic { color: var(--accent); }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
form input, form textarea {
  width: 100%; padding: 11px 13px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text); font: inherit;
}
form textarea { min-height: 120px; resize: vertical; }

/* Service detail */
.svc-meta { color: var(--muted); letter-spacing: 0.08em; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 18px; }
.svc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.svc-section { margin-bottom: 44px; }
.svc-section h2 { font-size: 1.5rem; margin-bottom: 16px; border-left: 3px solid var(--accent); padding-left: 12px; }
.spec-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spec { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.spec strong { display: block; color: var(--accent); font-size: 0.9rem; margin-bottom: 6px; }
.spec span { color: var(--muted); font-size: 0.9rem; }
pre {
  background: #0d1117; border: 1px solid var(--border); border-radius: 10px;
  padding: 18px; overflow-x: auto; font-size: 0.85rem; line-height: 1.5; margin: 10px 0 4px;
}
pre code { color: #c9d1d9; font-family: "SF Mono", Menlo, Consolas, monospace; }
.back-link { display: inline-block; color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}
footer .fname { font-weight: 700; color: var(--text); margin-bottom: 6px; }
footer .social { display: flex; gap: 16px; justify-content: center; margin-top: 16px; }
footer .social a {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
}
footer .social a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; right: 24px;
    background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 24px; gap: 14px; }
  .nav-toggle { display: block; }
}
