:root {
  --bg: #E8F1F2;
  --bg-soft: #E8F1F2;
  --surface: rgba(255, 255, 255, 0.4);
  --surface-strong: #ffffff;
  --line: rgba(23, 51, 58, 0.14);
  --line-strong: rgba(23, 51, 58, 0.22);
  --ink: #143039;
  --ink-soft: #4d6570;
  --ink-muted: #5f7782;
  --title: #0d242b;
  --primary: #7a52f4;
  --primary-strong: #633ce6;
  --primary-soft: rgba(255, 255, 255, 0.4);
  --flag-surface: rgba(255, 255, 255, 0.4);
  --cyan-soft: #dff7ff;
  --green-soft: rgba(255, 255, 255, 0.4);
  --blue-strong: #2f7fb8;
  --card-bg: rgba(0, 255, 255, 0.4);
  --shadow-sm: 0 10px 24px rgba(20, 52, 61, 0.08);
  --shadow-md: 0 18px 42px rgba(20, 52, 61, 0.3);
  --shadow-lg: 0 24px 64px rgba(20, 52, 61, 0.32);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(47, 127, 184, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.9rem;
  top: -4rem;
  z-index: 120;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(224, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 51, 58, 0.08);
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 1.2rem), var(--max-width));
  margin-inline: auto;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 3.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 10px 18px rgba(62, 136, 153, 0.18));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  order: 3;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  overflow-x: auto;
  padding: 0.24rem 0.08rem 0.42rem;
  margin: -0.16rem -0.08rem -0.16rem;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.nav-cta {
  position: relative;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease,
    border-color 180ms ease, background 180ms ease;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5c47b8;
  background: rgba(0, 255, 255, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.6);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: #fff;
  background: rgba(0, 255, 255, 0.6);
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-weight: 800;
  background: rgba(0, 255, 255, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.section {
  padding: 4.35rem 0;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2.1rem;
}

.hero-copy,
.section-heading {
  max-width: 52rem;
}

.eyebrow,
.section-label,
.pill,
.gallery-tag,
.free-badge,
.soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--blue-strong);
  background: var(--flag-surface);
  border: 1px solid rgba(23, 51, 58, 0.1);
}

h1,
h2 {
  margin: 0;
  color: var(--title);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 0.98;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 6vw, 3.7rem);
  line-height: 1.03;
}

h3 {
  margin: 0 0 0.75rem;
  color: var(--title);
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-text,
.section-heading p,
.feature-card p,
.showcase-copy p,
.chat-panel__copy p,
.ecosystem-panel p,
.security-card p,
.faq-item p,
.cta-card p,
.footer-brand p,
.footer-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
  font-size: clamp(1rem, 0.24vw + 0.94rem, 1.07rem);
  font-weight: 500;
}

.hero-text {
  margin-top: 1.12rem;
  max-width: 60ch;
}

.hero-points,
.flow-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.hero-points li,
.flow-list li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.68;
  color: var(--ink);
  font-weight: 500;
}

.hero-points li::before,
.flow-list li::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(44, 182, 125, 0.9) 0%, rgba(137, 217, 255, 0.9) 100%);
  transform: translateY(-50%);
}

.hero-badges {
  margin-top: 1.42rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.74rem;
}

.hero-badges .soft-badge,
.hero-badges .free-badge {
  width: 100%;
  min-width: 0;
}

.soft-badge,
.free-badge,
.gallery-tag,
.pill {
  border: 1px solid var(--line);
}

.soft-badge {
  color: var(--ink);
  background: var(--flag-surface);
  justify-content: center;
  text-align: center;
}

.free-badge {
  color: var(--ink);
  background: var(--green-soft);
  justify-content: center;
  text-align: center;
}

.hero-note,
.cta-note {
  margin-top: 1.05rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.store-buttons {
  margin-top: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.store-buttons--center {
  align-items: center;
  justify-content: center;
}

#baixar .store-buttons--center .store-button {
  margin-inline: auto;
}

.store-button {
  width: 100%;
  min-height: 5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.08rem;
  border-radius: 22px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
  background: #111328;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-icon {
  width: 4.1rem;
  height: 4.1rem;
  padding: 0.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.store-icon-image {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.store-button span {
  display: grid;
}

.store-button small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.store-button strong {
  color: #fff;
  font-size: 1.02rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 0.95rem;
}

.visual-orb {
  display: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
}

.phone,
.floating-card,
.feature-card,
.showcase-card,
.chat-panel,
.ecosystem-panel,
.security-card,
.faq-item,
.cta-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.phone,
.feature-card,
.showcase-card,
.chat-panel,
.ecosystem-panel,
.security-card,
.faq-item,
.cta-card {
  border-radius: var(--radius-lg);
}

.phone {
  padding: 0.6rem;
}

.phone img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 9px);
  aspect-ratio: 10 / 21;
  object-fit: cover;
}

.floating-card {
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
}

.pill {
  margin-bottom: 0.62rem;
  color: var(--ink);
  background: var(--flag-surface);
}

.floating-card strong {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--ink);
  line-height: 1.45;
}

.floating-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.section-heading p {
  margin-top: 1rem;
}

.feature-grid,
.showcase-grid,
.chat-layout,
.security-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.feature-card,
.showcase-card,
.chat-panel,
.ecosystem-panel,
.security-card,
.cta-card {
  padding: 1.28rem;
}

.feature-icon {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 0.9rem;
  background: var(--flag-surface);
}

.feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--blue-strong);
}

.feature-media {
  margin: 1rem 0 0;
  padding: 0.5rem;
  border-radius: 24px;
  background: var(--flag-surface);
  border: 1px solid rgba(38, 45, 83, 0.1);
}

.feature-media img,
.showcase-media img,
.chat-panel__media img,
.mini-phone img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 10 / 21;
  object-fit: cover;
}

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

.showcase-copy {
  display: grid;
  gap: 0.74rem;
  align-content: center;
}

.gallery-tag {
  color: var(--ink);
  background: var(--primary-soft);
}

.showcase-media {
  margin: 0;
  padding: 0.5rem;
  border-radius: 24px;
  border: 1px solid rgba(38, 45, 83, 0.09);
  background: var(--flag-surface);
}

.chat-panel {
  display: grid;
  gap: 1rem;
}

.chat-panel__media {
  margin: 0;
  padding: 0.5rem;
  border-radius: 24px;
  border: 1px solid rgba(38, 45, 83, 0.09);
  background: var(--flag-surface);
}

.chat-panel__copy {
  display: grid;
  align-content: center;
}

.ecosystem-panel {
  display: grid;
  gap: 0.85rem;
}

.ecosystem-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.mini-phone {
  margin: 0;
  padding: 0.5rem;
  border-radius: 20px;
  background: var(--flag-surface);
  border: 1px solid rgba(38, 45, 83, 0.1);
}

.mini-phone figcaption {
  margin-top: 0.56rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4e5474;
}

.security-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.security-card:hover,
.security-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.faq-list {
  margin-top: 1.7rem;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.1rem 1.15rem 1.15rem;
  font-size: 1rem;
  font-weight: 800;
  color: #2a2a53;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5a48bc;
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 1.15rem 1.15rem;
}

.cta-card {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--card-bg);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  width: 16rem;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
}

.cta-card::before {
  top: -6.4rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(190, 160, 255, 0.32), rgba(190, 160, 255, 0));
}

.cta-card::after {
  bottom: -6.4rem;
  right: -4rem;
  background: radial-gradient(circle, rgba(122, 220, 255, 0.3), rgba(122, 220, 255, 0));
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 24ch;
  margin-inline: auto;
  line-height: 1.17;
}

.footer {
  padding: 0 0 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
  padding: 2rem 0 1.2rem;
  border-top: 1px solid rgba(38, 45, 83, 0.1);
}

.footer-brand,
.footer-column {
  display: grid;
  align-content: start;
  gap: 0.74rem;
}

.footer-column h3 {
  margin: 0;
  font-size: 1rem;
}

.footer-column a {
  color: #5f6483;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #2d2f57;
  transform: translateX(2px);
}

.footer-copy {
  border-top: 1px solid rgba(38, 45, 83, 0.1);
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .topbar,
  .section,
  .footer {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .section {
    padding: 5rem 0;
  }

  .store-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .store-button {
    width: auto;
    min-width: 240px;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .phone--center,
  .phone--side,
  .floating-card {
    position: absolute;
  }

  .phone--center {
    width: min(340px, 46vw);
    top: 0;
    right: 7%;
    transform: rotate(-6deg);
  }

  .phone--side {
    width: min(240px, 34vw);
    left: 3%;
    bottom: 1.2rem;
    transform: rotate(7deg);
  }

  .floating-card--top {
    left: 0;
    top: 1.4rem;
    max-width: 18rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card--wide {
    grid-column: 1 / -1;
  }

  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .topbar {
    flex-wrap: nowrap;
    gap: 1.1rem;
    padding: 0.95rem 0;
  }

  .nav-links {
    order: 0;
    width: auto;
    overflow: visible;
    flex: 1;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .hero {
    min-height: calc(100vh - 5rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.8rem;
  }

  .visual-orb {
    display: block;
  }

  .visual-orb--purple {
    width: 16rem;
    height: 16rem;
    top: 5%;
    right: 0;
    background: radial-gradient(circle, rgba(152, 119, 255, 0.5), rgba(152, 119, 255, 0));
  }

  .visual-orb--blue {
    width: 14rem;
    height: 14rem;
    left: 4%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(114, 211, 255, 0.45), rgba(114, 211, 255, 0));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-card--wide {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 1.2rem;
  }

  .showcase-card--wide .showcase-copy {
    padding-right: 0.25rem;
  }

  .chat-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.05rem;
  }

  .chat-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
