/* MixProof brand tokens — aligned with Shared/BrandColors.h */
:root {
  --bg: #131c27;
  --surface: #1e2734;
  --accent: #6e82e8;
  --accent-glow: rgba(110, 130, 232, 0.35);
  --text: #cccccc;
  --text-muted: rgba(204, 204, 204, 0.68);
  --green: #2ecc71;
  --green-soft: rgba(46, 204, 113, 0.15);
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

/* Subtle depth on background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(110, 130, 232, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 100% 100%,
      rgba(46, 204, 113, 0.06),
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.lang-btn {
  min-width: 2.75rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s;
}

.lang-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #0c0f14;
  border-color: transparent;
  box-shadow: 0 0.25rem 1rem var(--accent-glow);
}

.hero {
  text-align: center;
  padding: 1.5rem 0 2.5rem;
}

.hero-icon {
  width: clamp(7rem, 28vw, 10.5rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 1.25rem 3rem var(--accent-glow);
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

section .sub {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.features-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.features-list li {
  margin-bottom: 0.55rem;
}

.features-list li:last-child {
  margin-bottom: 0;
}

.features-col h3 {
  margin-top: 0;
}

.features-col .features-list:last-child {
  margin-bottom: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #0c0f14;
  box-shadow: 0 0.35rem 1.25rem var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.companion-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--green-soft);
  border: 1px solid rgba(46, 204, 113, 0.25);
  font-size: 0.88rem;
  color: var(--text);
}

/* Screenshots — horizontal scroll-snap (no carousel JS) */
.shots-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--surface) transparent;
  -webkit-overflow-scrolling: touch;
}

.shots-strip::-webkit-scrollbar {
  height: 6px;
}

.shots-strip::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 4px;
}

.shot {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  height: auto;
}

/* Portrait: largura máxima fixa; altura do frame = altura natural da imagem */
.shot:not(.shot--wide) {
  width: min(280px, 72vw);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Horizontal / desktop: largura maior; altura segue a imagem */
.shot.shot--wide {
  width: min(520px, 88vw);
}

/* Utility */
.sr-block {
  display: block;
}

.mt-tight {
  margin-top: 0.35rem;
}
