/* ============================================
   SuperBilling 2.0 — additions on top of home.css
   (plans, add-ons, comparison table, shop-type cards, 3D logo)
   ============================================ */

/* Brand mark in the nav and footer: the 2.0 logo is wide, not square */
.brand img { width: 52px; height: 22px; }
.brand .ver { margin-left: 2px; padding: 2px 7px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; color: #3a2304; background: var(--marigold); }

/* ===== HERO 2.0 ===== */
.hero-logo { width: 220px; height: 92px; margin: -28px auto 28px; filter: drop-shadow(0 18px 30px rgba(142, 68, 173, 0.45)); }
.pill b { color: #fff; font-weight: 700; }
.chip-ico svg { width: 18px; height: 18px; }

/* ===== SHOP TYPES ===== */
.built-list li a { display: block; }
.shops-sec { background: var(--paper); }
.shops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.shop:hover { transform: translateY(-4px); border-color: var(--brand-100); box-shadow: 0 0 0 4px var(--brand-50), var(--shadow-card); }
.shop:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.shop-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.shop-ico svg { width: 24px; height: 24px; }
.shop h3 { font-size: 1.2rem; }
.shop p { color: var(--muted); font-size: 0.93rem; }
.shop ul { display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.86rem; color: var(--text); }
.shop ul li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.shop .go { font-weight: 700; color: var(--brand); font-size: 0.9rem; }
.shop .go::after { content: ' →'; }
.shops-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.92rem; }

/* ===== PLANS 2.0 ===== */
.plans-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans-4 .plan { padding: 32px 26px; }
.plans-4 .price b { font-size: 2.9rem; }
.plan-free .price b { color: var(--green); }
.plan .limit { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.plan .limit span { padding: 4px 10px; border-radius: 999px; background: #f0edf2; color: #5b5466; font-size: 0.76rem; font-weight: 600; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: #f3f0f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%239a93a3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan-pop li.no { color: var(--on-dark-muted); }
.plan-pop li.no::before { background-color: rgba(255, 255, 255, 0.06); }

.forever { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto 48px; max-width: 980px; }
.forever li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: 0.95rem; }
.forever b { display: block; }
.forever small { color: var(--muted); font-size: 0.82rem; }
.forever i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.forever i svg { width: 20px; height: 20px; }

/* Add-ons */
.addons-head { margin: 80px auto 28px; text-align: center; max-width: 640px; }
.addons-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.addons-head h3 em { color: var(--brand); }
.addons-head p { margin-top: 10px; color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addons-4 { grid-template-columns: repeat(4, 1fr); }
.addon { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px dashed #d8cfe0; }
.addon-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.addon-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fdf1dc; color: #a8650a; }
.addon-ico svg { width: 22px; height: 22px; }
.addon-price { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
.addon-price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.addon h4 { font-size: 1.08rem; letter-spacing: -0.01em; }
.addon p { color: var(--muted); font-size: 0.92rem; }
.addon .btn { margin-top: auto; align-self: flex-start; }

/* Full comparison */
.matrix-wrap { margin-top: 80px; }
.matrix-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.matrix { min-width: 720px; }
.matrix th, .matrix td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 0.92rem; text-align: center; vertical-align: middle; }
.matrix thead th { border-top: 0; padding: 22px 18px 16px; font-size: 1rem; position: sticky; top: 0; background: #fff; }
.matrix thead small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.matrix tbody th { text-align: left; font-weight: 500; color: var(--text); width: 34%; }
.matrix tr.group th { padding-top: 22px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); background: #fcfbfd; }
.matrix .col-pop { background: var(--brand-50); }
.matrix thead .col-pop { background: var(--brand-50); color: var(--brand); }
.matrix .y, .matrix .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.matrix .y { background: #e2f5ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23137447' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.matrix .n { background: #f3f0f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%239a93a3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.matrix .t { font-weight: 600; font-variant-numeric: tabular-nums; }
.matrix .t small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }

/* Pay-once maths */
.maths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.maths li { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); }
.maths .yr { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.maths .big { display: block; margin: 10px 0 6px; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.maths p { color: var(--on-dark-muted); font-size: 0.93rem; }
.maths .hl .big { color: transparent; background: linear-gradient(100deg, #e9c6ff 0%, #c58af0 45%, #f0b86a 100%); -webkit-background-clip: text; background-clip: text; }

/* Online add-on page */
.online-note { max-width: 760px; margin: 0 auto; padding: 22px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--muted); }
.online-note b { color: var(--text); }

/* ===== REAL APP SCREENS ===== */
/* Hero: a screenshot of the app inside the Windows window frame */
.hero h1.h1-long { font-size: clamp(2.7rem, 7vw, 5.6rem); }
.app-shot { display: block; width: 100%; height: auto; }
/* Windows buttons, not the round browser dots of .app-bar i */
.app-bar-win .win-ctl i { height: 100%; border-radius: 0; background: none; }

/* A screenshot in a small window frame */
.shot { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.shot .app-bar { height: 34px; }
.shot > img { display: block; width: 100%; height: auto; }

/* Home: top features */
.top-features { background: var(--paper); }
.tf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tf-card { display: flex; flex-direction: column; gap: 24px; padding: 30px 30px 0; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.tf-card .tag { align-self: flex-start; margin-bottom: 12px; }
.tf-card h3 { font-size: 1.4rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.tf-card p { color: var(--muted); font-size: 0.95rem; }
.tf-points { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.86rem; font-weight: 500; }
.tf-points li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 7px; }
.tf-card .shot { margin-top: auto; border-radius: 12px 12px 0 0; border-bottom: 0; box-shadow: 0 -1px 0 var(--line), 0 18px 40px -18px rgba(23, 19, 28, 0.25); }
.tf-more { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ===== FEATURES PAGE ===== */
.fx-hero { padding-bottom: 72px; }
.fx-hero .built-list { margin-top: 44px; max-width: 900px; }
.fx-count { display: flex; justify-content: center; gap: 12px 40px; flex-wrap: wrap; margin-top: 36px; }
.fx-count li { text-align: center; }
.fx-count b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.fx-count small { font-size: 0.82rem; color: var(--on-dark-muted); }

.fx-sec { padding: 112px 0; background: var(--paper); scroll-margin-top: 40px; }
.fx-alt { background: #fff; }
.fx-top { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.fx-top .head { margin-bottom: 0; position: sticky; top: 112px; }
.fx-top .head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.fx-shots { display: grid; gap: 20px; }
.fx-shots figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--muted); text-align: center; }
.fx-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.fx-list li { padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.fx-alt .fx-list li { background: var(--paper); }
.fx-list b { display: block; font-size: 0.98rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.fx-list span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.fx-list .tag { display: table; margin-top: 10px; }
.fx-note { margin-top: 28px; color: var(--muted); font-size: 0.9rem; }
.fx-note a, .fx-list a { color: var(--brand); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .plans-4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
  .addons-4 { grid-template-columns: repeat(2, 1fr); }
  .shops { grid-template-columns: repeat(2, 1fr); }
  .fx-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .addons, .forever, .maths { grid-template-columns: 1fr; max-width: 560px; }
  .plans-4 { grid-template-columns: 1fr; max-width: 460px; }
  .tf-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .fx-sec { padding: 88px 0; }
  .fx-top { grid-template-columns: 1fr; gap: 36px; }
  .fx-top .head { position: static; }
}
@media (max-width: 640px) {
  .shops { grid-template-columns: 1fr; }
  .hero-logo { width: 170px; height: 71px; }
  .tf-card { padding: 24px 20px 0; }
  .fx-list { grid-template-columns: 1fr; }
  .shot .app-bar .win-title { font-size: 11.5px; }
}
