body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.buy-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.buy-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    opacity: 1;
}

.pricing-card.premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 212, 255, 0.1));
}

.pricing-card.premium::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.discount {
    display: inline-block;
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.features li:last-child {
    border-bottom: none;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.premium-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.premium-btn:hover {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.payment-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    border: 2px solid var(--primary-color);
}

.payment-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.payment-info {
    max-width: 800px;
    margin: 0 auto;
}

.selected-plan {
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
}

.selected-plan h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.payment-form h3 {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions button {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.key-activation {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.key-activation h2 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.key-activation p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.key-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.key-form input {
    flex: 1;
    padding: 15px;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.key-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.key-form button {
    padding: 15px 30px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .key-form {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }
}
