:root {
  --ink: #0b1220;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 17px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; border: 0;
  background: var(--brand); color: #fff; font: 600 15px var(--font);
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 20px -8px rgba(79,70,229,.6);
}
.btn:hover { transform: translateY(-1px); background: #4338ca; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-sm { padding: 8px 14px; font-size: 14px; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover { background: #eef2ff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(6,182,212,.18), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(79,70,229,.16), transparent 60%);
}
.hero-inner { max-width: 860px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); margin: 22px auto 34px; max-width: 680px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { list-style: none; padding: 0; margin: 56px 0 0; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-size: 28px; font-weight: 800; }
.hero-stats span { font-size: 14px; color: var(--ink-soft); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.section-lead { color: var(--ink-soft); max-width: 640px; margin: 14px 0 0; font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.product {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(15,23,42,.25); border-color: #c7d2fe; }
.product-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); font-size: 22px; font-weight: 700;
}
.product h3 { font-size: 21px; font-weight: 700; margin-top: 6px; }
.product p { margin: 0; color: var(--ink-soft); flex: 1; }
.product-link { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: 6px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.cta-band { background: linear-gradient(120deg, var(--brand), #3730a3 55%, #0e7490); color: #fff; text-align: center; padding: 72px 0; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 17px; margin: 12px 0 28px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #cbd5e1; padding: 72px 0 0; scroll-margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.logo-light { color: #fff; }
.footer-about p { margin: 18px 0 22px; max-width: 360px; }
.company { margin: 0 0 22px; display: grid; gap: 6px; font-size: 14px; }
.company div { display: flex; gap: 10px; }
.company dt { color: #64748b; min-width: 52px; }
.company dd { margin: 0; color: #e2e8f0; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-form h2 { color: #fff; font-size: 26px; font-weight: 800; }
.footer-form .muted { color: #94a3b8; margin: 6px 0 22px; }
#contact-form { display: grid; gap: 14px; }
#contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: #94a3b8; }
#contact-form input, #contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #1e293b; background: var(--dark-2); color: #f1f5f9;
  font: 15px var(--font); resize: vertical;
}
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.35); }
#contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 64px; padding: 22px 20px; border-top: 1px solid #1e293b; font-size: 13px; color: #64748b;
}
.login-link { color: #94a3b8; }
.login-link:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .two-col, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .grid, .features, #contact-form .row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  #contact-form .btn { justify-self: stretch; }
}
