:root {
  --bg: #0f1117;
  --bg-2: #161b27;
  --text: #e8eaf0;
  --text-muted: #8891a8;
  --accent: #5b8af0;
  --accent-light: #7aa2f7;
  --border: #232838;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-img { max-height: 44px; width: auto; object-fit: contain; vertical-align: middle; display: inline-block; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-cta:hover { background: var(--accent-light); }

/* ── Status bar ── */
.status-bar {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  padding: 0.6rem 1rem;
  font-size: 0.75rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 0.7rem 1.5rem;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-muted); }

/* ── Badge ── */
.badge {
  display: inline-block; padding: 0.3rem 0.75rem;
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text-muted);
}

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero ── */
.hero {
  max-width: 960px; margin: 0 auto;
  padding: 7rem 1.5rem 4rem; text-align: center;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Stack ── */
.stack-section { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 5rem; text-align: center; }
.stack-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.stack-badges { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }

/* ── Services ── */
.services { max-width: 960px; margin: 0 auto; padding: 5rem 1.5rem; border-top: 1px solid var(--border); }
.services h2 { font-size: 2rem; font-weight: 700; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* ── Cards ── */
.card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.5; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.6rem;
  border-radius: 100px; background: rgba(91,138,240,0.12);
  color: var(--accent-light); border: 1px solid rgba(91,138,240,0.2);
}

/* ── About ── */
.about-strip {
  max-width: 700px; margin: 0 auto;
  padding: 5rem 1.5rem; text-align: center; border-top: 1px solid var(--border);
}
.about-strip h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.about-strip p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Contact teaser ── */
.contact-teaser {
  max-width: 700px; margin: 0 auto;
  padding: 5rem 1.5rem 7rem; text-align: center; border-top: 1px solid var(--border);
}
.contact-teaser h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-teaser p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Contact ── */
.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
}
.contact-header {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.contact-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.contact-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
input, select, textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,138,240,0.15);
}
textarea { resize: vertical; min-height: 140px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238891a8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.form-status {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; }
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; gap: 0.75rem; align-items: center;
  font-size: 0.85rem; color: var(--text-muted);
}
.sep { color: var(--border); }