/* Guisera — homepage layer.
 *
 * A darker, more deliberate front door. The palette is the brand ramp
 * (indigo -> violet -> cyan) over a near-black field, with content sections
 * dropping back to white so the page breathes between them.
 *
 * Additive and namespaced `h-`: site.css still drives pricing, FAQ, blog and the
 * tool pages, so this cannot disturb them.
 */

:root {
  --h-ink: #0b0e1a;
  --h-ink-2: #151a2e;
  --h-violet: #8b5cf6;
  --h-indigo: #6d5bff;
  --h-cyan: #22d3ee;
  --h-ramp: linear-gradient(115deg, #6d5bff 0%, #8b5cf6 55%, #22d3ee 100%);
  --h-muted: #8a93ab;
  --h-line: rgba(255, 255, 255, 0.10);
}

.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- hero ---- */
.h-hero {
  position: relative;
  background: var(--h-ink);
  color: #fff;
  padding: 92px 0 104px;
  overflow: hidden;
}
/* Two soft radial pools rather than a flat gradient, so the background has
   somewhere for the eye to rest instead of a hard band. */
.h-hero::before,
.h-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.h-hero::before { width: 620px; height: 620px; top: -240px; left: -160px; background: #6d5bff; opacity: .5; }
.h-hero::after  { width: 560px; height: 560px; bottom: -280px; right: -140px; background: #22d3ee; opacity: .32; }

.h-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #c9d1e4;
}
.h-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
}

.h-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5.1vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h-grad {
  background: var(--h-ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-hero .h-sub {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: #b6bfd4;
  max-width: 33em;
}

.h-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.h-btn-primary {
  background: var(--h-ramp);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(109, 91, 255, 0.75);
}
.h-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(109, 91, 255, 0.9); color: #fff; }
.h-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: var(--h-line); }
.h-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.h-btn-dark { background: var(--h-ink); color: #fff; }
.h-btn-dark:hover { transform: translateY(-2px); color: #fff; }

.h-hero-note { margin-top: 16px; font-size: 13px; color: var(--h-muted); }
.h-hero-note strong { color: #dfe5f2; font-weight: 600; }

/* ---- hero visual: an abstract lens, not a fabricated screenshot ---------- */
.h-stage {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 22px;
  border: 1px solid var(--h-line);
  background: linear-gradient(160deg, #171d33, #0d1120);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
  overflow: hidden;
}
.h-stage-bar {
  height: 38px;
  display: flex; align-items: center; gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--h-line);
  background: rgba(255,255,255,.03);
}
.h-stage-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3450; display: block; }
.h-stage-bar span { margin-left: auto; font-size: 11px; color: var(--h-muted); letter-spacing: .04em; }
.h-stage-body { position: relative; height: calc(100% - 38px); display: grid; place-items: center; }

.h-rings { position: relative; width: 60%; aspect-ratio: 1; }
.h-rings span {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, .5);
  animation: h-pulse 3.6s ease-in-out infinite;
}
.h-rings span:nth-child(2) { inset: 14%; border-color: rgba(34,211,238,.45); animation-delay: .5s; }
.h-rings span:nth-child(3) { inset: 28%; border-color: rgba(109,91,255,.55); animation-delay: 1s; }
.h-rings span:nth-child(4) {
  inset: 40%;
  border: none;
  background: var(--h-ramp);
  opacity: .9;
  animation-delay: 1.4s;
}
@keyframes h-pulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.06); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .h-rings span { animation: none; }
}
.h-chip-float {
  position: absolute;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(12,16,30,.86);
  border: 1px solid var(--h-line);
  font-size: 12px;
  font-weight: 600;
  color: #dbe2f2;
  white-space: nowrap;
}

/* ------------------------------------------------- capability strip ------- */
.h-strip {
  background: var(--h-ink-2);
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
  padding: 26px 0;
}
.h-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.h-strip-val { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.h-strip-lab { font-size: 12.5px; color: var(--h-muted); margin-top: 3px; }

/* ------------------------------------------------------------ sections ---- */
.h-section { padding: 88px 0; }
.h-section.alt { background: #f7f8fc; }
.h-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.h-head h2 {
  font-size: clamp(27px, 3.3vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 10px 0 0;
}
.h-head p { color: var(--text-medium); font-size: 16.5px; margin: 14px 0 0; }
.h-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--h-violet);
}

/* --------------------------------------------------------------- cards ---- */
.h-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-card {
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 18px;
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.h-card:hover {
  transform: translateY(-4px);
  border-color: #d6d9ea;
  box-shadow: 0 22px 45px -26px rgba(20, 24, 50, .38);
}
.h-card h3 { margin: 16px 0 8px; font-size: 18.5px; letter-spacing: -.015em; }
.h-card p { margin: 0; color: var(--text-medium); font-size: 14.6px; line-height: 1.68; }
.h-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--h-ramp);
  color: #fff;
  font-size: 19px;
}

/* --------------------------------------------------------------- steps ---- */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.h-step { padding-top: 8px; }
.h-step-n {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--h-ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.h-step h3 { margin: 0 0 8px; font-size: 18px; }
.h-step p { margin: 0; color: var(--text-medium); font-size: 14.6px; line-height: 1.68; }

/* --------------------------------------------------------------- tools ---- */
.h-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-tool {
  display: block;
  border: 1px solid #e7e9f2;
  border-radius: 15px;
  padding: 18px;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.h-tool:hover { transform: translateY(-3px); border-color: var(--h-violet); box-shadow: 0 18px 34px -22px rgba(109,91,255,.5); }
.h-tool-ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eef0ff, #e6fbff);
  color: var(--h-indigo);
  font-size: 16px;
  margin-bottom: 12px;
}
.h-tool strong { display: block; font-size: 14.6px; color: var(--text-dark); letter-spacing: -.01em; }
.h-tool span { display: block; font-size: 12.6px; color: var(--text-light); margin-top: 4px; }

/* ------------------------------------------------------------ benefits ---- */
.h-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 34px; }
.h-benefit { display: flex; gap: 14px; }
.h-benefit > i {
  flex: none;
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(139,92,246,.1);
  color: var(--h-violet);
  font-size: 15px;
}
.h-benefit h3 { margin: 2px 0 5px; font-size: 15.6px; }
.h-benefit p { margin: 0; font-size: 14px; color: var(--text-medium); line-height: 1.62; }

/* The FAQ component lives in faq.css — it is shared by the homepage, the
   pricing page and the FAQ page, and was too big to keep inline here. */

/* --------------------------------------------------------- closing CTA ---- */
.h-final {
  position: relative;
  background: var(--h-ink);
  color: #fff;
  padding: 84px 0;
  text-align: center;
  overflow: hidden;
}
.h-final::before {
  content: "";
  position: absolute; inset: -50% 20% auto 20%; height: 420px;
  background: var(--h-ramp);
  filter: blur(130px);
  opacity: .35;
}
.h-final > * { position: relative; z-index: 1; }
.h-final h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.h-final p { color: #b6bfd4; margin: 16px auto 30px; max-width: 34em; font-size: 16.5px; }

/* ---------------------------------------------------------- responsive ---- */
@media (max-width: 1000px) {
  .h-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .h-tools { grid-template-columns: repeat(2, 1fr); }
  .h-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .h-hero { padding: 64px 0 72px; }
  .h-section { padding: 62px 0; }
  .h-cards, .h-steps, .h-benefits { grid-template-columns: 1fr; }
  .h-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .h-cta-row .h-btn { flex: 1 1 auto; justify-content: center; }
}
