/* ==========================================================================
   FL Data Pulse - Global Stylesheet (100% Self-Hosted, Zero Dependencies)
   Palette: Deep Slate Navy (#13222F) + Burnished Gold (#B88328) + Warm Sand
   ========================================================================== */

:root {
  --brand-navy: #13222F;
  --brand-navy-light: #1E3346;
  --brand-teal: #2A7B76;
  --gold: #B88328;
  --gold-hover: #9C6D1E;
  --gold-soft: #FBF7F0;
  --gold-border: #E5D1AD;
  --bg-page: #FFFFFF;
  --bg-subtle: #F8F8F6;
  --text-main: #1A232C;
  --text-muted: #4E5D6C;
  --border-subtle: #E4E8EE;
  --shadow-sm: 0 2px 8px rgba(19, 34, 47, 0.05);
  --shadow-md: 0 12px 32px rgba(19, 34, 47, 0.08);
  --shadow-lg: 0 20px 45px rgba(19, 34, 47, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* ---------- Sticky Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--brand-navy);
}

.site-nav__logo {
  height: 36px;
  width: auto;
}

.site-nav__tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 1px solid var(--border-subtle);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background-color: var(--gold);
  color: #FFFFFF !important;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 131, 40, 0.24);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 131, 40, 0.32);
}

.btn-gold--small {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-outline-slate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background-color: #FFFFFF;
  color: var(--brand-navy) !important;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.btn-outline-slate:hover {
  border-color: var(--brand-navy);
  background-color: var(--bg-subtle);
  transform: translateY(-1px);
}

/* ---------- Hero Section & Framed Map Visual ---------- */
.hero-section {
  padding: 64px 0 76px;
  background: radial-gradient(circle at 85% 20%, #FBF7F0 0%, #FFFFFF 55%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background-color: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-teal);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  margin: 0 0 6px;
}

.hero-typewriter-line {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--gold);
  min-height: 50px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 38px;
  background-color: var(--brand-navy);
  margin-left: 4px;
  animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-checks__icon {
  color: var(--brand-teal);
  font-weight: 900;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Framed Hero Visual Card */
.hero-visual-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background-color: var(--brand-navy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}

.hero-visual-card__dots {
  display: flex;
  gap: 6px;
}

.hero-visual-card__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
}

.hero-visual-card__badge {
  color: #E8C47C;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-visual-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  background-color: #EBF1F6;
}

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

.hero-visual-card__footer {
  padding: 12px 18px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-visual-card__footer strong {
  color: var(--brand-navy);
}

/* ---------- Live Sample Data Preview Strip ---------- */
.sample-preview-section {
  padding: 56px 0;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sample-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sample-preview-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.sample-preview-header__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
}

.sample-preview-header__meta {
  font-size: 12.5px;
  color: var(--brand-teal);
  font-weight: 700;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.sample-table th {
  background-color: #F8FAFC;
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.sample-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--text-main);
  white-space: nowrap;
}

.sample-table tr:last-child td {
  border-bottom: none;
}

.status-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background-color: #E6F4F1;
  color: var(--brand-teal);
}

/* ---------- General Sections ---------- */
.section-block {
  padding: 76px 0;
}

.section-block--tinted {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-heading {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-navy);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 14px;
  line-height: 1.25;
}

.section-subheading {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ---------- 2x2 Value Cards ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 44px auto 42px;
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-card__title {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 10px;
}

.benefit-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- 3x2 Use Cases Cards ---------- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto 48px;
}

.use-case-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.use-case-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.use-case-item__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 10px;
}

.use-case-item__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Pricing Section ---------- */
.pricing-section {
  padding: 80px 0 88px;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.pricing-note {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 640px;
  margin: -30px auto 32px;
  line-height: 1.55;
}

.billing-toggle {
  display: inline-flex;
  background: #E6E9EF;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 44px;
}

.billing-toggle__btn {
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-toggle__btn.is-active {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: 0 2px 6px rgba(19, 34, 47, 0.1);
}

.pricing-badge-save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 4px;
  background-color: #E6F4F1;
  color: var(--brand-teal);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}

.pricing-card--featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.pricing-card__pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-navy);
  color: #E8C47C;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-card__title {
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 10px;
  text-align: center;
}

.pricing-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 24px;
  text-align: center;
  min-height: 44px;
}

.pricing-card__price-wrap {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__price {
  font-size: 46px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
}

.pricing-card__period {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.pricing-card__feature-label {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__check {
  color: var(--brand-teal);
  font-weight: 900;
}

.pricing-card__footer {
  margin-top: auto;
}

.pricing-card__footer .btn-gold {
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 40px;
  background-color: var(--brand-navy);
  color: #CBD5E1;
  font-size: 13.5px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #E8C47C;
}

.site-footer__legal {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.65;
}

.site-footer__legal a {
  color: #CBD5E1;
  text-decoration: underline;
}

/* ---------- Subpage Content Container ---------- */
.subpage-main {
  padding: 64px 0 84px;
  min-height: 60vh;
}

.subpage-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Modal ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 34, 47, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--brand-navy);
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 10px;
}

.modal-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.form-label span {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--gold);
  cursor: pointer;
}

.success-state {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #E6F4F1;
  color: var(--brand-teal);
  font-size: 26px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-typewriter-line,
  .hero-checks,
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual-card {
    max-width: 560px;
    margin: 0 auto;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .site-nav__tagline {
    display: none;
  }
  .hero-title,
  .hero-typewriter-line {
    font-size: 31px;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .subpage-card {
    padding: 26px 20px;
  }
}
