/* ============ Growth features: pricing, free tools, WhatsApp button, landing & blog pages ============ */

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px) var(--pad); border-right: 1px solid var(--line); background: var(--paper); transition: background .5s var(--ease); }
.plan:last-child { border-right: 0; }
.plan:hover { background: var(--white); }
.plan-hot { background: var(--navy); color: var(--white); }
.plan-hot:hover { background: #1d1d1d; }
.plan-tag { position: absolute; top: 18px; right: var(--pad); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--blue); color: var(--white); padding: 5px 9px 4px; border-radius: 3px; }
.plan-name { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.plan-for { margin-top: 6px; font-size: .92rem; color: var(--grey); max-width: 30ch; }
.plan-hot .plan-for { color: rgba(255, 255, 255, .65); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 18px; }
.plan-price b { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 4.4vw, 4.4rem); line-height: .9; color: var(--blue); }
.plan-hot .plan-price b { color: var(--blue-soft); }
.plan-price span { font-size: .85rem; color: var(--grey); }
.plan-list { display: grid; gap: 10px; margin-bottom: 28px; font-size: .95rem; }
.plan-list li { position: relative; padding-left: 22px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.plan-hot .plan-list li::before { background: var(--blue-soft); }
.plan-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; padding: 12px 12px 10px 18px; border-radius: 6px; background: var(--navy); color: var(--white); transition: background .4s var(--ease), color .4s, transform .4s var(--ease); }
.plan-btn span { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-family: var(--body); font-size: .9rem; margin-top: -2px; transition: transform .5s var(--ease), background .4s; }
.plan-btn:hover { background: var(--blue); transform: translateY(-3px); }
.plan-btn:hover span { background: var(--white); color: var(--blue); transform: rotate(-45deg); }
.plan-hot .plan-btn { background: var(--white); color: var(--navy); }
.plan-hot .plan-btn:hover { background: var(--blue); color: var(--white); }
.plans-note { padding: 18px var(--pad) 26px; font-size: .92rem; color: var(--grey); border-bottom: 1px solid var(--line); }
.plans-note a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.plans-note a:hover { text-decoration: underline; }

/* ---------- free tools (blue section) ---------- */
.tools { background: var(--blue); color: var(--white); }
.tools .big-row { border-color: rgba(255, 255, 255, .2); }
.tools .giant, .tools .giant-num { color: var(--white) !important; }
.tools .giant sup { color: rgba(255, 255, 255, .7); }
.tools .big-note { color: rgba(255, 255, 255, .8); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tool-card { position: relative; padding: clamp(24px, 3vw, 44px) var(--pad); border-right: 1px solid rgba(255, 255, 255, .2); display: flex; flex-direction: column; }
.tool-card:last-child { border-right: 0; }
.tool-kick { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tool-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: .95; text-transform: uppercase; margin-top: 10px; max-width: 16ch; }
.tool-text { margin-top: 14px; max-width: 46ch; color: rgba(255, 255, 255, .82); line-height: 1.55; }
.tools .qf input { border-bottom-color: rgba(255, 255, 255, .45); color: var(--white); }
.tools .qf label { color: rgba(255, 255, 255, .7); }
.tools .qf input:focus, .tools .qf input:not(:placeholder-shown) { border-color: var(--white); }
.tools .qf input:focus + label, .tools .qf input:not(:placeholder-shown) + label { color: var(--white); }
.tools .qf.bad input { border-color: #ffd0d0; }
.aform { display: grid; gap: 4px; margin-top: 18px; }
.tools .qbtn { background: var(--white); color: var(--navy); }
.tools .qbtn:hover { background: var(--navy); color: var(--white); }
.tools .qstatus { color: rgba(255, 255, 255, .85); }
.tools .qstatus.ok { color: var(--white); font-weight: 500; }
.tools .qstatus.err { color: #ffd0d0; }
/* calculator */
.calc-goals { display: inline-flex; gap: 6px; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .18); width: fit-content; }
.calc-goal { border: 0; cursor: pointer; padding: 8px 18px 7px; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .8); font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; transition: background .35s var(--ease), color .35s; }
.calc-goal.on { background: var(--white); color: var(--blue); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 24px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.calc-label output { font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: .01em; color: var(--white); }
.calc input[type="range"] { width: 100%; margin-top: 10px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(var(--white), var(--white)) 0 / var(--fill, 4%) 100% no-repeat, rgba(255, 255, 255, .25); outline: none; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.calc-results div { padding: 14px 12px; border-radius: 8px; background: rgba(0, 0, 0, .16); }
.calc-results b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; }
.calc-results span { display: block; margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.calc-note { margin-top: 14px; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.calc-cta { margin-top: 20px; background: var(--white); color: var(--navy); }
.calc-cta:hover { background: var(--navy); color: var(--white); }

/* ---------- quote popup extras ---------- */
.qm-sub { margin-top: 10px; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.qm-sub a { color: var(--blue-soft); white-space: nowrap; }
.qm-sub a:hover { text-decoration: underline; }
.qplan { display: flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 10px 8px 14px; border-radius: 999px; background: var(--blue); font-size: .9rem; }
.qplan[hidden] { display: none; }
.qplan-x { border: 0; background: rgba(255, 255, 255, .2); color: var(--white); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; }

/* ---------- floating WhatsApp button ---------- */
.wa-float { position: fixed; z-index: 40; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px 0 13px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em; transition: transform .5s var(--ease), box-shadow .4s, opacity .4s; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 211, 102, .4); }
.wa-float:hover span { max-width: 160px; }
.wa-float.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-ping 2.8s ease-out infinite; pointer-events: none; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- footer links ---------- */
.foot-links { display: inline-block; margin-top: 8px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- landing & blog pages (dark, use body.proj from project.css) ---------- */
.lp-hero { position: relative; overflow: hidden; padding: clamp(60px, 10vw, 140px) var(--pad) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.lp-kick { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); }
.lp-h1 { position: relative; z-index: 2; font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 11vw, 11rem); line-height: .86; text-transform: uppercase; margin-top: 14px; max-width: 12ch; }
.lp-h1 em { font-style: normal; color: var(--blue-soft); }
.lp-lead { position: relative; z-index: 2; margin-top: 24px; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .78); }
.lp-ctas { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; padding: 12px 18px 10px; border-radius: 6px; background: var(--white); color: var(--navy); transition: background .4s var(--ease), color .4s, transform .4s var(--ease); }
.lp-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }
.lp-btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.lp-btn.ghost:hover { background: #25d366; box-shadow: none; }
.lp-sec { padding: clamp(40px, 6vw, 80px) var(--pad); border-bottom: 1px solid var(--line-dark); }
.lp-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .9; text-transform: uppercase; margin-top: 12px; max-width: 18ch; }
.lp-h2 em { font-style: normal; color: var(--blue-soft); }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.lp-card { padding: 22px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.lp-card:hover { transform: translateY(-6px); border-color: rgba(125, 140, 255, .5); background: rgba(125, 140, 255, .08); }
.lp-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.lp-card p { margin-top: 8px; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-tags span { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: .95rem; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.lp-tags span:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.lp-faq { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.lp-faq details { border-bottom: 1px solid var(--line-dark); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; text-transform: uppercase; transition: color .3s; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-family: var(--body); font-size: 1.6rem; color: var(--blue-soft); transition: transform .4s var(--ease); flex: none; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary:hover { color: var(--blue-soft); }
.lp-faq details p { padding: 0 0 20px; max-width: 70ch; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.lp-faq details p a, .post-body a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.lp-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(40px, 6vw, 80px) var(--pad); background: var(--blue); }
.lp-band .lp-h2 { margin: 0; }
.lp-band .lp-btn:hover { background: var(--navy); }
.lp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px var(--pad) 90px; font-size: .85rem; color: var(--grey-dark); }
.lp-foot a:hover { color: var(--white); }

/* blog list */
.post-list { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.post-list a { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.post-list h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 4rem); line-height: .95; text-transform: uppercase; transition: color .35s, transform .6s var(--ease); }
.post-list p { grid-column: 1; font-size: .98rem; color: rgba(255, 255, 255, .65); max-width: 70ch; }
.post-list .post-meta { grid-column: 2; grid-row: 1 / span 2; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-dark); text-align: right; }
.post-list a:hover h2 { color: var(--blue-soft); transform: translateX(10px); }
/* article */
.post-body { max-width: 720px; margin: 0 auto; padding: clamp(36px, 5vw, 70px) var(--pad); font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.75; color: rgba(255, 255, 255, .85); }
.post-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; text-transform: uppercase; color: var(--white); margin: 40px 0 12px; }
.post-body p + p { margin-top: 16px; }
.post-body ul, .post-body ol { margin: 14px 0 0 1.2em; display: grid; gap: 8px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body strong { color: var(--white); }
.post-cta { margin-top: 40px; padding: 26px; border-radius: 12px; background: var(--blue); color: var(--white); }
.post-cta p { margin: 0 0 16px; font-family: var(--display); font-size: 1.8rem; line-height: 1.05; text-transform: uppercase; }
.post-cta .lp-btn:hover { background: var(--navy); }

/* ---------- smaller screens ---------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .tool-card:last-child { border-bottom: 0; }
  .lp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tools .giant { font-size: clamp(3.2rem, 15.5vw, 6rem); }
  .calc-results { grid-template-columns: 1fr; }
  .calc-results div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .calc-results span { margin-top: 0; text-align: right; }
  .lp-grid { grid-template-columns: 1fr; }
  .post-list a { grid-template-columns: 1fr; }
  .post-list .post-meta { grid-column: 1; grid-row: auto; text-align: left; }
  .wa-float { left: 12px; bottom: 12px; height: 48px; padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; }
}
