/* ==========================================================================
   AZAADESIGNS ID — SKILLPEDIA.CSS
   Promo Lifetime Access · Skillpedia Section
   ========================================================================== */

/* ── SECTION WRAPPER ───────────────────────────────────────────────────────── */
.skillpedia-section {
    padding: var(--section-pad);
    position: relative;
    overflow: hidden;
}

.skillpedia-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 50%, rgba(234, 179, 8, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 20%, rgba(56, 189, 248, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* ── URGENCY BANNER ─────────────────────────────────────────────────────────── */
.sp-urgency-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
    background-size: 200% auto;
    animation: bannerShimmer 3s linear infinite;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.sp-urgency-banner .sp-fire {
    font-size: 1.1rem;
    animation: fireWiggle 0.8s ease-in-out infinite alternate;
}

@keyframes bannerShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes fireWiggle {
    from { transform: rotate(-8deg) scale(1); }
    to   { transform: rotate(8deg) scale(1.15); }
}

/* ── COUNTDOWN TIMER ────────────────────────────────────────────────────────── */
.sp-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.sp-cd-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.sp-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sp-cd-box {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #f59e0b;
    min-width: 56px;
    text-align: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    position: relative;
    overflow: hidden;
}

.sp-cd-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.sp-cd-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-cd-sep {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f59e0b;
    margin-bottom: 18px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ── MAIN CARD ──────────────────────────────────────────────────────────────── */
.sp-main-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-2);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.sp-main-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #3b82f6, #38bdf8, #f59e0b);
    background-size: 300% auto;
    animation: borderFlow 4s linear infinite;
}

@keyframes borderFlow {
    0%   { background-position: 0% center; }
    100% { background-position: 300% center; }
}

/* ── LEFT COLUMN ────────────────────────────────────────────────────────────── */
.sp-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.sp-logo-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.2);
}

.sp-partner-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-partner-label span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sp-partner-label strong {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(90deg, #f59e0b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-headline {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
}

.sp-headline .sp-highlight {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── CLASS LIST ─────────────────────────────────────────────────────────────── */
.sp-class-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-class-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 14px;
    background: rgba(234, 179, 8, 0.05);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.sp-class-item:hover {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.4);
    transform: translateX(4px);
}

.sp-class-item .sp-check {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── BADGES STRIP ───────────────────────────────────────────────────────────── */
.sp-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.sp-badge-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ── RIGHT COLUMN ───────────────────────────────────────────────────────────── */
.sp-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Promo Image */
.sp-promo-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.sp-promo-img-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.sp-promo-img-wrap:hover img {
    transform: scale(1.03);
}

.sp-promo-img-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(234,179,8,0.5);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(234,179,8,0.5); }
    50%       { transform: scale(1.05); box-shadow: 0 6px 25px rgba(234,179,8,0.7); }
}

/* Price Box */
.sp-price-box {
    background: linear-gradient(135deg, rgba(234,179,8,0.08), rgba(59,130,246,0.06));
    border: 1px solid rgba(234,179,8,0.3);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.sp-price-box::after {
    content: '🏷️ PROMO';
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.sp-price-normal {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.sp-price-web {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.sp-price-web span {
    font-weight: 700;
    color: #60a5fa;
}

.sp-price-special-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 4px;
}

.sp-price-big {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.sp-price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.sp-slot-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sp-slot-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.sp-slot-fill {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 10px;
    animation: slotPulse 2s ease-in-out infinite;
}

@keyframes slotPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

/* ── CTA BUTTONS ────────────────────────────────────────────────────────────── */
.sp-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.35);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sp-btn-wa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.sp-btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(34, 197, 94, 0.5);
}

.sp-btn-wa:hover::before { opacity: 1; }

.sp-btn-web {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border-2);
    position: relative;
    overflow: hidden;
}

.sp-btn-web:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.15);
    color: var(--text-main);
    text-decoration: none;
}

.sp-btn-wa-icon,
.sp-btn-web-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ── TRUST ROW ──────────────────────────────────────────────────────────────── */
.sp-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border-2);
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sp-trust-item .sp-trust-icon {
    font-size: 1rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sp-main-card {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .sp-countdown {
        gap: 6px;
    }

    .sp-cd-box {
        font-size: 1.1rem;
        padding: 8px 10px;
        min-width: 44px;
    }

    .sp-urgency-banner {
        font-size: 0.75rem;
    }
}
