/* ===== BloomBots Design Tokens ===== */
/* Art direction: Botanical + tech. Warm creams, deep botanical green accent, soft rose highlights */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

/* ===== LIGHT MODE ===== */
:root, [data-theme="light"] {
  --color-bg:             #FDFCF8;
  --color-surface:        #F9F7F1;
  --color-surface-2:      #F4F1EA;
  --color-surface-offset: #EDE9E0;
  --color-border:         #D5CFBE;
  --color-divider:        #E0DACE;

  --color-text:           #2C2A22;
  --color-text-muted:     #6B6858;
  --color-text-faint:     #A9A697;

  /* Botanical Green — primary accent */
  --color-primary:        #2D6A4F;
  --color-primary-hover:  #1B4332;
  --color-primary-active: #143728;
  --color-primary-light:  #D8F3DC;

  /* Rose — secondary/highlight */
  --color-rose:           #C9706B;
  --color-rose-hover:     #A85751;
  --color-rose-light:     #FBEAE8;

  /* Semantic */
  --color-success:        #437A22;
  --color-warning:        #964219;
  --color-error:          #A12C44;

  --shadow-sm: 0 1px 2px rgba(44, 42, 34, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 42, 34, 0.08);
  --shadow-lg: 0 12px 32px rgba(44, 42, 34, 0.12);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --color-bg:             #1A1916;
  --color-surface:        #21201C;
  --color-surface-2:      #282722;
  --color-surface-offset: #2E2D28;
  --color-border:         #3D3B34;
  --color-divider:        #333129;

  --color-text:           #E3E1D9;
  --color-text-muted:     #9B9889;
  --color-text-faint:     #6B6858;

  --color-primary:        #52B788;
  --color-primary-hover:  #40916C;
  --color-primary-active: #2D6A4F;
  --color-primary-light:  #1B3A2A;

  --color-rose:           #E8918C;
  --color-rose-hover:     #D47A75;
  --color-rose-light:     #3A2322;

  --color-success:        #6DAA45;
  --color-warning:        #BB653B;
  --color-error:          #DD6974;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #1A1916;
    --color-surface:        #21201C;
    --color-surface-2:      #282722;
    --color-surface-offset: #2E2D28;
    --color-border:         #3D3B34;
    --color-divider:        #333129;
    --color-text:           #E3E1D9;
    --color-text-muted:     #9B9889;
    --color-text-faint:     #6B6858;
    --color-primary:        #52B788;
    --color-primary-hover:  #40916C;
    --color-primary-active: #2D6A4F;
    --color-primary-light:  #1B3A2A;
    --color-rose:           #E8918C;
    --color-rose-hover:     #D47A75;
    --color-rose-light:     #3A2322;
    --color-success:        #6DAA45;
    --color-warning:        #BB653B;
    --color-error:          #DD6974;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}


/* ===== GLOBAL ===== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ===== HEADER / NAV ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.logo svg {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-links a.btn-primary {
  color: #FFFFFF;
  background: #2D6A4F;
}

.nav-links a.btn-primary:hover {
  color: #FFFFFF;
  background: #1B4332;
}

.theme-toggle {
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.mobile-menu-btn {
  display: none;
  padding: var(--space-2);
  color: var(--color-text);
}

/* ===== CTA BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

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

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

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

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

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-bg) 95%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 90%, transparent) 45%,
    color-mix(in srgb, var(--color-bg) 75%, transparent) 70%,
    color-mix(in srgb, var(--color-bg) 50%, transparent) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  margin-bottom: var(--space-6);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===== PAIN POINTS / PROBLEM SECTION ===== */

.pain-section {
  background: var(--color-surface);
}

.pain-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.pain-section .subtitle {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  max-width: 58ch;
  margin-inline: auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pain-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.pain-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: var(--color-rose-light);
  color: var(--color-rose);
}

.pain-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.pain-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== FEATURES ===== */

.features-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-3);
}

.features-section .subtitle {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  max-width: 58ch;
  margin-inline: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.feature-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.feature-card .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== INSTAGRAM / CHANNELS SECTION ===== */

.channels-section {
  background: var(--color-surface);
}

.channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.channels-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.channels-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.channels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.channels-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.channels-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.channels-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.channels-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HOW IT WORKS ===== */

.how-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-3);
}

.how-section .subtitle {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  max-width: 58ch;
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
  text-align: center;
  padding: var(--space-6);
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

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

/* ===== PRICING ===== */

.pricing-section {
  background: var(--color-surface);
}

.pricing-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-3);
}

.pricing-section .subtitle {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  max-width: 58ch;
  margin-inline: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
  position: relative;
}

.pricing-card--featured .popular-tag {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pricing-card .description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.pricing-card .price .amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.pricing-card .price .period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing-card .setup {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.pricing-card .features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.pricing-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.pricing-card .features-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  margin-top: 2px;
}

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

/* ===== FAQ ===== */

.faq-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-12);
}

.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 65ch;
}

/* ===== FINAL CTA ===== */

.cta-section {
  text-align: center;
  background: #2D6A4F;
  color: #fff;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: #fff;
}

.cta-section p {
  font-size: var(--text-base);
  opacity: 0.85;
  margin-bottom: var(--space-8);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background: var(--color-primary-light);
}

/* ===== FOOTER ===== */

.footer {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

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

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .channels-grid {
    grid-template-columns: 1fr;
  }
  .channels-image {
    order: -1;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: var(--text-2xl);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

.animate-on-scroll.visible {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  padding: var(--space-2);
  color: var(--color-text);
}
