/* Pricing page specific styles */
.pricing-page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Toggle Styling */
.pricing-toggle {
    display: inline-flex;
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--card-border);
    margin-bottom: 4rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-toggle input[type="radio"] {
    display: none;
}

.pricing-toggle label {
    padding: 0.8rem 2rem;
    cursor: pointer;
    border-radius: 9999px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
    z-index: 1;
    position: relative;
}

.pricing-toggle input[type="radio"]:checked+label {
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.pricing-toggle label sup {
    font-size: 0.7rem;
    color: var(--success-color);
    margin-left: 0.5rem;
    font-weight: 600;
}

/* Grid Styling */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.normal-plan,
.pro-plan,
.enterprise-plan {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    backdrop-filter: blur(12px);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.normal-plan:hover,
.pro-plan:hover,
.enterprise-plan:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}

.pro-plan {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.pro-plan::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 1.5rem;
    right: -2.5rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

p[id$="-price"],
.enterprise-plan p:not(small) {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

small {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.features li::before {
    content: "✓";
    color: var(--success-color);
    margin-right: 12px;
    font-weight: 700;
}

.pricing-page-container button {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: none;
    background: var(--text-primary);
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

button:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.enterprise-plan button {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.enterprise-plan button:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

/* Price currency styling */
p[id$="-price"]::first-letter {
    font-size: 2rem;
    vertical-align: super;
    margin-right: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

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