/* =========================================================
   WaWorks Stylesheet – style.css
   ========================================================= */

:root {
  --green: #128c5e;        /* primary brand green */
  --green-dark: #0b6b47;   /* hover / gradient end */
  --green-soft: #e8f6ef;   /* light green tag bg */
  --ink: #111827;          /* headings */
  --muted: #6b7280;        /* paragraph text */
  --dark: #0a1f1a;         /* dark AI section bg */
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }

/* ---------------------------------------------------------
   1. HEADER / NAVBAR
   --------------------------------------------------------- */
.nav-link { font-size: 15px; font-weight: 500; color: #374151; transition: color .2s; }
.nav-link:hover { color: var(--green); }
.nav-active { color: var(--green); font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 4px; }
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* ---------------------------------------------------------
   2. BUTTONS & SHARED
   --------------------------------------------------------- */
.hero-bg { background: radial-gradient(ellipse at top, #e8f6ef 0%, #fff 60%); }
.grad-text { background: linear-gradient(90deg, #0b6b47, #25d366); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-primary { background: var(--green); color: #fff; border-radius: 9999px; padding: .7rem 1.4rem; font-weight: 600; font-size: 14px; transition: background .2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: #f3f4f6; color: var(--ink); border-radius: 9999px; padding: .7rem 1.4rem; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.btn-ghost:hover { background: #e5e7eb; }
.btn-outline-g { display: block; text-align: center; border: 1.5px solid var(--green); color: var(--green); border-radius: 8px; padding: .65rem; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.btn-outline-g:hover { background: var(--green); color: #fff; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; color: var(--green-dark); background: var(--green-soft); padding: .3rem .8rem; border-radius: 9999px; }
.tag { font-size: 11px; padding: .2rem .65rem; border-radius: 9999px; background: var(--green-soft); color: var(--green-dark); font-weight: 500; }
.check li { position: relative; padding-left: 1.5rem; font-size: 14px; color: #4b5563; margin-bottom: .5rem; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.dark-section { background: var(--dark); color: #fff; }

/* ---------------------------------------------------------
   3. BILLING TOGGLE
   --------------------------------------------------------- */
.billing-toggle { display: inline-flex; background: #f3f4f6; border-radius: 9999px; padding: 5px; gap: 2px; max-width: 100%; overflow-x: auto; }
.bill-btn { white-space: nowrap; font-size: 12.5px; padding: .5rem .9rem; border-radius: 9999px; color: #4b5563; display: inline-flex; align-items: center; gap: .4rem; border: none; background: transparent; cursor: pointer; transition: all .2s; }
.bill-btn.active { background: var(--green); color: #fff; font-weight: 600; }
.save { font-size: 9.5px; background: var(--green-soft); color: var(--green-dark); padding: .1rem .4rem; border-radius: 6px; font-weight: 600; }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-size: 12.5px; font-weight: 500; padding: .55rem 1rem; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; cursor: pointer; }
.pill-green { background: var(--green-soft); border-color: #b7e3cc; color: var(--green-dark); }

/* ---------------------------------------------------------
   PU2. HERO (PRICING)
   --------------------------------------------------------- */
.pu-hero { background: radial-gradient(ellipse at 85% 10%, #e8f6ef 0%, #fff 55%); }
.pu-chk { display: inline-flex; align-items: center; gap: .45rem; }
.pu-chk svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.pu-visual { background: linear-gradient(160deg, #e3f6ec, #f7fcf9); border: 1px solid #cdebdc; border-radius: 28px; padding: 1.5rem; max-width: 480px; width: 100%; margin-left: auto; box-shadow: 0 25px 60px -30px rgba(18,140,94,.45); }
.pu-wa { width: 52px; height: 52px; border-radius: 14px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 1.25rem; box-shadow: 0 10px 24px -10px rgba(18,140,94,.7); }
.pu-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pu-mini { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid #e5efe9; border-radius: 12px; padding: .75rem; }
.pu-mini i { font-style: normal; width: 30px; height: 30px; border-radius: 8px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.pu-mini b { display: block; font-size: 12px; } .pu-mini small { font-size: 10.5px; color: #9ca3af; }
@media (max-width: 1023px) { .pu-visual { margin: 0 auto; } }

/* ---------------------------------------------------------
   PF-4. COMPARISON TABLE (4 plans)
   --------------------------------------------------------- */
.pt-wrap { border: 1px solid #e5e7eb; border-radius: 20px; overflow-x: auto; background: #fff; -webkit-overflow-scrolling: touch; }
.pt-table { width: 100%; min-width: 1000px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.pt-table.pf-table { min-width: 760px; }
.pt-table th, .pt-table td { padding: .8rem .7rem; text-align: center; border-bottom: 1px solid #f0f2f1; border-left: 1px solid #f0f2f1; background: #fff; vertical-align: middle; }
.pt-table tr > :first-child { border-left: 0; }
.pt-table thead th { vertical-align: top; padding: 1.4rem .7rem 1.2rem; background: #f6fbf8; border-bottom: 1px solid #e5efe9; position: relative; width: 14%; }
.pf-table thead th { width: 18%; }
.pt-table thead th.pt-feat { text-align: left; width: 20%; padding-left: 1.3rem; }
.pf-table thead th.pt-feat { width: 28%; }
.pt-table thead small { display: block; font-size: 10.5px; font-weight: 400; color: #9ca3af; margin: .3rem auto .6rem; line-height: 1.35; max-width: 130px; }
.pf-table thead small { max-width: 150px; }
.pt-feat small { max-width: none !important; margin-left: 0 !important; }
.pt-name { display: block; font-size: 16px; line-height: 1.25; }
.pt-price { font-size: 26px; font-weight: 800; line-height: 1.1; }
.pf-table .pt-price { font-size: 24px; }
.pt-price-row { margin: .1rem 0 .8rem; white-space: nowrap; }
.pt-per { font-size: 11px; color: #9ca3af; margin-bottom: .8rem; }
.pf-table .pt-per { display: inline; margin: 0 0 0 .2rem; font-size: 11px; }
.pt-btn { display: block !important; font-size: 11.5px !important; padding: .45rem .5rem !important; border-radius: 8px !important; }
.pt-table thead .btn-primary { border-radius: 8px; }
.pt-hot { background: #f0faf5 !important; }
.pt-table thead th.pt-hot { background: #e6f6ed !important; padding-top: 2.2rem; }
.pt-pop { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 0 0 8px 8px; line-height: 1.2; width: 62px; }
.pt-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: #374151; position: sticky; left: 0; z-index: 1; padding-left: 1.3rem; }
.pt-table .pt-feat { position: sticky; left: 0; z-index: 2; }
.pt-group th { background: #f6f8f7 !important; text-align: left !important; font-size: 10.5px; letter-spacing: .06em; font-weight: 700; color: #374151; position: static !important; padding-left: 1.3rem !important; }
.pt-inc { font-size: 12px; color: #374151; }
.cmp-yes { color: var(--green); font-weight: 800; font-size: 16px; }
.cmp-no { color: #c4c9d0; font-weight: 600; }
.cmp-txt { font-size: 12.5px; color: #374151; }
.cmp-addon { display: inline-block; font-size: 11px; font-weight: 600; color: #b45309; background: #fef3c7; padding: .15rem .55rem; border-radius: 9999px; }

/* Table Header Alignment Rules */
.pt-table.pf-table thead th { padding: 2.2rem .55rem 1.2rem; }
.pt-table.pf-table thead th.pt-feat { padding: 2.2rem .55rem 1.2rem 1.3rem; }
.pf-table .pt-name { white-space: nowrap; font-size: 15px; min-height: 1.3em; }
.pf-table thead small { min-height: 2.8em; margin: .3rem auto .5rem; }
.pf-table thead .pt-feat small { min-height: 0; }
.pf-table .pt-pop { width: auto; white-space: nowrap; padding: .25rem .7rem; font-size: 9px; }
.pf-table .pt-price-row { margin: .1rem 0 .85rem; }
.pf-table .pt-btn { margin-top: 0; }

/* ---------------------------------------------------------
   PF-4b. BUSINESS + CUSTOM DETAIL CARDS
   --------------------------------------------------------- */
.pf-detail-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .pf-detail-grid { grid-template-columns: 1fr 1fr; } }
.pf-card { border: 1px solid #e5e7eb; border-radius: 20px; padding: 1.8rem; background: #fff; box-shadow: 0 14px 36px -24px rgba(0,0,0,.25); }
.pf-title { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.pf-sub { font-size: 13px; color: var(--green); margin-top: .3rem; }
.pf-bigprice { font-size: 34px; font-weight: 800; margin-top: 1.2rem; line-height: 1.1; }
.pf-bigprice span { font-size: 13px; font-weight: 400; color: #9ca3af; }
.pf-billed { font-size: 11px; color: #9ca3af; margin-top: .2rem; }
.pf-desc { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin: 1rem 0 1.4rem; min-height: 4.8em; }
.pf-cta { width: 100%; }
.pf-rates { margin-top: 1.4rem; background: #f5fbf8; border: 1px solid #cdebdc; border-radius: 14px; padding: 1rem 1.1rem; }
.pf-label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #6b7280; }
.pf-rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin-top: .8rem; }
.pf-rate-grid > div { display: flex; justify-content: space-between; gap: .75rem; font-size: 12.5px; }
.pf-rate-grid dt { color: #6b7280; } .pf-rate-grid dd { font-weight: 700; }
.pf-rate-note { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid #cdebdc; text-align: center; font-size: 12px; font-weight: 600; color: var(--green-dark); }
.pf-list { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; margin-top: .7rem; }
.pf-list li { font-size: 12.5px !important; margin-bottom: .45rem !important; }
.pf-list.pf-one { grid-template-columns: 1fr; }
.pf-list .pf-full { grid-column: 1 / -1; }
.pf-i { font-style: normal; font-size: 11px; color: #b6bcc4; margin-left: .15rem; }
.pf-mut { color: #9ca3af; }

/* ---------------------------------------------------------
   PU5. ADD-ONS
   --------------------------------------------------------- */
.pu-addon { display: flex; flex-direction: column; min-height: 320px; border: 1px solid #e5e7eb; border-radius: 20px; padding: 1.6rem; background: #fff; box-shadow: 0 14px 36px -24px rgba(0,0,0,.25); }
.pu-addon-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.5rem; }
.pu-tag { font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: .3rem .7rem; border-radius: 9999px; background: var(--green-soft); color: var(--green-dark); }
.pu-tag-ai { background: #f1e8fd; color: #7c3aed; }
.meta-note { display: flex; gap: .6rem; align-items: flex-start; background: #f4fbf7; border: 1px solid #d5eee0; border-radius: 12px; padding: .9rem 1.1rem; font-size: 12.5px; color: #4b5563; }

/* ---------------------------------------------------------
   PF-5b. MESSAGING COSTS
   --------------------------------------------------------- */
.cost-card { border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.25rem; background: #fff; }
.cost-card h3 { font-weight: 600; font-size: 15px; margin-bottom: .4rem; }
.cost-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; font-size: 15px; color: var(--green-dark); }
.cost-val { font-size: 21px; font-weight: 700; margin-bottom: .4rem; }
.cost-val small { font-size: 12px; font-weight: 400; color: #9ca3af; }
.cost-txt { font-size: 13px; color: #6b7280; line-height: 1.55; }
@media (min-width: 1024px) {
  .cost-card { border: 0; padding: 0; background: transparent; }
  .cost-icon { background: transparent; border: 0; padding: 0; justify-content: flex-start; font-size: 20px; }
  .cost-card h3 { font-size: 16px; }
}

/* ---------------------------------------------------------
   PF-6b. IMPORTANT THINGS TO KNOW
   --------------------------------------------------------- */
.pf-know { display: grid; grid-template-columns: 1fr; gap: 1.75rem 2rem; }
@media (min-width: 640px) { .pf-know { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pf-know { grid-template-columns: repeat(3, 1fr); } }
.pf-know-item { display: flex; gap: .85rem; align-items: flex-start; }
.pf-know-ic { font-size: 18px; line-height: 1.2; flex-shrink: 0; width: 22px; text-align: center; }
.pf-know-item h3 { font-size: 14px; font-weight: 600; margin-bottom: .3rem; }
.pf-know-item p { font-size: 12.5px; color: #6b7280; line-height: 1.55; }

/* ---------------------------------------------------------
   PU6. COMPARE & ESTIMATE STRIP
   --------------------------------------------------------- */
.pu-strip { display: flex; flex-direction: column; gap: 1.25rem; align-items: stretch; background: linear-gradient(135deg, #e8f7ef, #f6fcf9); border: 1px solid #bfe5d0; border-radius: 18px; padding: 1.4rem 1.6rem; }
@media (min-width: 768px) { .pu-strip { flex-direction: row; align-items: center; justify-content: space-between; } }
.pu-strip-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid #cdebdc; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ---------------------------------------------------------
   PU7 – PU9. MARQUEE / CUSTOM CTA / FAQ
   --------------------------------------------------------- */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marq 25s linear infinite; }
.marquee-track span { font-size: 14px; font-weight: 500; color: #374151; white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

.custom-cta { background: linear-gradient(135deg, #e3f6ec, #f6fcf9); border: 1px solid #cdebdc; border-radius: 22px; }
.chat-fab { width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.faq { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; color: #6b7280; transition: transform .2s; }
.faq[open] .faq-icon { transform: rotate(180deg); color: var(--green); }
.faq p { padding: 0 1.25rem 1.1rem; font-size: 13.5px; color: #6b7280; }

/* ---------------------------------------------------------
   PF-10. FULL FOOTER
   --------------------------------------------------------- */
.pf-footer { background: #fff; border-top: 1px solid #e5e7eb; margin-top: 4rem; }
.footer-title { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { font-size: 13.5px; color: #4b5563; transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.meta-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: #1d4e89; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: .5rem 1rem; border-radius: 9999px; border: 1px solid #e5e7eb; }
.pf-social { display: flex; gap: .6rem; }
.pf-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e5e7eb; color: #4b5563; display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.pf-social a:hover { color: var(--green); border-color: var(--green); }
.pf-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #e5e7eb; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; font-size: 11px; color: #6b7280; }
.pf-copy { margin: 0; line-height: 1.55; }
.pf-legal { display: flex; flex-wrap: nowrap; align-items: center; gap: 1.25rem; white-space: nowrap; }
.pf-legal a { color: #6b7280; transition: color .2s; }
.pf-legal a:hover { color: var(--green); }
@media (min-width: 1024px) {
  .pf-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .pf-copy { flex: 1 1 auto; min-width: 0; }
  .pf-legal { flex: 0 0 auto; gap: 1.75rem; }
}

/* ---------------------------------------------------------
   P13. CALCULATOR MODAL
   --------------------------------------------------------- */
.modal { border: 0; padding: 0; border-radius: 20px; width: min(1000px, calc(100% - 2rem)); max-width: none; max-height: 90vh; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(10,31,26,.55); backdrop-filter: blur(2px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid #eef0f2; background: #fff; flex-shrink: 0; }
.modal-x { width: 34px; height: 34px; border-radius: 50%; background: #f3f4f6; color: #4b5563; font-size: 14px; flex-shrink: 0; border: none; cursor: pointer; }
.modal-x:hover { background: #e5e7eb; }
.modal-body { padding: 1.25rem 1.4rem 1.5rem; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.modal-lock { overflow: hidden; }

.calc-sec { border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.1rem 1.2rem; }
.calc-h { display: flex; align-items: center; gap: .6rem; font-size: 15px; font-weight: 700; margin-bottom: .9rem; }
.calc-h span { width: 22px; height: 22px; border-radius: 6px; background: var(--green); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.calc-lbl { display: block; font-size: 12px; font-weight: 600; color: #4b5563; }
.calc-in { display: block; width: 100%; margin-top: .35rem; border: 1px solid #d1d5db; border-radius: 10px; padding: .55rem .75rem; font-size: 14px; font-weight: 400; color: var(--ink); background: #fff; outline: none; }
.calc-in:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,140,94,.15); }
.calc-note { font-size: 12.5px; color: #4b5563; }

.calc-rows { margin-top: 1rem; }
.calc-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr .9fr; gap: .6rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.calc-row .calc-in { margin-top: 0; padding: .45rem .6rem; font-size: 13px; }
.calc-row-head { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #9ca3af; border-bottom: 1px solid #e5e7eb; }

.calc-summary { background: linear-gradient(180deg, #f0faf5, #fff); border: 1.5px solid #bfe5d0; border-radius: 16px; padding: 1.2rem; align-self: start; }
@media (min-width: 1024px) { .calc-summary { position: sticky; top: 0; } }
.calc-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed #d5e8de; font-size: 13px; color: #4b5563; }
.calc-lines dd { font-weight: 600; color: var(--ink); text-align: right; }
.calc-lines .calc-sub { border-bottom: 1px solid #b7d9c7; font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .9rem; padding: .8rem .9rem; background: var(--green); color: #fff; border-radius: 12px; font-size: 12.5px; }
.calc-total b { font-size: 20px; }

/* ---------------------------------------------------------
   R1–R6. RESPONSIVE SAFETY
   --------------------------------------------------------- */
body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
h1, h2, h3, p, a, li { overflow-wrap: anywhere; }
.pt-table, .pt-table * { overflow-wrap: normal; }

@media (max-width: 767px) {
  .pt-table.pf-table { min-width: 700px; font-size: 12px; }
  .pt-table th, .pt-table td { padding: .65rem .45rem; }
  .pt-table tbody th[scope="row"] { min-width: 130px; padding-left: .8rem; font-size: 12px; box-shadow: 4px 0 6px -4px rgba(0,0,0,.12); }
  .pt-table.pf-table thead th.pt-feat { padding-left: .8rem; min-width: 130px; }
  .pf-table .pt-price { font-size: 21px; }
  .pf-table thead small { font-size: 10px; }
  .pt-group th { padding-left: .8rem !important; }
}

@media (max-width: 639px) {
  .billing-toggle { display: flex; width: 100%; max-width: 380px; margin: 0 auto; justify-content: space-between; }
  .bill-btn { flex: 1 1 auto; justify-content: center; padding: .5rem .55rem; font-size: 12px; gap: .25rem; }
  .save { font-size: 9px; padding: .1rem .3rem; }
  .pf-desc { min-height: 0; }
  .pf-bigprice { font-size: 30px; }
  .pu-addon { padding: 1.25rem; }
  .faq summary { font-size: 13.5px; padding: 1rem; }
  .pf-footer .footer-links a { font-size: 13px; }
  .modal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .modal-head, .modal-body { padding-left: 1rem; padding-right: 1rem; }
  .calc-row { grid-template-columns: 1fr 1fr; }
  .calc-row-head { display: none; }
  .calc-row > span:first-child { grid-column: 1; }
  .calc-row > b { grid-column: 2; grid-row: 1; }
  .calc-row .qty, .calc-row .rate { grid-row: 2; }
}

@media (max-width: 419px) {
  .pu-mini-grid { grid-template-columns: 1fr; }
  .pu-visual { padding: 1.1rem; border-radius: 22px; }
}


/* =========================================================
   CONTACT US PAGE – FULL RESPONSIVE STYLES
   ========================================================= */

.contact-form-sec { width: 100%; box-sizing: border-box; }
.cf { width: 100%; }
.cf-field { margin-bottom: 1.4rem; width: 100%; }
.cf-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.cf-field label span { color: var(--green); }
.cf-field input, .cf-field textarea { 
  display: block; 
  width: 100%; 
  border: 1.5px solid #e5e7eb; 
  border-radius: 12px; 
  background: #f4faf7; 
  padding: .85rem 1.1rem; 
  font: inherit; 
  font-size: 15px; 
  color: var(--ink); 
  outline: none; 
  transition: all .2s ease; 
  box-sizing: border-box;
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #9aa7a0; }
.cf-field input:focus, .cf-field textarea:focus { 
  background: #fff; 
  border-color: var(--green); 
  box-shadow: 0 0 0 3px rgba(18, 140, 94, 0.15); 
}
.cf-field .invalid { 
  border-color: #e5484d !important; 
  background: #fff8f8 !important; 
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.15) !important; 
}
.cf-err { color: #d1383d; font-size: 12px; margin-top: .35rem; font-weight: 500; }
.cf-err:empty { display: none; }
.cf-btn { min-width: 220px; padding: .85rem 2.2rem; font-size: 15px; border-radius: 9999px; cursor: pointer; }
.cf-btn:disabled { opacity: .65; cursor: not-allowed; }
.cf-status { text-align: center; margin-top: 1.25rem; font-size: 14px; font-weight: 500; line-height: 1.5; padding: .8rem 1rem; border-radius: 10px; }
.cf-status.success { color: var(--green-dark); background: #f0faf5; border: 1px solid #bfe5d0; }
.cf-status.error { color: #d1383d; background: #fff8f8; border: 1px solid #fecaca; }

/* Reach Items (3 columns on md+, 1 on mobile) */
.reach { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .reach { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.reach-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  gap: .4rem; 
  padding: 1.5rem 1.2rem; 
  background: #fafcfb; 
  border: 1px solid #edf4f0; 
  border-radius: 18px; 
  transition: transform .2s, box-shadow .2s; 
}
.reach-item:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -10px rgba(0,0,0,.08); }
.reach-ic { 
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  background: var(--green-soft); 
  color: var(--green); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: .5rem; 
}
.reach-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0; }
.reach-item p, .reach-item address { font-size: 13.5px; color: #6b7280; line-height: 1.55; max-width: 280px; margin: 0; }
.reach-item a { font-size: 14px; color: var(--green); font-weight: 600; text-decoration: none; transition: color .2s; }
.reach-item address a { color: #6b7280; font-weight: 400; font-size: 13.5px; }
.reach-item a:hover { text-decoration: underline; color: var(--green-dark); }

/* Sales CTA */
.sales-cta { background: #eef9f3; border-top: 1px solid #d5eee0; border-bottom: 1px solid #d5eee0; }
.sales-art { max-width: 280px; margin: 0 auto; width: 100%; opacity: .95; }
.sales-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 768px) { .sales-art { max-width: 340px; margin-left: auto; margin-right: 0; } }

/* Mobile Bottom Nav */
.bottom-nav { 
  position: fixed; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  z-index: 50; 
  background: #fff; 
  border-top: 1px solid #e5e7eb; 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom, 0px)); 
  box-shadow: 0 -4px 16px rgba(0,0,0,.05); 
}
.bottom-nav a { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  font-size: 11px; 
  color: #6b7280; 
  gap: 2px; 
  text-decoration: none; 
}
.bottom-nav a span { font-size: 18px; line-height: 1; }
.bottom-nav a.active { color: var(--green); font-weight: 600; }

@media (max-width: 639px) {
  .cf-btn { width: 100% !important; }
  .contact-form-sec { padding-left: 1rem; padding-right: 1rem; }
}


/* =========================================================
   HOMEPAGE CUSTOM & RESPONSIVE STYLES
   ========================================================= */

/* 3. TRUSTED BY LOGO CHIP */
.logo-chip { display: inline-flex; align-items: center; gap: .5rem; color: #4b5563; font-weight: 600; font-size: 14px; }
.logo-chip i { width: 22px; height: 22px; border-radius: 6px; background: #e5e7eb; display: inline-block; }

/* 4. LIVE DEMO CARD & TABS */
.demo-card { 
  border: 1px solid #e5e7eb; 
  border-radius: 24px; 
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.15); 
  background: #fff;
}
.demo-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  padding: 5px;
  border-radius: 9999px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.demo-tabs-wrap::-webkit-scrollbar {
  display: none;
}
.tab-btn { 
  white-space: nowrap; 
  font-size: 12.5px; 
  font-weight: 500;
  padding: .45rem .85rem; 
  border-radius: 9999px; 
  color: #4b5563; 
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}
.tab-btn:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.tab-btn.active { 
  background: var(--green) !important; 
  color: #fff !important; 
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(18, 140, 94, 0.35);
}
.chat-bg { background: #efeae2; }
.bubble-in { background: #fff; border-radius: 0 12px 12px 12px; }
.bubble-out { background: #d9fdd3; border-radius: 12px 0 12px 12px; }

@media (max-width: 767px) {
  .demo-tabs-wrap {
    width: 100%;
    padding: 6px;
    border-radius: 16px;
    justify-content: flex-start;
  }
  .tab-btn {
    font-size: 11.5px;
    padding: .4rem .75rem;
  }
}

/* 5. FEATURES */
.img-ph { background: linear-gradient(135deg, #f0faf5, #e3f4ec); border: 2px dashed #a7d9c1; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #5b9c7f; font-size: 13px; text-align: center; aspect-ratio: 4 / 3; width: 100%; }
.feat-row > * { min-width: 0; }
.feat-img { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 14px; box-shadow: 0 12px 32px -18px rgba(0,0,0,.22); width: 100%; }
.feat-img img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 12px; object-fit: contain; }
@media (min-width: 640px) { .feat-img { padding: 18px; } }
@media (min-width: 1024px) { .feat-row.rev > :first-child { order: 2; } }

/* 6. AI AGENTS */
.dark-section { background: var(--dark); color: #fff; }
.dark-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.grad-light { background: linear-gradient(90deg, #4ade80, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.check-light li { position: relative; padding-left: 1.5rem; font-size: 14px; color: #d1d5db; margin-bottom: .5rem; }
.check-light li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; }

/* 7. INTEGRATIONS */
.int-card { border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.25rem; background: #fff; transition: box-shadow .2s, transform .2s; }
.int-card:hover { box-shadow: 0 10px 30px -12px rgba(0,0,0,.18); transform: translateY(-2px); }
.int-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }

/* 8. TESTIMONIALS / CASE STUDIES */
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 13px; }
.case-card { border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.5rem; background: #fff; }
.case-box { background: #f9fafb; border-radius: 10px; padding: .75rem .9rem; font-size: 12.5px; color: #4b5563; margin-bottom: .6rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

/* 9. FINAL CTA BANNER */
.cta-banner { background: linear-gradient(135deg, #0b6b47, #0a1f1a); border-radius: 28px; color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); border-radius: 9999px; padding: .7rem 1.4rem; font-weight: 600; font-size: 14px; }
.btn-outline-w { background: rgba(255,255,255,.12); color: #fff; border-radius: 9999px; padding: .7rem 1.4rem; font-weight: 600; font-size: 14px; }
