/**
 * Pricing Page Styles - Dark Theme
 * SkoolBeez Landing Page
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --sb-dark-1: #0d1b2a;
    --sb-dark-2: #1b263b;
    --sb-dark-3: #415a77;
    --sb-yellow: #ffed00;
    --sb-yellow-dark: #ffc300;
    --sb-glass: rgba(255, 255, 255, 0.03);
    --sb-glass-border: rgba(255, 255, 255, 0.1);
    --sb-text-muted: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Pricing Hero Section
   ======================================== */
.pricing-hero {
    background: linear-gradient(135deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 50%, var(--sb-dark-3) 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
    margin-top: -80px;
    text-align: center;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-honeycomb {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23ffed00' fill-opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.6;
    animation: honeycombFloat 25s ease-in-out infinite;
}

@keyframes honeycombFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.pricing-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 237, 0, 0.1);
    border: 1px solid rgba(255, 237, 0, 0.3);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-yellow);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 237, 0, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(255, 237, 0, 0); }
}

.pricing-hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pricing-hero-title .highlight {
    color: var(--sb-yellow);
    position: relative;
}

.pricing-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 237, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.pricing-hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pricing-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
}

.pricing-breadcrumb a {
    color: var(--sb-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.pricing-breadcrumb a:hover {
    color: var(--sb-yellow);
}

.pricing-breadcrumb iconify-icon {
    color: var(--sb-text-muted);
}

.pricing-breadcrumb span {
    color: var(--sb-yellow);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ========================================
   Pricing Cards Section
   ======================================== */
.pricing-section {
    background: linear-gradient(180deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 100px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* Pricing Card Base */
.pricing-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 237, 0, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Featured Card */
.pricing-card-featured {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.08) 0%, rgba(255, 195, 0, 0.04) 100%);
    border: 2px solid var(--sb-yellow);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--sb-yellow);
    box-shadow: 0 30px 60px -15px rgba(255, 237, 0, 0.2);
}

/* Disabled Card */
.pricing-card-disabled {
    opacity: 0.7;
}

.pricing-card-disabled:hover {
    transform: translateY(-5px);
}

/* Badges */
.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--sb-dark-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px -5px rgba(255, 237, 0, 0.4);
}

.pricing-dev-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Header */
.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.2) 0%, rgba(255, 195, 0, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: var(--sb-yellow);
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(-5deg);
}

.pricing-plan-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.pricing-plan-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Price */
.pricing-price-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--sb-glass-border);
    border-bottom: 1px solid var(--sb-glass-border);
}

.pricing-currency {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sb-yellow);
    vertical-align: top;
}

.pricing-amount {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    color: var(--sb-yellow);
    line-height: 1;
    margin: 0 4px;
}

.pricing-period {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--sb-text-muted);
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check-icon {
    color: #4ade80;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.feature-badge-success {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.feature-badge-coming {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Pricing Buttons */
.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    color: var(--sb-dark-2);
    border: none;
}

.pricing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(255, 237, 0, 0.4);
    color: var(--sb-dark-2);
}

.pricing-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--sb-yellow);
    color: var(--sb-yellow);
}

.pricing-btn-disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
}

.pricing-btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Pricing Notice */
.pricing-notice {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.08) 0%, rgba(255, 195, 0, 0.04) 100%);
    border: 1px solid rgba(255, 237, 0, 0.2);
    border-radius: 16px;
}

.pricing-notice-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--sb-dark-2);
}

.pricing-notice p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.pricing-notice strong {
    color: var(--sb-yellow);
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    background: var(--sb-dark-1);
    padding: 100px 0;
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sb-yellow), var(--sb-yellow-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 237, 0, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.2) 0%, rgba(255, 195, 0, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--sb-yellow);
}

.benefit-card h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--sb-dark-2);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(255, 237, 0, 0.4);
    color: var(--sb-dark-2);
}

/* ========================================
   Pricing CTA Section
   ======================================== */
.pricing-cta {
    background: linear-gradient(135deg, var(--sb-yellow) 0%, var(--sb-yellow-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 33L15 25V8l15-8 15 8v17l-15 8z' fill='%23000' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.pricing-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pricing-cta-logo {
    width: 100px;
    margin-bottom: 2rem;
    animation: ctaBounce 2s ease-in-out infinite;
}

@keyframes ctaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pricing-cta h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--sb-dark-2);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.pricing-cta p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    color: var(--sb-dark-3);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-button-dark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--sb-dark-2);
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-dark:hover {
    background: var(--sb-dark-1);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 992px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }
    
    .pricing-card-featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card-featured:hover {
        transform: translateY(-10px);
    }
    
    .pricing-notice {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 2rem;
    }
    
    .pricing-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-amount {
        font-size: 3rem;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .pricing-cta {
        padding: 60px 0;
    }
}
