/* Aproxima o hotsite do vocabulário visual usado pelo app SaveSlot. */
:root {
  --bg: #171438;
  --bg-soft: #211d3f;
  --surface: #211d3f;
  --surface-2: #2e2947;
  --text: #f6f4fc;
  --muted: #8b85a3;
  --violet: #7367f0;
  --violet-light: #9182f4;
  --cyan: #00cfdd;
  --green: #28c76f;
  --border: rgba(255, 255, 255, .1);
  --display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

body { background: var(--bg); color: #c9c5da; font-size: 15px; }
.brand img, .footer-grid img { height: auto; }
h1, h2, h3 { color: var(--text); font-weight: 700; letter-spacing: .01em; }
h1 { letter-spacing: -.035em; }
h1 span, h2 span { color: var(--violet-light); }
.eyebrow, .section-label, .planning-top, .hud-top, .hud-game-copy small,
.hud-timer small, .board-head, .board-labels, .metric-float small,
.suggested-game small, .footer-grid b { font-family: var(--mono); }

.site-header.scrolled { background: rgba(23, 20, 56, .9); }
.main-nav { gap: 24px; }
.main-nav > a:not(.button) { color: #c9c5da; }

.button {
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(115, 103, 240, .35);
}
.button:hover { color: #fff; background: #5f52d6; filter: none; }
.button-small { padding: 9px 16px; font-size: 12px; }
.button-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.button-ghost:hover { background: var(--surface); border-color: var(--cyan); color: var(--cyan); }

.hero {
  background: radial-gradient(circle at 75% 38%, rgba(0, 207, 221, .08), transparent 30%),
              radial-gradient(circle at 18% 8%, rgba(115, 103, 240, .18), transparent 38%), var(--bg);
}
.hero:after { opacity: .35; }
.hero-lead, .problem > div > p:last-child, .section-heading > p:last-child,
.feature-copy > p, .faq-grid > div > p:last-child { color: #c9c5da; }
.eyebrow { border-color: rgba(0, 207, 221, .28); background: rgba(0, 207, 221, .08); }

.step-card, .planning-card, .suggestion-card, .metrics-board, .sync-stage, .hero-hud {
  border-radius: 16px;
  clip-path: none;
  background: var(--bg-soft);
  border-color: var(--border);
  box-shadow: 0 6px 20px rgba(10, 8, 20, .4);
}
.step-card { background: var(--bg-soft); }
.step-card.featured {
  background: linear-gradient(145deg, rgba(115, 103, 240, .13), var(--bg-soft));
  border-color: rgba(115, 103, 240, .45);
}
.step-icon { border-radius: 12px; background: rgba(115, 103, 240, .12); }
.planning-card { background: var(--bg-soft); border-color: rgba(115, 103, 240, .3); }
.suggestion-card { border-color: rgba(0, 207, 221, .24); }
.suggested-game, .hud-timer, .board-cards > div { background: rgba(23, 20, 56, .72); border-radius: 12px; }
.mood-list button, .shuffle-button { border-radius: 8px; font-family: var(--body); }
.success-pill { border-radius: 999px; background: rgba(40, 199, 111, .14); }
.progress { background: #2e2947; }
.progress i { background: var(--violet); }

.hero-hud { background: linear-gradient(145deg, #211d3f, #171438); }
.hud-corner { display: none; }
.game-symbol {
  border-radius: 16px;
  clip-path: none;
  background: linear-gradient(145deg, rgba(115, 103, 240, .3), rgba(0, 207, 221, .09));
}
.game-symbol:before { border-radius: 12px; clip-path: none; }
.hud-tags b { border-radius: 999px; font-family: var(--mono); }
.hud-bottom button { border-radius: 8px; clip-path: none; font-family: var(--body); }
.floating-card, .sync-node, .sync-toast, .metric-float { border-radius: 12px; }

.sync-stage { background: radial-gradient(circle, rgba(0, 207, 221, .07), transparent 52%), var(--bg-soft); }
.sync-node { background: rgba(33, 29, 63, .94); }
.platforms { gap: 52px; margin-top: 52px; font-family: var(--body); font-size: 14px; font-weight: 700; }
.platforms span { gap: 3px; line-height: 1.35; }
.platforms b { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .06em; }
.platforms .available { color: var(--text); }
.platforms .available b { color: var(--green); }
.metrics-board { background: var(--bg-soft); }
.board-chart span { border-radius: 5px 5px 0 0; clip-path: none; background: linear-gradient(var(--cyan), var(--violet)); }
.board-cards > div { border-color: var(--border); }

.problem, .psn-section, .faq-section { background: #14112f; }
.feature-band, .metrics-section { background: #1b1839; }
.final-cta { background: radial-gradient(circle at 50% 45%, rgba(115, 103, 240, .16), transparent 46%); }
footer { background: #12102a; }
.social-links a { border-radius: 8px; }
.footer-legal-link { width: fit-content; padding: 0; border: 0; background: none; color: #aaa3bd; font-size: 11px; cursor: pointer; text-align: left; }
.footer-legal-link:hover { color: var(--cyan); }
.legal-modal-backdrop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.legal-modal-backdrop[hidden] { display: none; }
.legal-modal { width: min(720px, 100%); max-height: 85vh; display: flex; flex-direction: column; padding: 20px; border: 1px solid transparent; border-radius: 16px; background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box, linear-gradient(135deg, #ff6ec7 0%, var(--violet) 45%, var(--cyan) 100%) border-box; box-shadow: 0 16px 40px rgba(10, 8, 20, .45), 0 0 60px -16px rgba(115, 103, 240, .55); }
.legal-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; }
.legal-modal-header p { margin: 0; color: var(--text); font-size: 16px; font-weight: 700; }
.legal-modal-close { width: 34px; height: 34px; flex-shrink: 0; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 23px; line-height: 1; cursor: pointer; }
.legal-modal-close:hover { color: var(--cyan); border-color: var(--cyan); }
.legal-modal-body { min-height: 0; flex: 1; overflow-y: auto; margin-top: 16px; padding-right: 10px; scrollbar-color: var(--violet) var(--bg); }
.legal-updated { margin: 0 0 20px; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.legal-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); scroll-margin-top: 0; }
.legal-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-modal-body h2 { margin: 0 0 14px; color: var(--text); font-size: 17px; }
.legal-modal-body h3 { margin: 18px 0 6px; color: var(--text); font-size: 14px; }
.legal-modal-body p, .legal-modal-body li { color: #c9c5da; font-size: 13.5px; line-height: 1.65; }
.legal-modal-body p { margin: 0; }
.legal-modal-body ul { display: flex; flex-direction: column; gap: 5px; margin: 7px 0; padding-left: 20px; }
body.legal-modal-open { overflow: hidden; }

/* Capturas reais do produto */
.app-shot { position: relative; isolation: isolate; margin: 0; overflow: hidden; border: 1px solid rgba(145,130,244,.48); border-radius: 18px; background: #100c21; box-shadow: 0 32px 80px rgba(4,2,16,.55), 0 0 54px rgba(32,216,230,.09); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.app-shot:hover { border-color: rgba(0,207,221,.58); box-shadow: 0 38px 90px rgba(4,2,16,.62), 0 0 65px rgba(32,216,230,.14); }
.app-shot::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--violet) 30%, var(--cyan) 72%, transparent); opacity: .8; }
.app-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.app-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-shot-hero { aspect-ratio: 1.5; transform: perspective(1200px) rotateY(-3deg); }
.app-shot-hero:hover { transform: perspective(1200px) rotateY(-1deg) translateY(-5px); }
.app-shot-hero img { object-position: center top; }
.app-shot-feature { aspect-ratio: 1.24; }
.app-shot-feature img, .app-shot-wide img { object-position: center top; }
.app-shot-suggestion img { transform: translateX(10%) scale(1.42); transform-origin: 40% 48%; }
.app-shot-wide { width: min(1040px,100%); aspect-ratio: 16/8.8; margin-inline: auto; }

.section-heading h2, .feature-copy h2, .problem h2, .faq-grid h2 { text-wrap: balance; }
.hero-copy h1 { text-wrap: balance; }
.step-card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.step-card:hover { transform: translateY(-6px); border-color: rgba(145,130,244,.42); box-shadow: 0 18px 44px rgba(7,5,24,.35); }
.step-card.featured:hover { transform: translateY(-18px); }
.feature-band, .metrics-section { position: relative; overflow: hidden; }
.feature-band::before, .metrics-section::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(115,103,240,.09); filter: blur(90px); pointer-events: none; }
.feature-band::before { right: -180px; top: 10%; }
.metrics-section::before { left: -190px; bottom: -120px; }
.feature-band > .container, .metrics-section > .container { position: relative; z-index: 1; }
.text-link { transition: color .2s ease, transform .2s ease; }
.text-link:hover { color: #fff; transform: translateX(4px); }
.button:focus-visible, .main-nav a:focus-visible, .footer-grid a:focus-visible,
.footer-legal-link:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 900px) {
  .main-nav { background: var(--bg); }
  .app-shot-hero { transform: none; aspect-ratio: 16/10; }
  .app-shot-hero:hover { transform: translateY(-4px); }
  .app-shot-feature { aspect-ratio: 16/10; }
  .app-shot-suggestion img { transform: translateX(10%) scale(1.28); transform-origin: 40% 48%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shot, .step-card, .text-link { transition: none; }
  .app-shot:hover, .app-shot-hero:hover, .step-card:hover, .step-card.featured:hover, .text-link:hover { transform: none; }
}

@media (max-width: 600px) {
  .platforms { gap: 24px 32px; font-size: 13px; }
  .platforms b { font-size: 8px; }
  .legal-modal-backdrop { padding: 12px; }
  .legal-modal { max-height: 92vh; padding: 16px; }
  .legal-modal-header p { font-size: 14px; }
}
