/* mybizopz promo site — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #1a2f4a;
  --brand-accent: #3d5f8f;
  --brand-light: #f0f4f8;
  --dark: #0f1d35;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-subtle: #f8fafc;
  --white: #ffffff;
  --green: #059669;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white);
}
a { color: var(--brand-accent); text-decoration: none; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--brand); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--subtle { background: var(--bg-subtle); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #94a3b8; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav__links a:hover { color: var(--brand); }
.nav__links a.active { color: var(--brand); font-weight: 600; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: var(--white) !important; padding: 8px 20px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  transition: all 0.15s;
}
.nav__cta:hover { background: var(--dark); color: var(--white) !important; }

/* Dark hero wrapper (homepage) */
.hero-dark { background: var(--dark); }
.hero-dark .hero h1 { color: var(--white); }
.hero-dark .hero p { color: #94a3b8; }
.hero-dark .hero__screenshot { border-color: rgba(255,255,255,0.1); }

/* Dark nav variant */
.nav--dark { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.1); backdrop-filter: none; }
.nav--dark .nav__links a { color: rgba(255,255,255,0.7); }
.nav--dark .nav__links a:hover { color: var(--white); }
.nav__cta--light { background: var(--white) !important; color: var(--dark) !important; }
.nav__cta--light:hover { background: var(--brand-light) !important; color: var(--dark) !important; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-light); color: var(--brand); padding: 6px 16px;
  border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero__badge--dark { background: rgba(255,255,255,0.1); color: var(--white); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; max-width: 720px; margin-inline: auto; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__screenshot {
  margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: all 0.15s; border: none; cursor: pointer; text-decoration: none;
}
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--brand); border: 2px solid var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--white { background: var(--white); color: var(--brand); }
.btn--white:hover { background: var(--brand-light); color: var(--brand); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn--sm { padding: 8px 20px; font-size: 13px; }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand); margin-bottom: 16px; font-size: 18px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Feature section (alternating image + text) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.feature-row__text .badge {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-accent); background: var(--brand-light);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.feature-row__text h2 { font-size: 28px; margin-bottom: 12px; }
.feature-row__text p { color: var(--text-muted); margin-bottom: 20px; }
.feature-row__text ul { list-style: none; margin-bottom: 24px; }
.feature-row__text li {
  padding: 6px 0; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.feature-row__text li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 14px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative; transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--popular { border-color: var(--brand); z-index: 1; }
.pricing-card--popular::before {
  content: 'Most popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: var(--white); padding: 4px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; z-index: 2; white-space: nowrap;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 4px; }
.pricing-card .price { font-size: 40px; font-weight: 800; color: var(--brand); margin: 12px 0 4px; }
.pricing-card .price .unit { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-card .price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.pricing-card li { padding: 6px 0; font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pricing-card li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary {
  font-size: 16px; font-weight: 600; color: var(--brand); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--text-muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* CTA section */
.cta-section { text-align: center; padding: 80px 0; }
.cta-section h2 { font-size: 32px; margin-bottom: 12px; }
.cta-section p { color: #94a3b8; margin-bottom: 28px; font-size: 16px; }
.cta-section .reassurance { margin-top: 16px; font-size: 13px; color: #64748b; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: 13px; color: var(--text-muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--text-muted); }
.footer__links a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse { direction: ltr; }
  .nav__links { gap: 16px; }
  .hero h1 { font-size: 1.8rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}
