/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:           #0B143A;
  --bg-alt:       #0D1840;
  --accent:       #5468FF;
  --accent-light: rgba(84, 104, 255, 0.12);
  --accent-border:rgba(84, 104, 255, 0.3);
  --text:         #FFFFFF;
  --text-muted:   rgba(255, 255, 255, 0.58);
  --border:       rgba(255, 255, 255, 0.08);
  --card:         rgba(255, 255, 255, 0.04);
  --radius:       12px;
  --radius-sm:    8px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 58, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── Logo ───────────────────────────────────────────────────────── */
.logo {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}
.logo-img {
  display: block;
  height: 20px;
  width: auto;
}
.why-logo {
  height: clamp(28px, 4vw, 40px);
  width: auto;
  margin-bottom: 16px;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #6677ff;
  border-color: #6677ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(84, 104, 255, 0.38);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 0.9375rem;
}
.btn-full {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(84, 104, 255, 0.13) 0%, transparent 68%);
  top: -220px;
  right: -160px;
  pointer-events: none;
}
.hero-content {
  max-width: 760px;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 44px;
}

/* ─── Sections ───────────────────────────────────────────────────── */
.section      { padding: 104px 0; }
.section-alt  { background: var(--bg-alt); }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin-bottom: 60px;
}

/* ─── What We Do ─────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.two-col h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
.body-text p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.82;
}
.body-text p + p { margin-top: 18px; }

/* ─── Services ───────────────────────────────────────────────────── */
#services .section-title { margin-bottom: 16px; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover {
  border-color: var(--accent-border);
  background: rgba(84, 104, 255, 0.07);
}
.service-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ─── How It Works ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}
.step { padding: 0 28px; }
.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }

.step-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.72;
}
.step-divider {
  width: 1px;
  height: 110px;
  background: var(--border);
  margin-top: 24px;
}

/* ─── CTA Banner ─────────────────────────────────────────────────── */
.cta-banner {
  padding: 108px 0;
  text-align: center;
  background: linear-gradient(160deg, #0e1942 0%, #161d5c 50%, #0e1942 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 44px;
}

/* ─── Contact ────────────────────────────────────────────────────── */
.contact-wrapper { max-width: 560px; }
.hidden-field { display: none; }

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(84, 104, 255, 0.06);
}

/* Success state */
.form-success {
  padding: 52px 40px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-success h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-tag {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-right a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text); }

/* ─── Legal Pages ────────────────────────────────────────────────── */
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.legal-content { max-width: 760px; }
.legal-content p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 28px 0 12px;
}
.legal-content ul {
  margin: 0 0 18px 22px;
  color: var(--text-muted);
}
.legal-content li {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step-divider {
    width: 100%;
    height: 1px;
    margin: 36px 0;
  }
  .step { padding: 0; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 72px; }
  .section { padding: 76px 0; }
  .cta-banner { padding: 80px 0; }
}
