/* ==========================================================================
   GSTU Go — website styles
   Palette taken from the app: blue primary + logo's blue→teal→green gradient
   ========================================================================== */
:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f7fc;
  --card: #ffffff;
  --blue: #1d4ed8;
  --sky: #3b82f6;
  --teal: #14b8a6;
  --green: #22c55e;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --violet: #7c3aed;
  --grad: linear-gradient(110deg, #1d4ed8 0%, #0ea5e9 45%, #22c55e 100%);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -8px rgba(15,23,42,.10);
  --shadow-lg: 0 2px 4px rgba(15,23,42,.05), 0 40px 80px -20px rgba(29,78,216,.28);
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(960px, 92%); display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(226,232,240,.9); border-radius: 999px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 9px 14px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: #eef2fb; }
.nav-links .cta { background: var(--ink); color: #fff; font-weight: 600; }
.nav-links .cta:hover { background: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 16px; font-weight: 600; font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: 0; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -8px rgba(11,18,32,.5); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 14px 30px -8px rgba(29,78,216,.6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: -1; background:
  radial-gradient(520px 340px at 12% 22%, rgba(59,130,246,.28), transparent 70%),
  radial-gradient(520px 340px at 88% 10%, rgba(34,197,94,.22), transparent 70%),
  radial-gradient(600px 400px at 55% 70%, rgba(124,58,237,.12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; background-image: radial-gradient(rgba(15,23,42,.10) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(#000 0%, transparent 85%); -webkit-mask-image: linear-gradient(#000 0%, transparent 85%); }
.hero-copy { text-align: center; max-width: 880px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); margin-bottom: 26px; }
.eyebrow .dot { background: var(--green); width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(2.8rem, 8.2vw, 6.2rem); margin-bottom: 24px; letter-spacing: -.045em; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.trust span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

/* Phone trio */
.stage { position: relative; height: 640px; margin-top: 56px; display: flex; justify-content: center; align-items: flex-start; perspective: 1400px; }
.stage .phone { position: absolute; top: 0; }
.stage .p-left  { transform: translateX(-300px) translateY(70px) rotate(-7deg); z-index: 1; }
.stage .p-right { transform: translateX(300px)  translateY(70px) rotate(7deg);  z-index: 1; }
.stage .p-mid   { z-index: 3; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: 5; pointer-events: none; }
.float-chip { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; animation: bob 5s ease-in-out infinite; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }
.float-chip .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; }
.fc1 { left: 6%; top: 150px; }
.fc2 { right: 5%; top: 90px; animation-delay: -2s; }
.fc3 { left: 12%; top: 400px; animation-delay: -3.5s; }
.fc4 { right: 10%; top: 360px; animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- Phone frame + faux app UI ---------- */
.phone { width: 290px; aspect-ratio: 9 / 19; background: #0b1220; border-radius: 46px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a3550; position: relative; flex-shrink: 0; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #0b1220; border-radius: 99px; z-index: 5; }
.screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f1f5f9; position: relative; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 11px; color: var(--ink); }
.screen img.real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 4; }
.ui-hi { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; line-height: 1.15; }
.ui-hi small { display: block; font-family: var(--body); font-weight: 500; font-size: 10.5px; color: var(--muted); letter-spacing: 0; margin-bottom: 2px; }
.ui-next { border-radius: 18px; padding: 14px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #3b82f6 70%, #0ea5e9); position: relative; overflow: hidden; }
.ui-next::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ui-next .tag { display: inline-block; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 99px; font-size: 9.5px; font-weight: 600; margin-bottom: 8px; }
.ui-next b { display: block; font-family: var(--display); font-size: 15px; letter-spacing: -.02em; }
.ui-next span { opacity: .85; font-size: 10.5px; }
.ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-grid i { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 17px; }
.ui-label { font-weight: 700; font-size: 11px; display: flex; justify-content: space-between; margin-top: 2px; }
.ui-label em { font-style: normal; color: var(--sky); font-weight: 600; }
.ui-card { background: #fff; border-radius: 16px; padding: 11px; display: flex; gap: 10px; align-items: center; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.ui-card .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.ui-card b { display: block; font-size: 11px; line-height: 1.25; }
.ui-card span { color: var(--muted); font-size: 9.5px; }
.ui-pill { margin-left: auto; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.t-blue { background: #dbeafe; color: #1d4ed8; } .t-red { background: #fee2e2; color: #b91c1c; } .t-green { background: #dcfce7; color: #15803d; }
.t-amber { background: #fef3c7; color: #b45309; } .t-violet { background: #f3e8ff; color: #7e22ce; }
.map { flex: 1; border-radius: 18px; position: relative; overflow: hidden; background: #e8eef9; background-image: linear-gradient(rgba(29,78,216,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(29,78,216,.07) 1px, transparent 1px); background-size: 26px 26px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .bus { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; offset-path: path("M20 210 C 60 120, 120 200, 150 120 S 210 40, 240 60"); animation: drive 7s linear infinite; box-shadow: 0 0 0 6px rgba(29,78,216,.2); }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 16px; font-size: 10.5px; line-height: 1.4; }
.bubble.in { background: #fff; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.day { display: flex; gap: 8px; align-items: stretch; }
.day .time { width: 36px; font-size: 9.5px; color: var(--muted); font-weight: 600; padding-top: 10px; }
.day .slot { flex: 1; border-radius: 13px; padding: 9px 11px; font-size: 10.5px; border-left: 4px solid var(--sky); background: #fff; }
.day .slot b { display: block; font-size: 11px; }
.day .slot span { color: var(--muted); font-size: 9.5px; }

/* ---------- Marquee ---------- */
.marquee { margin-top: 10px; padding: 26px 0; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; color: #cbd5e1; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: "✦"; color: var(--sky); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-head { max-width: 760px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 1.15rem; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 30px 60px -20px rgba(29,78,216,.25); }
.tile h3 { font-size: 1.6rem; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: .98rem; max-width: 420px; }
.tile .viz { margin-top: auto; padding-top: 26px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }
.tile.dark { background: radial-gradient(500px 300px at 90% 0%, rgba(59,130,246,.35), transparent 70%), #0b1220; color: #fff; border-color: #0b1220; }
.tile.dark p { color: #94a3b8; }
.tile.blue { background: var(--grad); color: #fff; border: 0; }
.tile.blue p { color: rgba(255,255,255,.85); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; background: #f1f5f9; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.blood { display: flex; gap: 8px; flex-wrap: wrap; }
.blood b { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fef2f2; color: #dc2626; font-family: var(--display); font-size: .95rem; border: 1px solid #fecaca; }
.blood b:nth-child(3n) { background: #fff; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: .86rem; margin-bottom: 8px; }
.mini-row b { display: block; font-size: .9rem; }
.mini-row span { color: #94a3b8; font-size: .78rem; }
.mini-row .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(59,130,246,.25); }
.cd { font-family: var(--display); font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tl { display: grid; gap: 8px; }
.tl div { display: flex; align-items: center; gap: 10px; background: #f8fafc; border-radius: 14px; padding: 10px 14px; font-size: .86rem; border-left: 4px solid var(--sky); }
.tl div span { margin-left: auto; color: var(--muted); font-size: .78rem; }

/* ---------- AI pipeline ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; position: relative; box-shadow: var(--shadow); }
.step .n { width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; margin-bottom: 18px; }
.step h4 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: .92rem; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }

/* ---------- Screenshots ---------- */
#screenshots[hidden] { display: none; }
.gallery { display: flex; gap: 26px; overflow-x: auto; padding: 20px 4px 40px; scroll-snap-type: x mandatory; }
.gallery::-webkit-scrollbar { height: 8px; } .gallery::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
.gallery figure { scroll-snap-align: center; text-align: center; font-weight: 600; font-size: .92rem; color: var(--ink-2); flex-shrink: 0; }
.gallery .phone { width: 250px; margin-bottom: 14px; }

/* ---------- Support CTA ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 44px; padding: 90px 30px; text-align: center; color: #fff; background: radial-gradient(600px 400px at 15% 0%, rgba(59,130,246,.55), transparent 70%), radial-gradient(600px 400px at 90% 100%, rgba(34,197,94,.4), transparent 70%), #0b1220; }
.cta-card h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); margin-bottom: 16px; }
.cta-card p { color: #94a3b8; max-width: 520px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-card .mail { display: block; margin-top: 22px; color: #cbd5e1; font-size: .95rem; }

/* ---------- Footer ---------- */
footer { padding: 70px 0 30px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot p { color: var(--muted); max-width: 340px; margin-top: 12px; font-size: .95rem; }
.foot nav { display: flex; gap: 60px; }
.foot h5 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.foot nav a { display: block; padding: 4px 0; color: var(--ink-2); font-weight: 500; }
.foot nav a:hover { color: var(--blue); }
.legal-line { padding-top: 22px; color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 17vw, 14rem); letter-spacing: -.06em; line-height: .85; text-align: center; margin-top: 40px; background: linear-gradient(#dbe3f3, transparent 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* ---------- Legal (privacy) ---------- */
.legal { padding: 140px 0 60px; max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); margin-bottom: 34px; }
.legal h2 { font-size: 1.45rem; margin: 38px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; font-size: 1.02rem; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--blue); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stage .p-left { transform: translateX(-210px) translateY(70px) rotate(-7deg); }
  .stage .p-right { transform: translateX(210px) translateY(70px) rotate(7deg); }
  .float-chip.fc1, .float-chip.fc3 { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .s2, .s3, .s4 { grid-column: span 2; }
  .flow { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .nav-links a:not(.cta) { display: none; }
  .stage { height: 560px; }
  .stage .p-left, .stage .p-right, .float-chip { display: none; }
  .phone { width: 270px; }
  .flow { grid-template-columns: 1fr; }
  .foot nav { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
