/* ==========================================================================
   Showgate landing page — hand written CSS (no framework)
   Palette: deep navy brand + orange accent, slate neutrals.
   ========================================================================== */

:root {
  --brand:        #12233f;
  --brand-600:    #1d3557;
  --brand-400:    #3c5a86;
  --brand-200:    #b9c8de;
  --accent:       #f97316;
  --accent-700:   #c2410c;

  --ink:          #0f172a;
  --ink-soft:     #3d4a60;
  --muted:        #5b6a80;
  --surface:      #ffffff;
  --surface-alt:  #f5f8fc;
  --border:       #e2e8f1;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow:    0 10px 30px -12px rgba(18, 35, 63, .25);
  --shadow-lg: 0 30px 60px -24px rgba(18, 35, 63, .35);

  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell: 1180px;
  --z-header: 50;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--brand);
}

p { margin: 0 0 1em; }

a { color: var(--brand-600); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}
.shell--narrow { max-width: 820px; }

/* ============================== buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(29, 53, 87, .9);
}
.btn--primary:hover { background: var(--brand); box-shadow: 0 14px 28px -12px rgba(18, 35, 63, .85); }

.btn--ghost {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--brand-200); background: var(--surface-alt); color: var(--brand); }

.site-header .btn--ghost { color: #dbe6f5; border-color: rgba(219, 230, 245, .3); }
.site-header .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ============================== header ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(18, 35, 63, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 700 20px/1 var(--font-head);
  letter-spacing: -.02em;
}
.brand__mark { width: 32px; height: 32px; color: var(--accent); }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  color: #c9d8ec;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: var(--brand);
}
.mobile-nav a {
  color: #dbe6f5;
  text-decoration: none;
  padding: 12px 4px;
  font-weight: 500;
}
.mobile-nav .btn { margin-top: 8px; color: #fff; }

/* ============================== hero ============================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(249, 115, 22, .22), transparent 62%),
    radial-gradient(900px 480px at 8% 8%, rgba(60, 90, 134, .5), transparent 60%),
    linear-gradient(165deg, #12233f 0%, #0d1a2f 58%, #0a1526 100%);
  color: #e8eefa;
  padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 10vw, 120px);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #cfe0f7;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .22);
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 62px);
  color: #fff;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: #b9cbe5;
  max-width: 56ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero .btn--ghost { color: #e8eefa; border-color: rgba(232, 238, 250, .3); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9fb4d2;
  font-size: 15px;
}
.hero__facts li { display: flex; align-items: baseline; gap: 7px; }
.hero__facts strong { color: #fff; font: 700 20px/1 var(--font-head); }

/* mockup */
.hero__visual { position: relative; }
.mock {
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #eef2f8;
  border-bottom: 1px solid var(--border);
}
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c8d2e2; }
.mock__bar em {
  margin-left: 10px;
  font: 500 12px/1 var(--font-body);
  font-style: normal;
  color: var(--muted);
}
.mock__body { padding: 20px; color: var(--ink); }
.mock__row--title h3 { font-size: 22px; margin: 8px 0 4px; }
.mock__row--title p { color: var(--muted); font-size: 14px; margin: 0; }
.mock__chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}
.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.mock__block { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.mock__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mock__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock__list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mock__list em { font-style: normal; font-weight: 700; color: var(--brand-600); }
.ticket { display: flex; gap: 12px; align-items: center; }
.ticket__main { display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.ticket__main b { color: var(--brand); font: 700 15px/1.2 var(--font-head); }
.ticket__main code {
  font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--brand-600);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}
.ticket__qr { width: 84px; height: 84px; flex: none; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.mock__row--stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.mock__row--stats div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}
.mock__row--stats b { font: 700 18px/1.1 var(--font-head); color: var(--brand); }
.mock__row--stats span { font-size: 12px; color: var(--muted); }

/* ============================== strip ============================== */
.strip { background: var(--surface-alt); border-bottom: 1px solid var(--border); padding: 30px 0; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.strip__title { margin: 0; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip__list { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-size: 15px; }
.strip__list li { position: relative; padding-left: 18px; }
.strip__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

/* ============================== sections ============================== */
.section { padding: clamp(60px, 8vw, 96px) 0; }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head .eyebrow { background: var(--surface-alt); border-color: var(--border); color: var(--brand-600); }
.section--alt .section__head .eyebrow { background: #fff; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); }
.section__lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }

/* ============================== bento ============================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card--wide { grid-column: span 2; }
.card--tall { grid-column: span 2; }
.card--dark { background: var(--brand); border-color: var(--brand); color: #cfdcef; }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(255, 255, 255, .12); color: var(--accent); }
.card--dark:hover { border-color: var(--brand-400); }
.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(29, 53, 87, .08);
  color: var(--brand-600);
  margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 16px; }
.card--dark p { color: #b6c8e0; }
.card__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; color: var(--ink-soft); }
.card--dark .card__list { color: #b6c8e0; }
.card__list li { position: relative; padding-left: 22px; }
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============================== steps ============================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font: 700 17px/1 var(--font-head);
  margin-bottom: 14px;
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================== pricing ============================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.plan--featured { border-color: var(--brand-600); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.plan__name { font-size: 20px; margin-bottom: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.plan__amount { font: 700 42px/1 var(--font-head); color: var(--brand); letter-spacing: -.03em; }
.plan__period { color: var(--muted); font-size: 14px; }
.plan__summary { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .5);
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .85em;
  width: 6px;
  height: 3px;
  border-left: 2px solid #15803d;
  border-bottom: 2px solid #15803d;
  transform: rotate(-45deg);
}
.pricing__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ============================== faq ============================== */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font: 600 17px/1.4 var(--font-body);
  color: var(--brand);
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: none;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 20px 20px; color: var(--ink-soft); font-size: 16px; }
.faq__body p { margin: 0; }

/* ============================== cta ============================== */
.cta {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(249, 115, 22, .2), transparent 60%),
    linear-gradient(140deg, #12233f, #0c1729);
  color: #e8eefa;
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.cta p { color: #b9cbe5; margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { color: #e8eefa; border-color: rgba(232, 238, 250, .3); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ============================== footer ============================== */
.site-footer { background: #0b1526; color: #94a9c6; padding: 52px 0 30px; font-size: 15px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px; }
.brand--footer { margin-bottom: 12px; }
.site-footer__brand p { margin: 0; max-width: 34ch; }
.site-footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer__links h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer__links a { display: block; color: #94a9c6; text-decoration: none; padding: 5px 0; }
.site-footer__links a:hover { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 20px; }
.site-footer__legal p { margin: 0 0 6px; font-size: 13px; color: #7b8fae; }

/* ============================== responsive ============================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .mock { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card--wide, .card--tall { grid-column: span 1; }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: flex; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 32px, var(--shell)); }
  .hero__actions .btn { width: 100%; }
  .mock__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--wide, .card--tall { grid-column: span 1; }
  .site-footer__links { grid-template-columns: 1fr 1fr; }
  .cta__actions .btn { width: 100%; }
}

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

@media print {
  .site-header, .hero__canvas, .cta, .site-footer { display: none; }
}
