/* ImageSL — premium design system
   Palette derived from the SL shield logo: deep violet, electric purple,
   near-black glass, luminous highlights. */

:root {
  --bg: #08060d;
  --bg-2: #0d0a17;
  --panel: rgba(24, 17, 40, 0.72);
  --panel-solid: #150e24;
  --border: rgba(160, 120, 255, 0.16);
  --border-strong: rgba(168, 130, 255, 0.34);
  --violet: #8b5cf6;
  --violet-bright: #a855f7;
  --violet-deep: #6d28d9;
  --magenta: #c026d3;
  --text: #f4f1fb;
  --text-dim: #b9aed6;
  --text-faint: #7c718f;
  --good: #34d399;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.55);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(900px 600px at 8% 12%, rgba(192, 38, 211, 0.16), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(8, 6, 13, 0.9), rgba(8, 6, 13, 0.4));
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.2px; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.6)); }
.brand span { font-size: 20px; }
.brand small { color: var(--text-faint); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font);
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--violet-bright), var(--violet-deep));
  box-shadow: 0 12px 34px -12px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(168, 85, 247, 1); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 64px; text-align: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; margin-bottom: 26px;
  border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; color: var(--text-dim);
  background: rgba(139, 92, 246, 0.08);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.hero-logo { width: 128px; height: 128px; margin-bottom: 26px; filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.7)); }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04; margin: 0 0 20px; letter-spacing: -1.5px; font-weight: 800;
  background: linear-gradient(180deg, #ffffff, #c9b8ff 70%, #9d7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-dim); max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-faint); }

/* ---------- section ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--violet-bright); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 14px; letter-spacing: -0.8px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(109, 40, 217, 0.15));
  border: 1px solid var(--border-strong); color: var(--violet-bright);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .num {
  counter-increment: step; font-family: var(--mono); font-size: 14px; color: var(--violet-bright);
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 4px 10px; display: inline-block; margin-bottom: 14px;
}
.step .num::before { content: "0" counter(step); }
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- security callout ---------- */
.callout {
  background: linear-gradient(135deg, rgba(24, 17, 40, 0.9), rgba(45, 27, 78, 0.5));
  border: 1px solid var(--border-strong); border-radius: 24px; padding: 44px; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.callout h2 { font-size: 30px; margin: 0 0 14px; letter-spacing: -0.6px; }
.callout p { color: var(--text-dim); margin: 0 0 10px; }
.callout ul { margin: 16px 0 0; padding: 0; list-style: none; }
.callout li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--text-dim); }
.callout li svg { width: 20px; height: 20px; color: var(--good); flex-shrink: 0; margin-top: 2px; }
.callout .diagram {
  font-family: var(--mono); font-size: 13px; color: var(--text-dim); background: rgba(0,0,0,0.35);
  border: 1px solid var(--border); border-radius: 14px; padding: 22px; line-height: 1.9;
}
.callout .diagram b { color: var(--violet-bright); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer .brand small { display: block; }
.footer p { color: var(--text-faint); font-size: 13px; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .callout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
