/* Pricing Page Specific Styles */

.pricing-hero {
    background: white;
    color: var(--text-color);
    border: none;
    border-radius: 12px;
    padding: 80px 0 80px;
    margin-top: 20px;
    text-align: center;
}

body.dark-mode .pricing-hero {
    background: #121212;
    border: none;
}

.pricing-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.billing-label {
    font-size: 1rem;
    font-weight: 500;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 30px;
}

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

input:checked + .slider {
    background-color: #4caf50;
}

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

.discount-badge {
    background: #4caf50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* Pricing Plans */
.pricing-plans {
    padding: 5rem 0;
    background: var(--pricing-bg);
    transition: background-color 0.3s ease;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--plan-card-bg);
    border: 2px solid var(--plan-card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: #1a73e8;
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 115, 232, 0.15);
}

.plan-card.featured {
    border-color: #1a73e8;
    background: white;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(26, 115, 232, 0.3);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 20px auto;
    text-align: center;
    width: 100%;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1.1rem;
    opacity: 0.7;
    align-self: flex-end;
    margin-bottom: 8px;
    color: var(--text-color);
}

.plan-description {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.plan-features {
    text-align: left;
    margin-bottom: 24px;
}

.plan-features h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
}

.check {
    color: #4caf50;
    font-weight: 600;
    font-size: 1.1rem;
}

.plan-card.featured .check {
    color: #a8e6cf;
}

.plan-action {
    text-align: center;
}

/* Button styles removed - using main.css button styles instead */

.plan-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 12px;
}

/* Feature Comparison */
.feature-comparison {
    padding: 80px 0;
    background: #f8f9fa;
    color: #333333;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    color: #333333;
}

.comparison-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333333;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    text-align: center;
    font-weight: 500;
    color: #666666;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333333;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Dark mode feature comparison */
body.dark-mode .feature-comparison {
    background: #1a1a1a;
    color: white;
}

body.dark-mode .comparison-table table {
    background: #2d2d2d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .comparison-table th,
body.dark-mode .comparison-table td {
    border-bottom: 1px solid #404040;
    color: white;
}

body.dark-mode .comparison-table th {
    background: #333333;
    color: white;
}

body.dark-mode .comparison-table td {
    color: #e0e0e0;
}

body.dark-mode .comparison-table td:first-child {
    color: white;
}

body.dark-mode .comparison-table tr:hover {
    background: #3a3a3a;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--hero-bg);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.faq .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.faq .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.pricing-cta {
    background: linear-gradient(135deg, #1a73e8 0%, #1765cc 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Active Navigation */
.nav-links a.active {
    color: #1a73e8;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 80px 0 60px;
    }
    
  .pricing-hero h2 {  /* Change from h1 to h2 */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-hero p {  /* Remove -content */
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .plan-card {
        padding: 32px 24px;
        border-radius: 16px;
        transition: all 0.3s ease;
    }
    
    .plan-card:active {
        transform: scale(0.98);
    }
    
    .plan-price {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 4px;
        margin-bottom: 16px;
        text-align: center;
        width: 100%;
        padding: 16px 20px;
    }
    
    .amount {
        font-size: 2.8rem;
        line-height: 1;
    }
    
    .plan-card .btn {
        min-height: 52px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        touch-action: manipulation;
    }
    
    .plan-card .btn:active {
        transform: scale(0.98);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .billing-toggle {
        padding: 8px;
        border-radius: 12px;
        margin-bottom: 32px;
    }
    
    .billing-toggle button {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 44px;
        border-radius: 8px;
        touch-action: manipulation;
    }
    
    .comparison-table {
        font-size: 0.9rem;
        margin: 0 -16px;
        border-radius: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 12px;
    }
    
    .comparison-table th {
        font-size: 0.85rem;
    }
}


/* Payment Form Styles */
.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Payment Method Selection */
.payment-method-selection {
    margin-bottom: 2rem;
}

.payment-method-selection h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
    cursor: pointer;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method input[type="radio"]:checked + .payment-method-label {
    color: var(--primary-color);
}

.payment-method input[type="radio"]:checked {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.payment-method:has(input:checked) {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Payment Icons */
.payment-icon {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 1;
}

.stripe-icon {
    background: #635bff;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMTJIMjJNMTYgNkwyMCAxMkwxNiAxOE04IDZMNCAxMkw4IDE4IiBzdHJva2U9IiM2MzVCRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
    border-radius: 4px;
    padding: 8px;
}

.paypal-icon {
    background: #0070ba;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMDc2IDIxTDguNDMgMTNIMTEuNzY4QzE0LjM5IDEzIDE2LjUgMTAuODkgMTYuNSA4LjI2OEMxNi41IDUuNjQ2IDE0LjM5IDMuNTM2IDExLjc2OCAzLjUzNkg0LjVMMi41IDIxSDcuMDc2WiIgZmlsbD0iIzAwOUNERSIvPgo8cGF0aCBkPSJNMTEuNzY4IDEzSDguNDNMNy4wNzYgMjFIMTEuNjUyQzE0LjI3NCAyMSAxNi4zODQgMTguODkgMTYuMzg0IDE2LjI2OEMxNi4zODQgMTMuNjQ2IDE0LjI3NCAxMS41MzYgMTEuNjUyIDExLjUzNkgxMS43NjhaIiBmaWxsPSIjMDA1NkE0Ii8+Cjwvc3ZnPgo=');
    border-radius: 4px;
    padding: 8px;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
}

/* Payment Form Sections */
.payment-form-section {
    transition: all 0.3s ease;
}

.paypal-info {
    background: #f8f9ff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.paypal-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

#paypal-button-container {
    margin-top: 1rem;
}

#card-element {
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
}

#card-errors {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Pricing Page CSS Variables */
:root {
    --pricing-hero-text: white;
    --pricing-bg: #ffffff;
    --plan-card-bg: #ffffff;
    --plan-card-border: #e0e0e0;
    --feature-text: #666;
}

body.dark-mode {
    --pricing-hero-bg:#121212;
    --pricing-hero-text: #ffffff;
    --pricing-bg: #121212;
    --plan-card-bg: #121212;
    --plan-card-border: #333333;
    --feature-text: #cccccc;
}

body.dark-mode .plan-card .btn-secondary {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .plan-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Dark mode featured plan card */
body.dark-mode .plan-card.featured {
    background: #121212;
    border: 2px solid #333333;
    color: white;
}

body.dark-mode .plan-card.featured .btn {
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

body.dark-mode .plan-card.featured .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.6);
    background: linear-gradient(135deg, #1557b0 0%, #2d8f47 100%);
}

