/* 
   ===============================================
   Design System & Tokens
   ===============================================
*/

:root {
  /* Colors */
  --bg-primary: #2d1d19; /* Lighter/darker variant for base depth */
  --bg-secondary: #392622; /* Marrom escuro */
  --bg-tertiary: #4f3630; /* Lighter brown for pills and icons */
  --border-color: rgba(220, 214, 208, 0.12); /* Based on Off-white */
  --border-hover: rgba(241, 231, 174, 0.25); /* Based on Amarelo manteiga */
  
  --text-primary: #dcd6d0; /* Off-white */
  --text-secondary: #BAB8B4; /* Cinza */
  --text-muted: #9a7f6f; /* Bege */
  
  --accent-color: #f1e7ae; /* Amarelo manteiga */
  --accent-hover: #f9eed7; /* Lighter Amarelo manteiga */
  --accent-text: #392622; /* Marrom escuro for high contrast */
  
  --success-color: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.1);
  --danger-color: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --highlight-gradient: linear-gradient(135deg, #f1e7ae 0%, #dcd6d0 100%);
  
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Humana', 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --container-sm: 800px;
  --spacing-base: 1rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 
   ===============================================
   Reset & Base Styles
   ===============================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

/* 
   ===============================================
   Typography
   ===============================================
*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-secondary); }
.highlight {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bold { font-weight: 700; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.w-full { width: 100%; }

/* 
   ===============================================
   Layout Utilities
   ===============================================
*/
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: var(--container-sm); }

.section { padding: 6rem 0; }
.display-flex { display: flex; }
.flex-row { display: flex; flex-direction: row; flex-wrap: wrap; }
.center { justify-content: center; align-items: center; }
.gap-4 { gap: 2rem; }

.bg-subtle { background-color: var(--bg-secondary); }

/* 
   ===============================================
   Components
   ===============================================
*/

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.39);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--accent-text);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.23);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255,255,255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255, 0); }
}

/* Badges & Pills */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill {
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Quote Box */
.quote-box {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(20,20,22,0) 100%);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  font-family: serif;
}

/* 
   ===============================================
   Hero Section & Navigation
   ===============================================
*/
.main-nav {
  position: absolute; /* or fixed if stickiness is desired */
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
}

.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 48px; /* Adjust based on logo proportions */
  width: auto;
  display: block;
}

.nav-cta {
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.footer-logo {
  height: 60px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-fast);
}

.footer-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.bg-graphic-element {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: rotate(15deg);
}

.offer-graphic {
  top: auto;
  bottom: -20%;
  left: -20%;
  right: auto;
  transform: rotate(-15deg);
  opacity: 0.03;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* 
   ===============================================
   Sections
   ===============================================
*/
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.subsection-title {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Problem Section */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.dark-card {
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dark-card:hover {
  border-color: rgba(255,255,255,0.3);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--bg-tertiary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.alert-icon {
  background-color: var(--danger-bg);
  color: var(--danger-color);
  border-color: rgba(239, 68, 68, 0.2);
}

.font-large {
  font-size: 1.25rem;
}

/* Belief Breaker */
.belief-breaker {
  background: url('data:image/svg+xml;utf8,<svg opacity="0.03" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%23FFFFFF"/></svg>') repeat;
}

.cross-out-list {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 3rem;
}

.cross-out-list p { margin-bottom: 0.5rem; }
.cross { 
  color: var(--danger-color);
  opacity: 0.8;
  position: relative;
  display: inline-block;
}
.cross::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 2px;
  background-color: var(--danger-color);
  transform: rotate(-2deg);
}

.danger {
  color: #ffb0b0;
}

/* Solution Section */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--success-bg);
  color: var(--success-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.features-list ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.features-list ul li svg {
  width: 24px;
  height: 24px;
  color: var(--success-color);
}

/* Mockup Simulator Image */
.mockup-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  object-fit: contain;
}



/* How It Works (Timeline) */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.timeline-day {
  width: 4rem;
  height: 4rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  z-index: 2;
}

.timeline-content {
  margin-left: 2rem;
  padding-top: 0.6rem;
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-muted);
}

.success-step .timeline-day {
  background: #ffffff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.success-step h4 { color: #fff; }

/* Target Audience */
.responsive-flex {
  align-items: stretch;
}
.box {
  flex: 1;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid;
}

.box-green {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.05) 0%, transparent 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.box-red {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.box-header h3 { font-size: 1.5rem; }

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.green { background: var(--success-color); color: #000; }
.red { background: var(--danger-color); color: #fff; }

.check-list li, .cross-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.cross-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--danger-color);
  font-weight: bold;
}

/* Offer */
.offer {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.3);
}

.price {
  margin: 2rem 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
}

.old-price {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.current-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  justify-content: flex-start;
}
.benefits li svg { color: #fff; }

/* FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-header {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
}

.accordion-item.active {
  border-color: rgba(255,255,255,0.2);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 300px; /* arbitrary max height for smooth transition */
}


/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

/* 
   ===============================================
   Animations
   ===============================================
*/
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards var(--transition-smooth);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 
   ===============================================
   Responsive Adjustments
   ===============================================
*/
@media (max-width: 992px) {
  .solution-grid { grid-template-columns: 1fr; gap: 3rem; }
  .mockup-placeholder {  margin: 0 auto; width: 100%; max-width: 500px; }
  .responsive-flex { flex-direction: column; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding-top: 5rem; min-height: 80vh; }
  
  .timeline::before { left: 1rem; }
  .timeline-content { margin-left: 1rem; }
  .timeline-day { width: 3rem; height: 3rem; font-size: 0.8rem; }
  
  .pricing-card { padding: 2rem 1.5rem; }
  .current-price { font-size: 2.5rem; }
  
  .cross-out-list { font-size: 1.25rem; }
  .quote-box { padding: 2rem; font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-title { font-size: 2.5rem; }
}
