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

:root {
  --ac-blue:      rgba(20,50,75,1);
  --ac-blue-dark: rgba(14,36,55,1);
  --accent:       #3b82f6;
  --accent-light: #60a5fa;
  --text-primary: #0f172a;
  --text-muted:   #475569;
  --border:       #e2e8f0;
  --bg-alt:       #f8fafc;
  --radius:       10px;
  --transition:   150ms cubic-bezier(.4,0,.2,1);
}

html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0;
  background: var(--ac-blue);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.lp-logo-img { height: 24px; width: auto; }
.lp-logo-sub {
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.06em;
}

.lp-nav { display: flex; align-items: center; gap: 8px; }
.lp-nav-link {
  font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 6px 12px;
  transition: color var(--transition);
}
.lp-nav-link:hover { color: rgba(255,255,255,0.9); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: 8px;
  text-decoration: none; transition: all var(--transition);
  white-space: nowrap;
}
.lp-btn--primary {
  background: var(--accent); color: #fff;
  border: 1px solid transparent;
}
.lp-btn--primary:hover { background: #2563eb; }

.lp-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.18);
}
.lp-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.lp-btn--hero {
  font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: 10px;
  background: #fff; color: var(--ac-blue);
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.lp-btn--hero:hover {
  background: #f0f7ff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.lp-btn--mt { margin-top: 28px; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.lp-hero {
  background: linear-gradient(160deg, var(--ac-blue) 0%, var(--ac-blue-dark) 100%);
  padding: 100px 40px 90px;
  text-align: center;
}
.lp-hero-inner { max-width: 700px; margin: 0 auto; }

.lp-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-light);
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 20px; padding: 4px 14px;
  margin-bottom: 24px;
}

.lp-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.lp-lead {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}

.lp-hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}

.lp-hero-note {
  font-size: 12px; color: rgba(255,255,255,0.35);
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.lp-section { padding: 80px 40px; }
.lp-section--alt { background: var(--bg-alt); }

.lp-container { max-width: 1100px; margin: 0 auto; }

.lp-section-title {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-primary);
  margin-bottom: 12px; text-align: center;
}
.lp-section-title--left { text-align: left; }

.lp-section-sub {
  font-size: 16px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 48px;
  text-align: center; line-height: 1.7;
}

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

.lp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: all var(--transition);
}
.lp-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}

.lp-card-icon {
  width: 40px; height: 40px;
  background: rgba(59,130,246,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lp-card-icon svg { width: 20px; height: 20px; color: var(--accent); }

.lp-card h3 {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
}
.lp-card p {
  font-size: 13.5px; line-height: 1.65; color: var(--text-muted);
}

/* ─── Two col ────────────────────────────────────────────────────────────── */
.lp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.lp-two-col-text p {
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 14px;
}
.lp-two-col-text code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  border-radius: 4px; padding: 1px 5px; color: #1e293b;
}

.lp-code-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #94a3b8; margin-bottom: 10px;
}
.lp-pre {
  background: #0f172a;
  border-radius: var(--radius);
  padding: 20px 22px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
}

/* ─── Use cases ──────────────────────────────────────────────────────────── */
.lp-use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.lp-use-case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 13.5px; color: var(--text-muted); line-height: 1.65;
}
.lp-use-case strong {
  display: block; margin-bottom: 6px;
  color: var(--text-primary); font-weight: 600; font-size: 14px;
}

/* ─── Bottom CTA ─────────────────────────────────────────────────────────── */
.lp-cta-section {
  background: linear-gradient(160deg, var(--ac-blue) 0%, var(--ac-blue-dark) 100%);
  padding: 80px 40px;
  text-align: center;
}
.lp-cta-inner h2 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 14px;
}
.lp-cta-inner p {
  font-size: 16px; color: rgba(255,255,255,0.65);
  max-width: 480px; margin: 0 auto 32px; line-height: 1.7;
}
.lp-cta-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.lp-footer {
  background: var(--ac-blue-dark);
  padding: 20px 40px;
}
.lp-footer-inner {
  display: flex; align-items: center; gap: 24px;
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.lp-footer a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  transition: color var(--transition);
}
.lp-footer a:hover { color: rgba(255,255,255,0.65); }

/* ─── Registration Modal ─────────────────────────────────────────────────── */
.reg-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 500; padding: 24px;
  backdrop-filter: blur(3px);
}

.reg-modal {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  width: 100%; max-width: 500px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.reg-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 22px; color: #94a3b8;
  cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 6px;
  transition: all var(--transition);
}
.reg-close:hover { background: #f1f5f9; color: #475569; }

.reg-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-primary);
  margin-bottom: 8px;
}
.reg-subtitle {
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 28px;
}

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

.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.reg-field { display: flex; flex-direction: column; gap: 5px; }
.reg-field label {
  font-size: 12.5px; font-weight: 500; color: var(--text-primary);
}
.reg-required { color: var(--accent); }
.reg-optional { color: var(--text-muted); font-weight: 400; }

.reg-field input,
.reg-field textarea {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 14px; font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}
.reg-field input:focus,
.reg-field textarea:focus { border-color: var(--accent); }

.reg-message {
  font-size: 13.5px; padding: 12px 14px;
  border-radius: 8px; line-height: 1.55;
}
.reg-message--error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.reg-message--success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.reg-submit {
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.reg-submit:hover:not(:disabled) { background: #2563eb; }
.reg-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .lp-header { padding: 0 20px; }
  .lp-hero { padding: 70px 24px 60px; }
  .lp-section { padding: 60px 24px; }
  .lp-two-col { grid-template-columns: 1fr; gap: 40px; }
  .lp-nav-link { display: none; }
}
