:root {
  --color-bg: #0c1224;
  --color-bg-alt: #121a33;
  --color-surface: #161f3d;
  --color-border: #2a3760;

  --color-text: #eef1fb;
  --color-text-muted: #a7b1d1;

  /* Core accent trio — used deliberately, not randomly, so it still reads
     as "professional" rather than a rainbow. */
  --color-teal: #2dd4bf;
  --color-teal-dark: #14b8a6;
  --color-indigo: #818cf8;
  --color-indigo-dark: #6366f1;
  --color-amber: #fbbf24;
  --color-coral: #fb7185;

  --gradient-brand: linear-gradient(135deg, var(--color-teal) 0%, var(--color-indigo) 100%);
  --gradient-warm: linear-gradient(135deg, var(--color-amber) 0%, var(--color-coral) 100%);

  --radius: 14px;
  --shadow: 0 12px 32px rgba(4, 8, 20, 0.45);
  --shadow-glow: 0 8px 24px rgba(45, 212, 191, 0.22);
  --max-width: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(700px 420px at 8% 0%, rgba(45, 212, 191, 0.14), transparent 55%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-teal); text-decoration: none; }
a:hover { color: var(--color-indigo); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 18, 36, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #06101f;
  box-shadow: var(--shadow-glow);
}

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--color-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 9px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #06101f;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-warm {
  background: var(--gradient-warm);
  color: #2a0e10;
}

.btn-warm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(251, 113, 133, 0.25);
}

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

.btn-ghost:hover { border-color: var(--color-teal); color: var(--color-teal); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Hero */
.hero { padding: 96px 0 72px; }

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--color-teal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  margin: 0 0 30px;
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-brand);
}

.hero-card ul { margin: 0; padding: 0; list-style: none; }

.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hero-card li:last-child { border-bottom: none; }

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.16);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Sections */
section { padding: 64px 0; }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 12px; }
.section-heading p { color: var(--color-text-muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--color-border); }

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Rotate accent colors across the three service cards for visual variety */
.card:nth-child(1) .icon { background: rgba(45, 212, 191, 0.16); color: var(--color-teal); }
.card:nth-child(2) .icon { background: rgba(129, 140, 248, 0.18); color: var(--color-indigo); }
.card:nth-child(3) .icon { background: rgba(251, 191, 36, 0.16); color: var(--color-amber); }

.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--color-text-muted); font-size: 0.94rem; }

.cta-band {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.10), rgba(129, 140, 248, 0.10));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 { margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { margin: 0; color: var(--color-text-muted); }

footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay.is-open { display: flex; }

.modal {
  width: 100%;
  max-width: 480px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient-brand);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: var(--color-coral); }

.modal h2 { margin: 8px 0 6px; font-size: 1.3rem; }
.modal p.modal-sub { margin: 0 0 22px; color: var(--color-text-muted); font-size: 0.92rem; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 10px 12px;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.success { background: rgba(45, 212, 191, 0.12); color: var(--color-teal); border: 1px solid rgba(45, 212, 191, 0.35); }
.form-status.error { background: rgba(251, 113, 133, 0.12); color: var(--color-coral); border: 1px solid rgba(251, 113, 133, 0.35); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
