/* NativeFlow AI — Premium Landing */
:root {
  --bg: #04060f;
  --bg-elevated: #0a0f24;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #f5f7ff;
  --muted: #94a0c4;
  --cyan: #00d4ff;
  --purple: #6c63ff;
  --violet: #a855f7;
  --gold: #ffd166;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #6c63ff 50%, #a855f7 100%);
  --gradient-soft: linear-gradient(180deg, rgba(0, 212, 255, 0.12) 0%, transparent 60%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 80px rgba(108, 99, 255, 0.35);
  --radius: 20px;
  --nav-h: 76px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; z-index: 1; }

/* Ambient */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 212, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(108, 99, 255, 0.18), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(168, 85, 247, 0.12), transparent);
}
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gradient); border-radius: 2px; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; }
.title-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; margin: 0 0 1.25rem; }
.title-lg { font-size: clamp(1.85rem, 4vw, 2.85rem); font-weight: 800; margin: 0 0 1rem; }
.title-md { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; line-height: 1.75; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 200;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  background: rgba(4, 6, 15, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 1.05rem; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--gradient);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 900;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.5);
}
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.nav-menu a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 0.65rem; align-items: center; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: var(--glass);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.55rem; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.45);
}
.btn-primary:hover { box-shadow: 0 12px 48px rgba(0, 212, 255, 0.35); }
.btn-outline {
  border: 1px solid var(--glass-border); background: var(--glass);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: rgba(0, 212, 255, 0.4); background: rgba(0, 212, 255, 0.06); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Cards */
.card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: var(--glow);
}
.card-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Hero */
.hero {
  min-height: 100vh; padding-top: calc(var(--nav-h) + 2rem);
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.07);
  font-size: 0.82rem; color: var(--cyan); margin-bottom: 1.5rem;
}
.hero-flags { display: flex; gap: 0.35rem; }
.hero-flags img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 2rem;
}
.metric strong {
  display: block; font-size: 1.65rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric span { font-size: 0.82rem; color: var(--muted); }

/* Phone mockup */
.mockup-stage { position: relative; display: flex; justify-content: center; }
.mockup-glow {
  position: absolute; inset: 5% 0; background: var(--gradient);
  filter: blur(70px); opacity: 0.35; border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.3;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.06)} }
.phone {
  position: relative; width: min(290px, 76vw); aspect-ratio: 9/19.5;
  padding: 10px; border-radius: 38px;
  background: linear-gradient(155deg, #3a4060, #0c1020);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: perspective(1000px) rotateY(-10deg) rotateX(3deg);
  animation: float-phone 7s ease-in-out infinite;
}
@keyframes float-phone {
  0%,100% { transform: perspective(1000px) rotateY(-10deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-7deg) rotateX(1deg) translateY(-14px); }
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 22px; background: #0c1020; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #0d1117; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.4s; }
.float-badge {
  position: absolute; padding: 0.7rem 1rem; border-radius: 14px;
  background: rgba(10, 15, 36, 0.92); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); font-size: 0.78rem; box-shadow: var(--shadow);
  animation: bob 4.5s ease-in-out infinite;
}
.float-badge strong { display: block; color: var(--cyan); font-size: 0.95rem; }
.float-badge.b1 { bottom: 16%; left: -6%; animation-delay: -1s; }
.float-badge.b2 { top: 20%; right: -8%; animation-delay: -2.5s; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2rem 0; border-block: 1px solid var(--glass-border);
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .num {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-2.flip > *:first-child { order: 2; }

.feature-list li {
  display: flex; gap: 0.75rem; margin-bottom: 0.85rem;
  font-size: 0.95rem; color: #d2daf0;
}
.feature-list li::before { content: '✦'; color: var(--cyan); flex-shrink: 0; }

/* World section — Inglês no mundo */
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.world-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.world-card__media-wrap {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1028 0%, #121830 100%);
  border-bottom: 1px solid var(--glass-border);
}
.world-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.world-card .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.world-card__flag {
  width: 32px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.65rem;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.world-card .body p {
  margin-top: auto;
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { position: relative; }
.testimonial .stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial blockquote { margin: 0 0 1.25rem; font-size: 0.95rem; color: #dce2f5; line-height: 1.65; }
.testimonial .author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient); display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
}
.author .name { font-weight: 600; font-size: 0.9rem; }
.author .role { font-size: 0.78rem; color: var(--muted); }

/* Dashboard vitrine */
.dash-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dash-stat .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.dash-stat .val { font-size: 1.85rem; font-weight: 800; margin: 0.25rem 0; }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--gradient); border-radius: 999px; }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.badge {
  padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.75rem;
  border: 1px solid var(--glass-border); background: rgba(255,255,255,0.03);
}
.badge.on { border-color: rgba(0,212,255,0.35); background: rgba(0,212,255,0.08); color: var(--cyan); }
.disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 860px; margin: 0 auto; }
.price-card { text-align: center; position: relative; }
.price-card.featured { border-color: rgba(108,99,255,0.5); box-shadow: var(--glow); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  background: var(--gradient); color: #fff;
}
.price { font-size: 2.85rem; font-weight: 900; margin: 0.75rem 0; letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-list { text-align: left; margin: 1.5rem 0; }
.price-list li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem; color: #d0d8ef;
}
.price-list li::before { content: '✓ '; color: var(--cyan); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.3rem 0; text-align: left; font-weight: 600; font-size: 1rem;
}
.faq-q .icon { color: var(--cyan); font-size: 1.4rem; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s; }
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 1.25rem; }
.faq-a p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.7; }

/* CTA band */
.cta-band {
  text-align: center; padding: 3.5rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(108, 99, 255, 0.35);
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(0,212,255,0.06));
}

/* Footer */
.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--glass-border); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer p { color: var(--muted); font-size: 0.9rem; max-width: 300px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 1rem; }
.footer li { margin-bottom: 0.5rem; }
.footer a { font-size: 0.9rem; color: #c5cce4; transition: color 0.2s; }
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--glass-border);
  font-size: 0.82rem; color: var(--muted);
}

/* Animations */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .grid-2, .dash-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2.flip > *:first-child { order: 0; }
  .hero { text-align: center; min-height: auto; padding-bottom: 3rem; }
  .hero .lead, .section .lead { margin-inline: auto; }
  .hero-cta, .hero-metrics { justify-content: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .world-grid, .testimonial-grid, .pricing { grid-template-columns: 1fr; }
  .pricing { max-width: 420px; }
  .float-badge { display: none; }
  .phone { transform: none; animation: float-phone-mobile 6s ease-in-out infinite; }
  @keyframes float-phone-mobile {
    0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}
  }
}
@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-outline { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.is-open .nav-menu {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0; padding: 1.5rem;
    background: rgba(4,6,15,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
  }
  .nav.is-open .nav-actions {
    position: absolute; top: calc(var(--nav-h) + 220px); left: 1.5rem; right: 1.5rem;
  }
  .nav.is-open .nav-actions .btn-outline { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
