/* ============================================================
   BillPayable.Online — Glassmorphic UI
   NOTE: Replace the placeholder phone numbers (555) 123-4567
   with your real number by searching for "555-123-4567"
   across all .html files and in this CSS.
   ============================================================ */

:root {
  --phone: "(555) 123-4567";
  --navy: #0e3a89;
  --accent: #6447b8;
  --accent2: #2e7df6;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.35);
  --text: #eef3ff;
  --text-muted: rgba(238, 243, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1535 0%, #123a7a 45%, #2e4f9e 75%, #6a2cdd 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Ambient floating blobs for the glass effect */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 420px; height: 420px;
  top: -80px; right: -100px;
  background: radial-gradient(circle, #6a2cdd, transparent 70%);
}
body::after {
  width: 480px; height: 480px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, #2e7df6, transparent 70%);
}

.wrapper {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

section { position: relative; z-index: 1; }

/* ============ Disclosure bar ============ */
.disclosure-bar {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  padding: 4px 0;
  position: relative;
  z-index: 3;
}
.disclosure-bar p {
  margin: 0; padding: 0;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

/* ============ Navigation ============ */
.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
}
.logo span { color: #ffd76a; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.25s ease;
}
.nav-links a:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============ Buttons / Glass tiles ============ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: 0.25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.24); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.btn-solid {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-phone {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}
.btn-phone::before { content: "📞 "; }

.section-pad { padding: 70px 0; }

/* ============ Hero ============ */
.hero { text-align: center; padding: 80px 0 50px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  background: linear-gradient(90deg, #fff, #ffd76a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 18px 0 12px;
}
.hero .sub { font-size: 1.2rem; color: var(--text-muted); max-width: 720px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; }

/* ============ Section headings ============ */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ============ Cards ============ */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  text-align: center;
  padding: 26px 20px;
  border-radius: 22px;
}
.card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  color: #ffd76a;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.feature-card { text-align: left; }
.feature-card .title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.feature-card .num {
  flex: 0 0 40px; height: 40px;
  display: grid; place-items: center;
  font-weight: 800; color: #0e3a89;
  background: #fff;
  border-radius: 12px;
}
.feature-card ul { list-style: none; margin-top: 10px; }
.feature-card ul li::before { content: "✓ "; color: #7bf1a8; }
.feature-card ul li { color: var(--text-muted); font-size: 0.94rem; margin: 4px 0; }

/* ============ Center CTA ============ */
.cta-panel {
  text-align: center;
  padding: 46px 30px;
  border-radius: 26px;
}
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { color: var(--text-muted); margin-bottom: 22px; }
.cta-panel .big-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 6px 0 14px;
}

/* ============ Feature rows ============ */
.row-2 { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; align-items: center; }
.kv { padding: 20px; border-radius: 20px; margin-bottom: 16px; }
.kv h4 { margin-bottom: 6px; font-size: 1.05rem; }
.kv h4::before { content: ""; }
.kv p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Simple CTA ============ */
.simple-cta { text-align: center; }
.simple-cta .big-phone {
  font-size: 1.7rem; font-weight: 800; color: #fff; text-decoration: none;
  display: inline-block; margin: 14px 0;
}

/* ============ Footer ============ */
footer {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h5 { margin-bottom: 14px; font-size: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin: 7px 0; }
.footer-grid ul li a { color: var(--text-muted); text-decoration: none; }
.footer-grid ul li a:hover { color: #fff; }
.footer-grid p { color: var(--text-muted); font-size: 0.9rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
}
.socials a:hover { background: rgba(255,255,255,0.24); }
.important-disclaimer {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}
.important-disclaimer p { margin: 6px 0; }

/* ============ Floating call button ============ */
.floating-call {
  position: fixed;
  bottom: 74px; right: 22px;
  z-index: 40;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  color: #fff;
  text-decoration: none;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.tap-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  text-align: center;
  background: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 12px;
  backdrop-filter: blur(10px);
}
.tap-bar a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.05rem; }

/* ============ Legal content ============ */
.legal { max-width: 860px; margin: 0 auto; padding: 80px 0 40px; }
.legal .card { text-align: left; padding: 36px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.legal h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.97rem; }
.legal ol { padding-left: 20px; }
.legal ol li { margin: 8px 0; }

/* ============ FAQ ============ */
details.glass {
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: 16px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::after { content: "+"; font-size: 1.4rem; color: #ffd76a; }
details[open] summary::after { content: "−"; }
details p { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }

/* ============ Form ============ */
form.glass { padding: 30px; border-radius: 24px; max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; margin-bottom: 6px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(238,243,255,0.6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #ffd76a; }
.field select option { color: #0e3a89; }
.form-note { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 14px; }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; margin-bottom: 28px; }
.contact-item { text-align: center; padding: 22px 16px; border-radius: 20px; }
.contact-item .icon { font-size: 1.5rem; margin-bottom: 10px; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.92rem; }
.contact-item a { color: #ffd76a; text-decoration: none; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ============ Pricing ============ */
.price-hero { text-align: center; }
.price-badge { display: inline-block; margin: 10px 0; }
.price-badge .amount { font-size: 3rem; font-weight: 800; color: #ffd76a; }
.check-list { list-style: none; max-width: 560px; margin: 24px auto; text-align: left; }
.check-list li { margin: 9px 0; color: var(--text-muted); }
.check-list li::before { content: "✓ "; color: #7bf1a8; }
.price-example { text-align: center; padding: 26px 18px; }
.price-example .bill { color: var(--text-muted); }
.price-example .monthly { font-size: 1.7rem; font-weight: 800; color: #ffd76a; margin-top: 10px; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .grid-4, .grid-6, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .row-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { justify-content: center; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-6, .grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 45px 0; }
}
