/* ================================================================
   AutSync — Ad Profit Tracking Widgets (Brand Matched)
   aptb-style.css  |  Version 1.0
   Brand: Plus Jakarta Sans · Navy #1B2358 · Cyan #29B6E8
   Scoped to .aptb-* classes — no global conflicts
   ================================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Brand Design Tokens ── */
:root {
    --aptb-navy:       #1B2358;
    --aptb-navy-dark:  #111640;
    --aptb-navy-mid:   #232C6E;
    --aptb-cyan:       #29B6E8;
    --aptb-cyan-l:     #6DD5F5;
    --aptb-cyan-d:     #0090C5;
    --aptb-white:      #ffffff;
    --aptb-off:        #F4F7FB;
    --aptb-soft:       #6B7BA4;
    --aptb-border:     #DDE3F0;
    --aptb-green:      #4ADE80;
    --aptb-red:        #F87171;
    --aptb-amber:      #FEBC2E;
    --aptb-r:          14px;
    --aptb-f:          'Plus Jakarta Sans', sans-serif;
}

/* ── Box-sizing reset scoped to our widgets ── */
.aptb-hero *,
.aptb-problem *,
.aptb-solution *,
.aptb-features *,
.aptb-how *,
.aptb-why *,
.aptb-usecases *,
.aptb-faq *,
.aptb-cta * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Shared Layout Containers ── */
.aptb-tc       { text-align: center; }

/* ── Section Tag Badge ── */
.aptb-tag {
    display: inline-block;
    background: rgba(41,182,232,.1);
    color: var(--aptb-cyan-d);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: var(--aptb-f);
}
.aptb-tag.aptb-on-dark {
    background: rgba(41,182,232,.2);
    color: var(--aptb-cyan-l);
}

/* ── Headings ── */
.aptb-h1 {
    font-family: var(--aptb-f);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--aptb-white);
}
.aptb-h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--aptb-cyan) 0%, var(--aptb-cyan-l) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.aptb-h2 {
    font-family: var(--aptb-f);
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}
.aptb-h2.aptb-on-dark  { color: var(--aptb-white); }
.aptb-h2.aptb-on-light { color: var(--aptb-navy); }
.aptb-h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--aptb-cyan) 0%, var(--aptb-cyan-l) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Subtext ── */
.aptb-sub { font-size: 1rem; margin-top: 14px; line-height: 1.7; font-family: var(--aptb-f); }
.aptb-sub.aptb-on-dark  { color: rgba(255,255,255,.62); }
.aptb-sub.aptb-on-light { color: var(--aptb-soft); }

/* ── Primary Button ── */
.aptb-btn-p {
    display: inline-block;
    background: linear-gradient(135deg, var(--aptb-cyan) 0%, var(--aptb-cyan-d) 100%);
    color: var(--aptb-white) !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--aptb-f);
    box-shadow: 0 6px 24px rgba(41,182,232,.42);
    transition: transform .15s, box-shadow .15s;
    text-decoration: none !important;
}
.aptb-btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(41,182,232,.55);
}

/* ── Outline Button ── */
.aptb-btn-o {
    display: inline-block;
    background: rgba(255,255,255,.08);
    color: var(--aptb-white) !important;
    border: 1.5px solid rgba(255,255,255,.28);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--aptb-f);
    transition: background .2s, border-color .2s;
    text-decoration: none !important;
}
.aptb-btn-o:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.55);
}

/* ── Trust Row ── */
.aptb-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: .82rem; font-family: var(--aptb-f); }
.aptb-trust.aptb-on-dark  { color: rgba(255,255,255,.45); }
.aptb-trust.aptb-on-light { color: var(--aptb-soft); }
.aptb-trust span::before  { content: '✓ '; color: var(--aptb-cyan); font-weight: 700; }

/* ── Reveal Animation ── */
.aptb-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.aptb-reveal.aptb-visible { opacity: 1; transform: none; }

/* ── Shared Bar Chart ── */
.aptb-bar-rows { display: flex; flex-direction: column; gap: 10px; }
.aptb-bar-row  { display: flex; align-items: center; gap: 12px; border-radius: 10px; padding: 11px 14px; }
.aptb-bar-row.aptb-on-light { background: var(--aptb-off); }
.aptb-bar-row.aptb-on-dark  { background: rgba(255,255,255,.06); }
.aptb-bar-lbl  { flex: 1; font-size: .85rem; font-weight: 500; font-family: var(--aptb-f); }
.aptb-bar-lbl.aptb-on-light { color: var(--aptb-navy); }
.aptb-bar-lbl.aptb-on-dark  { color: rgba(255,255,255,.82); }
.aptb-bar-wrap { flex: 2; border-radius: 4px; height: 7px; overflow: hidden; }
.aptb-bar-wrap.aptb-on-light { background: rgba(0,0,0,.06); }
.aptb-bar-wrap.aptb-on-dark  { background: rgba(255,255,255,.08); }
.aptb-bar-fill { height: 100%; border-radius: 4px; }
.aptb-bg-green { background: var(--aptb-green); }
.aptb-bg-red   { background: var(--aptb-red); }
.aptb-bg-amber { background: var(--aptb-amber); }
.aptb-bg-cyan  { background: var(--aptb-cyan); }
.aptb-bar-num  { font-family: var(--aptb-f); font-size: .85rem; font-weight: 700; width: 46px; text-align: right; }

/* ── Shared Card Title ── */
.aptb-card-title-dk { font-family: var(--aptb-f); font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.85); }
.aptb-card-title-lt { font-family: var(--aptb-f); font-size: .9rem; font-weight: 700; color: var(--aptb-navy); }

/* ================================================================
   1. HERO SECTION
   ================================================================ */
.aptb-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 88px 5% 72px;
    overflow: hidden;
    background: linear-gradient(140deg, var(--aptb-navy-dark) 0%, var(--aptb-navy) 55%, #1e3a72 100%);
    font-family: var(--aptb-f);
}
.aptb-hero-g1 { position: absolute; top: -160px; right: -100px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(41,182,232,.26) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.aptb-hero-g2 { position: absolute; bottom: -100px; left: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(41,182,232,.13) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.aptb-hero-grid { position: absolute; inset: 0; opacity: .03; background-image: linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px); background-size: 60px 60px; pointer-events: none; }

.aptb-hero-body { position: relative; z-index: 1; max-width: 1100px; width: 100%; }

.aptb-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(41,182,232,.15); border: 1px solid rgba(41,182,232,.35);
    border-radius: 50px; padding: 7px 18px;
    font-size: 13px; font-weight: 600; color: var(--aptb-cyan-l);
    margin-bottom: 24px;
    animation: aptb-fadeUp .6s ease both;
    font-family: var(--aptb-f);
}
.aptb-hero-badge .aptb-dot {
    width: 7px; height: 7px; background: var(--aptb-cyan);
    border-radius: 50%; display: inline-block; flex-shrink: 0;
    animation: aptb-pulse 1.6s infinite;
}
.aptb-hero .aptb-h1 { animation: aptb-fadeUp .7s .1s ease both; }
.aptb-hero .aptb-sub { max-width: 560px; margin: 20px auto 0; animation: aptb-fadeUp .7s .2s ease both; }

.aptb-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; animation: aptb-fadeUp .7s .3s ease both; }
.aptb-hero-tr   { justify-content: center; margin-top: 20px; animation: aptb-fadeUp .7s .4s ease both; }

/* Hero Stats Row */
.aptb-hero-stats { display: flex; justify-content: center; gap: 0; margin: 44px auto 0; max-width: 560px; animation: aptb-fadeUp .8s .45s ease both; }
.aptb-hs { flex: 1; border-left: 2px solid rgba(41,182,232,.4); padding-left: 20px; text-align: left; padding-right: 12px; }
.aptb-hs:first-child { border-left: none; padding-left: 0; }
.aptb-hs-n { font-size: 1.75rem; font-weight: 800; color: var(--aptb-cyan-l); line-height: 1; }
.aptb-hs-l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* Hero Dashboard Card */
.aptb-hero-card {
    margin: 44px auto 0; max-width: 640px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px; padding: 22px 20px;
    backdrop-filter: blur(12px);
    animation: aptb-fadeUp .8s .5s ease both;
    text-align: left;
}
.aptb-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.aptb-live-dot { display: flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--aptb-green); font-weight: 700; font-family: var(--aptb-f); }
.aptb-live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aptb-green); animation: aptb-pulse 1.5s infinite; flex-shrink: 0; }
.aptb-metrics-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.aptb-mbox { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px; }
.aptb-mbox-label { font-size: .68rem; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .05em; font-family: var(--aptb-f); }
.aptb-mbox-val { font-family: var(--aptb-f); font-size: 1.3rem; font-weight: 800; color: var(--aptb-white); margin: 5px 0 3px; }
.aptb-bup { display: inline-block; font-size: .67rem; font-weight: 700; color: var(--aptb-green); font-family: var(--aptb-f); }

/* ================================================================
   2. PROBLEM SECTION — white bg
   ================================================================ */
.aptb-problem { padding: 96px 5%; background: var(--aptb-white); font-family: var(--aptb-f); }

.aptb-prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; align-items: center; }

.aptb-prob-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.aptb-prob-list li {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--aptb-off);
    border: 1.5px solid var(--aptb-border);
    border-radius: var(--aptb-r); padding: 20px;
    transition: border-color .2s, transform .2s;
}
.aptb-prob-list li:hover { border-color: rgba(241,108,108,.4); transform: translateX(4px); }
.aptb-picon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: rgba(241,108,108,.08); border: 1px solid rgba(241,108,108,.2); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.aptb-ptitle { font-weight: 700; font-size: .92rem; color: var(--aptb-navy); margin-bottom: 4px; }
.aptb-pdesc  { color: var(--aptb-soft); font-size: .84rem; line-height: 1.6; }

.aptb-vis-card { background: var(--aptb-white); border: 1.5px solid var(--aptb-border); border-radius: 18px; padding: 24px; box-shadow: 0 8px 36px rgba(27,35,88,.07); }
.aptb-vis-insight { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(241,108,108,.06); border: 1px solid rgba(241,108,108,.2); font-size: .8rem; color: #c0392b; line-height: 1.6; font-family: var(--aptb-f); }

/* ================================================================
   3. SOLUTION SECTION — navy gradient
   ================================================================ */
.aptb-solution {
    padding: 96px 5%;
    background: linear-gradient(140deg, var(--aptb-navy-dark) 0%, var(--aptb-navy) 55%, #1e3a72 100%);
    font-family: var(--aptb-f);
    position: relative; overflow: hidden;
}
.aptb-solution::before {
    content: ''; position: absolute; top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(41,182,232,.18) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}

.aptb-sol-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 48px; position: relative; z-index: 1; }
.aptb-sol-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--aptb-r); padding: 26px;
    display: flex; gap: 16px; align-items: flex-start;
    transition: border-color .2s, transform .2s, background .2s;
}
.aptb-sol-card:hover { border-color: rgba(41,182,232,.35); transform: translateY(-3px); background: rgba(255,255,255,.1); }
.aptb-sol-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: rgba(41,182,232,.18); border: 1px solid rgba(41,182,232,.3); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.aptb-sol-title { font-family: var(--aptb-f); font-size: .96rem; font-weight: 700; color: var(--aptb-white); margin-bottom: 6px; }
.aptb-sol-desc  { color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.6; }

/* ================================================================
   4. FEATURES SECTION — off-white bg
   ================================================================ */
.aptb-features { padding: 96px 5%; background:white; font-family: var(--aptb-f); }

.aptb-feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.aptb-feat-card {
    background: var(--aptb-white); border: 1.5px solid var(--aptb-border);
    border-radius: var(--aptb-r); padding: 28px;
    position: relative; overflow: hidden;
    transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
}
.aptb-feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--aptb-cyan), var(--aptb-cyan-d)); opacity: 0; transition: opacity .3s; }
.aptb-feat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(27,35,88,.12); background: linear-gradient(160deg, var(--aptb-navy-dark) 0%, var(--aptb-navy-mid) 100%); border-color: var(--aptb-cyan); }
.aptb-feat-card:hover::before { opacity: 1; }
.aptb-feat-card:hover h3 { color: var(--aptb-white) !important; }
.aptb-feat-card:hover .aptb-feat-desc { color: rgba(255,255,255,.65) !important; }
.aptb-feat-card:hover .aptb-feat-bul li { color: rgba(255,255,255,.6) !important; }
.aptb-feat-card:hover .aptb-feat-bul li::before { color: var(--aptb-cyan-l) !important; }
.aptb-feat-card:hover .aptb-feat-icon { background: rgba(41,182,232,.22); border-color: rgba(41,182,232,.35); }
.aptb-feat-icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(41,182,232,.1); border: 1px solid rgba(41,182,232,.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; transition: .22s; }
.aptb-feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--aptb-navy); margin-bottom: 10px; transition: color .22s; }
.aptb-feat-desc { color: var(--aptb-soft); font-size: .84rem; line-height: 1.65; transition: color .22s; }
.aptb-feat-bul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.aptb-feat-bul li { font-size: .8rem; color: var(--aptb-soft); display: flex; gap: 8px; align-items: flex-start; transition: color .22s; }
.aptb-feat-bul li::before { content: '→'; color: var(--aptb-cyan-d); flex-shrink: 0; transition: color .22s; }

/* ================================================================
   5. HOW IT WORKS — off-white bg
   ================================================================ */
.aptb-how { padding: 96px 5%; background: var(--aptb-off); font-family: var(--aptb-f); }

.aptb-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 52px; position: relative; }
.aptb-steps::before { content: ''; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--aptb-cyan), var(--aptb-navy)); opacity: .2; z-index: 0; }
.aptb-step { padding: 0 24px; text-align: center; position: relative; z-index: 1; }
.aptb-step-num {
    width: 66px; height: 66px; border-radius: 50%;
    background: var(--aptb-white); border: 2px solid var(--aptb-border);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--aptb-f); font-size: 1.2rem; font-weight: 800; color: var(--aptb-navy);
    margin: 0 auto 22px; transition: .25s; box-shadow: 0 4px 16px rgba(27,35,88,.08);
}
.aptb-step:hover .aptb-step-num { background: linear-gradient(135deg, var(--aptb-navy), var(--aptb-navy-mid)); color: var(--aptb-cyan-l); border-color: var(--aptb-navy); box-shadow: 0 8px 24px rgba(27,35,88,.22); }
.aptb-step h3 { font-size: 1rem; font-weight: 700; color: var(--aptb-navy); margin-bottom: 10px; }
.aptb-step p  { color: var(--aptb-soft); font-size: .84rem; line-height: 1.6; }

/* ================================================================
   6. WHY AUTSYNC — white bg
   ================================================================ */
.aptb-why { padding: 80px 5%; background: var(--aptb-white); font-family: var(--aptb-f); }

.aptb-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; align-items: center; }
.aptb-why-list { display: flex; flex-direction: column; gap: 14px; }
.aptb-why-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 20px; border-radius: var(--aptb-r);
    background: var(--aptb-off); border: 1.5px solid var(--aptb-border);
    transition: border-color .2s, transform .2s;
}
.aptb-why-item:hover { border-color: rgba(41,182,232,.35); transform: translateX(4px); }
.aptb-why-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: rgba(41,182,232,.1); border: 1px solid rgba(41,182,232,.22); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.aptb-why-title { font-weight: 700; font-size: .92rem; color: var(--aptb-navy); margin-bottom: 3px; }
.aptb-why-desc  { color: var(--aptb-soft); font-size: .83rem; line-height: 1.6; }

.aptb-why-vis { background: var(--aptb-white); border: 1.5px solid var(--aptb-border); border-radius: 18px; padding: 24px; box-shadow: 0 8px 36px rgba(27,35,88,.07); }
.aptb-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.aptb-stat-box { background: var(--aptb-off); border: 1px solid var(--aptb-border); border-radius: 10px; padding: 16px; text-align: center; }
.aptb-stat-num { font-family: var(--aptb-f); font-size: 1.65rem; font-weight: 800; color: var(--aptb-navy); }
.aptb-stat-lbl { color: var(--aptb-soft); font-size: .72rem; margin-top: 3px; font-family: var(--aptb-f); }

/* ================================================================
   7. USE CASES — navy gradient
   ================================================================ */
.aptb-usecases {
    padding: 96px 5%;
    background: linear-gradient(160deg, var(--aptb-navy-mid) 0%, var(--aptb-navy-dark) 100%);
    text-align: center; font-family: var(--aptb-f);
    position: relative; overflow: hidden;
}
.aptb-usecases::before { content: ''; position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(41,182,232,.14) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }

.aptb-uc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; position: relative; z-index: 1; }
.aptb-uc-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--aptb-r); padding: 28px;
    transition: border-color .2s, transform .2s, background .2s; text-align: left;
}
.aptb-uc-card:hover { border-color: rgba(41,182,232,.35); transform: translateY(-4px); background: rgba(255,255,255,.1); }
.aptb-uc-emoji { font-size: 1.9rem; margin-bottom: 14px; display: block; }
.aptb-uc-title { font-family: var(--aptb-f); font-size: .97rem; font-weight: 700; color: var(--aptb-white); margin-bottom: 10px; }
.aptb-uc-desc  { color: rgba(255,255,255,.58); font-size: .84rem; line-height: 1.6; }

/* ================================================================
   8. FAQ SECTION — off-white bg
   ================================================================ */
.aptb-faq { padding: 96px 5%; background: var(--aptb-off); font-family: var(--aptb-f); }

.aptb-faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; }
.aptb-faq-item { background: var(--aptb-white); border: 1.5px solid var(--aptb-border); border-radius: var(--aptb-r); overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.aptb-faq-item.aptb-open { border-color: rgba(41,182,232,.4); box-shadow: 0 4px 18px rgba(41,182,232,.1); }
.aptb-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; font-weight: 600; font-size: .92rem; color: var(--aptb-navy); user-select: none; }
.aptb-faq-arr { font-size: 1.1rem; color: var(--aptb-cyan-d); transition: transform .3s; font-weight: 300; }
.aptb-faq-item.aptb-open .aptb-faq-arr { transform: rotate(45deg); }
.aptb-faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; color: var(--aptb-soft); font-size: .86rem; line-height: 1.7; }
.aptb-faq-item.aptb-open .aptb-faq-a { max-height: 300px; padding-bottom: 18px; }

/* ================================================================
   9. CTA SECTION — navy gradient
   ================================================================ */
.aptb-cta {
    background: linear-gradient(160deg, #474d7d 0%, var(--aptb-navy-mid) 100%);
    color: var(--aptb-white); text-align: center;
    padding: 100px 5%; position: relative; overflow: hidden;
    font-family: var(--aptb-f);
}
.aptb-cta::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(41,182,232,.18) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.aptb-cta .aptb-inner-sm { position: relative; z-index: 1; }
.aptb-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes aptb-fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes aptb-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(1.5); }
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .aptb-feat-grid { grid-template-columns: repeat(2,1fr); }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .aptb-prob-grid, .aptb-why-grid   { grid-template-columns: 1fr; }
    .aptb-feat-grid, .aptb-uc-grid    { grid-template-columns: 1fr 1fr; }
    .aptb-steps                        { grid-template-columns: 1fr !important; gap: 40px; }
    .aptb-steps::before                { display: none; }
    .aptb-sol-grid                     { grid-template-columns: 1fr; }
    .aptb-step                         { max-width: 420px; margin: 0 auto; }
    .aptb-hero-stats                   { flex-wrap: wrap; gap: 20px; }
}

/* Mobile */
@media (max-width: 600px) {
    .aptb-hero     { padding: 64px 5% 48px; min-height: auto; }
    .aptb-problem, .aptb-solution, .aptb-features,
    .aptb-how, .aptb-why, .aptb-usecases,
    .aptb-faq, .aptb-cta               { padding: 64px 5%; }
    .aptb-feat-grid, .aptb-uc-grid,
    .aptb-sol-grid                      { grid-template-columns: 1fr; }
    .aptb-metrics-row                   { grid-template-columns: 1fr 1fr; }
    .aptb-metrics-row .aptb-mbox:last-child { grid-column: span 2; }
    .aptb-hero-btns                     { flex-direction: column; align-items: center; }
    .aptb-hero-btns .aptb-btn-p,
    .aptb-hero-btns .aptb-btn-o         { width: 100%; max-width: 300px; text-align: center; }
    .aptb-cta-btns                      { flex-direction: column; align-items: center; }
    .aptb-cta-btns .aptb-btn-p,
    .aptb-cta-btns .aptb-btn-o          { width: 100%; max-width: 300px; text-align: center; }
    .aptb-trust                         { justify-content: center; gap: 12px; }
    .aptb-h2                            { font-size: 1.65rem; }
    .aptb-h1                            { font-size: 2.1rem; }
    .aptb-hero-card                     { padding: 16px 14px; }
    .aptb-mbox-val                      { font-size: 1.1rem; }
    .aptb-hero-stats                    { justify-content: flex-start; margin-top: 32px; }
}