/* ===== DESIGN SYSTEM ===== */
:root {
  --white:          #FFFFFF;
  --dark-purple:    #1B163B;
  --light-purple:   #5248C9;
  --dark-pink:      #FF8BDD;
  --light-pink:     #FFCDF5;
  --dark-gray:      #272727;
  --light-gray:     #696969;
  --lighter-purple: #FBF4FF;
  --purple:         #A59DFF;

  --fs-h1:        48px;
  --fs-h2:        36px;
  --fs-h3:        28px;
  --fs-p:         16px;
  --fs-p-medium:  12px;
  --fs-p-small:   10px;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold: 800;

  --font: 'Hanken Grotesk', sans-serif;

  --header-height: 70px;
  --container-px:  24px;
  --radius-full:   999px;
  --transition:    0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-optical-sizing: auto; line-height: 1.5; color: var(--dark-gray); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: -1px; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: 1.2;  letter-spacing: -0.5px; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.3; }
.p        { font-size: var(--fs-p);        font-weight: var(--fw-regular); }
.p-medium { font-size: var(--fs-p-medium); font-weight: var(--fw-regular); }
.p-small  { font-size: var(--fs-p-small);  font-weight: var(--fw-regular); }

/* ===== LAYOUT ===== */
section[id] {
  scroll-margin-top: var(--header-height);
}

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

/* ===== HEADER ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 22, 59, 0.3);
  transition: box-shadow var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 25px;
}

.navbar-logo img {
  height: 20px;
  width: auto;
}

.btn-header {
  background: var(--light-purple);
  color: var(--white);
  font-size: var(--fs-p);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-header:hover { opacity: 0.88; transform: translateY(-1px); }

/* ===== SECTION 1 — HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #1B163B 0%, #5248C9 100%);
  padding-top: 150px;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(../assets/images/hero-image.jpg) top / cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-tag   { color: var(--light-pink); }
.hero h1    { color: var(--white); }
.hero-desc  { color: var(--white); }
.hero-sub   { color: var(--white); }

.btn-play-store {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  background: var(--dark-purple);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  transition: background var(--transition), color var(--transition);
}
.btn-play-store:hover { background: var(--light-purple); }

.btn-store-icon { width: 17px; height: auto; flex-shrink: 0; }

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.btn-store-text .p-small { font-size: var(--fs-p-small); }
.btn-store-text .p       { font-size: var(--fs-p); font-weight: var(--fw-bold); }

.hero-image img {
  width: 528px;
  height: auto;
  flex-shrink: 0;
}

/* ===== SECTION 2 — FEATURES ===== */
.features {
  background: var(--white);
  padding: 80px 0;
}

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.features-title { color: var(--dark-gray); text-align: center; }

.features-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
}
.features-content.reverse { flex-direction: row-reverse; }

.feature-text {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-text h3  { color: var(--light-purple); }
.feature-desc     { color: var(--light-gray); font-size: var(--fs-p); }

.feature-tag {
  display: inline-block;
  align-self: flex-start;
  color: var(--purple);
  background: var(--lighter-purple);
  border: 1px solid var(--purple);
  border-radius: var(--radius-full);
  padding: 5px 15px;
}

.feature-image img {
  width: 165px;
  height: auto;
  flex-shrink: 0;
}

/* ===== SECTION 3 — TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(to right, rgba(255, 205, 245, 0.3), var(--white));
  padding: 80px 0;
}

.testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.testimonials-label { color: var(--light-gray); text-align: center; }

.testimonials-slider {
  width: 100%;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  text-align: center;
}

.testimonial-quote  { color: var(--dark-gray); max-width: 780px; }
.testimonial-author { color: var(--light-gray); }

.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(82, 72, 201, 0.4);
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.dot.active { background: var(--light-purple); }

/* ===== SECTION 4 — CTA ===== */
.cta {
  background: radial-gradient(69.09% 48.62% at 50% 68.89%, #4A3CA1 0%, #1B163B 100%);
  padding: 80px 0;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta h2   { color: var(--white); }
.cta .p   { color: var(--white); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--dark-purple);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  transition: background var(--transition), color var(--transition);
}
.btn-cta:hover { background: var(--light-purple); color: var(--white); }
.btn-cta .btn-store-text .p { color: inherit; }
.btn-cta:hover .btn-store-icon-dark { content: url(../assets/images/googleplay-icon.svg); }

/* ===== SECTION 5 — CONTATO ===== */
.contact {
  background: var(--dark-purple);
  padding: 50px 0 30px 0;
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.contact-title { color: var(--white); font-weight: var(--fw-bold); }
.contact-desc  { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-purple);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo img { height: 20px; width: auto; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--white); transition: opacity var(--transition); }
.footer-links a:hover { opacity: 0.7; }

.footer-copy {
  text-align: center;
  color: var(--white);
}

/* ===== PRIVACY POLICY ===== */
.privacy-body {
  background: var(--white);
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
}

.privacy-date { color: var(--light-gray); margin-top: 8px; margin-bottom: 0; }

.privacy-content h2 {
  color: var(--light-purple);
  margin-bottom: 8px;
}

.privacy-content h3 {
  color: var(--dark-gray);
  margin-top: 48px;
  margin-bottom: 14px;
}

.fw-semibold {
  font-size: var(--fs-p-medium);
  font-weight: var(--fw-semibold);
  color: var(--light-gray);
  margin-top: 20px;
}

.privacy-content p {
  color: var(--light-gray);
  font-size: var(--fs-p);
  line-height: 1.75;
  margin-bottom: 14px;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.privacy-content li {
  color: var(--light-gray);
  font-size: var(--fs-p);
  line-height: 1.75;
  margin-bottom: 6px;
}

.privacy-note {
  color: var(--light-gray);
  font-style: italic;
  border-left: 3px solid var(--purple);
  padding: 12px 20px;
  margin: 20px 0;
}

.privacy-content a {
  color: var(--light-purple);
  text-decoration: underline;
}
.privacy-content a:hover { opacity: 0.8; }

/* ===== SECTION FAQ ===== */
.faq {
  background: var(--white);
  padding: 80px 0;
}

.faq .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.faq-title {
  color: var(--dark-gray);
  text-align: center;
}

.faq-list {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(82, 72, 201, 0.2);
}
.faq-item:first-child {
  border-top: 1px solid rgba(82, 72, 201, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: var(--fs-p);
  font-weight: var(--fw-semibold);
  color: var(--dark-gray);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--light-purple); }

.faq-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--light-purple);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer .p {
  color: var(--light-gray);
  padding-bottom: 20px;
  line-height: 1.75;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-image img { width: 380px; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }

  .hero .container { flex-direction: column-reverse; }
  .hero-content    { align-items: center; text-align: center; }
  .btn-play-store  { align-self: center; }
  .hero-image img  { width: 100%; max-width: 360px; margin: 0 auto; }

  .features-content,
  .features-content.reverse { flex-direction: column; align-items: center; text-align: center; }
  .feature-text { align-items: center; }
  .feature-tag  { align-self: center; }

  .testimonial-slide { padding: 0 16px; }

  .footer .container { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}
