/* ==========================================================================
   FloridaBuyerLeads.com — Production Stylesheet
   Surprise Of Life LLC
   ========================================================================== */

:root {
  /* Color */
  --navy-deep:   #071829;
  --navy:        #0A2540;
  --navy-soft:   #14375E;
  --gold:        #C9922B;
  --gold-soft:   #E4B667;
  --teal:        #16806B;
  --teal-soft:   #E4F3EF;
  --ink:         #10202E;
  --slate:       #52626F;
  --line:        #E2E6E8;
  --paper:       #FFFFFF;
  --paper-dim:   #F5F6F5;
  --danger:      #B3261E;
  --danger-soft: #FBEAE9;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw: 1180px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-1: 0 1px 2px rgba(7,24,41,0.06), 0 1px 1px rgba(7,24,41,0.04);
  --shadow-2: 0 8px 24px rgba(7,24,41,0.10);
  --shadow-3: 0 20px 48px rgba(7,24,41,0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; color: var(--navy-deep); }
p { margin: 0 0 1em; color: var(--slate); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--navy-deep); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.72); }
.section--dim { background: var(--paper-dim); }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; color: var(--gold); font-weight: 600; }
.section--dark .eyebrow { color: var(--gold-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h-md { font-size: 1.35rem; }
.lede { font-size: 1.1rem; color: var(--slate); }
.section--dark .lede { color: rgba(255,255,255,0.75); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-s); font-weight: 600; font-size: 0.96rem; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-1); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: var(--shadow-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: inherit; }
.btn-outline:hover { border-color: var(--gold); }
.btn-outline-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--navy-deep); }
.brand img { height: 32px; width: 32px; }
.brand small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--slate); font-weight: 500; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); border-color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.user-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 6px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta .btn-outline-dark, .nav-cta .hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Ticker (signature element) ---------- */
.ticker { background: var(--navy-deep); color: rgba(255,255,255,0.86); border-top: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; padding: 11px 0; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; animation: ticker-scroll 32s linear infinite; width: max-content; }
.ticker-track span { color: var(--gold-soft); margin-right: 8px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; overflow-x: auto; } }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 0; background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 320px; background: radial-gradient(ellipse at center, rgba(201,146,43,0.22), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-bottom: 64px; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 7px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; margin-bottom: 26px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -0.015em; }
.hero .lede { max-width: 560px; margin: 20px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-pillars { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.hero-pillars .pillar { display: flex; align-items: center; gap: 8px; }
.hero-pillars svg { width: 18px; height: 18px; color: var(--gold-soft); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.1); }
.stat-row .stat { padding: 26px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,0.1); }
.stat-row .stat:first-child { border-left: none; }
.stat-num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--gold-soft); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } .stat-row .stat:nth-child(2n+1) { border-left: none; } .stat-row .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.1); } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }
.card-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); margin-bottom: 10px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.card-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.is-popular { border-color: var(--gold); box-shadow: var(--shadow-2); }
.price-tag { position: absolute; top: -13px; right: 24px; background: var(--gold); color: var(--navy-deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.price-tier { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); font-weight: 700; }
.price-amount { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy-deep); margin: 12px 0 2px; }
.price-amount sup { font-size: 1.1rem; top: -1em; }
.price-period { font-size: 0.85rem; color: var(--slate); margin-bottom: 20px; }
.price-features { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-features li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.price-features svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-deep); }
.field .hint { font-size: 0.78rem; color: var(--slate); font-weight: 400; }
input, select, textarea {
  font-family: var(--font-body); font-size: 0.96rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(10,37,64,0.1); }
textarea { resize: vertical; min-height: 110px; }
.form-card { max-width: 640px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px; box-shadow: var(--shadow-1); }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--radius-s); font-size: 0.9rem; margin-bottom: 18px; }
.form-msg.show { display: block; }
.form-msg.success { background: var(--teal-soft); color: var(--teal); }
.form-msg.error { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

/* ---------- Auth pages ---------- */
.auth-shell { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; background: var(--paper-dim); padding: 60px 20px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px; box-shadow: var(--shadow-2); }
.auth-card h1 { font-size: 1.6rem; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--slate); }
.auth-switch a { color: var(--navy); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 0.8rem; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Dashboard ---------- */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 76px); }
.dash-side { background: var(--navy-deep); color: #fff; padding: 30px 18px; }
.dash-side .user-box { padding: 14px; background: rgba(255,255,255,0.06); border-radius: var(--radius-m); margin-bottom: 22px; }
.dash-side .user-box .name { font-weight: 600; font-size: 0.94rem; }
.dash-side .user-box .role { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-nav a, .dash-nav button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--radius-s); font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 4px; width: 100%; text-align: left; background: none; border: none; font-family: inherit; }
.dash-nav a:hover, .dash-nav a.is-active, .dash-nav button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.dash-nav svg { width: 17px; height: 17px; }
.dash-main { padding: 40px; background: var(--paper-dim); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; flex-wrap: wrap; gap: 14px; }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.dash-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); font-family: var(--font-mono); }
.dash-card .value { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-deep); margin-top: 6px; }
.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; margin-bottom: 24px; }
.dash-panel h3 { font-size: 1.05rem; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data-table th { text-align: left; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.badge.paid, .badge.active { background: var(--teal-soft); color: var(--teal); }
.badge.pending { background: #FFF3D9; color: #92660B; }
.badge.failed, .badge.canceled { background: var(--danger-soft); color: var(--danger); }
.empty-state { text-align: center; padding: 46px 20px; color: var(--slate); }
.empty-state svg { width: 40px; height: 40px; color: var(--line); margin-bottom: 12px; }
.gate-notice { max-width: 460px; margin: 90px auto; text-align: center; padding: 40px; }
@media (max-width: 980px) { .dash-shell { grid-template-columns: 1fr; } .dash-side { display: flex; align-items: center; gap: 16px; overflow-x: auto; } .dash-side .user-box { display: none; } .dash-nav { display: flex; gap: 6px; } .dash-cards { grid-template-columns: repeat(2, 1fr); } .dash-main { padding: 22px; } }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.t-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.t-quote { font-size: 0.96rem; color: var(--ink); }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; font-family: var(--font-mono); }
.t-person .who b { display: block; font-size: 0.88rem; }
.t-person .who span { font-size: 0.78rem; color: var(--slate); }

/* ---------- Blog ---------- */
.post-card img, .post-thumb { border-radius: var(--radius-m); margin-bottom: 16px; aspect-ratio: 16/10; object-fit: cover; background: var(--paper-dim); }
.post-meta { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.post-tag { color: var(--teal); }
article.prose { max-width: 720px; margin: 0 auto; }
article.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
article.prose p { color: var(--ink); font-size: 1.02rem; }
article.prose ul { margin: 0 0 1.2em 1.2em; list-style: disc; }
article.prose li { margin-bottom: 0.5em; color: var(--ink); }

/* ---------- Marketplace / product ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; background: #fff; }
.filter-chip.is-active, .filter-chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.product-thumb { border-radius: var(--radius-s); background: var(--paper-dim); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.product-thumb svg { width: 42px; height: 42px; color: var(--navy-soft); opacity: 0.5; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 16px; }
.price-line .now { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--navy-deep); }
.price-line .was { font-family: var(--font-mono); font-size: 0.85rem; color: var(--slate); text-decoration: line-through; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.summary-row.total { font-weight: 700; font-size: 1.05rem; border-bottom: none; padding-top: 16px; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--slate); margin-top: 18px; }
.secure-note svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.error-shell { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-shell .code { font-family: var(--font-mono); font-size: 5rem; color: var(--gold); font-weight: 700; line-height: 1; }
.legal h2 { margin-top: 1.8em; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ink); font-size: 0.95rem; }
.legal ul { list-style: disc; margin-left: 1.3em; margin-bottom: 1.2em; }
.legal-updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--slate); }
