/* Estilos base e tema */
:root {
  --background: hsl(210 100% 98%);
  --foreground: hsl(220 30% 18%);
  --card: hsl(0 0% 100%);
  --muted: hsl(210 45% 94%);
  --muted-foreground: hsl(220 15% 45%);
  --primary: hsl(3 90% 65%);
  --primary-foreground: hsl(0 0% 100%);
  --border: hsl(210 30% 88%);
  --coral: hsl(3 90% 65%);
  --teal: hsl(170 65% 50%);
  --sunny: hsl(45 100% 55%);
  --sky: hsl(200 85% 55%);
  --grape: hsl(270 60% 60%);
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 98%) 0%, hsl(200 90% 95%) 50%, hsl(260 90% 96%) 100%);
  --gradient-coral: linear-gradient(135deg, hsl(3 90% 65%) 0%, hsl(350 85% 60%) 100%);
  --gradient-teal: linear-gradient(135deg, hsl(170 65% 50%) 0%, hsl(180 60% 45%) 100%);
  --gradient-sunny: linear-gradient(135deg, hsl(45 100% 55%) 0%, hsl(35 100% 50%) 100%);
  --gradient-sky: linear-gradient(135deg, hsl(200 85% 55%) 0%, hsl(210 80% 50%) 100%);
  --gradient-grape: linear-gradient(135deg, hsl(270 60% 60%) 0%, hsl(280 55% 55%) 100%);
  --gradient-rainbow: linear-gradient(90deg, hsl(3 90% 65%), hsl(45 100% 55%), hsl(120 60% 50%), hsl(200 85% 55%), hsl(270 60% 60%));
  --shadow-playful: 0 8px 30px -10px hsl(3 90% 65% / 0.3);
  --shadow-card: 0 4px 20px -5px hsl(340 30% 20% / 0.1);
  --shadow-button: 0 6px 20px -5px hsl(3 90% 65% / 0.4);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(38, 18, 29, 0.8);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--muted);
  border-radius: 999px;
  padding: 0.15rem;
}

.lang-btn {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
}

.lang-active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
}

.lang-inactive {
  color: var(--muted-foreground);
}

.menu-toggle {
  display: none;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: none;
  background-color: var(--muted);
  cursor: pointer;
}

.menu-toggle-icon {
  width: 20px;
  height: 2px;
  background-color: var(--foreground);
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--foreground);
  left: 0;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.menu-open {
  display: flex;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-circle {
  position: absolute;
  border-radius: 999px;
  opacity: 0.7;
  animation: float 4s ease-in-out infinite;
}

.floating-circle.coral {
  width: 64px;
  height: 64px;
  background-color: hsl(3 90% 65% / 0.2);
  top: 80px;
  left: 40px;
  animation-delay: 0s;
}

.floating-circle.teal {
  width: 80px;
  height: 80px;
  background-color: hsl(170 65% 50% / 0.2);
  top: 150px;
  right: 80px;
  animation-delay: 1s;
}

.floating-circle.sunny {
  width: 48px;
  height: 48px;
  background-color: hsl(45 100% 55% / 0.3);
  bottom: 140px;
  left: 60px;
  animation-delay: 2s;
}

.floating-circle.sky {
  width: 96px;
  height: 96px;
  background-color: hsl(200 85% 55% / 0.2);
  bottom: 60px;
  right: 30px;
  animation-delay: 0.5s;
}

.floating-circle.grape {
  width: 32px;
  height: 32px;
  background-color: hsl(270 60% 60% / 0.2);
  top: 220px;
  left: 25%;
  animation-delay: 1.5s;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
}

.hero-text {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-badge-icon {
  font-size: 0.9rem;
  color: var(--sunny);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  margin-bottom: 1.8rem;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

.hero-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: hsl(45 100% 55%);
  font-size: 1.1rem;
}

.hero-rating-score {
  font-weight: 700;
}

.hero-rating-text {
  border-left: 1px solid var(--border);
  padding-left: 0.8rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-rainbow);
  filter: blur(40px);
  border-radius: 2rem;
  opacity: 0.3;
}

.hero-logo {
  position: relative;
  width: min(280px, 80vw);
  border-radius: 2rem;
  animation: float 4s ease-in-out infinite;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  display: block;
}

.hero-wave-path {
  fill: var(--background);
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  margin: 0 auto 2.5rem;
}

.features-section {
  background-color: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-playful);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-icon-emoji {
  font-size: 1.8rem;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.premium-section {
  position: relative;
  overflow: hidden;
}

.premium-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 0.2rem;
  max-width: 720px;
  margin: 0 auto;
  background-image: var(--gradient-rainbow);
}

.premium-inner {
  background-color: var(--card);
  border-radius: calc(var(--radius-lg) - 4px);
  padding: 2.5rem 2rem;
}

.premium-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.premium-icon {
  font-size: 2.2rem;
}

.premium-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.premium-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: hsl(350 50% 95% / 0.6);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
}

.premium-check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--gradient-teal);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.premium-cta {
  display: flex;
  justify-content: center;
}

.screenshots-section {
  background-color: var(--background);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* gap: 1.5rem; */
}

.screenshot-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  /* padding: 1.25rem 1rem; */
  box-shadow: var(--shadow-card);
  text-align: center;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: none;
  margin: 0;
}

.phone-frame {
  position: relative;
  margin: 0 auto 0.9rem;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 2rem;
  padding: 0.2rem;
  background-color: #020617;
  border: 3px solid #020617;
  box-shadow: var(--shadow-playful);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 0.5rem;
  border-radius: 999px;
  background-color: #020617;
}

.screenshot-caption {
  /* font-size: 0.9rem; */
  color: var(--muted-foreground);
  line-height: 1.5;
}

figcaption.screenshot-caption {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.help-section {
  background-color: var(--card);
}

.help-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.98rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.help-item {
  background-color: var(--background);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
}

.help-question {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.help-answer {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-section {
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-subtitle {
  color: var(--muted-foreground);
  font-size: 0.98rem;
  max-width: 28rem;
  margin-top: 0.75rem;
  margin-bottom: 1.8rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 600;
}

.contact-form {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background-color: white;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsl(3 90% 65% / 0.25);
}

.contact-submit {
  margin-top: 0.4rem;
  width: 100%;
}

.contact-success {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--teal);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-success-visible {
  opacity: 1;
}

.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-brand {
  max-width: 22rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.footer-text {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer-small {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.footer-heart {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 1.2rem;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background-image: var(--gradient-coral);
  color: var(--primary-foreground);
}

.btn-icon {
  font-size: 1.1rem;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.text-gradient-rainbow {
  background-image: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-hero {
  background-image: var(--gradient-hero);
}

.gradient-coral {
  background-image: var(--gradient-coral);
}

.gradient-teal {
  background-image: var(--gradient-teal);
}

.gradient-sunny {
  background-image: var(--gradient-sunny);
}

.gradient-sky {
  background-image: var(--gradient-sky);
}

.gradient-grape {
  background-image: var(--gradient-grape);
}

.gradient-rainbow {
  background-image: var(--gradient-rainbow);
}

.shadow-playful {
  box-shadow: var(--shadow-playful);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-button {
  box-shadow: var(--shadow-button);
}

.main {
  padding-top: 90px;
  padding-bottom: 60px;
}

.page-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.badge-icon span {
  font-size: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.back-link-arrow {
  font-size: 0.9rem;
}

.card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.8rem;
}

.card-section {
  margin-bottom: 1.8rem;
}

.card-section-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.card-section-text {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.accordion {
  border-radius: var(--radius-lg);
}

.accordion-item {
  background-color: hsl(350 50% 95% / 0.6);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
}

.accordion-question {
  font-weight: 600;
  cursor: pointer;
}

.accordion-answer {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin-top: 0.4rem;
}

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
  text-align: center;
}

.notfound-card {
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
}

.notfound-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.notfound-text {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.notfound-link {
  color: var(--primary);
  text-decoration: underline;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-rating {
    justify-content: center;
  }

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

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

  .premium-features {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: auto;
    padding: 0.75rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 110px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 1.4rem 1.2rem;
  }
}
