/* ================================================================
   CertsPoint — Homepage Stylesheet
   Namespace: .cph-* (CertsPoint Homepage)
   Loaded only on certspoint.com homepage
   ================================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
    --cph-navy:         #0c1632;
    --cph-navy-deep:    #070e20;
    --cph-blue:         #2563eb;
    --cph-blue-dk:      #1e40af;
    --cph-blue-lt:      #eff6ff;
    --cph-blue-mid:     #dbeafe;
    --cph-ink:          #111827;
    --cph-muted:        #6b7280;
    --cph-muted-lt:     #9ca3af;
    --cph-border:       #e5e7eb;
    --cph-surface:      #ffffff;
    --cph-surface-soft: #f9fafb;
    --cph-radius-sm:    4px;
    --cph-radius:       8px;
    --cph-radius-lg:    12px;
    --cph-container:    1200px;
    --cph-shadow-sm:    0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --cph-shadow:       0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    --cph-shadow-lg:    0 20px 48px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.12);
}

/* ── Shared wrapper ────────────────────────────────────────── */
.cph-wrap {
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}


/* ================================================================
   1. HERO — white split layout (precision-corrected v2)
   ================================================================ */

.cph-hero {
    background: #ffffff;
    overflow: visible;
    padding: 130px 0 80px;
    position: relative;
}

.cph-hero-inner {
    align-items: start;
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 625px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 40px;
}

/* ── Copy column ── */
.cph-hero-copy {}

.cph-hero-h1 {
    color: #0a0a0a;
    font-size: clamp(40px, 5vw, 96px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin: 0;
}
.cph-hero-h1-blue {
    color: #183f70;
    display: block;
}

.cph-hero-sub {
    color: #6b7280;
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.65;
    margin: 55px 0 0;
    max-width: 100%;
}

/* Controls row: browse btn + search form */
.cph-hero-controls {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-top: 55px;
}

.cph-hero-btn-browse {
    align-items: center;
    background: #0c1632;
    border: 1.5px solid #0c1632;
    border-radius: 5px;
    color: #ffffff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: clamp(14px, 0.9vw, 17px);
    font-weight: 600;
    gap: 8px;
    height: 56px;
    justify-content: center;
    padding: 0 24px;
    text-decoration: none;
    transition: background 0.14s ease, border-color 0.14s ease;
    white-space: nowrap;
    width: 250px;
}
.cph-hero-btn-browse:hover {
    background: #1a2e52;
    border-color: #1a2e52;
    color: #ffffff;
}
.cph-hero-btn-browse svg {
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

.cph-hero-search-form {}
.cph-hero-search-inner {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    height: 56px;
    padding: 0 16px;
    transition: border-color 0.14s ease;
    width: 250px;
}
.cph-hero-search-inner:focus-within { border-color: #374151; }
.cph-hero-search-inner svg {
    color: #9ca3af;
    flex-shrink: 0;
    height: 17px;
    width: 17px;
}
.cph-hero-search-inner input {
    background: transparent;
    border: 0;
    color: #111827;
    flex: 1;
    font-family: inherit;
    font-size: 17px;
    outline: none;
    padding: 0;
    width: 100%;
}
.cph-hero-search-inner input::placeholder { color: #9ca3af; }

/* Trust row */
.cph-hero-trust {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 60px;
}
.cph-hero-stars {
    display: flex;
    gap: 2px;
}
.cph-star {
    color: #0c1632;
    fill: currentColor;
    flex-shrink: 0;
    height: 20px;
    width: 20px;
}
.cph-hero-trust-div {
    color: #d1d5db;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 2px;
}
.cph-hero-trust-txt {
    color: #374151;
    font-size: clamp(15px, 0.95vw, 18px);
    font-weight: 500;
}

/* ── Slider column ── */
.cph-hero-slider-wrap {
    position: relative;
    width: 100%;
}

/* Overflow container: clips horizontal rail, shadow lives on wrapper */
.cph-slider-track {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 16px 56px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    width: 100%;
}

/* Horizontal rail: 3 cards side-by-side, slides left via translateX */
.cph-slider-rail {
    display: flex;
    transition: transform 650ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .cph-slider-rail { transition: none; }
}

.cph-qcard {
    background: #ffffff;
    flex: 0 0 100%;
    overflow: hidden;
    width: 100%;
}

/* Card header: ~92px tall */
.cph-qcard-head {
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    min-height: 92px;
    padding: 20px 24px;
}
.cph-qcard-head-l {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}
.cph-qcard-vendor-badge {
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-shrink: 0;
    height: 46px;
    justify-content: center;
    overflow: hidden;
    padding: 3px 6px;
    width: 56px;
}
.cph-qcard-vendor-badge svg { height: 26px; width: auto; }
.cph-badge--aws   { background: #ffffff; }
.cph-badge--az    { background: #f0f7ff; }
.cph-badge--cisco { background: #e6f6fd; }
.cph-qcard-cert-title {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cph-qcard-cert-code {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.3;
    margin-top: 3px;
}
.cph-qcard-count {
    color: #9ca3af;
    flex-shrink: 0;
    font-size: 15px;
    padding-left: 12px;
    white-space: nowrap;
}

/* Card body */
.cph-qcard-body { padding: 34px 24px 20px; }
.cph-qcard-q {
    color: #111827;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 20px;
}
.cph-qcard-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Option rows: ~52px tall */
.cph-opt {
    align-items: center;
    border-radius: 6px;
    cursor: default;
    display: flex;
    gap: 14px;
    min-height: 52px;
    padding: 10px 16px 10px 12px;
}
.cph-opt--sel { background: #eff6ff; }
.cph-opt-ltr {
    align-items: center;
    background: #f1f5f9;
    border-radius: 6px;
    color: #6b7280;
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    width: 28px;
}
.cph-opt--sel .cph-opt-ltr {
    background: #0c1632;
    color: #ffffff;
}
.cph-opt-txt {
    color: #374151;
    flex: 1;
    font-size: 16px;
}
.cph-opt--sel .cph-opt-txt {
    color: #0c1632;
    font-weight: 500;
}
.cph-opt-chk {
    color: #0c1632;
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

/* Card footer: progress segments inside card (~40px) */
.cph-qcard-foot {
    align-items: center;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 6px;
    min-height: 40px;
    padding: 10px 24px;
}
.cph-prog-bar {
    background: #e5e7eb;
    border-radius: 100px;
    flex: 1;
    height: 3px;
}
.cph-prog-bar--on { background: #0c1632; }


/* ================================================================
   2. VENDOR LOGO STRIP
   ================================================================ */

.cph-strip {
    background: var(--cph-surface);
    border-bottom: 1px solid var(--cph-border);
    padding: 36px 0;
}
.cph-strip-label {
    color: var(--cph-muted-lt);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    text-align: center;
    text-transform: uppercase;
}
.cph-strip-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 48px;
    row-gap: 16px;
}
.cph-strip-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.38;
    text-decoration: none;
    transition: opacity 0.2s;
}
.cph-strip-link:hover { opacity: 0.70; }
.cph-strip-img {
    height: 26px;
    max-width: 96px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.3);
}
.cph-strip-txt {
    color: var(--cph-muted);
    font-size: 0.85rem;
    font-weight: 700;
}


/* ================================================================
   3. FEATURES / WHY CHOOSE — left cards, right heading
   ================================================================ */

.cph-feat {
    background: var(--cph-surface);
    padding: 96px 0;
}

.cph-feat-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}

/* Card grid (left) */
.cph-feat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cph-feat-card {
    background: var(--cph-surface);
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    padding: 20px;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.cph-feat-card:hover {
    border-color: #c7d2fe;
    box-shadow: var(--cph-shadow);
}

.cph-feat-icon {
    align-items: center;
    border-radius: var(--cph-radius-sm);
    display: flex;
    height: 38px;
    justify-content: center;
    margin-bottom: 14px;
    width: 38px;
}
.cph-feat-icon svg { height: 18px; width: 18px; }
.cph-feat-icon--blue   { background: rgba(37,99,235,0.08);  color: #2563eb; }
.cph-feat-icon--indigo { background: rgba(99,102,241,0.08); color: #6366f1; }
.cph-feat-icon--sky    { background: rgba(14,165,233,0.08); color: #0ea5e9; }
.cph-feat-icon--cyan   { background: rgba(6,182,212,0.08);  color: #06b6d4; }

.cph-feat-card-h3 {
    color: var(--cph-ink);
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.cph-feat-card-p {
    color: var(--cph-muted);
    font-size: 0.79rem;
    line-height: 1.65;
    margin: 0;
}

/* Heading block (right) */
.cph-feat-text {}

.cph-feat-overline {
    color: var(--cph-blue);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.cph-feat-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 18px;
}
.cph-feat-desc {
    color: var(--cph-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 28px;
}
.cph-feat-link {
    align-items: center;
    color: var(--cph-blue);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 5px;
    text-decoration: none;
}
.cph-feat-link:hover { color: var(--cph-blue-dk); text-decoration: underline; }
.cph-feat-link svg { height: 14px; width: 14px; }


/* ================================================================
   4. THREE STEPS — dark navy background
   ================================================================ */

.cph-steps {
    background: var(--cph-navy);
    overflow: hidden;
    padding: 88px 0;
    position: relative;
}
.cph-steps::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.cph-steps-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin: 0 auto 60px;
    max-width: var(--cph-container);
    padding: 0 40px;
    position: relative;
    z-index: 1;
}
.cph-steps-h2 {
    color: #f0f9ff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}
.cph-steps-sub {
    color: rgba(186,230,253,0.60);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.cph-steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
    position: relative;
    z-index: 1;
}
.cph-step {
    border-left: 1px solid rgba(255,255,255,0.07);
    padding: 0 40px 0 36px;
}
.cph-step:first-child {
    border-left: none;
    padding-left: 0;
}
.cph-step-num {
    color: rgba(255,255,255,0.055);
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}
.cph-step-h3 {
    color: #f0f9ff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.cph-step-p {
    color: rgba(186,230,253,0.55);
    font-size: 0.85rem;
    line-height: 1.75;
    margin: 0;
}


/* ================================================================
   5. POPULAR VENDORS GRID
   ================================================================ */

.cph-vendors {
    background: var(--cph-surface-soft);
    padding: 80px 0;
}

.cph-vendors-head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 36px;
    max-width: var(--cph-container);
    padding: 0 40px;
    gap: 24px;
}
.cph-vendors-left {}
.cph-vendors-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 5px;
}
.cph-vendors-sub {
    color: var(--cph-muted);
    font-size: 0.85rem;
    margin: 0;
}
.cph-vendors-all-btn {
    background: transparent;
    border: 1.5px solid var(--cph-blue);
    border-radius: 6px;
    color: var(--cph-blue);
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.cph-vendors-all-btn:hover {
    background: var(--cph-blue);
    color: #fff;
}

.cph-vendors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}

.cph-vendor-tile {
    align-items: center;
    background: var(--cph-surface);
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 96px;
    padding: 20px 16px;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.cph-vendor-tile:hover {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.07);
}
.cph-vendor-tile-logo {
    height: 34px;
    max-width: 88px;
    object-fit: contain;
}
.cph-vendor-tile-init {
    align-items: center;
    background: var(--cph-blue-lt);
    border-radius: var(--cph-radius-sm);
    color: var(--cph-blue);
    display: flex;
    font-size: 0.85rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    width: 38px;
}
.cph-vendor-tile-name {
    color: var(--cph-muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
}

.cph-vendors-footer {
    margin: 32px auto 0;
    max-width: var(--cph-container);
    padding: 0 40px;
    text-align: center;
}
.cph-vendors-browse {
    align-items: center;
    background: var(--cph-blue);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 6px;
    padding: 11px 26px;
    text-decoration: none;
    transition: background 0.15s;
}
.cph-vendors-browse:hover { background: var(--cph-blue-dk); color: #fff; }
.cph-vendors-browse svg { height: 14px; width: 14px; }


/* ================================================================
   6. POPULAR CERTIFICATIONS — tab interface
   ================================================================ */

.cph-tabs-section {
    background: var(--cph-surface);
    padding: 80px 0;
}

.cph-tabs-wrap {
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}

.cph-tabs-head {
    margin-bottom: 36px;
}
.cph-tabs-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 6px;
}
.cph-tabs-sub {
    color: var(--cph-muted);
    font-size: 0.86rem;
    margin: 0;
}

.cph-tabs-ui {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    overflow: hidden;
    background: var(--cph-surface);
}

.cph-tabs-nav {
    background: var(--cph-surface-soft);
    border-right: 1px solid var(--cph-border);
    padding: 8px 0;
}

.cph-tab-btn {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--cph-muted);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    gap: 10px;
    padding: 11px 16px;
    text-align: left;
    width: 100%;
    transition: background 0.13s, color 0.13s;
}
.cph-tab-btn:hover {
    background: var(--cph-blue-lt);
    color: var(--cph-blue);
}
.cph-tab-btn--active {
    background: var(--cph-blue-lt);
    color: var(--cph-blue);
    font-weight: 600;
    border-right: 2px solid var(--cph-blue);
}
.cph-tab-btn-logo {
    height: 20px;
    max-width: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.cph-tab-btn-init {
    align-items: center;
    background: var(--cph-blue-lt);
    border-radius: 3px;
    color: var(--cph-blue);
    display: flex;
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
    height: 20px;
    justify-content: center;
    width: 28px;
}

.cph-tab-panel {
    display: none;
    padding: 24px 28px;
}
.cph-tab-panel--active { display: block; }

.cph-tab-panel-head {
    align-items: center;
    border-bottom: 1px solid var(--cph-border);
    display: flex;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 18px;
    margin-bottom: 4px;
}
.cph-tab-panel-logo {
    height: 32px;
    max-width: 80px;
    object-fit: contain;
}
.cph-tab-panel-init {
    align-items: center;
    background: var(--cph-blue-lt);
    border-radius: 5px;
    color: var(--cph-blue);
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.cph-tab-panel-vendor-name {
    color: var(--cph-ink);
    font-size: 0.92rem;
    font-weight: 700;
    display: block;
}
.cph-tab-panel-count {
    color: var(--cph-muted);
    font-size: 0.78rem;
    display: block;
    margin-top: 2px;
}

.cph-tab-exam-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cph-tab-exam-item {
    border-bottom: 1px solid var(--cph-border);
}
.cph-tab-exam-item:last-child { border-bottom: none; }

.cph-tab-exam-link {
    align-items: center;
    color: var(--cph-ink);
    display: flex;
    font-size: 0.82rem;
    gap: 10px;
    padding: 11px 4px;
    text-decoration: none;
    transition: color 0.12s;
}
.cph-tab-exam-link:hover { color: var(--cph-blue); }
.cph-tab-exam-code {
    background: var(--cph-blue-lt);
    border-radius: 3px;
    color: var(--cph-blue);
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 60px;
    padding: 3px 7px;
    text-align: center;
}
.cph-tab-exam-name {
    color: var(--cph-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cph-tab-exam-arrow {
    color: var(--cph-muted-lt);
    flex-shrink: 0;
    height: 14px;
    width: 14px;
}
.cph-tab-exam-link:hover .cph-tab-exam-arrow { color: var(--cph-blue); }
.cph-tab-exam-empty {
    color: var(--cph-muted-lt);
    font-size: 0.82rem;
    padding: 14px 4px;
}

.cph-tab-panel-footer {
    border-top: 1px solid var(--cph-border);
    margin-top: 8px;
    padding-top: 14px;
}
.cph-tab-view-all {
    align-items: center;
    color: var(--cph-blue);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 5px;
    text-decoration: none;
}
.cph-tab-view-all:hover { text-decoration: underline; }
.cph-tab-view-all svg { height: 13px; width: 13px; }

.cph-tabs-footer {
    margin-top: 28px;
    text-align: center;
}
.cph-tabs-browse {
    align-items: center;
    border: 1.5px solid var(--cph-blue);
    border-radius: 6px;
    color: var(--cph-blue);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 5px;
    padding: 9px 22px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.cph-tabs-browse:hover {
    background: var(--cph-blue);
    color: #fff;
}
.cph-tabs-browse svg { height: 13px; width: 13px; }


/* ================================================================
   7. STATISTICS — bordered cards, white background
   ================================================================ */

.cph-stats {
    background: var(--cph-surface-soft);
    border-bottom: 1px solid var(--cph-border);
    border-top: 1px solid var(--cph-border);
    padding: 80px 0;
}

.cph-stats-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin: 0 auto 48px;
    max-width: var(--cph-container);
    padding: 0 40px;
}
.cph-stats-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}
.cph-stats-desc {
    color: var(--cph-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0;
}

.cph-stats-cards {
    background: var(--cph-surface);
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: var(--cph-container);
    overflow: hidden;
    padding: 0 40px;
}
.cph-stats-cards {
    padding: 0;
    margin: 0 40px;
    max-width: calc(var(--cph-container) - 80px);
    /* center within the cph-container: */
    margin: 0 auto;
    max-width: var(--cph-container);
}
/* Fix: use a wrapper */
.cph-stats-inner {
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}
.cph-stats-cards {
    background: var(--cph-surface);
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.cph-stat {
    border-right: 1px solid var(--cph-border);
    padding: 32px 28px;
}
.cph-stat:last-child { border-right: none; }

.cph-stat-metric {
    color: var(--cph-blue);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.cph-stat-label {
    color: var(--cph-ink);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.cph-stat-note {
    color: var(--cph-muted);
    font-size: 0.77rem;
    line-height: 1.55;
    margin: 0;
}


/* ================================================================
   8. TESTIMONIALS
   ================================================================ */

.cph-testi {
    background: var(--cph-surface);
    padding: 80px 0;
}
.cph-testi-wrap {
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}
.cph-testi-head {
    margin-bottom: 44px;
    text-align: center;
}
.cph-testi-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
}
.cph-testi-sub {
    color: var(--cph-muted);
    font-size: 0.88rem;
    margin: 0;
}

.cph-testi-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.cph-testi-card {
    background: var(--cph-surface-soft);
    border: 1px solid var(--cph-border);
    border-radius: var(--cph-radius);
    padding: 24px;
}
.cph-testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}
.cph-testi-star {
    color: #fbbf24;
    fill: currentColor;
    height: 14px;
    width: 14px;
}
.cph-testi-quote {
    color: var(--cph-ink);
    font-size: 0.86rem;
    line-height: 1.72;
    margin: 0 0 20px;
}
.cph-testi-author {
    align-items: center;
    display: flex;
    gap: 10px;
}
.cph-testi-avatar {
    align-items: center;
    background: var(--cph-blue-lt);
    border-radius: 50%;
    color: var(--cph-blue);
    display: flex;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.cph-testi-name {
    color: var(--cph-ink);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}
.cph-testi-role {
    color: var(--cph-muted);
    display: block;
    font-size: 0.74rem;
}


/* ================================================================
   9. FAQ — two-column layout
   ================================================================ */

.cph-faq {
    background: var(--cph-surface-soft);
    border-top: 1px solid var(--cph-border);
    padding: 80px 0;
}

.cph-faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 72px;
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
}

.cph-faq-left {}
.cph-faq-h2 {
    color: var(--cph-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    line-height: 1.2;
}
.cph-faq-sub {
    color: var(--cph-muted);
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

.cph-faq-list {}

.cph-faq-item { border-bottom: 1px solid var(--cph-border); }
.cph-faq-item:first-child { border-top: 1px solid var(--cph-border); }

.cph-faq-btn {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 0;
    text-align: left;
    width: 100%;
}
.cph-faq-q {
    color: var(--cph-ink);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}
.cph-faq-btn:hover .cph-faq-q { color: var(--cph-blue); }
.cph-faq-icon {
    color: var(--cph-muted);
    flex-shrink: 0;
    height: 18px;
    transition: transform 0.2s, color 0.2s;
    width: 18px;
}
.cph-faq-icon--open {
    color: var(--cph-blue);
    transform: rotate(45deg);
}
.cph-faq-answer {
    color: var(--cph-muted);
    font-size: 0.84rem;
    line-height: 1.78;
    margin: 0;
    padding-bottom: 18px;
}


/* ================================================================
   10. FINAL CTA — split layout, dark navy background
   ================================================================ */

.cph-cta {
    background: var(--cph-navy);
    overflow: hidden;
    padding: 88px 0;
    position: relative;
}
.cph-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.cph-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin: 0 auto;
    max-width: var(--cph-container);
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.cph-cta-left {}
.cph-cta-h2 {
    color: #f0f9ff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}
.cph-cta-h2-accent { color: #60a5fa; }
.cph-cta-desc {
    color: rgba(186,230,253,0.62);
    font-size: 0.95rem;
    line-height: 1.78;
    margin: 0;
}

.cph-cta-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cph-cta-btn-white {
    background: #fff;
    border: 1.5px solid #fff;
    border-radius: 6px;
    color: var(--cph-navy);
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 13px 24px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cph-cta-btn-white:hover { opacity: 0.88; color: var(--cph-navy); }
.cph-cta-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(96,165,250,0.38);
    border-radius: 6px;
    color: #93c5fd;
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.cph-cta-btn-outline:hover {
    background: rgba(37,99,235,0.12);
    border-color: rgba(96,165,250,0.65);
    color: #bfdbfe;
}


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

/* ── Laptop (< 1100px) ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .cph-hero-inner { gap: 56px; padding: 0 28px; }
    .cph-hero-slider-wrap { max-width: 540px; }
    .cph-vendors-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet (< 1024px) ─────────────────────────────────────── */
@media (max-width: 1023px) {
    :is(.cph-feat-inner, .cph-steps-top, .cph-cta-inner) { padding: 0 28px; }
    :is(.cph-steps-row, .cph-vendors-head, .cph-vendors-grid, .cph-vendors-footer,
        .cph-tabs-wrap, .cph-stats-top, .cph-stats-inner, .cph-testi-wrap,
        .cph-faq-grid) { padding: 0 28px; }

    .cph-hero-inner { grid-template-columns: 1fr; padding: 0 28px; }
    .cph-hero-slider-wrap { max-width: 520px; margin: 0 auto; }

    .cph-feat-inner { grid-template-columns: 1fr; gap: 48px; }
    .cph-feat-text { order: -1; }

    .cph-steps-top { grid-template-columns: 1fr; gap: 12px; }
    .cph-steps-row { grid-template-columns: 1fr; }
    .cph-step { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding: 28px 0; }
    .cph-step:first-child { border-top: none; }

    .cph-vendors-grid { grid-template-columns: repeat(3, 1fr); }
    .cph-vendors-head { align-items: flex-start; flex-direction: column; }

    .cph-tabs-ui { grid-template-columns: 180px 1fr; }

    .cph-stats-top { grid-template-columns: 1fr; gap: 12px; }
    .cph-stats-cards { grid-template-columns: repeat(2, 1fr); }
    .cph-stat { border-right: none; border-bottom: 1px solid var(--cph-border); }
    .cph-stat:nth-child(odd) { border-right: 1px solid var(--cph-border); }
    .cph-stat:last-child,
    .cph-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

    .cph-faq-grid { grid-template-columns: 1fr; gap: 36px; }

    .cph-cta-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 28px; }
    .cph-cta-right { flex-direction: row; flex-wrap: wrap; }
    .cph-cta-btn-white, .cph-cta-btn-outline { flex: 1; min-width: 160px; }

    .cph-testi-grid { grid-template-columns: 1fr; }
}

/* ── Mobile (< 768px) ──────────────────────────────────────── */
@media (max-width: 767px) {
    .cph-hero { padding: 68px 0 84px; }
    .cph-hero-inner { gap: 48px; padding: 0 20px; }
    .cph-hero-slider-wrap { display: none; } /* hide slider on narrow mobile */
    .cph-hero-controls { flex-direction: column; align-items: stretch; }
    .cph-hero-btn-browse { justify-content: center; }
    .cph-hero-search-inner { width: 100%; }

    .cph-strip .cph-wrap { padding: 0 20px; }
    .cph-strip-row { gap: 20px 32px; }
    .cph-strip-img { height: 22px; }

    .cph-feat { padding: 64px 0; }
    .cph-feat-inner { padding: 0 20px; gap: 40px; }
    .cph-feat-cards { grid-template-columns: 1fr; }

    .cph-steps { padding: 64px 0; }
    .cph-steps-top { padding: 0 20px; margin-bottom: 40px; }
    .cph-steps-row { padding: 0 20px; }

    .cph-vendors { padding: 64px 0; }
    .cph-vendors-head { padding: 0 20px; }
    .cph-vendors-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
    .cph-vendors-footer { padding: 0 20px; }
    .cph-vendors-all-btn { display: none; }

    .cph-tabs-section { padding: 64px 0; }
    .cph-tabs-wrap { padding: 0 20px; }
    .cph-tabs-ui { grid-template-columns: 1fr; border: none; }
    .cph-tabs-nav { border-right: none; border-bottom: 1px solid var(--cph-border); padding: 0; display: flex; overflow-x: auto; }
    .cph-tab-btn { white-space: nowrap; flex-shrink: 0; border-bottom: 2px solid transparent; }
    .cph-tab-btn--active { border-right: none; border-bottom: 2px solid var(--cph-blue); }
    .cph-tab-panel { padding: 20px 0; }

    .cph-stats { padding: 64px 0; }
    .cph-stats-top { padding: 0 20px; }
    .cph-stats-inner { padding: 0 20px; }
    .cph-stats-cards { grid-template-columns: repeat(2, 1fr); }

    .cph-testi { padding: 64px 0; }
    .cph-testi-wrap { padding: 0 20px; }
    .cph-testi-grid { grid-template-columns: 1fr; gap: 14px; }

    .cph-faq { padding: 64px 0; }
    .cph-faq-grid { padding: 0 20px; gap: 28px; }

    .cph-cta { padding: 64px 0; }
    .cph-cta-inner { padding: 0 20px; gap: 36px; }
    .cph-cta-right { flex-direction: column; }
    .cph-cta-btn-white, .cph-cta-btn-outline { flex: none; min-width: 0; }
}

@media (max-width: 480px) {
    .cph-stats-cards { grid-template-columns: 1fr; }
    .cph-stat { border-right: none; }
    .cph-stat:last-child { border-bottom: none; }
    .cph-stat:nth-child(odd) { border-right: none; }
    .cph-feat-cards { gap: 10px; }
}
