/**
 * Front-end CSS for Smart Lander Pro
 * Clean, lightweight, responsive, supports all 9 high-converting templates
 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.slp-standalone-body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f8f9fa;
    color: #333333;
    line-height: 1.5;
    padding: 16px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slp-container {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    position: relative;
}

/* RTL Support */
.slp-rtl {
    direction: rtl;
    text-align: right;
}

.slp-rtl .slp-benefit-item {
    padding-left: 0;
    padding-right: 28px;
}

.slp-rtl .slp-benefit-item:before {
    left: auto;
    right: 6px;
}

.slp-rtl .slp-t2-alert {
    border-left: none;
    border-right: 5px solid #2e8b57;
    text-align: right;
}

.slp-rtl .slp-t2-amount.selected::after {
    right: auto;
    left: -10px;
}

/* ─────────────────────────────────────────────────────────────
   SHARED ELEMENTS
───────────────────────────────────────────────────────────── */
.slp-badge {
    background: #0ea5e9;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.slp-header {
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.25;
}

.slp-subheader {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #475569;
    line-height: 1.4;
}

/* Urgency Countdown Banner */
.slp-urgency-banner {
    background: #fef2f2;
    color: #b91c1c;
    padding: 12px 16px;
    font-weight: 700;
    border-radius: 8px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 14px;
}

/* Benefits (Template 1) */
.slp-benefits-list {
    margin: 16px 0;
}

.slp-benefit-item {
    margin: 10px 0;
    font-size: 15px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.slp-benefit-item:before {
    content: attr(data-icon);
    color: var(--benefit-icon-color, #16a34a);
    font-weight: 800;
    position: absolute;
    left: 6px;
}

/* CTA Buttons & Animations */
.slp-cta-wrap {
    text-align: center;
    margin: 20px 0 8px;
}

.slp-cta-prompt {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 15px;
}

.slp-cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
}

.slp-cta-button {
    flex: 1;
    color: #ffffff;
    border: 0;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, filter 0.2s ease, background-color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.slp-cta-button:hover {
    filter: brightness(1.08);
}

.slp-cta-button:active {
    transform: scale(0.96) !important;
}

/* Animations */
.slp-anim-pop {
    animation: slp-pop 1.5s infinite ease-in-out;
}

.slp-anim-bounce {
    animation: slp-bounce 1.5s infinite ease-in-out;
}

@keyframes slp-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes slp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes slp-shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

@media (prefers-reduced-motion: reduce) {
    .slp-cta-button, .slp-t2-main-btn, .slp-anim-pop, .slp-anim-bounce {
        animation: none !important;
    }
}

.slp-microcopy {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.4;
}

.slp-trust-badges {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    margin: 18px 0;
}

.slp-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.slp-guarantee {
    font-size: 12px;
    color: #64748b;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    line-height: 1.4;
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 2 & 7: REWARD SLOTS / WITHDRAWAL (Febe & DroidAfrica)
───────────────────────────────────────────────────────────── */
.slp-t2-wrap {
    text-align: center;
}

.slp-t2-header {
    font-size: 32px;
    font-weight: 800;
    color: #2e8b57;
    margin-bottom: 6px;
}

.slp-t2-sub {
    font-size: 15px;
    font-weight: 500;
    color: #444444;
    margin-bottom: 16px;
}

.slp-t2-timer {
    font-size: 28px;
    font-weight: 800;
    color: #ff5722;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.slp-t2-alert {
    background: #e9ffe9;
    color: #1c6f3c;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 22px;
    border-left: 5px solid #2e8b57;
    font-weight: 600;
    text-align: left;
}

.slp-t2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.slp-t2-amount {
    background: #ffffff;
    padding: 18px 10px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #d4f5d4;
    transition: all 0.25s ease;
    cursor: pointer;
    color: #2e8b57;
    position: relative;
    user-select: none;
}

.slp-t2-amount:hover {
    border-color: #2e8b57;
    transform: scale(1.02);
}

.slp-t2-amount.selected {
    background: #2e8b57;
    color: #ffffff;
    border-color: #2e8b57;
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.25);
}

.slp-t2-amount.selected::after {
    content: '✔';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff5722;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.slp-t2-main-btn {
    width: 100%;
    padding: 16px;
    background: #2e8b57;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 800;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 18px rgba(46, 139, 87, 0.3);
    cursor: pointer;
    animation: slp-bounce 1.5s infinite;
    text-transform: uppercase;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.slp-t2-main-btn:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 3: AMOUNT SELECTOR & APPLY (Gbeduzn)
───────────────────────────────────────────────────────────── */
.slp-t3-header-bar {
    background-color: #36454F;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 22px;
}

.slp-t3-amount-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.slp-t3-amount-btn {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #017c45;
    background-color: #ffffff;
    color: #017c45;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slp-t3-amount-btn:hover {
    background-color: #f0fdf4;
}

.slp-t3-amount-btn.selected {
    background-color: #017c45;
    color: #ffffff;
}

.slp-t3-arrow {
    display: none;
    font-size: 15px;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 12px;
    text-align: center;
}

.slp-t3-apply-btn {
    width: 100%;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    background-color: #cccccc;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: not-allowed;
    transition: background-color 0.3s ease;
}

.slp-t3-apply-btn.active {
    background-color: #017c45;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(1, 124, 69, 0.35);
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 4: QUICK CASH TIMER (Zikloaded)
───────────────────────────────────────────────────────────── */
.slp-t4-wrap {
    text-align: center;
}

.slp-t4-timer {
    color: #c0392b;
    font-weight: bold;
    font-size: 20px;
    margin: 12px 0;
}

.slp-t4-amounts {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.slp-t4-amount-btn {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: #e2e8f0;
    color: #1e293b;
    transition: transform 0.2s ease, background 0.3s, color 0.3s;
    flex: 1;
    min-width: 90px;
}

.slp-t4-amount-btn:hover, .slp-t4-amount-btn.selected {
    background: linear-gradient(to right, #4CAF50, #2E8B57);
    color: #ffffff;
    transform: scale(1.08);
}

.slp-t4-warning {
    color: #c0392b;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 14px;
}

.slp-t4-main-btn {
    width: 100%;
    max-width: 340px;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #999;
    background: #ddd;
    color: #475569;
    cursor: not-allowed;
    transition: background 0.3s, transform 0.2s ease;
}

.slp-t4-main-btn.active {
    background: linear-gradient(to right, #4CAF50, #2E8B57);
    color: #ffffff;
    cursor: pointer;
    border-color: #1E6B34;
    box-shadow: 0 4px 14px rgba(46, 139, 87, 0.35);
}

.slp-t4-main-btn.active:hover {
    transform: scale(1.03);
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 5 & 6: SUPPORT PACKAGES (Kehost & Hawi NowV1)
───────────────────────────────────────────────────────────── */
.slp-t6-container {
    border-radius: 28px;
    padding: 32px 24px 34px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.slp-t6-shimmer-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f7971e, #ffd200, #f7971e);
    background-size: 200% 100%;
    animation: slp-shimmer 3s ease-in-out infinite;
}

.slp-t6-header {
    font-size: 28px;
    font-weight: 900;
    color: #0a1a1c;
    line-height: 1.2;
    margin-bottom: 6px;
}

.slp-t6-gold {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slp-t6-prize-tag {
    display: inline-block;
    background: #fff8e1;
    color: #f57f17;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin: 10px 0 16px;
}

.slp-t6-package-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0;
}

.slp-t6-package-btn {
    width: 100%;
    padding: 16px 14px;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, filter 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slp-t6-package-btn:hover {
    filter: brightness(1.08);
}

.slp-t6-pkg-title {
    font-size: 19px;
    font-weight: 800;
}

.slp-t6-pkg-sub {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 4px;
    text-transform: none;
}

.slp-t6-note {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #d46b08;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 8: EXACT GRAPHICSORT ELIGIBILITY QUIZ
   (https://graphicsort.site/apply-now-2)
───────────────────────────────────────────────────────────── */
body.slp-template-template_8_quiz_question {
    background: radial-gradient(circle at top left, #5636a8 0%, transparent 38%),
                radial-gradient(circle at bottom right, #00b8c8 0%, transparent 40%),
                #15152d !important;
}

.slp-t8-card, .card.slp-t8-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 23px 25px;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    max-width: 470px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.slp-t8-card::before, .slp-t8-top-line {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #7546d8, #00b8c8);
}

.slp-t8-badge, .badge.slp-t8-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 17px;
    padding: 8px 15px;
    border-radius: 50px;
    background: #f0ebff;
    color: #6540b5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
}

.slp-t8-icon, .icon.slp-t8-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 17px;
    border-radius: 50% 50% 18px 50%;
    background: linear-gradient(145deg, #7546d8, #9b6df0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 24px rgba(117, 70, 216, 0.3);
    transform: rotate(-6deg);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

.slp-t8-h1, h1.slp-t8-h1 {
    color: #20203d;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 9px;
    font-weight: bold;
}

.slp-t8-description, .description.slp-t8-description {
    color: #737487;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 auto 24px;
    max-width: 370px;
}

.slp-t8-question, .question.slp-t8-question {
    background: #f8f8fc;
    border: 1px solid #e6e4f1;
    border-radius: 20px;
    padding: 20px 14px 17px;
    margin-bottom: 19px;
}

.slp-t8-question h2, .question.slp-t8-question h2 {
    color: #292849;
    font-size: 19px;
    line-height: 1.45;
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center;
}

.slp-t8-options, .options.slp-t8-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.slp-t8-option, .option.slp-t8-option {
    position: relative;
}

.slp-t8-option input[type="radio"], .option.slp-t8-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.slp-t8-option label, .option.slp-t8-option label {
    display: block;
    padding: 14px 8px;
    background: #ffffff;
    border: 2px solid #e3e2ec;
    border-radius: 14px;
    color: #4b4a64;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all .25s ease;
    text-align: center;
    box-sizing: border-box;
}

.slp-t8-option label:hover, .option.slp-t8-option label:hover {
    border-color: #00aebb;
    background: #f5ffff;
}

.slp-t8-option input[type="radio"]:checked + label,
.slp-t8-option.selected label,
.option.slp-t8-option input[type="radio"]:checked + label,
.option.slp-t8-option.selected label {
    background: #e9fbfc;
    border-color: #00aebb;
    color: #008391;
    box-shadow: 0 5px 14px rgba(0, 174, 187, 0.13);
    transform: scale(1.02);
}

.slp-t8-continue-btn, .continue-btn.slp-t8-continue-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 16px;
    background: #c8c8d0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: not-allowed;
    transition: all .25s ease;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    text-align: center;
}

.slp-t8-continue-btn.active, .continue-btn.slp-t8-continue-btn.active {
    background: linear-gradient(90deg, #6540c4, #00aebb);
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(84, 70, 190, 0.25);
}

.slp-t8-continue-btn.active:hover, .continue-btn.slp-t8-continue-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(84, 70, 190, 0.32);
}

.slp-t8-note, .note.slp-t8-note {
    color: #9999a8;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 15px;
    text-align: center;
}

@media(max-width: 400px) {
    .slp-t8-card, .card.slp-t8-card {
        padding: 25px 16px 22px;
        border-radius: 23px;
    }
    .slp-t8-h1, h1.slp-t8-h1 {
        font-size: 23px;
    }
    .slp-t8-icon, .icon.slp-t8-icon {
        width: 74px;
        height: 74px;
        font-size: 35px;
    }
    .slp-t8-question h2, .question.slp-t8-question h2 {
        font-size: 18px;
    }
    .slp-t8-option label, .option.slp-t8-option label {
        padding: 13px 7px;
        font-size: 15px;
    }
}

/* ─────────────────────────────────────────────────────────────
   TEMPLATE 9: ELIGIBILITY SUCCESS ALERT (Abroad Blog)
───────────────────────────────────────────────────────────── */
.slp-t9-wrap {
    text-align: center;
}

.slp-t9-options-wrap {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.slp-t9-option-btn {
    flex: 1;
    min-width: 130px;
    padding: 18px 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    color: #1e293b;
    transition: all 0.2s ease;
}

.slp-t9-option-btn:hover {
    border-color: #10b981;
}

.slp-t9-option-btn.selected {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
    transform: scale(1.04);
}

.slp-t9-alert-box {
    display: none;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    margin: 16px 0;
    animation: slp-pop 0.3s ease;
}

.slp-t9-continue-btn {
    width: 100%;
    padding: 16px;
    font-size: 19px;
    font-weight: 800;
    border-radius: 12px;
    background: #cbd5e1;
    color: #64748b;
    border: none;
    cursor: not-allowed;
    transition: all 0.25s ease;
}

.slp-t9-continue-btn.active {
    background: #10b981;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    animation: slp-bounce 1.5s infinite;
}

/* Desktop sizing */
@media (min-width: 520px) {
    .slp-container {
        padding: 30px 24px;
    }
    .slp-header {
        font-size: 28px;
    }
}
