/* BuzStars site styles.
   Layout and visual styling live inline in each page (kept verbatim from the approved
   design). This file holds what inline styles can't express: base rules, hover states,
   breakpoints, motion preferences and accessibility helpers. */

/* ---- Base (from the approved design) ---- */
html, body { margin: 0; }
body { background: #FAF9F6; -webkit-font-smoothing: antialiased; }
a { color: #0C7A5F; }
a:hover { color: #0A6650; }
[hidden] { display: none !important; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }

@keyframes rl-pulse { 0%,100% { opacity: 1; transform: translateY(0); } 50% { opacity: .55; transform: translateY(-3px); } }
@keyframes rl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Hover states (the design's hover styles; !important beats the inline styles) ---- */
.hv-primary:hover { background: #0A6650 !important; color: #FAF9F6 !important; }
.hv-soft:hover { background: #EAF4F0 !important; color: #0A6650 !important; }
.hv-soft-ink:hover { background: #EAF4F0 !important; color: #0E1A16 !important; }
.hv-outline:hover { border-color: #0E1A16 !important; color: #0E1A16 !important; }
.hv-outline-light:hover { border-color: #FFFFFF !important; color: #FFFFFF !important; }
.hv-ink:hover { color: #0E1A16 !important; }
.hv-lift-dark:hover { transform: translateY(-3px) !important; box-shadow: 0 24px 44px -26px rgba(14,26,22,0.6) !important; color: #0E1A16 !important; }
.hv-lift-light:hover { transform: translateY(-3px) !important; box-shadow: 0 24px 44px -30px rgba(14,26,22,0.45) !important; color: #0E1A16 !important; }

/* ---- Header: desktop links vs. menu button (same 900px breakpoint as the design) ---- */
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-desktop { display: none !important; }
  .nav-burger { display: flex; }
}

/* ---- Get Started form (from the approved design) ---- */
.preview-form input, .preview-form select, .preview-form textarea {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; color: #0E1A16; background: #FFFFFF;
  border: 1px solid #E6E3DC; border-radius: 10px; padding: 13px 14px; width: 100%; box-sizing: border-box; outline: none;
}
.preview-form input:focus, .preview-form select:focus, .preview-form textarea:focus { border-color: #0C7A5F; box-shadow: 0 0 0 3px rgba(12,122,95,0.12); }
.preview-form label { font-size: 13px; font-weight: 700; color: #0E1A16; }
.preview-form button[disabled] { opacity: .7; cursor: progress !important; }
/* Spam trap field: off-screen for people, still present for bots. */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- Home: small-screen fixes (desktop unchanged) ---- */
@media (max-width: 520px) {
  /* Keep the floating badges off the phone mockup's headline and tiles. */
  .hero-badge-review { top: 17% !important; }
  .hero-badge-call { bottom: 0 !important; }
}
@media (max-width: 815px) {
  /* Once the showcase phone wraps under the browser mockup, centre it. */
  .showcase-phone { margin-left: 0 !important; }
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; font-weight: 700;
  color: #FAF9F6; background: #0E1A16; padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FAF9F6; }
main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Pricing: plan cards (three across on desktop, stacked with the bundle first on small screens) ---- */
@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr !important; }
  .plan-featured { order: -1; }
}
