/**
 * Journey Hub Styles
 * Premium gate, phase cards, and journey-specific components
 */

/* Premium Gate Overlay */
.premium-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.gate-content {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gate-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.gate-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F59E0B, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gate-subtitle {
    font-size: 1.1rem;
    color: #A1A1AA;
    margin-bottom: 2rem;
}

/* Journey Preview */
.journey-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.journey-preview h3 {
    font-size: 1.5rem;
    color: #F59E0B;
    margin-bottom: 1.5rem;
    text-align: center;
}

.journey-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.journey-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.journey-benefits li:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateX(5px);
}

.phase-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5CF6, #D946EF);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.phase-info {
    flex: 1;
}

.phase-info strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.phase-info span {
    font-size: 0.9rem;
    color: #A1A1AA;
}

.journey-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #22C55E;
    text-align: center;
}

/* Pricing Highlight */
.pricing-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid #F59E0B;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #F59E0B;
}

.price-period {
    font-size: 1.2rem;
    color: #A1A1AA;
}

.price-note {
    color: #A1A1AA;
    font-size: 0.9rem;
}

/* Gate Actions */
.gate-actions {
    margin-top: 2rem;
}

.gate-actions .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.gate-actions .btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    color: white;
    border: none;
}

.gate-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.gate-actions .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.gate-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #F59E0B;
}

.gate-actions .btn-large {
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
}

.gate-actions .terms {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #A1A1AA;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #A1A1AA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #F59E0B;
}

/* Journey Dashboard */
.journey-hero {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 25px;
    margin-bottom: 3rem;
}

.journey-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F59E0B, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-hero p {
    font-size: 1.2rem;
    color: #A1A1AA;
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Overview */
.progress-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.progress-stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.progress-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.progress-stat-label {
    font-size: 0.9rem;
    color: #A1A1AA;
}

/* Phase Cards Grid */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.phase-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.8s ease;
}

.phase-card:hover::before {
    left: 100%;
}

.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
    border-color: #F59E0B;
}

.phase-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.phase-card.locked:hover {
    transform: none;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-number-badge {
    background: linear-gradient(135deg, #8B5CF6, #D946EF);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.phase-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-not_started {
    background: rgba(161, 161, 170, 0.2);
    color: #A1A1AA;
}

.status-in_progress {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.status-locked {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.phase-card h3 {
    font-size: 1.5rem;
    color: #F59E0B;
    margin-bottom: 0.5rem;
}

.phase-card p {
    color: #A1A1AA;
    margin-bottom: 1.5rem;
}

.phase-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #A1A1AA;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #F59E0B);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #A1A1AA;
    text-align: right;
}

.phase-cta {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.phase-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .gate-content {
        padding: 2rem 1.5rem;
    }

    .gate-content h2 {
        font-size: 2rem;
    }

    .gate-icon {
        font-size: 4rem;
    }

    .journey-preview {
        padding: 1.5rem;
    }

    .phase-number {
        width: 50px;
        height: 50px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .gate-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .journey-hero h1 {
        font-size: 2rem;
    }

    .phases-grid {
        grid-template-columns: 1fr;
    }

    .progress-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .journey-features {
        grid-template-columns: 1fr;
    }

    .progress-overview {
        grid-template-columns: 1fr;
    }
}
