/* Styles specific to purchase.html */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

#details {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(153, 0, 255, 0.25);
    border-radius: 8px;
    padding: 30px;
    max-width: 900px;
    margin: 20px auto 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#details h1 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

#details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Fix list styles */
.features-list {
    list-style-type: none;
    padding: 0;
    margin: 25px 0 10px;
}

.features-list li {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
}

.features-list li p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    margin-bottom: 0;
}

.features-list li strong, #benefits li strong {
    color: #9900ff;
    text-shadow: 0 0 8px rgba(153, 0, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    animation: textPulse 3s infinite ease-in-out;
}

.features-list li:hover strong, #benefits li:hover strong {
    color: #b344ff;
    text-shadow: 0 0 12px rgba(153, 0, 255, 0.6);
}

/* Subtle glow animation for strong text */
@keyframes textPulse {
    0% {
        text-shadow: 0 0 8px rgba(153, 0, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 15px rgba(153, 0, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 8px rgba(153, 0, 255, 0.4);
    }
}

.color-link {
    color: #9900ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.color-link:hover {
    color: #b344ff;
    text-decoration: underline;
}

#our-options {
    text-align: center;
    margin: 30px auto;
    padding: 20px 0;
}

#payment-options {
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
    position: relative;
    display: inline-block;
}

#payment-options:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #9900ff;
    margin: 10px auto 0;
    border-radius: 3px;
}

.options-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.option {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    width: calc(50% - 20px);
    max-width: 400px;
    min-width: 280px;
    transition: all 0.3s ease;
    border: 1px solid rgba(153, 0, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
}

.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(153, 0, 255, 0.5);
}

/* Pulse animation for options */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(153, 0, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(153, 0, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(153, 0, 255, 0);
    }
}

.option.pulse {
    animation: pulse 1.5s infinite;
}

.option:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #9900ff, #b344ff);
    opacity: 0.8;
}

.option h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    padding-bottom: 15px;
    position: relative;
}

.option h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(153, 0, 255, 0.5);
}

.option p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Button styles */
#monthly-button, #yearly-button, #try-free {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-weight: 600;
    width: 100%;
    max-width: 250px;
    min-height: 50px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fa-spinner {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fa-external-link-alt {
    margin-left: 8px;
}

#monthly-button, #try-free {
    background: linear-gradient(135deg, #9900ff 0%, #b344ff 100%);
    color: white;
}

#yearly-button {
    background: linear-gradient(135deg, #9900ff 0%, #b344ff 100%);
    color: white;
}

#monthly-button:hover, #try-free:hover {
    background: linear-gradient(135deg, #ab18ff 0%, #bf5fff 100%);
    box-shadow: 0 8px 20px rgba(153, 0, 255, 0.4);
    transform: translateY(-2px);
}

#yearly-button:hover {
    background: linear-gradient(135deg, #ab18ff 0%, #bf5fff 100%);
    box-shadow: 0 8px 20px rgba(153, 0, 255, 0.4);
    transform: translateY(-2px);
}

#monthly-button:active, #yearly-button:active, #try-free:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#monthly-button:disabled, #yearly-button:disabled, #try-free:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#try-free-container {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(153, 0, 255, 0.4);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

#try-free-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#try-free-container p strong {
    color: #b344ff;
}

#try-free {
    margin: 0 auto;
}

#benefits {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(153, 0, 255, 0.25);
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 60px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#benefits h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

#benefits h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #9900ff;
    margin: 12px auto 0;
    border-radius: 3px;
}

#benefits li {
    list-style-type: none;
    margin: 20px 0;
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    padding-left: 0;
    text-align: left;
}

#benefits li:before {
    content: none;
}

/* Enhanced responsive styles */
@media (max-width: 900px) {
    .options-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .option {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    main {
        padding: 0 15px;
        margin: 15px auto;
    }
    
    #details, #benefits {
        padding: 20px 15px;
        margin: 15px auto 30px;
    }
    
    .option {
        padding: 20px;
        width: 100%;
    }
    
    .option h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .option p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    #yearly-button,
    #monthly-button,
    #try-free {
        font-size: 15px;
        padding: 12px 15px;
        max-width: none;
        min-height: auto;
    }
    
    #payment-options {
        font-size: 24px;
    }
    
    #details h1 {
        font-size: 24px;
    }
    
    #try-free-container {
        padding: 20px 15px;
    }
    
    .features-list li {
        font-size: 1.1rem;
    }
    
    .features-list li p {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    #details h1 {
        font-size: 22px;
    }
    
    .option h3 {
        font-size: 1.2rem;
    }
    
    #payment-options {
        font-size: 22px;
    }
    
    #yearly-button,
    #monthly-button,
    #try-free {
        padding: 15px 16px;
        font-size: 15px;
    }
    
    #try-free-container p {
        font-size: 1.1rem;
    }
}

/* Touch-specific improvements */
@media (hover: none) {
    /* Ensure buttons have proper touch states */
    #monthly-button:hover, 
    #yearly-button:hover, 
    #try-free:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Add visible active state for touch */
    #monthly-button:active, 
    #yearly-button:active, 
    #try-free:active {
        background: #8800e0;
        transform: scale(0.98);
    }
    
    /* Improve touch accessibility */
    .option:active {
        transform: translateY(-2px);
        border-color: rgba(153, 0, 255, 0.5);
    }
} 