/* Pricing Specific Styles */
:root {
    --primary: #1d5261;
    --primary-light: rgba(29, 82, 97, 0.1);
    --secondary: #36ba80;
    --secondary-light: rgba(54, 186, 128, 0.1);
    --accent: #0591fc;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #666;
    --text-dark: #333;
    --white: #fff;
}

/* Pricing Header */
.pricing-header {
    padding: 0 8%;
    text-align: center;
    background: linear-gradient(135deg, #e6f6ff 0%, #f9f9ff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.pricing-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    animation: fadeIn 1s ease;
}

.pricing-header p {
    font-size: 1.3rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
}

/* Hero accent text */
.hero-accent {
    color: var(--secondary);
    font-weight: 800;
    display: inline-block;
}

/* Decorative blurred blobs */
.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}
.hero-blobs .blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    transform: translateZ(0);
}
.blob-top-left {
    top: -80px;
    left: -80px;
    background: radial-gradient(circle at 30% 30%, rgba(5,145,252,0.9), rgba(54,186,128,0.6));
}
.blob-bottom-right {
    right: -100px;
    bottom: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, rgba(54,186,128,0.95), rgba(29,82,97,0.5));
}

/* Toggle Switch Styles */
.pricing-toggle-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 30px 0;
    background-color: var(--white);
    flex-wrap: wrap;
@media (min-width: 769px) {
    .pricing-toggle-container {
        flex-direction: column;
        align-items: center;
    }
    .toggle-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto 18px auto;
    }
    .pricing-notes-card {
        margin: 0 auto 18px auto;
        max-width: 600px;
    }
}
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

    /* Billing group visually disabled */
    .toggle-wrapper.billing-group.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

.toggle-label {
    font-weight: 500;
    color: var(--gray-dark);
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--primary);
    font-weight: 600;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray);
    transition: .4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--secondary);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* Pricing Card */
.pricing-container {
    display: flex;
    justify-content: center;
    padding: 40px 8% 100px;
    background-color: var(--white);
}

.pricing-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--gray);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-subtitle {
    color: var(--gray-dark);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-amount {
    margin-bottom: 30px;
    position: relative;
}

.price {
    font-size: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
    display: none;
}

.price.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
}

/* Features */
.pricing-features {
    margin-bottom: 30px;
}

.pricing-features h4 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 25px 0 15px;
}

.pricing-features h4 i {
    margin-right: 10px;
    color: var(--secondary);
}

.pricing-features ul {
    list-style: none;
    padding-left: 10px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.pricing-features li i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* CTA Button */
.pricing-cta-btn {
    display: none;
    width: 100%;
    padding: 15px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(54, 186, 128, 0.2);
}

.pricing-cta-btn.active {
    display: block;
}

.pricing-cta-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(29, 82, 97, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile touch styles for pricing page */
@media (hover: none) {
    /* Toggle touch improvements */
    .toggle-label.touch-active {
        color: var(--primary);
    }
    
    .toggle.touch-active {
        opacity: 0.8;
    }
    
    .toggle-wrapper.touch-active {
        transform: scale(0.98);
    }
    
    /* Button touch states */
    .pricing-cta-btn.touch-active {
        transform: translateY(-2px);
        opacity: 0.9;
    }
    
    /* Improved toggle labels for touch */
    .toggle-wrapper .toggle-label {
        padding: 5px 8px;
        border-radius: var(--radius-sm);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Pricing header */
    .pricing-header {
        min-height: 100vh;
        padding: 0 5%;
    }
    
    .pricing-header h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .pricing-header p {
        font-size: 1.1rem;
        padding: 0 5px;
    }
    
    /* Toggle container */
    .pricing-toggle-container {
        padding: 25px 5%;
        gap: 25px;
    }
    
    .toggle-row {
        flex-direction: column;
        gap: 18px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        box-sizing: border-box;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    .toggle-wrapper {
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 4px;
    }
    
    .toggle {
        flex-shrink: 0;
        min-width: 48px;
        max-width: 60px;
    }
    
    .toggle-label {
        font-size: 1.05rem;
        word-break: break-word;
        flex: 1 1 0;
        text-align: center;
    }
    
    /* Pricing notes card */
    .pricing-notes-card {
        padding: 18px 15px;
        margin: 10px auto;
        font-size: 0.95rem;
    }
    
    /* Pricing card */
    .pricing-card {
        padding: 30px 20px;
        margin: 0 5px;
        border-radius: 12px;
    }
    
    .pricing-card h2 {
        font-size: 2rem;
    }
    
    .pricing-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .pricing-features h4 {
        font-size: 1.05rem;
        margin: 22px 0 12px;
    }
    
    .pricing-features li {
        margin-bottom: 10px;
    }
    
    /* CTA button */
    .pricing-cta-btn {
        padding: 16px;
        font-size: 1.05rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    /* Pricing header */
    .pricing-header {
        min-height: 90vh;
        padding: 0 5%;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .pricing-header p {
        font-size: 1rem;
    }
    
    /* Toggle improvements */
    .toggle-wrapper {
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        padding: 0 2px;
        box-sizing: border-box;
    }
    
    .toggle {
        width: 44px; /* Smaller toggle switch */
        min-width: 44px;
        max-width: 50px;
    }
    
    .toggle-slider:before {
        height: 20px; /* Smaller toggle button */
        width: 20px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(16px);
    }
    
    .pricing-card h2 {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2.4rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
    
    .pricing-cta-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .pricing-notes-card {
        font-size: 0.9rem;
        padding: 15px;
        line-height: 1.4;
    }
}
