/* Base styles */
:root {
  --deep-teal: #1A3C40;
  --warm-cream: #FAF3E0;
  --gold: #E8B84B;
  --coral: #E07A5F;
  --dark-text: #1A1A1A;
  --white: #FFFFFF;
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; color: var(--deep-teal); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; }

/* Announcement Bar */
.announcement-bar {
  background-color: var(--gold);
  color: var(--dark-text);
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.4s ease-in-out, margin-top 0.4s ease-in-out, opacity 0.4s;
  z-index: 100;
}
.announcement-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.announcement-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-text { font-weight: 500; }
.countdown { display: flex; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 700; }
.time-block { background: rgba(255,255,255,0.3); padding: 4px 8px; border-radius: 4px; }
.close-btn { position: absolute; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark-text); line-height: 1; padding: 0 8px; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 32px; border-radius: 4px; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all 0.3s ease; text-align: center; }
.btn-primary { background-color: var(--deep-teal); color: var(--white); border: 2px solid var(--deep-teal); }
.btn-primary:hover { background-color: var(--deep-teal); border-color: var(--gold); }
.btn-secondary { background-color: transparent; color: var(--deep-teal); border: 2px solid var(--deep-teal); }
.btn-secondary:hover { background-color: rgba(26,60,64,0.05); }
.btn-gold { background-color: var(--gold); color: var(--dark-text); border: 2px solid var(--gold); }
.btn-gold:hover { background-color: #dcb045; border-color: var(--white); }
.btn-outline-white { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background-color: rgba(255,255,255,0.1); }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.pulse-btn { animation: pulse 2s infinite ease-in-out; }

/* Sections */
.section { padding: 96px 0; }
.section-title { font-size: 42px; margin-bottom: 24px; text-align: center; }
.section-subtitle { font-size: 20px; text-align: center; color: #555; margin-bottom: 48px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--warm-cream) 0%, #eef6f6 100%); padding: 120px 0 80px; text-align: center; }
.pre-headline { color: var(--gold); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 24px; }
.main-headline { font-size: 62px; margin-bottom: 32px; max-width: 900px; margin-left: auto; margin-right: auto; }
.sub-headline { font-size: 20px; color: #555; max-width: 700px; margin: 0 auto 48px auto; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.trust-signals { color: #666; font-size: 14px; }

/* Problem Grid */
.pain-points-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.pain-point { background: #f9f9f9; padding: 24px; border-radius: 8px; display: flex; gap: 16px; align-items: flex-start; }
.pain-point .emoji { font-size: 24px; line-height: 1.2; }
.pain-point p { font-size: 18px; margin: 0; }
.closing-line { text-align: center; font-size: 20px; font-style: italic; color: var(--deep-teal); }

/* Solution */
.solution { background-color: var(--deep-teal); color: var(--white); }
.solution .section-title { color: var(--gold); }
.solution-content p { font-size: 18px; margin-bottom: 24px; }
.solution-content p:last-child { margin-bottom: 0; }

/* Included Features */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.feature-block { background: var(--warm-cream); padding: 40px; border-radius: 12px; }
.feature-icon { font-size: 48px; margin-bottom: 24px; }
.feature-title { font-size: 24px; margin-bottom: 16px; }

/* Framework */
.timeline { display: flex; flex-direction: column; gap: 40px; position: relative; }
@media (min-width: 768px) {
  .timeline { flex-direction: row; gap: 24px; }
  .timeline-step { flex: 1; position: relative; border-top: 2px solid #eee; padding-top: 24px; }
  .timeline-step::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
}
.step-number { font-size: 64px; font-family: var(--font-display); color: var(--gold); line-height: 1; margin-bottom: 16px; opacity: 0.8; }
.step-title { font-size: 20px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 1px; color: var(--deep-teal); }

/* Alumni */
.alumni { background-color: #fcfcfc; }
.large-stat { font-size: 32px; font-family: var(--font-display); color: var(--gold); text-align: center; max-width: 800px; margin: 0 auto 64px auto; line-height: 1.4; }
.testimonials { display: flex; flex-direction: column; gap: 32px; }
.testimonial-card { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; z-index: 1; border-bottom: 3px solid var(--gold); overflow: hidden; }
.testimonial-card::before { content: '"'; position: absolute; top: -40px; left: 20px; font-family: var(--font-display); font-size: 200px; color: var(--gold); opacity: 0.08; line-height: 1; z-index: -1; }
.stars { color: var(--gold); font-size: 20px; margin-bottom: 24px; letter-spacing: 2px; }
.pull-quote { font-size: 20px; font-style: italic; margin-bottom: 32px; color: #333; line-height: 1.8; }
.author { display: flex; align-items: center; gap: 16px; }
.author-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-info strong { display: block; font-size: 18px; color: var(--deep-teal); }
.author-info span { font-size: 14px; color: #666; }

/* About */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(26,60,64,0.1); }
.left-align { text-align: left; }
.about-content p { font-size: 18px; margin-bottom: 24px; }
.credentials { margin-top: 32px; padding-top: 32px; border-top: 1px solid #eee; }

/* Pricing */
.pricing { background: linear-gradient(180deg, #fff 0%, var(--warm-cream) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 48px; align-items: stretch; max-width: 900px; margin-left: auto; margin-right: auto; }
.pricing-card { padding: 48px; border-radius: 16px; display: flex; flex-direction: column; position: relative; }
.pricing-card.featured { background-color: var(--gold); color: var(--dark-text); transform: scale(1.05); box-shadow: 0 20px 50px rgba(232,184,75,0.3); z-index: 2; }
.pricing-card.standard { background-color: var(--warm-cream); border: 2px solid var(--deep-teal); }
.badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--deep-teal); color: var(--white); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.plan-name { font-size: 24px; margin-bottom: 16px; }
.plan-price { font-size: 56px; font-family: var(--font-display); line-height: 1; margin-bottom: 8px; }
.plan-total { font-size: 16px; color: #555; margin-bottom: 32px; }
.pricing-card.featured .plan-total { color: rgba(26,26,26,0.8); }
.plan-features { margin-bottom: 40px; flex-grow: 1; }
.plan-features li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px; }
.plan-features li::before { content: '✓'; color: var(--deep-teal); font-weight: bold; }
.pricing-card.featured .plan-features li { border-bottom-color: rgba(26,26,26,0.1); }
.pricing-card .btn { width: 100%; }
.guarantee { max-width: 600px; margin: 0 auto; text-align: center; font-size: 16px; color: #555; background: rgba(255,255,255,0.5); padding: 24px; border-radius: 8px; border: 1px dashed #ccc; }

/* FAQ */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion-item { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.accordion-header { width: 100%; text-align: left; padding: 24px; background: #fff; border: none; font-size: 20px; font-family: var(--font-body); font-weight: 600; color: var(--deep-teal); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.accordion-header:hover { background: #fafafa; }
.accordion-header .icon { font-size: 24px; font-weight: 300; transition: transform 0.3s; }
.accordion-header[aria-expanded="true"] .icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fff; }
.accordion-content p { padding: 0 24px 24px 24px; margin: 0; color: #555; }

/* Final CTA */
.final-cta { background-color: var(--deep-teal); color: var(--white); text-align: center; padding: 120px 0; }
.final-cta .headline { font-size: 52px; color: var(--white); margin-bottom: 24px; }
.final-cta .sub-text { font-size: 20px; max-width: 700px; margin: 0 auto 48px auto; opacity: 0.9; }
.final-countdown { justify-content: center; margin-bottom: 48px; font-size: 24px; }
.final-countdown .time-block { background: rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 8px; }
.final-cta .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer & Newsletter */
.footer { background: var(--warm-cream); padding: 64px 0 32px; text-align: center; }
.footer-newsletter { max-width: 400px; margin: 0 auto 48px auto; text-align: left; background: var(--white); padding: 24px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.footer-newsletter h4 { font-family: var(--font-body); font-size: 18px; margin-bottom: 16px; color: var(--deep-teal); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); font-size: 16px; }
.newsletter-form input:focus { border-color: var(--deep-teal); outline: none; }
.error-msg { color: var(--coral); font-size: 14px; margin-top: 8px; text-align: left; display: none; }
.footer .logo { font-family: var(--font-display); font-size: 24px; color: var(--deep-teal); margin-bottom: 16px; font-weight: 600; }
.footer p { color: #666; margin-bottom: 16px; }
.footer-links { margin-bottom: 32px; color: #555; }
.footer-links a:hover { color: var(--deep-teal); text-decoration: underline; }
.credit { font-size: 14px; opacity: 0.7; }

/* Custom Elements */
.urgency-badge { display: inline-flex; align-items: center; justify-content: center; background: rgba(224,122,95,0.1); color: var(--coral); padding: 8px 16px; border-radius: 20px; font-weight: 700; margin-bottom: 32px; font-size: 16px; }
.secure-checkout-text { font-size: 12px; color: #777; margin-top: 12px; text-align: center; font-weight: 500; }
.pricing-card .secure-checkout-text { margin-top: 16px; }
.verified-badge { display: inline-block; font-size: 11px !important; background: #eee; color: #333 !important; padding: 2px 8px; border-radius: 10px; margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Mobile Sticky CTA */
.mobile-sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--gold); padding: 16px 24px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 99; display: none; }
.mobile-sticky-cta.visible { transform: translateY(0); }
.sticky-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; gap: 16px; }
.sticky-text { font-size: 15px; font-weight: 600; color: var(--dark-text); line-height: 1.3; }
.btn-small { padding: 12px 24px; font-size: 16px; background-color: var(--deep-teal); color: var(--white); border-color: var(--deep-teal); white-space: nowrap; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
  .main-headline { font-size: 48px; }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .main-headline { font-size: 36px; }
  .section-title { font-size: 32px; }
  .pain-points-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .pricing-card.featured { transform: scale(1); }
  .hero-ctas { flex-direction: column; }
  .mobile-sticky-cta { display: block; }
  .announcement-content { flex-direction: column; gap: 8px; }
  .countdown { font-size: 14px; }
  .newsletter-form { flex-direction: column; }
}
