/* ============================================================
   Landing page: quote form (hero), price list, payment result
   Loaded after site.css / motion.css.
   ============================================================ */

/* ---- Hero layout with the form on the right ---- */
#quote { padding: 22px 24px 18px; margin-top: 0; }
.quote-head h2 { font-size: 22px; letter-spacing: -.03em; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.quote-head p  { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }

.qf-block { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.qf-label { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.qf-label small { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.qf-step { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* what to test: pill toggles */
.qf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.qf-chips label, .qf-sizes label { position: relative; cursor: pointer; }
.qf-chips input, .qf-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.qf-chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 12px; font-size: 13.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; transition: background .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease); user-select: none; }
.qf-chips label:hover span { border-color: var(--accent); }
.qf-chips input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-2); font-weight: 550; }
.qf-chips input:checked + span::before { content: '\2713'; font-weight: 700; color: var(--accent); }
.qf-chips input:focus-visible + span, .qf-sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* how big: three-way switch */
.qf-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qf-sizes span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; font-size: 14.5px; font-weight: 550; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-ctl); text-align: center; transition: background .14s var(--ease), border-color .14s var(--ease); }
.qf-sizes label:hover span { border-color: var(--accent); }
.qf-sizes input:checked + span { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent); }
.qf-sizedesc { margin: 9px 2px 0; font-size: 13.5px; color: var(--ink-2); min-height: 20px; }

#quote .quote-grid { gap: 0 12px; }
#quote .field .form-label { font-size: 13.5px; }

/* ---- Result: the quote, in place ---- */
.qd { text-align: left; padding: 4px 2px 2px; outline: none; }
.qd-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qd-top .material-icons { font-size: 30px; color: var(--ok); }
.qd-top h3 { font-size: 21px; letter-spacing: -.03em; font-weight: 600; line-height: 1.2; }
.qd-top .qd-ref { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-chip); padding: 3px 9px; }
.qd-lines { list-style: none; margin: 4px 0 0; padding: 0; }
.qd-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.qd-lines li span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qd-lines li.disc { color: var(--ok); } .qd-lines li.disc span:last-child { color: var(--ok); }
.qd-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-weight: 600; color: var(--ink); }
.qd-total span:last-child { font-size: 30px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.qd-lead { font-size: 17px; color: var(--ink); font-weight: 550; line-height: 1.45; margin: 2px 0 8px; }
.qd-meta { font-size: 13px; color: var(--ink-3); margin: 2px 0 16px; line-height: 1.5; }
.qd-note { margin: 10px 0 4px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--accent-tint); font-size: 14px; color: var(--ink); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; white-space: pre-line; }
.qd .btn { width: 100%; justify-content: center; }
.qd-mail { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.qd-mail .material-icons { font-size: 18px; color: var(--accent); }
.qd-again { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-size: 13.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qd-again:hover { color: var(--accent); }

/* ---- "Thanks" banner after returning from Razorpay ---- */
.pay-banner { position: relative; z-index: 120; background: var(--ok-bg); border-bottom: 1px solid var(--ok-line); color: var(--ink); font-size: 15px; }
.pay-banner .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.pay-banner .material-icons { color: var(--ok); }
.pay-banner button { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--ink-2); }

/* ---- What it costs ---- */
.cost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.cost-side h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; }
.cost-side > div { padding: 0 0 24px; }
.cost-side p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.cost-sizes { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cost-sizes li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.cost-sizes li strong { color: var(--ink); font-weight: 600; }
.cost-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cost-cta span { font-size: 15px; color: var(--ink-3); }

@media (max-width: 900px) {
  .cost-grid { grid-template-columns: 1fr; gap: 28px; }
  #quote { padding: 22px 18px 18px; }
}
@media (max-width: 560px) {
  .qf-sizes span { font-size: 14px; }
  .qd-total span:last-child { font-size: 26px; }
  #quote .quote-grid { grid-template-columns: 1fr; }
}

/* In-page jumps (nav links, "Get started") land below the sticky nav, not under it */
section[id], #quote { scroll-margin-top: 84px; }

/* ---- Plans: Basic (free), Pro, Enterprise ---- */
.plans-head { text-align: center; margin-left: auto; margin-right: auto; }
.plans-head h2, .plans-head .lead { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 30px 28px 28px; box-shadow: var(--shadow-1); }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan-price { margin-top: 10px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.plan-for { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); min-height: 3.1em; }
.plan-list { list-style: none; margin: 20px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.plan-list li strong { color: var(--ink); font-weight: 600; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-tint) 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.3 2.3 4.7-4.9' fill='none' stroke='%232548D0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
:root[data-theme="dark"] .plan-list li::before { background-image: 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.3 2.3 4.7-4.9' fill='none' stroke='%23CDFF00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-list li.plan-plus { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan-list li.plan-plus::before { display: none; }
.plan-cta { width: 100%; justify-content: center; }
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow-2), 0 0 0 1px var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 28px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.plans-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--ink-3); }

/* ---- Quote request popup ---- */
.quote-modal-card { max-width: 640px; }
.quote-modal-card #quote { padding: 0; margin: 0; }
.quote-modal-card .quote-head h2 { padding-right: 36px; }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-for { min-height: 0; }
}
