:root {
  --aicm-light: #f7f1ea;
  --aicm-cream: #fbf7f2;
  --aicm-muted: #8ea6bf;
  --aicm-blue: #496581;
  --aicm-navy: #23364d;
  --aicm-deep: #162333;
  --aicm-white: #ffffff;
  --aicm-orange: #c96b2c;
  --aicm-orange-dark: #ad5b23;
  --aicm-orange-soft: rgba(201, 107, 44, 0.14);
  --aicm-border: rgba(22, 35, 51, 0.10);
  --aicm-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--aicm-cream);
  color: var(--aicm-deep);
}

.py-lg-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aicm-orange);
}

.section-copy,
.hero-copy {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(22, 35, 51, 0.82);
  max-width: 48rem;
}

.hero-section {
  position: relative;
  color: var(--aicm-white);
  background:
    linear-gradient(90deg, rgba(22, 35, 51, 0.86) 0%, rgba(22, 35, 51, 0.72) 46%, rgba(22, 35, 51, 0.4) 100%),
    var(--hero-bg, radial-gradient(circle at top right, rgba(201, 107, 44, 0.2), transparent 26%), linear-gradient(135deg, #23364d 0%, #162333 100%));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section .section-copy,
.hero-section .hero-copy,
.hero-section h1,
.hero-section li,
.hero-section .offer-note,
.hero-section .price-current,
.hero-section .price-original,
.hero-section .price-standard,
.hero-section .offer-label {
  color: var(--aicm-white);
}

.problem-section,
.gallery-section,
.faq-section,
.site-footer {
  background: var(--aicm-cream);
}

.solution-section,
.final-cta-section {
  background: linear-gradient(180deg, #eef4f8 0%, #f7f1ea 100%);
}

.included-section,
.pricing-section {
  background: linear-gradient(180deg, #1f3046 0%, #253c58 100%);
  color: var(--aicm-white);
}

.samples-section {
  background: linear-gradient(180deg, #fdfaf6 0%, #f7f1ea 100%);
}

.comparison-section {
  background: linear-gradient(180deg, #edf3f7 0%, #f6efe7 100%);
  color: var(--aicm-deep);
}

.comparison-section .section-copy,
.comparison-section h2,
.problem-section .section-copy,
.problem-section h2,
.faq-section .section-copy,
.faq-section h2,
.gallery-section .section-copy,
.gallery-section h2,
.site-footer p {
  color: var(--aicm-deep);
}

.flash-sale-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--aicm-orange);
  color: var(--aicm-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.flash-sale-link {
  color: var(--aicm-white);
  font-weight: 700;
  text-decoration: none;
}

.flash-sale-link:hover {
  text-decoration: underline;
}

.hero-benefits li,
.comparison-list li,
.workflow-step,
.feature-card li,
.problem-card li {
  position: relative;
  padding-left: 1.35rem;
}

.hero-benefits li::before,
.comparison-list li::before,
.workflow-step::before,
.feature-card li::before,
.problem-card li::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--aicm-orange);
  box-shadow: 0 0 0 4px rgba(201, 107, 44, 0.14);
  position: absolute;
  left: 0;
  top: 0.65rem;
}

.offer-card,
.workflow-card,
.pricing-shell,
.final-cta-shell,
.hero-floating-card,
.sample-card,
.feature-card,
.problem-card,
.comparison-card,
.invalid-niche-card,
.gallery-card {
  border: 1px solid var(--aicm-border);
  border-radius: 1.5rem;
  box-shadow: var(--aicm-shadow);
}

.offer-card,
.workflow-card,
.pricing-shell,
.final-cta-shell,
.hero-floating-card,
.feature-card,
.gallery-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.offer-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255,255,255,0.16);
}

.problem-card,
.sample-card,
.comparison-card,
.gallery-card {
  background: #ffffff;
  color: var(--aicm-deep);
  height: 100%;
}

.feature-card {
  height: 100%;
  border-color: rgba(255,255,255,0.1);
}

.feature-card h3,
.sample-card h3,
.problem-card h3,
.gallery-card h3 {
  font-size: 1.1rem;
}

.offer-label {
  color: var(--aicm-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-original {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: line-through;
  font-size: 1rem;
}

.price-current {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
  color: var(--aicm-white);
}

.price-standard {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--aicm-white);
}

.pricing-section .price-original,
.final-cta-section .price-original,
.solution-section .price-original,
.gallery-section .price-original,
.samples-section .price-original,
.problem-section .price-original,
.comparison-section .price-original {
  color: rgba(22, 35, 51, 0.52);
}

.pricing-section .price-current,
.pricing-section .price-standard,
.final-cta-section .price-current,
.final-cta-section .price-standard {
  color: var(--aicm-white);
}

.coupon-chip,
.timer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 1rem;
  background: var(--aicm-orange-soft);
  color: var(--aicm-orange-dark);
  font-weight: 800;
  border: 1px solid rgba(201, 107, 44, 0.22);
  box-shadow: 0 10px 24px rgba(201, 107, 44, 0.12);
}

.hero-section .coupon-chip,
.hero-section .timer-chip,
.pricing-section .coupon-chip,
.pricing-section .timer-chip,
.final-cta-section .coupon-chip,
.final-cta-section .timer-chip {
  background: rgba(255,255,255,0.92);
  color: var(--aicm-orange-dark);
}

.offer-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.pricing-section .offer-note,
.final-cta-section .offer-note,
.samples-section .offer-note,
.problem-section .offer-note,
.solution-section .offer-note,
.gallery-section .offer-note,
.comparison-section .offer-note {
  color: rgba(22, 35, 51, 0.68);
}

.btn-aicm {
  background: var(--aicm-orange);
  color: var(--aicm-white);
  border: 0;
  border-radius: 0.95rem;
  padding: 0.95rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(201, 107, 44, 0.2);
}

.btn-aicm:hover,
.btn-aicm:focus {
  background: var(--aicm-orange-dark);
  color: var(--aicm-white);
}

.hero-visual-wrap {
  position: relative;
  padding-bottom: 2rem;
}

.hero-image {
  width: 100%;
  border-radius: 1.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--aicm-shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  right: 1rem;
  bottom: 0;
  max-width: 18rem;
  padding: 1rem 1.1rem;
}

.hero-floating-card p:last-child {
  color: rgba(22, 35, 51, 0.78);
}

.workflow-step + .workflow-step {
  margin-top: 1rem;
}

.workflow-step strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--aicm-deep);
}

.workflow-step span {
  color: rgba(22, 35, 51, 0.74) !important;
}

.sample-card {
  padding: 1.35rem;
}

.sample-badge {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 0.9rem;
  background: var(--aicm-orange-soft);
  color: var(--aicm-orange-dark);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.sample-copy {
  color: rgba(22, 35, 51, 0.88);
  line-height: 1.8;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.15rem;
  margin-bottom: 1rem;
}

.gallery-card p {
  color: rgba(22, 35, 51, 0.75);
}

.comparison-generic {
  border-color: rgba(73, 101, 129, 0.14);
}

.comparison-niche {
  border-color: rgba(201, 107, 44, 0.16);
  background: linear-gradient(180deg, #fff 0%, #fff7f0 100%);
}

.aicm-accordion {
  max-width: 52rem;
}

.aicm-accordion .accordion-item {
  border: 1px solid rgba(22, 35, 51, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.aicm-accordion .accordion-button {
  font-weight: 700;
  color: var(--aicm-deep);
  background: #fff;
}

.aicm-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--aicm-deep);
  box-shadow: none;
}

.aicm-accordion .accordion-body {
  color: rgba(22, 35, 51, 0.88);
  line-height: 1.75;
}

.site-footer {
  background: #f3ece4;
}

.footer-link {
  color: var(--aicm-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: var(--aicm-orange-dark);
}

.legal-modal-content {
  background: var(--aicm-deep);
  color: var(--aicm-light);
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.legal-modal-content p,
.legal-modal-content li {
  color: rgba(247, 241, 234, 0.86);
  line-height: 1.75;
}

.invalid-niche-state {
  background: radial-gradient(circle at top, rgba(201, 107, 44, 0.15), transparent 50%), var(--aicm-cream);
}

.invalid-niche-card {
  background: #ffffff;
  padding: 2.5rem;
  max-width: 40rem;
}

.invalid-niche-card p,
.invalid-niche-card h1 {
  color: var(--aicm-deep);
}

.text-soft-dark {
  color: rgba(22, 35, 51, 0.72);
}

.pricing-shell,
.final-cta-shell {
  text-align: center;
}

.pricing-shell .d-flex,
.final-cta-shell .d-flex {
  justify-content: center !important;
}

@media (max-width: 991.98px) {
  .py-lg-6 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .invalid-niche-card,
  .offer-card,
  .workflow-card,
  .pricing-shell,
  .final-cta-shell,
  .sample-card,
  .feature-card,
  .problem-card,
  .comparison-card,
  .gallery-card {
    border-radius: 1.15rem;
  }

  .price-current,
  .price-standard {
    font-size: 2.15rem;
  }

  .flash-sale-bar .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* Contrast system cleanup */
.problem-section,
.solution-section,
.samples-section,
.gallery-section,
.comparison-section,
.faq-section,
.final-cta-section,
.site-footer {
  color: var(--aicm-deep);
}

.problem-section h1,
.problem-section h2,
.problem-section h3,
.problem-section p,
.problem-section li,
.solution-section h1,
.solution-section h2,
.solution-section h3,
.solution-section p,
.solution-section li,
.samples-section h1,
.samples-section h2,
.samples-section h3,
.samples-section p,
.samples-section li,
.gallery-section h1,
.gallery-section h2,
.gallery-section h3,
.gallery-section p,
.gallery-section li,
.comparison-section h1,
.comparison-section h2,
.comparison-section h3,
.comparison-section p,
.comparison-section li,
.faq-section h1,
.faq-section h2,
.faq-section h3,
.faq-section p,
.faq-section li,
.final-cta-section h1,
.final-cta-section h2,
.final-cta-section h3,
.final-cta-section p,
.final-cta-section li,
.site-footer p,
.site-footer li {
  color: var(--aicm-deep);
}

.included-section h1,
.included-section h2,
.included-section h3,
.included-section p,
.included-section li,
.pricing-section h1,
.pricing-section h2,
.pricing-section h3,
.pricing-section p,
.pricing-section li {
  color: var(--aicm-white);
}

.included-section .section-copy,
.pricing-section .section-copy,
.included-section .text-white-50,
.pricing-section .text-white-50 {
  color: rgba(255,255,255,0.78) !important;
}

.solution-section .section-copy,
.samples-section .section-copy,
.gallery-section .section-copy,
.comparison-section .section-copy,
.final-cta-section .section-copy,
.faq-section .section-copy,
.problem-section .section-copy {
  color: rgba(22, 35, 51, 0.82) !important;
}

.pricing-section .pricing-shell,
.pricing-section .pricing-shell h2,
.pricing-section .pricing-shell p,
.pricing-section .pricing-shell .offer-label,
.pricing-section .pricing-shell .price-original,
.pricing-section .pricing-shell .price-current,
.pricing-section .pricing-shell .price-standard,
.pricing-section .pricing-shell .offer-note {
  color: var(--aicm-white) !important;
}

.pricing-section .pricing-shell .price-original {
  color: rgba(255,255,255,0.72) !important;
}

.final-cta-section .final-cta-shell h2,
.final-cta-section .final-cta-shell p,
.final-cta-section .final-cta-shell .offer-label,
.final-cta-section .final-cta-shell .price-current,
.final-cta-section .final-cta-shell .price-standard,
.final-cta-section .final-cta-shell .offer-note,
.final-cta-section .final-cta-shell .text-soft-dark {
  color: var(--aicm-deep) !important;
}

.final-cta-section .final-cta-shell .price-original {
  color: rgba(22, 35, 51, 0.56) !important;
}

.final-cta-section .coupon-chip,
.final-cta-section .timer-chip,
.solution-section .coupon-chip,
.solution-section .timer-chip,
.samples-section .coupon-chip,
.samples-section .timer-chip,
.gallery-section .coupon-chip,
.gallery-section .timer-chip,
.comparison-section .coupon-chip,
.comparison-section .timer-chip {
  background: rgba(201, 107, 44, 0.12);
  color: var(--aicm-orange-dark);
}

.feature-card,
.feature-card h3,
.feature-card p,
.feature-card li {
  color: var(--aicm-white);
}

.footer-link,
.site-footer .btn-link {
  color: var(--aicm-blue);
}


/* Build 004 refinements */
.pricing-section {
  background: linear-gradient(180deg, #1f3046 0%, #253c58 100%);
}

.final-cta-section {
  background: linear-gradient(180deg, #c96b2c 0%, #b85f25 100%);
}

.pricing-shell,
.final-cta-shell {
  background: #ffffff;
  color: var(--aicm-deep);
  padding: calc(2rem + 15px) 2rem;
}

.pricing-shell h2,
.final-cta-shell h2,
.pricing-shell .price-current,
.final-cta-shell .price-current,
.pricing-shell .price-standard,
.final-cta-shell .price-standard {
  color: var(--aicm-deep) !important;
}

.pricing-shell p,
.final-cta-shell p,
.pricing-shell .text-soft-dark,
.final-cta-shell .text-soft-dark {
  color: rgba(22, 35, 51, 0.72) !important;
}

.pricing-shell .offer-label,
.final-cta-shell .offer-label {
  color: var(--aicm-blue) !important;
}

.pricing-shell .price-original,
.final-cta-shell .price-original {
  color: rgba(22, 35, 51, 0.5) !important;
}

.pricing-shell .coupon-chip,
.pricing-shell .timer-chip,
.final-cta-shell .coupon-chip,
.final-cta-shell .timer-chip {
  background: #ffffff;
  color: var(--aicm-orange-dark);
  border-radius: 999px;
  border: 1px solid rgba(201, 107, 44, 0.18);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-card {
  background: #ffffff;
  border-color: rgba(22, 35, 51, 0.08);
}

.feature-card h3 {
  color: var(--aicm-deep) !important;
}

.feature-card p,
.feature-card li,
.included-section .feature-card p,
.included-section .feature-card li,
.included-section .feature-card .text-white-50 {
  color: rgba(22, 35, 51, 0.78) !important;
}

.hero-floating-card .small,
.hero-floating-card .text-uppercase {
  color: var(--aicm-orange) !important;
}

.btn-aicm {
  background: var(--aicm-navy);
  color: var(--aicm-white);
  box-shadow: 0 14px 30px rgba(35, 54, 77, 0.24);
}

.btn-aicm:hover,
.btn-aicm:focus {
  background: var(--aicm-blue);
  color: var(--aicm-white);
}

.pricing-section .btn-aicm {
  background: var(--aicm-orange);
  color: var(--aicm-white);
  box-shadow: 0 14px 30px rgba(201, 107, 44, 0.2);
}

.pricing-section .btn-aicm:hover,
.pricing-section .btn-aicm:focus {
  background: var(--aicm-orange-dark);
  color: var(--aicm-white);
}

.btn-aicm i {
  font-size: 0.95em;
}

.btn-rock {
  animation: aicm-rock 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes aicm-rock {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(-2deg) scale(1.01); }
  20% { transform: rotate(2deg) scale(1.02); }
  30% { transform: rotate(-2deg) scale(1.01); }
  40% { transform: rotate(2deg) scale(1.02); }
  50% { transform: rotate(0deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-rock { animation: none; }
}

@media (max-width: 575.98px) {
  .pricing-shell,
  .final-cta-shell {
    padding: calc(1.35rem + 15px) 1rem;
  }
}


/* Build 005: hero CTA only */
#heroCtaButton.btn-aicm {
  background: var(--aicm-orange);
  color: var(--aicm-white);
  box-shadow: 0 14px 30px rgba(201, 107, 44, 0.2);
}

#heroCtaButton.btn-aicm:hover,
#heroCtaButton.btn-aicm:focus {
  background: var(--aicm-orange-dark);
  color: var(--aicm-white);
}


/* Build 007 middle pricing panel readability fix */
.pricing-section .pricing-shell .eyebrow,
.pricing-section .pricing-shell .offer-label {
  color: var(--aicm-blue) !important;
}

.pricing-section .pricing-shell h2,
.pricing-section .pricing-shell .price-current,
.pricing-section .pricing-shell .price-standard {
  color: var(--aicm-deep) !important;
}

.pricing-section .pricing-shell p,
.pricing-section .pricing-shell li,
.pricing-section .pricing-shell .text-soft-dark,
.pricing-section .pricing-shell .offer-note {
  color: rgba(22, 35, 51, 0.72) !important;
}

.pricing-section .pricing-shell .price-original {
  color: rgba(22, 35, 51, 0.5) !important;
}

.pricing-section .pricing-shell .coupon-chip,
.pricing-section .pricing-shell .timer-chip {
  background: #ffffff;
  color: var(--aicm-orange-dark);
  border: 1px solid rgba(201, 107, 44, 0.18);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
