/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080810;
  --bg2:       #0f0f1a;
  --bg3:       #141420;
  --border:    #1c1c2e;
  --border2:   #252538;
  --text:      #e8e8f4;
  --muted:     #7070a0;
  --muted2:    #9090b8;
  --accent:    #7c6af0;
  --accent2:   #a78bfa;
  --accent3:   #c4b5fd;
  --green:     #4ade80;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
  --max-w:     1120px;
  --shadow:    0 0 0 1px var(--border), 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.03em; }

.accent { color: var(--accent2); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,16,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-sm    { padding: 8px 16px; font-size: 13px; }
.btn-full  { width: 100%; padding: 14px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124,106,240,0.3), 0 4px 16px rgba(124,106,240,0.25);
}
.btn-primary:hover {
  background: #6b5ce7;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(124,106,240,0.4), 0 6px 24px rgba(124,106,240,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--muted2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.btn-sm {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-sm:hover { border-color: var(--accent); color: var(--accent2); }

/* ── Badge ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.18);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
#hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,106,240,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 720px; position: relative; }

#hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted2);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cta .btn-primary  { padding: 12px 28px; font-size: 15px; }
.hero-cta .btn-ghost    { padding: 12px 24px; font-size: 15px; }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.trust-check {
  color: var(--green);
  font-weight: 700;
}

/* ── Section common ───────────────────────────────────────────────────── */
section { padding: 88px 0; border-bottom: 1px solid var(--border); }

.section-header {
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted2);
  font-size: 17px;
}

/* ── Services ─────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,106,240,0.12);
}

.card-cta {
  background: linear-gradient(135deg, rgba(124,106,240,0.08) 0%, var(--bg2) 100%);
  border-color: var(--border2);
}

.card-icon {
  font-size: 26px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 18px;
  line-height: 1.65;
}

.card ul {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.card ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}

.card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 12px;
}

/* ── Process ──────────────────────────────────────────────────────────── */
#process { background: var(--bg2); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  position: relative;
}

.step-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--border2);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.step h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
}

/* ── About ────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted2);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent2);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-inner { max-width: 640px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
}

input, select, textarea, button {
  font-family: var(--font);
}

input, select, textarea {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 11px 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder, textarea::placeholder { color: var(--muted); }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,106,240,0.12);
}

select { appearance: none; cursor: pointer; }
select option { background: var(--bg2); }

textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-mid {
  font-size: 13px;
  color: var(--muted);
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .trust-bar { gap: 12px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  #hero { padding: 72px 0 60px; }
}
