/**
 * Pricing Page Styles
 * Nexuraplant - IT-Dokumentation
 */

/* Navigation Fix - immer mit Hintergrund auf Pricing */
.nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Pricing Page Styles */
.pricing-hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}
.pricing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}
.pricing-hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}
.billing-options {
    display: flex;
    background: var(--surface);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}
.billing-option {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    color: var(--text-muted);
}
.billing-option:hover {
    color: var(--text);
}
.billing-option.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.billing-badge {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Pricing Cards */
.pricing-section {
    padding: 40px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}
.pricing-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 40px;
}
.pricing-price {
    margin-bottom: 24px;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}
.pricing-amount .price-value {
    font-size: inherit;
}
.pricing-amount .currency {
    font-size: inherit;
    font-weight: inherit;
}
.pricing-amount .per-month {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.pricing-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pricing-features li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary);
}
.pricing-features li.disabled {
    opacity: 0.4;
}
.pricing-features li.disabled svg {
    color: var(--text-muted);
}

.pricing-cta {
    margin-top: auto;
}
.pricing-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Feature Comparison */
.comparison-section {
    padding: 80px 24px;
    background: var(--surface);
}
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}
.comparison-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 48px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table th {
    background: var(--surface);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}
.comparison-table th:not(:first-child) {
    text-align: center;
}
.comparison-table td:not(:first-child) {
    text-align: center;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table .feature-name {
    font-weight: 500;
    color: var(--text);
}
.comparison-table .feature-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.check-icon {
    color: var(--primary);
}
.dash-icon {
    color: var(--text-muted);
    opacity: 0.3;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
}
@media (max-width: 640px) {
    .highlight-box {
        flex-direction: column;
        text-align: center;
    }
}
.highlight-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.highlight-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.highlight-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.highlight-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.highlight-benefits span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 48px;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 12px;
}
.faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
    text-align: center;
}
.cta-section h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn {
    background: white;
    color: var(--primary);
}
.cta-section .btn:hover {
    background: rgba(255,255,255,0.9);
}
