/* Qserve Billing product page */
.bill-hero { min-height: 0; padding: 7.5rem 0 5rem; }
.bill-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3.5rem; align-items: center; }
.bill-hero h1 { margin: 1rem 0; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.bill-hero .hero-sub { max-width: 34rem; margin: 0; }
.bill-hero .hero-actions { margin-top: 1.7rem; flex-wrap: wrap; }
.bill-micro { margin-top: 1rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.65); }
.bill-crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 1.1rem; }
.bill-crumbs a:hover { color: #fff; }
.bill-stage { position: relative; min-width: 0; }
.bill-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.14); }
.bill-browser-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: #eef3f0; }
.bill-browser-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #c9d6cf; }
.bill-browser-bar span { margin-left: 0.6rem; flex: 1; padding: 0.12rem 0.7rem; border-radius: 999px; background: #fff; font-size: 0.72rem; color: var(--muted); }
.bill-browser img { width: 100%; height: auto; }
.bill-chip { position: absolute; display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.85rem; border-radius: 14px; background: #fff; color: var(--ink); font-size: 0.82rem; font-weight: 700; box-shadow: var(--shadow-lg); animation: bill-float 5s ease-in-out infinite; }
.bill-chip b { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.bill-chip-a { top: 12%; left: -1.5rem; }
.bill-chip-b { bottom: 18%; right: -1rem; animation-delay: 1.2s; }
.bill-chip-c { bottom: -1.1rem; left: 12%; animation-delay: 2.4s; }
@keyframes bill-float { 50% { transform: translateY(-8px); } }
.bill-strip { background: var(--ink); color: #fff; }
.bill-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.2rem; padding: 1.1rem 0; font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.bill-strip li::before { content: "✓"; color: var(--green); margin-right: 0.5rem; font-weight: 800; }
.bill-narrow { max-width: 860px; }
.bill-answer-wrap h2 { margin-bottom: 1rem; }
.bill-answer-wrap p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 1rem; }
.bill-answer-wrap a { color: var(--green-dark); font-weight: 600; }
.bill-answer { font-size: 1.16rem !important; color: var(--ink) !important; padding-left: 1rem; border-left: 4px solid var(--green); }
.bill-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.5rem; }
.bill-facts div { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.bill-facts dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.bill-facts dd { font-weight: 600; font-size: 0.95rem; }
.bill-tour { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.bill-tabs { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.35rem; margin: 0 auto 1.6rem; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); scrollbar-width: none; }
.bill-tabs::-webkit-scrollbar { display: none; }
.bill-tab { flex-shrink: 0; border: 0; background: none; font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.bill-tab:hover { background: var(--green-tint); }
.bill-tab[aria-selected="true"] { background: var(--green); color: #fff; }
.bill-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 2.5rem; align-items: center; animation: bill-in 0.3s ease; }
.bill-panel[hidden] { display: none; }
@keyframes bill-in { from { opacity: 0; transform: translateY(8px); } }
.bill-panel .bill-browser { border-color: var(--line); box-shadow: var(--shadow-lg); }
.bill-panel h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.bill-panel p { color: var(--muted); }
.bill-checks { list-style: none; display: grid; gap: 0.4rem; margin-top: 1rem; font-weight: 600; font-size: 0.93rem; }
.bill-checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 0.55rem; }
.bill-note { margin-top: 1.1rem; text-align: center; font-size: 0.82rem; color: var(--muted); }
.bill-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.bill-cell { grid-column: span 2; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bill-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bill-cell.wide { grid-column: span 3; }
.bill-cell.dark { background: linear-gradient(145deg, var(--green-deep), var(--ink)); color: #fff; border-color: transparent; }
.bill-cell.dark p { color: rgba(255, 255, 255, 0.78); }
.bill-cell h3 { margin: 0.8rem 0 0.4rem; }
.bill-cell p { color: var(--muted); font-size: 0.95rem; }
.bill-ico { font-size: 1.5rem; line-height: 1; }
.bill-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.bill-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; text-align: left; }
.bill-table th, .bill-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.bill-table thead th { background: var(--bg-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.bill-table tbody tr:last-child th, .bill-table tbody tr:last-child td { border-bottom: 0; }
.bill-table td:last-child { color: var(--green-deep); font-weight: 600; }
.bill-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bill-steps li { counter-increment: s; padding: 1.3rem; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.bill-steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.7rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.bill-steps strong { display: block; margin-bottom: 0.2rem; }
.bill-steps span { color: var(--muted); font-size: 0.93rem; }
.bill-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.bill-plan { position: relative; display: flex; flex-direction: column; padding: 1.8rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.bill-plan.pop { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.bill-plan em { position: absolute; top: -0.7rem; left: 1.6rem; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--green); color: #fff; font-style: normal; font-size: 0.72rem; font-weight: 700; }
.bill-price { margin: 0.5rem 0 0.3rem; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.bill-price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.bill-plan p { color: var(--muted); flex: 1; margin-bottom: 1.1rem; }
.bill-plan .btn { justify-content: center; }
.bill-outline { border: 1.5px solid var(--green); color: var(--green-deep); }
.bill-faq { display: grid; gap: 0.6rem; }
.bill-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0.9rem 1.1rem; }
.bill-faq summary { font-weight: 700; cursor: pointer; }
.bill-faq p { margin-top: 0.6rem; color: var(--muted); }
.bill-updated { margin-top: 1.2rem; font-size: 0.84rem; color: var(--muted); }
.bill-cta-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 960px) {
  .bill-hero-grid, .bill-panel { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .bill-panel-copy { order: -1; }
  .bill-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bill-plans { grid-template-columns: minmax(0, 1fr); }
  .bill-cell, .bill-cell.wide { grid-column: span 3; }
  .bill-tabs { width: auto; justify-content: flex-start; border-radius: 16px; }
  .bill-chip-a { left: 0.5rem; }
  .bill-chip-b { right: 0.5rem; }
}
@media (max-width: 600px) {
  .bill-bento { grid-template-columns: minmax(0, 1fr); }
  .bill-cell, .bill-cell.wide { grid-column: auto; }
  .bill-facts, .bill-steps { grid-template-columns: minmax(0, 1fr); }
  .bill-hero { padding-top: 6rem; }
  .bill-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bill-chip, .bill-panel { animation: none; } }
