/* Pricing page ("Desktop - 15" in Figma) */
.page-pricing { background: #e8e9ed; }
.page-pricing main { background: #e8e9ed; }

.pricing-hero { padding-bottom: clamp(120px, 12vw, 170px); }
.hero-bubble-wrap { position: relative; display: inline-block; margin-top: clamp(32px, 4vw, 52px); }
.hero-bubble {
  position: relative; background: #fff; color: var(--violet); border-radius: 30px;
  padding: 12px 28px; font-weight: 700; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.hero-bubble span { color: #e50000; }
.hero-bubble::after { /* tail pointing at the person */
  content: ""; position: absolute; right: -8px; bottom: -22px; width: 70px; height: 40px;
  background: #fff; clip-path: path("M0 0 C 20 26, 50 38, 70 40 C 52 30, 42 16, 40 0 Z");
}
.hero-person { position: absolute; left: calc(100% + 10px); top: -40px; width: clamp(160px, 16vw, 230px); height: auto; }

.category-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 30px); margin-top: calc(-1 * clamp(70px, 7vw, 100px)); }
.category-card {
  display: grid; justify-items: center; gap: 18px; text-align: center; text-decoration: none;
  background: #eceef3; border: 1.5px solid var(--violet); border-radius: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
  padding: 16px 20px 28px; color: var(--navy); font-weight: 500; font-size: clamp(.95rem, .9rem + .2vw, 1.1rem); line-height: 1.3;
  transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, .2); }
.category-pill { display: block; width: min(100%, 240px); background: var(--blue); color: #fff; border-radius: 4px; padding: 10px; font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); font-weight: 700; }

.plans-section { padding-top: clamp(50px, 6vw, 80px); background: linear-gradient(180deg, #e8e9ed 0%, #c9e3ec 100%); }
.plans-heading { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 400; }
.plans-lead { margin: 12px auto 0; max-width: 26.25rem; color: var(--muted); font-size: .95rem; }

.seg-tabs { display: flex; justify-content: center; max-width: 35rem; margin: 0 auto 50px; border: 1.5px solid var(--blue); }
.seg-tab { flex: 1; background: #eceef3; border: 0; border-right: 1.5px solid var(--blue); padding: 10px 8px; font-size: clamp(1rem, .9rem + .4vw, 1.3rem); color: var(--blue); transition: background .2s, color .2s; }
.seg-tab:last-child { border-right: 0; }
.seg-tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.sub-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px auto 30px; }
.sub-tab { background: #fff; border: 1.5px solid var(--violet); color: var(--violet); border-radius: 20px; padding: 7px 18px; font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.sub-tab[aria-selected="true"] { background: var(--violet); color: #fff; }

/* Comparison table */
.cmp-wrap { overflow-x: auto; max-width: 68.75rem; margin: 0 auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); background: #eceef3; }
.cmp { width: 100%; table-layout: fixed; min-width: calc(200px + var(--cols) * 150px); border-collapse: collapse; font-size: .88rem; color: #333; }
.cmp th, .cmp td { border: 1px solid #d3d5db; }
.cmp thead th { vertical-align: top; }
.cmp-corner { position: sticky; left: 0; z-index: 1; background: #e3e4e8; text-align: left; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 400; padding: 40px 22px; width: 200px; line-height: 1.2; }
.cmp-plan { position: relative; background: #eceef3; padding: 26px 14px 26px; text-align: center; font-weight: 400; }
.cmp-plan.is-popular { background: #f2f7ff; box-shadow: inset 0 3px 0 var(--c); }
.cmp-plan > span { display: block; }
.cmp-flag { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--c); white-space: nowrap; }
.cmp-flag.is-value { color: var(--violet); }
.cmp-name { color: var(--c); font-size: 1.05rem; font-weight: 600; }
.cmp-price { margin-top: 18px; font-size: 1.25rem; font-weight: 500; color: #111; }
.cmp-sub { font-size: .72rem; color: var(--muted); }
.cmp-desc { margin: 16px auto 0; max-width: 180px; font-size: .78rem; color: #555; min-height: 2.6em; }
.cmp-btn { margin-top: 22px; background: var(--c); color: #fff; border: 0; border-radius: 3px; padding: 8px 20px; font-size: .8rem; font-weight: 600; transition: filter .2s; }
.cmp-btn:hover { filter: brightness(1.1); }
.cmp-group th { position: sticky; left: 0; background: #d7e3ea; text-align: left; padding: 12px; font-weight: 600; font-size: .78rem; }
.cmp tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #e3e4e8; text-align: left; font-weight: 400; padding: 8px 12px; }
.cmp td { text-align: center; padding: 6px; background: #eceef3; }
.cmp .yes { color: var(--success); }
.cmp .no { color: #e04848; }
.cmp .yes .icon, .cmp .no .icon { display: inline; }
.cmp .val { font-weight: 600; color: var(--violet); }
.cmp-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.cmp-note a { color: var(--blue); }

.try-us { background: #e6e6e6; }
.try-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; }
.try-lead { margin: 10px 0 22px; color: var(--muted); }
.try-us .btn { border-radius: 2px; padding: 10px 26px; font-size: 1rem; }

/* FAQ card with diagonal blue stripes */
.pricing-faq { position: relative; overflow: hidden; background: #e2e2e2; }
.faq-stripes { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(162deg, transparent 38%, var(--blue) 38%, var(--blue) 43%, transparent 43%, transparent 48%, var(--blue-deep) 48%, var(--blue-deep) 55%, transparent 55%); }
.faq-heading { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 700; }
.faq-lead { margin-top: 4px; font-size: 1.1rem; }
.faq-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 68.75rem; margin: 0 auto;
  background: rgba(236, 238, 243, .78); backdrop-filter: blur(3px); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); padding: clamp(24px, 4vw, 44px); }
.faq-list.is-light { gap: 12px; }
.faq-list.is-light .faq-item { border: 1.5px solid var(--blue); border-radius: 4px; background: rgba(255, 255, 255, .35); color: #222; }
.faq-list.is-light .faq-item summary { padding: 10px 14px; font-size: .95rem; font-weight: 400; }
.faq-list.is-light .faq-item .icon { color: var(--blue); }
.faq-list.is-light .faq-item[open] { background: var(--grad); border-color: transparent; color: #fff; border-radius: 8px; }
.faq-list.is-light .faq-item[open] .icon { color: #fff; }
.faq-list.is-light .faq-answer { padding: 0 14px 12px; font-size: .92rem; }
.faq-card-img { width: 100%; max-width: 23.75rem; margin-inline: auto; }

@media (max-width: 900px) {
  .hero-person { display: none; }
  .faq-card { grid-template-columns: 1fr; }
  .faq-card-img { max-width: 16.25rem; order: -1; }
}
@media (max-width: 640px) {
  .category-cards { grid-template-columns: 1fr; max-width: 26.25rem; }
  .cmp-corner { width: 140px; font-size: 1.2rem; padding: 20px 12px; }
  .cmp { min-width: calc(140px + var(--cols) * 130px); }
}
