/* ==========================================================================
   Design System & Modern CSS Variables (Vanilla CSS)
   ========================================================================== */
:root {
  --bg-main: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-accent: #F2ECE4;
  --bg-dark: #1E2321;
  
  --text-primary: #1F2421;
  --text-secondary: #5E6660;
  --text-muted: #8B948E;
  
  --primary-accent: #2E5A44; /* Calming forest sage green */
  --primary-hover: #224332;
  --accent-gold: #C28B38;
  --border-light: #EBE5DC;
  --border-focus: #2E5A44;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 36, 33, 0.06);
  --shadow-lg: 0 16px 40px rgba(31, 36, 33, 0.08);
  --shadow-mockup: 0 24px 60px rgba(46, 90, 68, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   Header & Badge
   ========================================================================== */
.top-nav {
  padding: 18px 0;
  text-align: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 40px 0 70px;
}

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

.pill-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-accent);
  background-color: #E8F0EB;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-accent);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Opt-In Form Card */
.hero-optin-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-optin-card:hover {
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: #FAFAFA;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.input-group input:focus {
  background-color: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(46, 90, 68, 0.12);
}

.cta-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-accent);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 90, 68, 0.35);
  transition: all 0.22s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 90, 68, 0.45);
}

.cta-button:active {
  transform: translateY(0);
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Hero Visual & Mockup Frame
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-mockup);
  width: 100%;
  transition: transform 0.3s ease;
}

.mockup-frame:hover {
  transform: translateY(-4px);
}

.mockup-header {
  background: #F5F4F0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-header .dot.red { background-color: #FF5F56; }
.mockup-header .dot.yellow { background-color: #FFBD2E; }
.mockup-header .dot.green { background-color: #27C93F; }

.mockup-title {
  margin-left: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.floating-badge.top-right {
  top: -12px;
  right: -12px;
}

.floating-badge.bottom-left {
  bottom: -16px;
  left: -12px;
}

.badge-icon {
  font-size: 1.4rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.floating-badge p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.icon-bubble {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Testimonial & Micro Trust
   ========================================================================== */
.proof-section {
  padding: 70px 0;
}

.proof-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #F5A623;
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.author-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--bg-accent);
  color: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-name {
  display: block;
  font-size: 0.95rem;
}

.author-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.faq-container {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   Bottom CTA Box
   ========================================================================== */
.bottom-cta-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.bottom-cta-box {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.bottom-cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.bottom-cta-box p {
  font-size: 1.05rem;
  color: #A0A8A3;
  margin-bottom: 30px;
}

.cta-button-large {
  width: auto;
  min-width: 280px;
  background: #FFFFFF;
  color: var(--bg-dark);
}

.cta-button-large:hover {
  background: #F0F0F0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Success Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 35, 33, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.modal-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .floating-badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  
  .bottom-cta-box {
    padding: 40px 20px;
  }
}
