/* BANKAI FIDELITY STYLING SYSTEM */

:root {
  --primary-white: #1E1737;
  --secondary-bg: #150F28;
  --dark-accent: #ffffff;
  --text-main: #ffffff;
  --text-gray: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-light: rgba(255, 255, 255, 0.15);
  --orange-accent: #E1714D;
  --purple-accent: #2E0041;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1230px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.mb-4 {
  margin-bottom: 24px;
}

/* ================= HEADER ================= */
.app-header {
  padding: 20px 0;
  background: rgba(30, 23, 55, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.header-right-action {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 24px;
}

/* Ocultar o menu desktop antigo */
.nav-menu {
  display: none;
}

.btn-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  width: 40px;
  height: 40px;
}

.btn-login-icon:hover {
  opacity: 0.7;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 120px 0 140px;
  background: var(--primary-white);
  position: relative;
}

@media (max-width: 768px) {
  .hero-section {
    background: linear-gradient(rgba(46,0,65,0.82), rgba(58,15,76,0.70)) center/cover no-repeat,
                url('public/adolescente.jpg') center/cover no-repeat;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
  }
}

.hero-title {
  font-size: 2.7rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 480px;
}

.badge-row {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .badge-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.badge-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-accent);
  color: #ffffff;
  text-decoration: none;
  padding: 0 20px;
  height: 44px;
  justify-content: center;
  border-radius: 12px;
  transition: var(--transition);
  font-size: 0.85rem;
}

@media (max-width: 400px) {
  .badge-link {
    padding: 0 14px;
    height: 40px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .badge-link svg {
    width: 14px;
    height: 14px;
  }
}

.badge-link:hover {
  transform: translateY(-2px);
  background: var(--dark-accent);
}

.badge-svg {
  color: #fff;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-text .small-t {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.75;
}

.badge-text .bold-t {
  font-size: 0.88rem;
  font-weight: 700;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .rating-row {
    justify-content: center;
  }
}

.rating-number {
  font-weight: 800;
}

.rating-stars {
  color: #f59e0b;
}

.rating-count {
  color: var(--text-muted);
}

/* Orbit lines surrounding phone */
.geometric-rings-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 600px;
}

.ring-orbit {
  position: absolute;
  border: 1.5px solid #E1714D;
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  width: 440px;
  height: 440px;
}

.ring-2 {
  width: 580px;
  height: 580px;
}

.iphone-mockup-wrapper {
  width: 270px;
  height: auto;
  aspect-ratio: 471 / 1024;
  background: transparent;
  border: none;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.mockup-screen {
  width: 100%;
  height: 100%;
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

  /* ================= SAFE & CONVENIENT TRANSACTION ================= */
/* ================= SAFE & CONVENIENT TRANSACTION ================= */
.features-dark-section {
  position: relative;
  padding: 60px 24px 160px; /* Ajuste do padding de fundo com nova altura do card */
}

.features-dark-section .container {
  background-color: #0d0a14;
  background-image: linear-gradient(rgba(30, 23, 55, 0.8), rgba(30, 23, 55, 0.8)), url('public/screenshots/hero-group.png');
  background-size: cover;
  background-position: center;
  border-radius: 36px;
  padding: 80px 40px 1px; /* 1px bottom padding to prevent margin collapse with the grid's negative margin */
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .features-dark-section .container {
    padding: 60px 24px 1px;
  }
}

.features-dark-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
  color: var(--primary-white);
}

@media (max-width: 768px) {
  .features-dark-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.features-dark-header .header-left h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}

.features-dark-header .header-right {
  max-width: 440px;
}

.features-dark-header .header-right p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.features-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: -140px; /* Puxa o card reduzido para ultrapassar a caixa preta */
}

@media (max-width: 900px) {
  .features-dark-grid {
    grid-template-columns: 1fr;
    margin-bottom: -80px;
    gap: 40px;
  }
}

.feature-dark-card {
  background: #ffffff;
  color: #1E1737;
  border-radius: 32px;
  position: relative;
  overflow: hidden; /* Keeps the phone safely inside the card */
  height: 520px; /* Increased card height by 30% */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.card-pad {
  padding: 44px 36px 0;
}

.feature-dark-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.feature-dark-card p {
  font-size: 0.95rem;
  color: rgba(30, 23, 55, 0.8); /* Roxo com leve transparência para leitura */
  line-height: 1.5;
}

.screen-peek-wrapper {
  position: absolute;
  left: 50%;
  bottom: -40px; /* Moves phone mockup down slightly */
  transform: translateX(-50%);
  width: 250px;
  height: 480px;
  background: #ffffff;
  border: 5px solid #ffffff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.screen-peek-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ================= 4 QUICK STEPS ================= */
.steps-section {
  padding: 120px 0;
  background: var(--secondary-bg);
  overflow: hidden;
}

@media (max-width: 900px) {
  .steps-section {
    padding: 80px 0;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .steps-left-orbit {
    margin: 0 auto;
  }
}

.steps-left-orbit {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.orbit-rings {
  width: 540px;
  height: 540px;
  border: 1px solid #E1714D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .orbit-rings {
    width: 320px;
    height: 320px;
  }
  .orbit-rings::before {
    width: 220px;
    height: 220px;
  }
}
.orbit-rings::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #E1714D;
  border-radius: 50%;
}
.orbit-rings::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--text-main);
  border-radius: 50%;
  top: 20%;
  left: 10%;
}

.iphone-mockup-wrapper-steps {
  width: 280px;
  height: auto;
  aspect-ratio: 471 / 1024;
  background: transparent;
  border: none;
  border-radius: 36px;
  box-shadow: -40px 50px 80px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-22deg) rotateX(15deg) rotateZ(-4deg);
}

@media (max-width: 900px) {
  .iphone-mockup-wrapper-steps {
    width: 180px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: none;
  }
}

.steps-right-list {
  max-width: 540px;
  text-align: left;
}

@media (max-width: 900px) {
  .steps-right-list {
    margin: 0 auto;
    padding: 0 8px;
  }
}

.steps-main-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 50px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .steps-main-title {
    margin-bottom: 30px;
  }
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 60px;
  width: 0;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.step-timeline-item {
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
  position: relative;
  text-align: left;
}

.step-timeline-item:last-child {
  padding-bottom: 0;
}

.step-node {
  width: 24px;
  height: 24px;
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-detail h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.step-detail p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-right-display {
    display: none;
  }
}

.faq-left h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 44px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-bottom: 1.5px solid var(--border-light);
}

.faq-question {
  padding: 24px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: var(--text-main);
}

.faq-question::after {
  content: '+';
  color: var(--text-main);
  font-weight: 800;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 0 24px 0;
  font-size: 0.9rem;
  color: var(--text-gray);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-right-display {
  display: flex;
  justify-content: center;
}

.faq-mockup {
  height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 36px;
  box-shadow: 20px 40px 60px rgba(0,0,0,0.3);
}

/* ================= DOWNLOAD APP NOW ================= */
.download-footer-cta {
  padding: 60px 0 120px;
}

.download-cta-box {
  background: var(--text-main);
  border-radius: 36px;
  padding: 80px;
  color: var(--primary-white);
  position: relative;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

@media (max-width: 768px) {
  .download-cta-box {
    padding: 44px;
    overflow: hidden;
  }
}

.download-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse; /* Inverte: Texto na direita, Celulares na esquerda */
  gap: 40px;
}

@media (max-width: 900px) {
  .download-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    position: relative;
  }
  .cta-right-mockups {
    display: none;
  }
}

.cta-left-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-left-content p {
  color: #1E1737;
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.cta-right-mockups {
  display: flex;
  position: relative;
  width: 440px;
  height: 180px; /* Altura reduzida para forçar os mockups a vazarem bastante pra cima e pra baixo */
}

.cta-right-mockups img {
  position: absolute;
  height: 480px;
  width: auto;
  object-fit: contain;
  border-radius: 36px;
  box-shadow: 20px 40px 60px rgba(0,0,0,0.5);
}

.mockup-tilt-1 {
  top: -50px;
  left: -20px;
  z-index: 2;
  transform: perspective(1000px) rotateY(20deg) rotateX(15deg) rotateZ(-12deg);
}

.mockup-tilt-2 {
  top: -180px;
  left: 130px;
  z-index: 1;
  transform: perspective(1000px) rotateY(-20deg) rotateX(15deg) rotateZ(12deg);
}

/* ================= FOOTER ================= */
.app-footer {
  padding: 80px 0 60px;
  background: var(--primary-white);
  border-top: 1px solid var(--border-light);
}

.footer-grid-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-grid-columns {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 900px) {
  .footer-grid-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
  }
  .footer-left {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
  .footer-links-column {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
  }
  .footer-left {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
  .footer-links-column {
    align-items: center;
    text-align: center;
  }
  .footer-links-column h4 {
    margin-bottom: 12px;
  }
  .footer-links-column a,
  .footer-links-column p {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }
}

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

@media (max-width: 900px) {
  .footer-left {
    align-items: center;
    text-align: center;
  }
}

.footer-left .footer-note {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.6;
}

.copyright-t {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

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

.footer-links-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links-column a, .footer-links-column p {
  display: block;
  font-size: 0.88rem;
  color: var(--text-gray);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links-column a:hover {
  color: var(--orange-accent);
  padding-left: 2px;
}
