:root {
  --primary: #7689f1;
  --primary-dark: #5169ff;
  --bg-dark: #0a0c10;
  --card-bg: rgba(255, 255, 255, 0.05);
  --white: #ffffff;
  --text-dim: #a1a1aa;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; }
a { text-decoration: none; color: inherit; cursor: pointer; }
.dim { color: var(--text-dim); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(118, 137, 241, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(118, 137, 241, 0.5); }
.btn-outline { border-color: rgba(255, 255, 255, 0.15); color: white; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); }

/* Nav */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1rem 0;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo-area { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 1rem; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; }
.nav-link { color: var(--text-dim); font-weight: 500; transition: color 0.3s ease; }
.nav-link:hover { color: var(--white); }

/* Hero */
.hero {
  padding: 160px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(118, 137, 241, 0.18) 0%, transparent 55%);
}
.pill {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.12); background: var(--card-bg); margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1.1; margin-bottom: 1.2rem; }
.lead { font-size: 1.2rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 2.5rem; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem 0.5rem 0.5rem; border-radius: 50px; font-weight: 600;
  background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease;
}
.chip img { width: 30px; height: 30px; border-radius: 8px; }
.chip:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 25px -8px var(--accent); }

/* Apps */
.app {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 90px 0; position: relative; scroll-margin-top: 40px;
}
.app::before {
  content: ""; position: absolute; inset: 10% -10%; z-index: -1;
  background: radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%);
}
.app.reverse::before { background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%); }
.app.reverse .app-info { order: 2; }
.app-icon { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 1.2rem; box-shadow: 0 10px 30px -8px var(--accent); }
.app h2 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 0.4rem; }
.tagline { color: var(--accent); font-weight: 600; margin-bottom: 1rem; filter: brightness(1.25); }
.desc { color: var(--text-dim); max-width: 480px; margin-bottom: 2rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.shots { display: flex; gap: 1rem; justify-content: center; }
.shots img {
  width: calc(33% - 0.7rem); max-width: 190px; height: auto; aspect-ratio: 9 / 19; object-fit: cover; object-position: top;
  border-radius: 20px; border: 5px solid #2a2c32; background: #1a1c22;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transition: transform 0.4s ease;
}
.shots img:nth-child(1) { transform: translateY(24px); }
.shots img:nth-child(3) { transform: translateY(24px); }
.shots img:nth-child(4) { display: none; }
.shots img:hover { transform: translateY(-8px); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Footer */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 3rem 0 2rem; margin-top: 3rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-grid .dim { margin-top: 0.8rem; max-width: 320px; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--white); }
.copy { margin-top: 2rem; font-size: 0.85rem; color: var(--text-dim); }

/* Text pages (privacy policy / data deletion) */
.page { padding: 130px 0 40px; }
.doc { max-width: 820px; margin: 0 auto; padding: 2.5rem; }
.doc h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.3rem; margin: 2rem 0 0.8rem; color: var(--white); }
.doc p { color: var(--text-dim); margin-bottom: 1rem; }
.doc .updated { font-size: 0.9rem; }
.doc .example { background: rgba(255,255,255,0.05); border-left: 3px solid var(--primary); border-radius: 8px; padding: 1rem 1.2rem; color: var(--white); }
.doc .warning { color: #ffc107; }
.doc a { color: var(--primary); }
.appBadge { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; padding: 0.5rem 1.2rem 0.5rem 0.5rem; border-radius: 50px; background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1); font-weight: 600; }
.appBadge img { width: 44px; height: 44px; border-radius: 10px; }

html { -webkit-text-size-adjust: 100%; }
.btn, .chip, .nav-link { -webkit-tap-highlight-color: transparent; }

@media (max-width: 860px) {
  .container { padding: 0 1.25rem; }
  .site-nav { padding: 0.7rem 0; }
  .nav-links { gap: 1.1rem; font-size: 0.9rem; }
  .nav-link { padding: 0.6rem 0; white-space: nowrap; }
  .nav-links .nav-link:first-child { display: none; }
  .logo-area span:last-child { display: none; }
  .hero { padding: 110px 0 24px; }
  .lead { font-size: 1.05rem; margin-bottom: 1.8rem; }

  /* chips: uma linha rolável em vez de várias linhas empilhadas */
  .quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -1.25rem; padding: 0.3rem 1.25rem 0.8rem; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 1.25rem; }
  .quick::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; min-height: 44px; }

  .app { grid-template-columns: 1fr; gap: 1.8rem; padding: 48px 0; scroll-margin-top: 56px; }
  .app::before { inset: 0 -1.25rem; }
  .app.reverse .app-info { order: 0; }
  .app-icon { width: 72px; height: 72px; border-radius: 17px; }
  .app h2 { font-size: 2rem; }
  .desc { margin-bottom: 1.5rem; max-width: none; }

  .cta { flex-direction: column; }
  .cta .btn { width: 100%; justify-content: center; min-height: 48px; }

  /* telas em carrossel com snap, ocupando quase toda a largura */
  .shots { justify-content: flex-start; overflow-x: auto; margin: 0 -1.25rem; padding: 0.5rem 1.25rem 1.5rem; scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots img, .shots img:nth-child(1), .shots img:nth-child(3), .shots img:nth-child(4) { display: block; flex: 0 0 62%; width: 62%; max-width: 240px; transform: none; scroll-snap-align: start; border-width: 4px; height: auto; }
  .shots img:hover { transform: none; }
  .reveal { transform: translateY(16px); }

  .site-footer { padding: 2rem 0 max(1.5rem, env(safe-area-inset-bottom)); margin-top: 1rem; }
  .footer-grid { flex-direction: column; gap: 1.5rem; }
  .footer-links a { padding: 0.3rem 0; }

  .page { padding: 90px 0 24px; }
  .doc { padding: 1.4rem 1.2rem; border-radius: 14px; }
  .doc h1 { font-size: 1.6rem; }
  .doc h2 { font-size: 1.15rem; }
  .doc p { overflow-wrap: anywhere; }
}

@media (hover: none) {
  .chip:hover, .btn-primary:hover { transform: none; }
}
