/* Gigzel — sales page
   Design system: Modern Tech + Bento Grid
   Type: Space Grotesk (display) / Inter (body), self hosted subsets
   Colour: indigo primary, cyan secondary, amber accent on a deep navy base
*/

:root {
  --bg: #070b18;
  --bg-soft: #0b1226;
  --surface: #101a33;
  --surface-2: #16223f;
  --line: rgba(148, 163, 214, 0.16);
  --line-strong: rgba(148, 163, 214, 0.32);
  --ink: #eef2ff;
  --ink-soft: #b9c3e4;
  --muted: #8e9ac4;
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --cyan: #0891b2;
  --cyan-light: #22d3ee;
  --amber: #f59e0b;
  --ok: #22c55e;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1200px;
  --shadow: 0 24px 60px -30px rgba(2, 6, 23, 0.9);
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: #fff;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.1vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: #a5b4fc; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 60;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.btn-primary {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  --btn-bd: var(--primary);
  box-shadow: 0 18px 40px -22px rgba(79, 70, 229, 0.95);
}
.btn-primary:hover { --btn-bg: #4338ca; --btn-bd: #4338ca; color: #fff; transform: translateY(-1px); }

.btn-outline {
  --btn-bd: var(--line-strong);
  --btn-fg: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover { --btn-bd: var(--primary-light); --btn-fg: #fff; background: rgba(79, 70, 229, 0.12); }

.btn-ghost { --btn-fg: var(--ink-soft); }
.btn-ghost:hover { --btn-fg: #fff; background: rgba(255, 255, 255, 0.06); }

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 3px 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand:hover { color: #fff; }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--cyan) 100%);
  color: #fff;
}

.brand-tag {
  font: 500 0.72rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 180ms ease;
}
.site-nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: 92px 0 110px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.55;
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  z-index: -3;
  background:
    radial-gradient(680px 420px at 12% 10%, rgba(79, 70, 229, 0.5), transparent 65%),
    radial-gradient(560px 380px at 78% 0%, rgba(8, 145, 178, 0.42), transparent 62%),
    radial-gradient(420px 320px at 52% 40%, rgba(245, 158, 11, 0.16), transparent 70%);
  filter: blur(12px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  font: 600 0.78rem/1.4 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.eyebrow-light { color: var(--cyan-light); border-color: rgba(34, 211, 238, 0.32); }

.hero h1 { max-width: 15ch; }

.lead {
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

/* The credentials of the hosted demo, right under the call to action. */
.hero-note {
  max-width: 62ch;
  margin: 0 0 26px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-note code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  font-size: 0.86em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row svg { color: var(--cyan-light); flex: none; }

/* Hero visual */

.hero-visual { position: relative; }

.shot-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.shot-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 214, 0.35); }
.shot-dot:first-child { background: rgba(239, 68, 68, 0.6); }
.shot-dot:nth-child(2) { background: rgba(245, 158, 11, 0.6); }
.shot-dot:nth-child(3) { background: rgba(34, 197, 94, 0.6); }
.shot-url {
  margin-left: 10px;
  font-size: 0.76rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.shot-frame img { width: 100%; }

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(16, 26, 51, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.hero-card strong { display: block; font-size: 0.9rem; }
.hero-card span { font-size: 0.78rem; color: var(--muted); }
.hero-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.22);
  color: var(--primary-light);
  flex: none;
}
.hero-card-a { left: -26px; bottom: 34px; }
.hero-card-b { right: -18px; top: -22px; }
.hero-card-b .hero-card-icon { background: rgba(34, 197, 94, 0.18); color: #4ade80; }

/* ---------- Stats ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--bg-soft);
  padding: 26px 18px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stat span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h2 { max-width: 22ch; margin-inline: auto; }
.section-head-left h2 { margin-inline: 0; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  grid-column: span 2;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 220ms ease, transform 220ms ease;
}
.bento-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.bento-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.9rem; }

.bento-wide { grid-column: span 2; }
.bento-tall { grid-column: span 2; }
.bento-accent {
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(79, 70, 229, 0.28), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(79, 70, 229, 0.16);
  color: var(--primary-light);
}
.bento-accent .bento-icon { background: rgba(8, 145, 178, 0.2); color: var(--cyan-light); }

.bento-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.bento-list li { position: relative; padding-left: 18px; }
.bento-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.bento-note { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.steps li {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.step-number {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-light);
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.split-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.split-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.split-card > p { color: var(--ink-soft); }
.split-card-code { background: linear-gradient(170deg, rgba(8, 145, 178, 0.12), rgba(255, 255, 255, 0.02)); }

.check-list { display: grid; gap: 11px; margin: 20px 0 26px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #4ade80;
  border-bottom: 2px solid #4ade80;
  transform: rotate(-45deg);
}

.code {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #060a16;
  color: #cbd5f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  overflow-x: auto;
}
.code-cmd { color: var(--cyan-light); }
.code-out { color: #86efac; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.shot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 220ms ease, transform 220ms ease;
}
.shot-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.shot-card img { width: 100%; }
.shot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}
.shot-card figcaption strong { font-family: var(--font-display); font-size: 1rem; }
.shot-card figcaption span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.price-card-featured {
  border-color: rgba(129, 140, 248, 0.55);
  background:
    radial-gradient(420px 200px at 50% 0%, rgba(79, 70, 229, 0.26), transparent 70%),
    rgba(255, 255, 255, 0.03);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card h3 { margin-bottom: 6px; }
.price {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 4px;
}
.price-currency { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.price-note {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}
.price-card .check-list { margin-bottom: 24px; }

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 200ms ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-body { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.96rem; }
.faq-body p { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  padding: 78px 0;
  background:
    radial-gradient(700px 320px at 18% 0%, rgba(79, 70, 229, 0.42), transparent 70%),
    radial-gradient(600px 300px at 85% 100%, rgba(8, 145, 178, 0.36), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { color: var(--ink-soft); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 60px 0 34px;
  border-top: 1px solid var(--line);
  background: #05080f;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}
.footer-brand { max-width: 360px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.footer-note { max-width: 52ch; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero h1 { max-width: 100%; }
  .hero-card-a { left: 0; bottom: 18px; }
  .hero-card-b { right: 0; top: -18px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav { display: flex; }
  .split, .price-grid, .gallery { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card, .bento-wide, .bento-tall { grid-column: span 1; }
  .shot-card-wide { grid-column: span 1; }
  .section { padding: 78px 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding-inline: 18px; }
  .brand-tag { display: none; }
  .hero { padding: 56px 0 74px; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions .btn { width: 100%; }
  .hero-card { position: static; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-canvas { display: none; }
}
