/* ============================================================
   ClientLoop — styles.css
   ============================================================ */

/* 1. Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* 2. CSS Custom Properties */
:root {
  --color-primary:      #1A3C2E;
  --color-primary-dark: #0F2219;
  --color-accent:       #D4A017;
  --color-accent-hover: #B8860B;
  --color-bg:           #F9F7F2;
  --color-surface:      #FFFFFF;
  --color-text:         #1C1C1C;
  --color-text-muted:   #6B7280;
  --color-border:       #E5E0D5;
  --color-success:      #22C55E;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* 4. Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  padding: 0.875rem 2rem;
  font-size: var(--text-lg);
}
.btn-accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-dark {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
  padding: 0.875rem 2rem;
  font-size: var(--text-lg);
}
.btn-dark:hover { background: #000; border-color: #000; }

.btn-dark-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  padding: 0.875rem 2rem;
  font-size: var(--text-lg);
}
.btn-dark-outline:hover { background: var(--color-primary-dark); color: #fff; }

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-label-light { color: rgba(212,160,23,0.9); }

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.text-white { color: #fff; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 5. NAV */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

#nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.nav-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}

.nav-logo-star {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-menu a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
}

.nav-cta-desktop { margin-left: 1rem; }
.nav-cta-mobile { display: none; }
.nav-login-item { margin-left: 0.5rem; opacity: 0.7; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. HERO */
#hero {
  background: var(--color-primary);
  padding: 5rem 0 5rem;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.badge {
  display: inline-block;
  background: rgba(212,160,23,0.2);
  color: var(--color-accent);
  border: 1px solid rgba(212,160,23,0.4);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

#hero h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-link {
  color: rgba(212,160,23,0.85);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero-link:hover { color: var(--color-accent); }

.hero-micro {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.70);
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.review-card-2 {
  margin-top: -1rem;
  margin-left: 1.5rem;
  opacity: 0.85;
  z-index: 1;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card-icon-2 { background: #34A853; }

.review-card-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-stars {
  color: var(--color-accent);
  font-size: var(--text-sm);
  letter-spacing: 1px;
}

.review-card-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.review-card-name {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.review-card-tag {
  display: inline-block;
  background: rgba(26,60,46,0.08);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero service notification cards */
.hero-visual {
  flex-shrink: 0;
  width: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
/* Desktop: show only the desktop copy, hide the mobile-only duplicate */
.hero-visual-mobile { display: none; }
.hero-visual-desktop { display: flex; }

.service-notif {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  position: relative;
}

.service-notif-2 {
  margin-left: 1rem;
  opacity: 0.88;
}

.service-notif-3 {
  margin-left: 2rem;
  opacity: 0.7;
}

.service-notif-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.service-notif-body {
  flex: 1;
  min-width: 0;
}

.service-notif-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.service-notif-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.service-notif-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 7. PROBLEM */
#problem {
  background: var(--color-bg);
  padding: 5rem 0;
}

#problem h2 {
  max-width: 700px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}

.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.problem-close {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  font-style: italic;
}

/* 8. HOW IT WORKS */
#how-it-works {
  background: var(--color-surface);
  padding: 5rem 0;
  text-align: center;
}

#how-it-works .section-sub {
  margin: 0 auto 3rem;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  max-width: 280px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--color-border);
  align-self: center;
  flex-shrink: 0;
  padding-top: 1rem;
}

.how-callout {
  background: rgba(26,60,46,0.06);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text);
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

/* 9. FEATURES */
#features {
  background: var(--color-bg);
  padding: 5rem 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding-left: 1.5rem;
  position: relative;
}

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

/* 10. PRICING */
#pricing {
  background: var(--color-surface);
  padding: 5rem 0;
}

#pricing .section-sub {
  margin-bottom: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pricing-card-featured {
  background: var(--color-surface);
  border-color: var(--color-accent);
  border-width: 3px;
  box-shadow: 0 12px 40px rgba(212,160,23,0.22), 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-12px) scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.price-period {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-list li {
  font-size: var(--text-sm);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.pricing-list li.included {
  color: var(--color-text);
}

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

.pricing-list li.excluded {
  color: var(--color-text-muted);
}

.pricing-list li.excluded::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #D1D5DB;
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

.pricing-micro {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.pricing-guarantee {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* 11. TESTIMONIALS */
#testimonials {
  background: var(--color-primary);
  padding: 5rem 0;
}

#testimonials h2 {
  color: #fff;
  margin-bottom: 2.5rem;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: #fff;
  font-size: var(--text-sm);
}

.testimonial-biz {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* 12. FAQ */
#faq {
  background: var(--color-bg);
  padding: 5rem 0;
}

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

#faq h2 { margin-bottom: 2.5rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background 0.2s;
}

.faq-question:hover { background: var(--color-bg); }

.faq-icon {
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* 13. FINAL CTA */
#cta-final {
  background: var(--color-accent);
  padding: 5rem 0;
  text-align: center;
}

.cta-final-inner h2 {
  color: var(--color-primary-dark);
  font-size: var(--text-4xl);
  max-width: 700px;
  margin: 0 auto 1rem;
}

.cta-final-inner p {
  font-size: var(--text-lg);
  color: rgba(15,34,25,0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-micro {
  font-size: var(--text-sm);
  color: rgba(15,34,25,0.55);
}

/* 14. FOOTER */
#footer {
  background: var(--color-primary-dark);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-email {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.8; }

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-inner a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-bottom-inner a:hover { color: rgba(255,255,255,0.7); }

.footer-sep { margin: 0 0.5rem; }

/* ============================================================
   15. NEW COMPONENT STYLES
   ============================================================ */

/* Feature plan badges */
.feature-plan-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.badge-all   { background: rgba(34,197,94,0.12); color: #15803D; }
.badge-dfy   { background: rgba(26,60,46,0.1); color: var(--color-primary); }

/* Service grid inside pricing cards */
.plan-services {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.875rem 1rem;
  background: rgba(26,60,46,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.plan-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
}
.plan-service-name {
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-service-check { color: var(--color-success); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.plan-service-x    { color: #D1D5DB; font-weight: 700; font-size: 1rem; flex-shrink: 0; }

.pricing-card-featured .plan-services {
  background: rgba(212,160,23,0.08);
  border-color: rgba(212,160,23,0.3);
}

/* "How It's Powered" — Zapier plain-English explainer */
#how-powered {
  background: #132D22;
  padding: 4.5rem 0;
  text-align: center;
}
#how-powered .section-label { color: rgba(212,160,23,0.85); }
#how-powered h2 { color: #fff; max-width: 640px; margin: 0 auto 0.75rem; }
.powered-sub {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.app-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.app-node {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  min-width: 150px;
  max-width: 180px;
  text-align: center;
}
.app-node-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.app-node-name { font-weight: 700; color: #fff; font-size: var(--text-base); margin-bottom: 0.3rem; }
.app-node-desc { font-size: var(--text-xs); color: rgba(255,255,255,0.55); line-height: 1.4; }
.app-arrow {
  font-size: 1.75rem;
  color: var(--color-accent);
  flex-shrink: 0;
  font-weight: 700;
}
.powered-note {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.powered-note strong { color: rgba(255,255,255,0.65); }

/* Trust / "Works With" ticker */
#trust {
  background: var(--color-surface);
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.trust-ticker-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.trust-ticker-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.trust-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: trust-scroll 30s linear infinite;
}

.trust-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.7;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.trust-badge:hover { opacity: 1; }
.trust-badge-icon { font-size: 1.3rem; }

/* Hero service chips */
.hero-service-chips {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hero-chip {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
}

/* ROI Calculator */
#roi-calc {
  background: var(--color-primary);
  padding: 5rem 0;
  text-align: center;
}
#roi-calc h2 { color: #fff; max-width: 600px; margin: 0 auto 0.75rem; }
.roi-sub {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-lg);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.roi-calculator {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}
.roi-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  text-align: left;
}
.roi-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.roi-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.roi-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: none;
}
.roi-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  min-width: 56px;
  text-align: center;
  line-height: 1;
}
.roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.roi-result-box {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
}
.roi-result-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.roi-result-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.roi-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: 1.5rem;
  line-height: 1.5;
}
.roi-cta { margin-top: 2rem; }

/* Email capture + booking CTA */
#get-started-cta {
  background: var(--color-bg);
  padding: 5rem 0;
}
.get-started-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.get-started-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.get-started-block h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.get-started-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.get-started-block .block-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.capture-form {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}
.capture-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  font-size: var(--text-base);
  font-family: var(--font);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.capture-input:focus { border-color: var(--color-primary); }
.capture-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}
.or-divider {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
  grid-column: span 2;
  /* only shows on desktop between the two blocks */
}

/* ============================================================
   16. RESPONSIVE — Mobile (< 768px)
   ============================================================ */
@media (max-width: 768px) {

  h2 { font-size: var(--text-3xl); }
  h2, h3 { overflow-wrap: break-word; word-break: break-word; }
  p, li { overflow-wrap: break-word; }

  /* Nav */
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: block; margin-top: 1rem; }
  .nav-login-item { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 64px);
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    transition: right 0.3s ease;
    z-index: 99;
    margin-left: 0;
  }

  .nav-menu.open { right: 0; }

  .nav-menu a {
    font-size: var(--text-lg);
    color: var(--color-text);
  }

  /* Hero */
  #hero { padding: 2.5rem 0 3rem; }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    text-align: center;
    width: 100%;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
  }

  #hero h1 {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }

  .hero-sub {
    margin: 0 auto 1.5rem;
    font-size: var(--text-base);
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    white-space: normal;
    text-align: center;
    min-width: 0;
  }

  /* Prevent any single element from forcing page wider than viewport */
  #hero .hero-actions {
    max-width: 100%;
  }

  .hero-micro { text-align: center; }

  .hero-service-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    width: 100%;
  }

  .hero-chip {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }

  /* M-1: On mobile, show notification cards BETWEEN the headline/sub and CTA buttons.
     The mobile-only duplicate (hero-visual-mobile) is inside hero-content between
     hero-top and hero-bottom, so it flows naturally without reordering tricks. */
  .hero-visual-desktop { display: none; }
  .hero-visual-mobile  { display: flex; width: 100%; max-width: 340px; margin: 1rem auto; }

  .service-notif-2,
  .service-notif-3 {
    margin-left: 0;
    opacity: 1;
  }

  /* Problem */
  #problem { padding: 3.5rem 0; }

  .problem-cards {
    grid-template-columns: 1fr;
  }

  /* How it works */
  #how-it-works { padding: 3.5rem 0; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .step { max-width: 100%; width: 100%; overflow: visible; padding-top: 2.5rem; }
  .step h3 { overflow-wrap: break-word; word-break: break-word; }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
  }

  /* Features */
  #features { padding: 3.5rem 0; }

  .feature-cards {
    grid-template-columns: 1fr;
  }
  .feature-card h3 { overflow-wrap: break-word; }
  .feature-list li { overflow-wrap: break-word; }

  /* Pricing */
  #pricing { padding: 3.5rem 0; }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: none;
    border-color: var(--color-accent);
  }

  /* Testimonials */
  #testimonials { padding: 3.5rem 0; }

  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  /* FAQ */
  #faq { padding: 3.5rem 0; }

  /* CTA Final */
  #cta-final { padding: 3.5rem 0; }

  .cta-final-inner h2 { font-size: var(--text-3xl); }

  .cta-final-actions { flex-direction: column; align-items: center; }

  /* Footer */
  #footer { padding: 3rem 0 0; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p { max-width: 100%; }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  /* Features */
  #features { padding: 3rem 0; }

  .feature-card {
    padding: 1.75rem 1.5rem;
  }

  /* How it works */
  #how-it-works { padding: 3rem 0; }

  .how-callout {
    font-size: var(--text-sm);
    padding: 1rem 1.25rem;
  }

  /* How it's powered */
  #how-powered { padding: 3rem 0; }

  .powered-sub {
    font-size: var(--text-base);
    margin-bottom: 2rem;
  }

  .app-node {
    min-width: 130px;
    max-width: 100%;
    padding: 1.25rem 1rem;
  }

  /* Problem */
  #problem { padding: 3rem 0; }

  .problem-close {
    font-size: var(--text-base);
    margin-top: 1.5rem;
  }

  /* Pricing */
  #pricing { padding: 3rem 0; }

  /* ROI */
  #roi-calc { padding: 3rem 0; }

  .roi-calculator { padding: 2rem 1.5rem; }

  .roi-sub {
    font-size: var(--text-base);
    margin-bottom: 2rem;
  }

  /* Testimonials */
  #testimonials { padding: 3rem 0; }

  #testimonials h2 { margin-bottom: 1.75rem; }

  .testimonial-quote { font-size: var(--text-sm); }

  /* FAQ */
  #faq { padding: 3rem 0; }

  /* CTA Final */
  #cta-final { padding: 3rem 0; }

  .cta-final-inner h2 { font-size: var(--text-2xl); }

  .cta-final-inner p {
    font-size: var(--text-base);
    margin-bottom: 1.5rem;
  }

  .cta-final-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-final-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Get started */
  #get-started-cta { padding: 3rem 0; }

  .get-started-block { padding: 2rem 1.5rem; }

  /* Footer */
  #footer { padding: 3rem 0 0; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p { max-width: 100%; }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  /* New sections */
  .app-flow { flex-direction: column; gap: 0.5rem; }
  .app-arrow { transform: rotate(90deg); }

  .roi-results { grid-template-columns: 1fr; }

  .get-started-inner { grid-template-columns: 1fr; }
}

/* Tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .problem-cards { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card-featured { transform: none; }
  .testimonial-cards { grid-template-columns: 1fr 1fr; }
  .hero-visual { width: 280px; }
  #hero h1 { font-size: var(--text-4xl); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* --- Guarantee Callout (before pricing cards) --- */
.guarantee-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: var(--text-sm);
}
.guarantee-callout strong { display: block; color: var(--color-text); margin-bottom: 0.2rem; font-size: var(--text-base); }
.guarantee-callout p { color: var(--color-text-muted); margin: 0; }
.guarantee-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.3; }

/* --- Testimonial Result Pills --- */
.testimonial-result {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  color: #B8860B;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

/* --- ROI Result Note --- */
.roi-result-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* --- Mobile: Problem cards get shadow & better typography --- */
@media (max-width: 768px) {
  .problem-card {
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  .problem-icon { font-size: 2rem; }
  .problem-card h3 { font-size: var(--text-lg); font-weight: 700; }
  .problem-card p { font-size: var(--text-sm); line-height: 1.7; }

  /* Mobile: Featured pricing card gets gold glow instead of scale */
  .pricing-card-featured {
    border: 2px solid var(--color-accent);
    box-shadow: 0 8px 32px rgba(212,160,23,0.18);
  }

  /* Mobile: Testimonial cards */
  .testimonial-card { padding: 1.5rem; }
  .testimonial-quote { font-size: var(--text-base); line-height: 1.75; }
  .testimonial-result { font-size: 0.7rem; }
  .testimonial-stars { font-size: var(--text-lg); }

  /* Mobile: ROI results stack vertically */
  .roi-results { grid-template-columns: 1fr !important; }
  .roi-result-box { padding: 1.25rem; }
  .roi-result-number { font-size: var(--text-3xl); }

  /* Mobile: FAQ generous tap targets */
  .faq-question { min-height: 56px; padding: 1.1rem 1.25rem; }

  /* Mobile: Final CTA buttons full-width stacked */
  .cta-final-actions { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .cta-final-actions .btn { width: 100%; text-align: center; }
  #cta-final h2 { font-size: var(--text-2xl); }

  /* Mobile: Guarantee callout */
  .guarantee-callout { flex-direction: column; gap: 0.5rem; }
}

/* --- Testimonial Inline CTA --- */
.testimonial-inline-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.testimonial-inline-or {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
}
.testimonial-inline-or a {
  color: rgba(212,160,23,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Hero tertiary link --- */
.hero-link-sm {
  font-size: var(--text-sm);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testimonial-inline-cta { flex-direction: column; gap: 1rem; }
  .testimonial-inline-cta .btn { width: 100%; text-align: center; }
}

/* --- FeatureFacts --- */
.feature-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.feature-fact {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}
.feature-fact-num {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}
.feature-fact-label {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-bg);
}
@media (max-width: 1024px) {
  .feature-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .feature-fact-num { font-size: var(--text-2xl); }
}
