@charset "UTF-8";
/* ============================================================
   GAME DONE — landing page
   Plain CSS, no frameworks. Design system driven by variables.
   ============================================================ */

:root {
  /* Brand */
  --indigo: #7A7CFF;
  --indigo-600: #6567F5;
  --indigo-700: #5557e6;
  --coral: #FF6767;
  --coral-600: #f25252;

  /* Ink / text  (exact values from Figma) */
  --ink: #070E30;      /* darkest headings / titles */
  --navy: #060D2F;     /* footer background + body copy */
  --text: #060D2F;     /* body paragraphs */
  --muted: #828282;    /* subtle labels (stats, footer secondary) */

  /* Surfaces */
  --white: #ffffff;
  --lav-50: #f7f6ff;   /* section tint / card bg */
  --lav-100: #eeeffe;
  --badge: #e4e5ff;    /* badge / pill bg */
  --border: #e7e8f5;
  --indigo-border: #c7c9f7;
  --coral-border: #ffc9c9;

  /* 1248 - 48 (side padding) = 1200px content, matching the Figma frame's
     120px side margins at 1440px. */
  --maxw: 1248px;
  --radius: 20px;
  --radius-lg: 28px;

  /* Design font: Inter (loaded from Google Fonts in index.html). */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-card: 0 24px 50px -28px rgba(35, 40, 90, 0.28);
}

/* Gidole (open-source, SIL OFL) — used for the hero badge / eyebrow labels */
@font-face {
  font-family: "Gidole";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Gidole-Regular.woff2") format("woff2");
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ------------------------ Shared helpers ------------------------ */
.accent { color: var(--indigo); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section { padding: 84px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-title {
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.title-left { text-transform: uppercase; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-pill { border-radius: 999px; padding: 14px 28px; font-size: 16px; }
.btn-lg { padding: 16px 40px; font-size: 22px; }
.btn-coral { background: var(--coral); color: #fff; text-transform: uppercase; letter-spacing: .02em; box-shadow: 4px 4px 24px rgba(255,127,127,.4); }
.btn-coral:hover { background: var(--coral-600); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-600); }
.btn-square {
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 2px; padding: 15px 28px; font-size: 14px; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 600; align-self: flex-start;
}
.btn-square:hover { background: var(--ink); color: #fff; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(231,232,245,.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-logo { display: block; width: 172px; height: 30px; fill: var(--ink); }
.brand-light .brand-logo { fill: #fff; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav > a { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); transition: color .15s ease; }
.main-nav > a:not(.btn):hover { color: var(--indigo); }
.main-nav .nav-cta { padding: 8px 24px; color: #fff; }
/* hover: switch to the coral of the "Let's discuss a task" button */
.nav-cta:hover { background: var(--coral); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 138px;
  background:
    linear-gradient(to right, rgba(110,116,214,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(110,116,214,.16) 1px, transparent 1px),
    radial-gradient(58% 60% at 0% 92%, #c7e7fb 0%, rgba(199,231,251,0) 62%),
    radial-gradient(56% 60% at 100% 88%, #bfc9f5 0%, rgba(191,201,245,0) 62%),
    #ffffff;
  background-size: 110px 110px, 110px 110px, 100% 100%, 100% 100%, 100% 100%;
}
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dedeff; color: #1C1EC4;
  font-family: "Gidole", var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.3;
  letter-spacing: .02em; text-transform: uppercase;
  padding: 6px 30px; border-radius: 999px; margin-bottom: 26px;
}

.hero-title {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02; letter-spacing: .005em;
  margin: 0 0 26px;
}
/* "of": slanted upright Inter (no cursive descending-f tail), matching the design */
.hero-title em { font-family: var(--font-display); font-style: normal; font-weight: 400; text-transform: none; display: inline-block; transform: skewX(-10deg); }

.hero-sub {
  max-width: 720px; margin: 0 auto 40px;
  font-size: 22px; line-height: 1.45; color: var(--text);
}

/* --------------------------- STATS --------------------------- */
/* the statistics band sits between the hero and the next section and is
   pulled up so the card bridges the two (top on the hero gradient, bottom on white) */
.stats-band { position: relative; z-index: 2; margin-top: -90px; }
.stats-card {
  background: #fff;
  border: 1px solid rgba(7, 14, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
#solution { padding-top: 80px; }
.stat { text-align: center; padding: 0 6px; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  color: #3A415B; font-size: 50px; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
}
.stat-num i { font-style: normal; }
.stat-label { display: block; margin-top: 12px; color: #9699A8; font-size: 18px; line-height: 1.3; }

/* ==================== HOW IT WORKS / SOLUTION ==================== */
.howitworks-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; margin-bottom: 70px;
}
.eyebrow-left { text-align: left; }
.title-left { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; }
.howitworks-copy { font-size: 22px; line-height: 1.42; color: var(--text); margin: 0; padding-top: 6px; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 58px;
  align-items: start;
}
.compare-col { display: flex; flex-direction: column; }
.compare-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: .04em; margin: 0 0 16px; }
.face-icon { flex: none; }
.compare-before { color: var(--coral); }
.compare-after { color: var(--indigo); }
.compare-list { display: flex; flex-direction: column; gap: 13px; }

.chip {
  position: relative;
  border-radius: 10px; padding: 14px 30px; text-align: center;
  background: #fff; font-size: 20px; line-height: 1.25; color: var(--ink);
}
.chip-before { border: 1px solid var(--coral-border); }
.chip-after { border: 1px solid var(--indigo-border); }
/* Arrow lives in the 58px column gap and is centered on its own row,
   so it stays aligned no matter how tall each chip is. */
.chip-after::before {
  content: "\2192";
  position: absolute; top: 50%; left: -58px; width: 58px;
  transform: translateY(-50%);
  text-align: center; color: var(--ink); font-size: 24px; line-height: 1;
}

/* ========================= PROCESS ========================= */
.process {
  background:
    linear-gradient(to right, rgba(120,124,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120,124,255,.05) 1px, transparent 1px),
    var(--lav-50);
  background-size: 110px 110px, 110px 110px, 100% 100%;
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 26px; margin-top: 26px; }
.step { position: relative; }
.step-title { color: #191919; font-weight: 800; font-size: 22px; letter-spacing: .02em; margin-bottom: 22px; }
.step-track { position: relative; height: 28px; margin-bottom: 20px; }
/* the connecting line runs behind every dot */
.step-track::before {
  content: ""; position: absolute; top: 50%; left: 0; right: -26px;
  height: 4px; transform: translateY(-50%);
  background: #fff; border-radius: 4px;
}
.step:last-child .step-track::before { right: 0; }
.step-dot {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1.5px solid #d7d7ec; z-index: 1;
}
/* active step: filled dot + filled progress line */
.step.is-active .step-dot { background: var(--indigo); border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(122,124,255,.18); }
.step.is-active .step-track::before { background: var(--indigo); }
.step-copy { font-size: 18px; line-height: 1.4; color: var(--text); margin: 0; padding-right: 12px; }

/* ======================== CTA BANNER ======================== */
.cta-section { padding: 20px 0 84px; }
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: linear-gradient(90deg, #8797EB 0%, #D7CEFF 41%, #B8E3F4 100%);
  border-radius: var(--radius-lg);
  padding: 44px 56px;
}
.cta-banner-title { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; letter-spacing: .01em; }
.cta-banner-title .accent { color: var(--indigo-700); }
.cta-banner-sub { margin: 12px 0 0; color: #464b63; font-size: 20px; }

/* ========================= SERVICES ========================= */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  background: var(--lav-50); border: 1px solid transparent;
  border-radius: var(--radius); padding: 40px;
  transition: border-color .18s ease;
}
/* no outline by default; the indigo outline appears only on hover */
.service-card:hover { border-color: var(--indigo); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-icon { color: var(--indigo); display: inline-flex; }
.pill-badge {
  background: var(--badge); color: var(--indigo-700);
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  letter-spacing: .04em; padding: 7px 18px; border-radius: 999px; text-transform: uppercase;
}
.service-title { color: var(--indigo); font-weight: 800; font-size: 24px; letter-spacing: .02em; margin-bottom: 14px; }
.service-copy { margin: 0; font-size: 20px; line-height: 1.4; color: var(--text); }

/* ========================== DEMO ========================== */
.demo-carousel { position: relative; }
.demo-slide {
  display: none;
  grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center;
}
.demo-slide.is-active { display: grid; }
.demo-media {
  position: relative; border-radius: var(--radius); min-height: 393px;
  background: linear-gradient(135deg, #3a3f52 0%, #2a2c3e 45%, #4a3d55 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.demo-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 55% 45%, rgba(90,110,200,.35), transparent 70%);
  filter: blur(6px);
}
.demo-media.media-b { background: linear-gradient(135deg, #37485a 0%, #23303e 50%, #2f4a4a 100%); }
.demo-media.media-c { background: linear-gradient(135deg, #4a3b52 0%, #2b2536 50%, #3a2f4f 100%); }
.demo-lock { position: relative; z-index: 1; color: #fff; opacity: .96; }
.demo-tag { color: var(--muted); font-size: 20px; margin: 0 0 12px; }
.demo-title { font-weight: 800; font-size: 26px; letter-spacing: .02em; margin-bottom: 4px; }
.demo-company { color: var(--indigo); font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .02em; margin: 0 0 22px; }
.demo-copy { margin: 0 0 30px; font-size: 19px; line-height: 1.45; color: var(--text); }
.demo-btn { text-transform: uppercase; }

.demo-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.dot { width: 26px; height: 8px; border-radius: 999px; border: none; background: #d9daf3; cursor: pointer; padding: 0; transition: background .2s ease, width .2s ease; }
.dot.is-active { background: var(--indigo); width: 34px; }

/* ========================= CONTACT ========================= */
.contact-inner { display: grid; grid-template-columns: 1fr 524px; gap: 56px; align-items: center; }
.contact-heading { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: 0; margin-bottom: 26px; }
.contact-copy { font-size: 20px; line-height: 1.45; color: var(--text); margin: 0; max-width: 480px; }

.contact-card {
  background: linear-gradient(155deg, #8797EB 0%, #D7CEFF 45%, #B8E3F4 100%);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.c-input {
  width: 100%; border: 1px solid rgba(255,255,255,.7); background: #fff;
  border-radius: 10px; padding: 13px 30px;
  font-family: var(--font-body); font-size: 18px; color: var(--ink);
  outline: none; transition: box-shadow .15s ease, border-color .15s ease;
}
.c-input::placeholder { color: #9a9eab; }
.c-input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(122,124,255,.28); }
.c-textarea { resize: vertical; min-height: 170px; line-height: 1.5; }
.form-submit { align-self: center; margin-top: 12px; min-width: 300px; }

/* thank-you state (swapped in by htmx after submit) */
.contact-card-thanks {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 430px; padding: 40px 34px;
}
.thanks-check { width: 66px; height: 66px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(20,20,60,.4); }
.thanks-title { color: var(--ink); font-weight: 800; font-size: 28px; letter-spacing: .02em; margin: 20px 0 12px; }
.thanks-copy { margin: 0; font-size: 17px; color: var(--text); max-width: 380px; }

/* ========================== FOOTER ========================== */
.site-footer { background: var(--navy); color: #fff; padding: 70px 0 40px; }
.brand-light .brand-name { color: #fff; }
.brand-light { color: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 26px; }
.footer-nav { display: flex; gap: 56px; }
.footer-nav a { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #eef0ff; }
.footer-nav a:hover { color: var(--indigo); }
.footer-nav a.is-active { text-decoration: underline; text-underline-offset: 5px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0 40px; }
.footer-email { color: #c7cae0; font-size: 15px; }
.socials { display: flex; gap: 18px; margin-top: 22px; }
.socials a { color: #8f93b3; transition: color .15s ease; display: inline-flex; }
.socials a:hover { color: #fff; }
.footer-legal { display: flex; gap: 40px; }
.footer-legal a { color: #c7cae0; font-size: 15px; }
.footer-legal a:hover { color: #fff; }
.footer-copy { text-align: center; color: #b9bcd4; font-size: 14px; margin: 12px 0 0; }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ========================================================== */
/*                        RESPONSIVE                          */
/* ========================================================== */
@media (max-width: 960px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); gap: 30px 12px; }
  .howitworks-head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  .demo-slide.is-active { grid-template-columns: 1fr; gap: 32px; }
  .demo-media { min-height: 260px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: center; text-align: center; gap: 18px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 22px 24px 28px;
    box-shadow: 0 20px 30px -20px rgba(20,20,60,.3);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .site-header.nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 6px 2px; font-size: 17px; }
  .main-nav .nav-cta { align-self: center; padding: 10px 30px; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 60px 0; }
  .compare { grid-template-columns: 1fr; row-gap: 30px; }
  .chip-after::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; column-gap: 20px; }
  .step-track::before { right: 0; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 34px 30px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 24px 40px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); padding: 28px 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px 24px; }
  .steps { grid-template-columns: 1fr; }
  .btn-lg { padding: 15px 30px; }
  .footer-legal { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
