/* Commonplace English - Sales Page Styles */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fonts */

:root {
  --bg-start: #FAFAFA;
  --bg-end: #FDF6EC;
  --text: #1A1A1A;
  --text-light: #666666;
  --accent: #1A6B5A;
  --accent-hover: #155A4B;
  --border: #E5E5E5;
  --white: #FFFFFF;
  --max-width: 680px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #F9F6F1;
  background-image: 
    radial-gradient(ellipse at 0% 0%, #E4EDE3 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, #F3E8DF 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 80px 0;
}

/* Scroll fade-in (only on pages with .fade-sections on body) */
.fade-sections section {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-sections section.visible {
  opacity: 1;
}

.fade-sections section:first-of-type {
  opacity: 1;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}

.btn-small {
  padding: 12px 24px;
  font-size: 0.875rem;
}

/* Sections */
.hero {
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 16px;
}

.hero .subtitle {
  font-size: 1.25rem;
  max-width: 500px;
  margin: 0 auto 8px;
}

.hero .subtitle-sub {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 32px;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.problem {
  border-top: 1px solid var(--border);
}

.problem-centered {
  text-align: center;
}

.problem-centered p {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
}

.problem-centered .doodle-top {
  margin-bottom: 24px;
}

.problem p {
  font-size: 1.25rem;
  max-width: 550px;
}

.solution {
  border-top: 1px solid var(--border);
}

.solution p {
  font-size: 1.125rem;
  max-width: 550px;
}

/* How it works */
.how-it-works {
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  display: none;
}

.step-content h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 1rem;
}

/* Teacher */
.teacher {
  border-top: 1px solid var(--border);
}

.teacher-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.teacher-bio {
  max-width: 550px;
}

/* Price inline */
.price-inline {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-note {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Try before you buy */
.try-section {
  border-top: 1px solid var(--border);
  text-align: center;
}

.try-section p {
  max-width: 500px;
  margin: 0 auto;
}

/* How detail */
.how-detail {
  border-top: 1px solid var(--border);
}

.how-detail-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-detail-text {
  max-width: 550px;
}

.video-placeholder {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  color: var(--text-light);
}

/* Social Proof */
.social-proof {
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Pricing */
.pricing {
  border-top: 1px solid var(--border);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
}

.pricing-summary {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-installment {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-light);
}

/* Final CTA */
.final-cta {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 100px 0;
}

.final-cta h2 {
  margin-bottom: 32px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1A1A1A;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
  z-index: 100;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Mobile */
@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero .cta-group {
    flex-direction: column;
  }
  
  .hero .cta-group .btn {
    width: 100%;
  }
  
  .stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
}