

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #333;
}

.stat-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Current Subscription Card */
.subscription-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.current-subscription {
    border: 2px solid #ffd700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.subscription-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2rem;
}

.subscription-price .price {
    font-size: 2rem;
    font-weight: 700;
}

.subscription-price .period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.status-badge {
    padding: 5px 10px 7px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: linear-gradient(135deg, #4CAF50, #cddc39);
    color: white;
}

.status-badge.completed {
    background: linear-gradient(135deg, #FFC107, #CDDC39);
}

.status-badge.expired {
    background: #dc3545;
    color: white;
}

.subscription-body {
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.info-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.info-item p {
    margin: 0;
    color: #666;
}

/* Progress Bar */
.progress-section {
    background: rgba(102, 126, 234, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.custom-progress {
    height: 10px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.feature-item i {
    color: #28a745;
    font-size: 0.8rem;
}

.subscription-footer {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-gradient {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    font-weight: 700;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #ffed4e, #ffc947);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
    color: #333;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Timeline */
.history-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline {
    position: relative;
    padding-right: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    right: -30px;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFC107, #CDDC39);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 2;
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, #4CAF50, #cddc39);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.timeline-content {
    margin-left: 2rem;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-card h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

/* Action Section */
.action-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .subscription-header .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-right: 1rem;
    }

    .timeline::before {
        right: 15px;
    }

    .timeline-marker {
        right: -15px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .timeline-content {
        margin-left: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.subscription-card,
.timeline-item {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.3s;
}