/* ===================================
   Pricing Page Styles
   Modern, dark theme with glassmorphism
   =================================== */

/* Reset and Layout */
.pricing-page {
    min-height: 100vh;
    padding: 0;
}

/* Header / Navigation */
.pricing-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    position: relative;
    z-index: 100;
}

.logo-link {
    text-decoration: none;
}

.company-name-small {
    font-family: 'Nothing You Could Do', cursive;
    font-size: 36px;
    font-weight: 400;
    color: white;
    margin: 0;
}

.pricing-nav {
    display: flex;
    gap: 32px;
}

.pricing-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.pricing-nav a:hover,
.pricing-nav a.active {
    color: var(--text-primary);
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding: 60px 40px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 50px;
    font-size: 14px;
    color: var(--text-secondary);
}

.billing-toggle span.active {
    color: var(--text-primary);
    font-weight: 500;
}

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

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

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

.save-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    background: rgba(25, 118, 210, 0.15);
    border-color: var(--primary);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.signup-card .plan-price {
    justify-content: start;
    text-align: left;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.plan-price .term {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.plan-description {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-list li.highlight {
    color: var(--text-primary);
    font-weight: 500;
    padding-top: 0;
    margin-bottom: 4px;
}

.feature-list .check {
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-list strong {
    color: var(--text-primary);
}

/* CTA Buttons */
.cta-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.large {
    padding: 18px 40px;
    font-size: 16px;
    width: auto;
    display: inline-block;
}

/* Comparison Table Section */
.comparison-section {
    margin: 100px auto 80px;
    padding: 0 60px;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.3);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table .highlight-col {
    background: rgba(25, 118, 210, 0.1);
}

.comparison-table th.highlight-col {
    color: var(--primary-light);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.check-small {
    color: #22c55e;
    font-weight: bold;
}

.dash {
    color: rgba(255, 255, 255, 0.3);
}

/* FAQ Section */
.faq-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(25, 118, 210, 0.1) 100%);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

/* Footer */
.pricing-footer {
    padding: 40px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-footer p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-footer a {
    color: var(--primary-light);
    text-decoration: none;
}

.pricing-footer a:hover {
    text-decoration: underline;
}

.pricing-footer .copyright {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .pricing-nav {
        gap: 20px;
    }
    
    .pricing-title {
        font-size: 32px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .comparison-section,
    .faq-section {
        padding: 0 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.large {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-footer {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .pricing-header {
        padding: 40px 20px 30px;
    }
    
    .pricing-title {
        font-size: 28px;
    }
    
    .pricing-subtitle {
        font-size: 16px;
    }
    
    .plan-price .amount {
        font-size: 40px;
    }
    
    .pricing-card {
        padding: 24px;
    }
}

