/* ============================
   APPLYPROMO - Paid Traffic Landing Page
   Extends site design system (theme.css)
   Only page-specific styles here
   ============================ */

/* Hero */
.promo-hero {
    position: relative;
    padding: 140px 0 120px;
    background: linear-gradient(135deg, var(--brand-dark, #162849) 0%, var(--brand, #20366a) 50%, var(--brand-light, #2952a3) 100%);
    overflow: hidden;
}
.promo-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.promo-hero .container {
    position: relative;
    z-index: 1;
}
.promo-hero__title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
    max-width: 700px;
}
.promo-hero__subtitle {
    font-weight: 400;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 550px;
}
.promo-hero__trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Hero CTA - matches site btn-white */
.btn-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--brand, #20366a);
    border-radius: 8px;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-promo-cta:hover {
    background: #f8f9fa;
    color: var(--brand, #20366a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Slider Card - white card on blue hero for contrast */
.promo-slider-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.promo-slider-card__label {
    color: var(--text, #1a202c);
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 32px;
}
.promo-slider-card__amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand, #20366a);
    text-align: right;
    margin-top: 8px;
    line-height: 1;
}
.promo-slider-card__disclaimer {
    color: var(--muted, #64748b);
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 16px;
}

/* Custom Slider */
.custom-slider {
    position: relative;
    width: 100%;
    height: 40px;
    cursor: pointer;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    margin-bottom: 8px;
}
.custom-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    margin-top: -3px;
    background: var(--border, #e2e8f0);
    border-radius: 3px;
    overflow: hidden;
}
.custom-slider__fill {
    height: 100%;
    background: var(--brand, #20366a);
    border-radius: 3px;
    width: 0%;
}
.custom-slider__thumb {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    margin-left: -14px;
    background: var(--brand, #20366a);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: grab;
    transition: box-shadow 0.15s ease;
    left: 0%;
}
.custom-slider__thumb:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 8px rgba(32,54,106,0.1);
}
.custom-slider__thumb:active,
.custom-slider__thumb.dragging {
    cursor: grabbing;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 10px rgba(32,54,106,0.15);
}



/* Comparison Table */
.promo-compare__wrap {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px var(--card-border, #e2e8f0);
    overflow: hidden;
}
.promo-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.promo-compare__table thead th {
    padding: 20px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text, #1a202c);
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.promo-compare__table thead th:first-child {
    text-align: left;
}
.promo-compare__hl {
    background: rgba(32, 54, 106, 0.04);
}
.promo-compare__table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    text-align: center;
    color: var(--muted, #64748b);
    vertical-align: middle;
}
.promo-compare__table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text, #1a202c);
}
.promo-compare__table tbody tr:last-child td {
    border-bottom: none;
}
.promo-compare__check {
    width: 18px;
    height: 18px;
    color: var(--success, #16a34a);
    vertical-align: middle;
    margin-right: 6px;
}
.promo-compare__x {
    width: 18px;
    height: 18px;
    color: var(--error, #ef4444);
    vertical-align: middle;
    margin-right: 6px;
}

/* Industry Cards */
.promo-industry-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 220px;
    box-shadow: inset 0 0 0 1px var(--card-border, #e2e8f0);
}
.promo-industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.promo-industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.promo-industry-card:hover img {
    transform: scale(1.05);
}
.promo-industry-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    padding: 24px 16px 16px;
}
.promo-industry-card__name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* Sticky Bottom Bar */
.promo-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border, #e2e8f0);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    padding: 14px 0;
}
.promo-sticky-bar.visible {
    transform: translateY(0);
}
.promo-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.promo-sticky-bar__text strong {
    font-size: 0.95rem;
    color: var(--text, #1a202c);
}
.promo-sticky-bar__btn {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
    .promo-hero { padding: 24px 0 40px; }
    .promo-hero__title { font-size: 2.25rem; }
    .promo-slider-card__amount { font-size: 2.25rem; }
    .promo-slider-card__label { font-size: 1.35rem; }
}
@media (max-width: 768px) {
    .promo-hero { padding: 16px 0 32px; }
    .promo-hero .container { padding-left: 20px; padding-right: 20px; }
    .promo-hero-left { margin-bottom: 24px; text-align: center; }
    .promo-hero__title { font-size: 1.65rem; margin-bottom: 10px; }
    .promo-hero__subtitle { font-size: 0.95rem; margin-bottom: 16px; max-width: 100%; }
    .promo-hero__trust { margin-top: 16px; gap: 12px; justify-content: center; flex-direction: column; align-items: center; }
    .promo-hero-cta-wrapper { margin-bottom: 0; display: flex; flex-direction: column; align-items: stretch; }
    .btn-promo-cta { width: 100%; justify-content: center; text-align: center; padding: 16px 24px; box-sizing: border-box; }
    .promo-hero-stats { justify-content: center; font-size: 0.85rem; width: 100%; text-align: center; }
    .promo-bbb-badge { height: 44px; }
    .promo-slider-card { padding: 24px 20px; width: 100%; box-sizing: border-box; margin: 0; }
    .promo-slider-card__label { font-size: 1.15rem; margin-bottom: 20px; text-align: center; }
    .promo-slider-card__amount { font-size: 2rem; text-align: center; }
    .promo-slider-card__disclaimer { text-align: center; }
    .promo-slider-card-logo { display: block; margin: 0 auto 16px; }
    .promo-sticky-bar__inner { flex-direction: column; text-align: center; gap: 10px; }
    .promo-sticky-bar__btn { width: 100%; justify-content: center; display: flex; }
    .promo-compare__table { font-size: 0.85rem; }
    .promo-compare__table thead th,
    .promo-compare__table tbody td { padding: 12px 14px; }
    /* Bootstrap column override — no extra padding on hero columns */
    .promo-hero .row { margin: 0; }
    .promo-hero [class*="col-"] { padding-left: 0; padding-right: 0; }
}
