@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg:           #0a0a0a;
  --bg-surface:   #111;
  --bg-card:      #161616;
  --border:       #222;
  --accent:       #4a9eff;
  --accent-dim:   rgba(74,158,255,0.08);
  --accent-glow:  rgba(74,158,255,0.15);
  --text:         #fff;
  --text-sec:     #aaa;
  --text-muted:   #555;
  --font:         'Inter', sans-serif;
  --font-head:    'Space Grotesk', sans-serif;
  --radius:       8px;
  --max:          1100px;
  --nav-h:        68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #2e8aff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,158,255,0.2); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid rgba(74,158,255,0.4); }
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: 0.03em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-sec); font-size: 0.88rem; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 55%, rgba(74,158,255,0.06) 0%, transparent 100%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(74,158,255,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(74,158,255,0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--text-sec); margin-bottom: 38px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--text-sec); font-size: 1.05rem; max-width: 560px; }

/* ── Sections ── */
section { padding: 96px 0; }
.section-hd { margin-bottom: 56px; }
.section-hd h2 { margin-bottom: 14px; }
.section-hd p { color: var(--text-sec); font-size: 1rem; max-width: 520px; line-height: 1.7; }
.section-alt { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Service cards ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(74,158,255,0.28); transform: translateY(-2px); }
.service-icon { font-size: 1.7rem; margin-bottom: 18px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-sec); font-size: 0.9rem; line-height: 1.65; }
.service-card .learn-more { display: inline-block; margin-top: 18px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.service-card .learn-more:hover { opacity: 0.8; }

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
  margin-top: 72px;
}
.stat { background: var(--bg-card); padding: 28px 20px; text-align: center; }
.stat-value { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 5px; }

/* ── Split layout ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text p { color: var(--text-sec); line-height: 1.78; margin-bottom: 18px; }
.split-text .btn { margin-top: 8px; }
.split-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.cert-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cert-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-sec);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: rgba(74,158,255,0.28); }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.post-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.post-header .post-tag { display: inline-block; background: rgba(74,158,255,0.08); border: 1px solid rgba(74,158,255,0.35); padding: 6px 16px; border-radius: 999px; font-size: 0.72rem; margin-bottom: 18px; }
.blog-card h3 { margin-bottom: 10px; }
.blog-card h3 a { color: var(--text); transition: color 0.18s; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-sec); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.blog-meta { display: flex; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }

/* Blog single post */
.post-header { padding: 130px 0 48px; border-bottom: 1px solid var(--border); }
.post-header h1 { margin: 12px 0 18px; }
.post-header .post-meta { font-size: 0.88rem; color: var(--text-muted); }
.post-body { max-width: 720px; padding: 56px 0; }
.post-body h2 { margin: 40px 0 16px; font-size: 1.5rem; }
.post-body h3 { margin: 36px 0 14px; color: var(--text); padding-left: 14px; border-left: 3px solid var(--accent); }
.post-body p { color: var(--text-sec); line-height: 1.8; margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px 20px; color: var(--text-sec); line-height: 1.8; }
.post-body li { margin-bottom: 6px; }
.post-body code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.87em;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}
.post-body pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
}
.post-body pre code { background: none; border: none; padding: 0; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 32px; transition: color 0.18s; }
.post-back:hover { color: var(--accent); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(74,158,255,0.07), transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: var(--text-sec); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Contact form ── */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.83rem; font-weight: 500; color: var(--text-sec); }
input, textarea, select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 15px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  transition: border-color 0.18s;
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: rgba(74,158,255,0.5); }
textarea { resize: vertical; min-height: 130px; }
select option { background: var(--bg-card); }
.form-submit { margin-top: 8px; }
#form-status { margin-top: 14px; font-size: 0.88rem; padding: 10px 14px; border-radius: var(--radius); display: none; }
#form-status.success { background: rgba(74,158,255,0.08); border: 1px solid rgba(74,158,255,0.2); color: var(--accent); display: block; }
#form-status.error { background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.2); color: #ff8080; display: block; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-info-item .ci-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.contact-info-item .ci-value { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.contact-info-item .ci-value a { color: var(--accent); }

/* ── About page ── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.team-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.team-card .role { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin-bottom: 20px; }
.team-card p { color: var(--text-sec); line-height: 1.78; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.value-card .icon { font-size: 1.6rem; margin-bottom: 14px; }
.value-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { color: var(--text-sec); font-size: 0.88rem; line-height: 1.65; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.86rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-sec); margin-bottom: 16px; font-family: var(--font); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.86rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-banner { padding: 44px 24px; }
  section { padding: 64px 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
