/**
 * Subscription Page Styles
 * Elegant dark theme matching Josetta Saffirio style
 */

/* Main page container */
.subscription-page {
    background-color: #000000;
    color: #FFFFFF;
    min-height: 100vh;
}

/* Hero section */
.subscription-hero {
    padding: 10rem 0 6rem;
    background-image: url('../assets/img/JS-vini-banner.avif');
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

.subscription-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.subscription-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.3s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.page-subtitle {
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease-out 0.6s forwards;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Scroll indicator removed */


/* Subscription details section */
.subscription-details {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.subscription-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(50, 50, 50, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Subscription options */
.subscription-options {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 6rem;
    justify-content: center;
}

.subscription-option {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.subscription-option:nth-child(2) {
    animation-delay: 1.1s;
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.subscription-option:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.subscription-option:hover .option-header {
    background-color: rgba(0, 0, 0, 0.4);
}

.subscription-option:hover .option-header h2 {
    transform: translateY(-5px);
    color: #fff;
}

.subscription-option.active {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
    background-color: rgba(20, 20, 20, 0.7);
}

/* Option header */
.option-header {
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to bottom, rgba(30, 30, 30, 0.6), rgba(0, 0, 0, 0.4));
}

.option-header::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: all 0.8s ease;
}

.subscription-option:hover .option-header::before {
    top: 0;
    opacity: 0.1;
}

.option-header h2 {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 1.2rem;
    letter-spacing: 0.8px;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.option-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-50%);
    transition: width 0.5s ease;
}

.subscription-option:hover .option-header h2::after {
    width: 80%;
}

.option-price {
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
    font-style: italic;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Option content */
.option-content {
    padding: 2.5rem 2rem;
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.option-features li {
    padding: 0.9rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding-left: 1.8rem;
}

.option-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.option-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Option CTA */
.option-cta {
    padding: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-subscribe {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.05);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-subscribe:hover::before {
    left: 100%;
}

.btn-subscribe:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
}

/* Subscription info */
.subscription-info {
    max-width: 1000px;
    margin: 0 auto 6rem;
    text-align: center;
}

.subscription-info h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.subscription-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.info-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.info-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-step:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    font-weight: 300;
}

.info-step h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* FAQ section */
.subscription-faq {
    max-width: 800px;
    margin: 0 auto;
}

.subscription-faq h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.subscription-faq h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.faq-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .subscription-hero {
        padding: 6rem 0 3rem;
    }
    
    .subscription-details {
        padding: 4rem 0;
    }
    
    .subscription-options {
        gap: 2rem;
    }
    
    .option-header h2 {
        font-size: 1.8rem;
    }
    
    .subscription-info h3,
    .subscription-faq h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .subscription-option {
        min-width: 100%;
    }
    
    .option-header {
        padding: 2rem 1.5rem;
    }
    
    .option-content {
        padding: 2rem 1.5rem;
    }
}
