:root {
  --purple: #7c4dff;
  --purple-light: #9c6fff;
  --green: #70d8a5;
  --green-dark: #3ec4a0;
  --text-dark: #4a4a4a;
  --text-muted: #666666;
  --text-faint: #9e9e9e;
  --bg-a: #e8e0f5;
  --bg-b: #d4ede0;
  --bg-c: #f2fcf9;
  --radius-lg: 1.5rem;
  --radius-xl: 2.5rem;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.5;
}

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

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

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(124, 77, 255, 0.5);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}

.btn-outline:hover {
  opacity: 0.8;
}

.btn-lg {
  height: 3.25rem;
  padding: 0 2rem;
  font-size: 1rem;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.9rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 50%, var(--bg-c) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -6rem;
  right: -6rem;
  background: radial-gradient(circle, var(--green), transparent);
  opacity: 0.3;
}

.hero::after {
  bottom: -6rem;
  left: -6rem;
  background: radial-gradient(circle, var(--purple), transparent);
  opacity: 0.2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  padding: 4rem 1.5rem 5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124, 77, 255, 0.1);
  color: var(--purple);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.hero-content h1 {
  margin: 1.25rem 0 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.hero-content p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--text-faint);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
  margin: 2rem auto 0;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: relative;
  width: 11rem;
  height: 11rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--purple) 0%, var(--green) 100%);
  box-shadow: 0 25px 50px -12px rgba(124, 77, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emoji {
  font-size: 5rem;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 6rem 1.5rem;
  }

  .hero-content {
    max-width: 32rem;
  }

  .hero-content p {
    margin: 0;
  }

  .hero-actions {
    flex-direction: row;
    margin: 2.5rem 0 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

/* Features */

.features {
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

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

/* CTA */

.cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.cta h2 {
  font-size: 1.85rem;
  margin: 0 0 0.75rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
}

.cta .btn-outline {
  border-color: #fff;
  color: #fff;
}

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

/* Footer */

.footer {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}

/* Legal pages (termos / privacidade) */

.legal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 50%, var(--bg-c) 100%);
  padding: 3rem 1.5rem 5rem;
}

.legal::before,
.legal::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  pointer-events: none;
}

.legal::before {
  top: -6rem;
  right: -6rem;
  background: radial-gradient(circle, var(--green), transparent);
  opacity: 0.3;
}

.legal::after {
  bottom: -6rem;
  left: -6rem;
  background: radial-gradient(circle, var(--purple), transparent);
  opacity: 0.2;
}

.legal-card {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.25);
}

.legal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 2rem;
}

.legal-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--green), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 25px -8px rgba(124, 77, 255, 0.4);
}

.legal-header h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.legal-header p {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 0;
}

.legal-body section {
  margin-bottom: 1.5rem;
}

.legal-body h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.legal-body p,
.legal-body li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  list-style: none;
}

.legal-body a {
  color: var(--green-dark);
  font-weight: 600;
}

.legal-back {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
