/**
 * EpikBeats Page Enhancements — v4.11.0
 * Visual upgrades for existing templates
 * Loads AFTER existing CSS to override/enhance
 */

/* =============================================================================
   SHARED VARIABLES (extend existing)
   ============================================================================= */
:root {
    --eb-gold-glow: rgba(226, 186, 135, 0.4);
    --eb-gold-dim: rgba(226, 186, 135, 0.12);
    --eb-surface2: #151515;
    --eb-surface3: #1a1a1a;
    --eb-border-light: #2a2a2a;
    --eb-green: #22c55e;
    --eb-green-dim: rgba(34, 197, 94, 0.15);
}

/* =============================================================================
   ELITE PAGE ENHANCEMENTS
   ============================================================================= */

/* Pricing Grid - add asymmetric sizing for featured */
.eb-elite-pricing__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 900px) {
    .eb-elite-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Tier Cards - enhanced styling */
.eb-elite-tier {
    background: var(--eb-surface, #171717);
    border: 1px solid var(--eb-border, #2a2a2a);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.eb-elite-tier:hover {
    border-color: var(--eb-border-light, #333);
    transform: translateY(-4px);
}

/* Featured tier - gold treatment */
.eb-elite-tier--featured {
    background: linear-gradient(to bottom, rgba(226, 186, 135, 0.08) 0%, var(--eb-surface, #171717) 50%);
    border: 2px solid var(--eb-accent, #e2ba87);
    box-shadow: 0 0 60px rgba(226, 186, 135, 0.1), 0 20px 40px rgba(0,0,0,0.3);
    padding: 40px 32px;
    z-index: 2;
}

.eb-elite-tier--featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 80px rgba(226, 186, 135, 0.15), 0 24px 48px rgba(0,0,0,0.4);
}

/* Badge enhancement */
.eb-elite-tier__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--eb-accent, #e2ba87);
    color: var(--eb-bg, #0d0d0d);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Price value - larger, mono font */
.eb-elite-tier__price-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
}

.eb-elite-tier--featured .eb-elite-tier__price-value {
    font-size: 48px;
    color: var(--eb-accent, #e2ba87);
}

/* CTA buttons - enhanced */
.eb-elite-tier__cta {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid var(--eb-border, #2a2a2a);
    background: transparent;
    color: var(--eb-text, #fff);
}

.eb-elite-tier__cta:hover {
    border-color: var(--eb-accent, #e2ba87);
    color: var(--eb-accent, #e2ba87);
}

.eb-elite-tier--featured .eb-elite-tier__cta {
    background: var(--eb-accent, #e2ba87);
    border-color: var(--eb-accent, #e2ba87);
    color: var(--eb-bg, #0d0d0d);
}

.eb-elite-tier--featured .eb-elite-tier__cta:hover {
    background: #d4a574;
    border-color: #d4a574;
    box-shadow: 0 8px 24px var(--eb-gold-glow);
    transform: scale(1.02);
}

/* Features list - cleaner look */
.eb-elite-tier__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--eb-border, #2a2a2a);
}

.eb-elite-tier__features li:last-child {
    border-bottom: none;
}

.eb-elite-tier__features li strong {
    color: var(--eb-text, #fff);
    font-weight: 600;
}

.eb-elite-tier--featured .eb-elite-tier__features li strong {
    color: var(--eb-accent, #e2ba87);
}

/* FAQ Enhancement */
.eb-elite-faq__item {
    background: var(--eb-surface, #171717);
    border: 1px solid var(--eb-border, #2a2a2a);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.eb-elite-faq__item:hover {
    border-color: var(--eb-border-light, #333);
}

.eb-elite-faq__question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--eb-text, #fff);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.eb-elite-faq__question:hover {
    color: var(--eb-accent, #e2ba87);
}

/* Why Section Cards */
.eb-elite-feature {
    background: var(--eb-surface2, #151515);
    border: 1px solid var(--eb-border, #2a2a2a);
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.2s;
}

.eb-elite-feature:hover {
    border-color: var(--eb-border-light, #333);
    transform: translateY(-2px);
}

/* =============================================================================
   FRONT PAGE / ONBOARDING ENHANCEMENTS
   ============================================================================= */

/* Role cards - enhanced with gold hover */
.eb-role-card {
    transition: all 0.3s ease;
}

.eb-role-card:hover {
    border-color: var(--eb-gold, #e2ba87);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.eb-role-card__bar {
    background: linear-gradient(90deg, var(--eb-gold, #e2ba87), #d4a574);
}

.eb-role-card__label {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =============================================================================
   WRITING PAD ENHANCEMENTS
   ============================================================================= */

/* Stats bar - enhanced colors */
.wps-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 800;
}

.wps-stat-num.wps-gold { color: #e2ba87; }
.wps-stat-num.wps-green { color: #22c55e; }
.wps-stat-num.wps-blue { color: #3b82f6; }
.wps-stat-num.wps-red { color: #ef4444; }
.wps-stat-num.wps-purple { color: #a855f7; }

/* Skill badge - gradient */
.wps-skill {
    background: linear-gradient(135deg, #e2ba87, #d4a574);
    color: #0a0a0a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 1px;
}

/* Break button - gold CTA */
.wps-break-btn {
    background: linear-gradient(135deg, #e2ba87, #d4a574);
    color: #0a0a0a;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.wps-break-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 186, 135, 0.3);
}

/* End card - celebration style */
.wps-end-card {
    background: linear-gradient(135deg, rgba(226, 186, 135, 0.1), rgba(226, 186, 135, 0.02));
    border: 1px solid rgba(226, 186, 135, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 32px;
}

.wps-end-level {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e2ba87;
}

.wps-end-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 8px 0;
}

/* =============================================================================
   SINGLE DOWNLOAD PAGE ENHANCEMENTS
   ============================================================================= */

/* License tier selector */
.eb-dl__license-tier {
    background: var(--eb-surface, #141414);
    border: 2px solid var(--eb-border, #252525);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.eb-dl__license-tier:hover {
    border-color: var(--eb-border-light, #333);
}

.eb-dl__license-tier.selected {
    border-color: var(--eb-accent, #e2ba87);
    background: rgba(226, 186, 135, 0.1);
}

.eb-dl__license-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.eb-dl__license-tier.selected .eb-dl__license-name {
    color: var(--eb-accent, #e2ba87);
}

.eb-dl__license-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
}

/* Bundle deal banner - enhanced */
.eb-dl__bundle-deal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.02));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
}

.eb-dl__bundle-text {
    font-weight: 700;
    color: #22c55e;
}

.eb-dl__bundle-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    color: #22c55e;
}

/* Track rows - enhanced hover */
.eb-dl__track:hover {
    background: var(--eb-surface, #141414);
}

.eb-dl__track-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--eb-accent, #e2ba87);
}

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

@media (max-width: 768px) {
    .eb-elite-tier__price-value {
        font-size: 32px;
    }
    
    .eb-elite-tier--featured .eb-elite-tier__price-value {
        font-size: 36px;
    }
    
    .wps-end-number {
        font-size: 48px;
    }
}
