/* ═══════════════════════════════════════════
   BloomBid Marketing Site — styles.css
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --green:        #2d6a4f;
  --green-dark:   #1b4332;
  --green-light:  #edf5f0;
  --green-muted:  #b8d9c8;
  --coral:        #e38269;
  --coral-light:  #fdf0ec;
  --bg:           #faf9f7;
  --surface:      #ffffff;
  --text:         #1a1a1a;
  --text-2:       #4b5563;
  --text-3:       #9ca3af;
  --border:       #e5e2db;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:    0 4px 8px rgba(0,0,0,.06), 0 16px 48px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }

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

.btn-outline { background: transparent; color: var(--green); border-color: var(--green-muted); }
.btn-outline:hover { background: var(--green-light); }

.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }

.btn-white { background: #fff; color: var(--green); border-color: transparent; }
.btn-white:hover { background: var(--green-light); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { width: 28px; height: 28px; }
.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9375rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta { margin-left: .5rem; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  color: var(--text);
  margin-left: auto;
}
.nav-hamburger svg { width: 22px; height: 22px; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile a {
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background .12s, color .12s;
}
.nav-mobile a:hover { background: var(--green-light); color: var(--green); }
.nav-mobile .btn { margin-top: .5rem; width: 100%; }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 520px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--coral-light);
  color: var(--coral);
  font-size: .8125rem;
  font-weight: 600;
  padding: .3125rem .75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: .01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: .875rem;
  color: var(--text-3);
}

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: #f1ede8;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: .4rem; }
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-dots span:nth-child(1) { background: #fc6058; }
.mockup-dots span:nth-child(2) { background: #fec02f; }
.mockup-dots span:nth-child(3) { background: #2aca44; }
.mockup-url {
  font-size: .75rem;
  color: var(--text-3);
  font-family: ui-monospace, monospace;
  background: rgba(255,255,255,.6);
  border-radius: 4px;
  padding: .2rem .6rem;
  flex: 1;
  text-align: center;
}

.mockup-body { padding: 1.25rem; }

.mock-proposal { }
.mock-header { margin-bottom: 1rem; }
.mock-event-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.mock-event-meta { font-size: .78rem; color: var(--text-3); }

.mock-section { margin-bottom: .875rem; }
.mock-section-name {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-3);
  margin-bottom: .375rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--border);
}
.mock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--text-2);
  padding: .2rem 0;
}
.mock-item span:last-child { font-weight: 500; color: var(--text); }

.mock-totals {
  border-top: 1.5px solid var(--border);
  padding-top: .75rem;
  margin-top: .5rem;
}
.mock-total-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-2);
  padding: .15rem 0;
}
.mock-total-main {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  padding: .25rem 0 .5rem;
}
.mock-margin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green-light);
  border-radius: 6px;
  padding: .375rem .625rem;
  margin-top: .25rem;
}
.mock-margin-label { font-size: .78rem; color: var(--green); font-weight: 500; }
.mock-margin-pct { font-size: .9rem; font-weight: 700; color: var(--green); }

.mock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .875rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.mock-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 100px;
  letter-spacing: .02em;
}
.mock-badge-sent { background: #dbeafe; color: #1e40af; }
.mock-share { font-size: .75rem; color: var(--coral); font-weight: 500; }

/* ── Features ── */
.features {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: .625rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
}

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--green);
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.feature-card p {
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── How it works ── */
.how { padding: 5rem 0; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  letter-spacing: -.01em;
  box-shadow: 0 0 0 6px var(--green-light);
}

.step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.step-body p {
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

.step-connector {
  flex-shrink: 0;
  width: 3rem;
  height: 2px;
  background: var(--green-muted);
  margin-top: 1.625rem;
  border-radius: 1px;
}

/* ── Pricing ── */
.pricing {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color .2s;
}

.plan-card--featured {
  background: var(--surface);
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow);
}

.plan-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .875rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  margin-bottom: .5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.04em;
  margin-bottom: .5rem;
  line-height: 1;
}
.plan-period {
  font-size: .9375rem;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0;
}

.plan-desc {
  font-size: .9rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--text-2);
}
.plan-features li strong { color: var(--text); }
.check {
  width: 18px;
  height: 18px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .625rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: .875rem;
  color: var(--text-3);
}
.pricing-note a { color: var(--green); text-decoration: underline; }

/* ── FAQ ── */
.faq { padding: 5rem 0; }

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--green-muted); }

.faq-item summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: background .12s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg); }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 5rem 0;
  background: var(--green);
  color: #fff;
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-icon {
  width: 52px;
  height: 52px;
  opacity: .7;
  margin-bottom: .5rem;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
}
.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  max-width: 440px;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo .logo-text { font-size: 1rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.footer-links a {
  font-size: .875rem;
  color: var(--text-3);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text-2); }
.footer-copy {
  font-size: .8125rem;
  color: var(--text-3);
  width: 100%;
  margin-top: .25rem;
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-copy { max-width: 100%; }
  h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-visual { display: none; }

  /* How */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .step { padding: 0 .5rem 0; }
  .step-connector {
    width: 2px;
    height: 2rem;
    margin: .5rem 0;
  }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .plan-card--featured { order: -1; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-header h2 { font-size: 1.5rem; }
}
