/* ========== SPEZIFISCHE STYLES FÜR DIESE SEITE ========== */
:root {
    --bg: #060c1a;
    --surface: #0c1425;
    --surface2: #111d33;
    --border: rgba(99, 160, 255, 0.12);
    --border2: rgba(99, 160, 255, 0.22);
    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.12);
    --blue-glow: rgba(59, 130, 246, 0.35);
    --text: #e2eaf6;
    --muted: #6b82a0;
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.12);
    --font: 'DM Sans', system-ui, sans-serif;
    --mono: 'DM Mono', monospace;
}

.page-content {
    flex: 1;
    padding: 40px 0 60px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* Header */
.page-header {
    text-align: center;
    margin: 40px 0 30px;
}

.page-header h1 {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1.1;
}

.page-header p {
    color: var(--muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Login Hint */
.login-hint {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    display: none;
}

.login-hint p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.login-hint a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px var(--blue-glow);
}

.login-hint a:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--blue-glow);
}

.login-hint.show {
    display: block;
}

/* Alert Boxen */
.page-alert {
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    display: none;
    border: 1px solid;
}

.page-alert.error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.page-alert.success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.page-alert.show {
    display: block;
}

/* Preis-Grid (4 Karten) */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    align-items: start;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.price-card:hover {
    border-color: var(--border2);
    transform: translateY(-6px);
}

.price-card:hover::before {
    opacity: 1;
}

.price-card.popular {
    border: 2px solid var(--blue);
    background: linear-gradient(135deg, var(--surface), #0a1428);
    transform: scale(1.03);
}

.price-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
}

.price-card.free-card {
    border-color: rgba(34, 197, 94, 0.3);
}

.price-card.free-card:hover {
    border-color: rgba(34, 197, 94, 0.6);
}

/* Badges */
.popular-badge,
.free-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--mono);
    white-space: nowrap;
    z-index: 2;
}

.popular-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px var(--blue-glow);
}

.free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}

.price.free-price {
    color: #10b981;
}

.price span {
    font-size: 16px;
    color: var(--muted);
    font-weight: 400;
}

.price-sub {
    color: var(--muted);
    font-size: 13px;
}

.features {
    flex: 1;
    margin-bottom: 28px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.feature i {
    color: #10b981;
    font-style: normal;
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
}

.feature i.dim {
    color: #475569;
}

.feature span.dim {
    color: #475569;
}

.card-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.card-btn:hover:not(:disabled) {
    border-color: var(--blue);
    color: #60a5fa;
    transform: translateY(-2px);
}

.card-btn.primary {
    background: var(--blue);
    color: white;
    border: none;
    box-shadow: 0 4px 16px var(--blue-glow);
}

.card-btn.primary:hover:not(:disabled) {
    background: #2563eb;
    box-shadow: 0 8px 24px var(--blue-glow);
}

.card-btn.free-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.card-btn.free-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.card-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.card-btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 0 auto;
}

.card-btn.loading .btn-label {
    display: none;
}

.card-btn.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Confirm Section */
.confirm-section {
    max-width: 900px;
    margin: 0 auto 40px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.2s;
}

.confirm-section.confirmed {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.confirm-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.confirm-label a {
    color: #60a5fa;
    text-decoration: underline;
}

.confirm-label strong {
    color: #f87171;
}

/* Billing Info */
.billing-info {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.billing-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.billing-info ul {
    list-style: none;
}

.billing-info li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.billing-info li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--blue);
    font-weight: 700;
}

.billing-info a {
    color: #60a5fa;
}

/* Trust Section */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--border2);
}

.faq-item h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1100px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card.popular {
        transform: none;
    }

    .price-card.popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .trust-section {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 16px;
    }

    .billing-info {
        padding: 24px 20px;
    }

    .confirm-section {
        padding: 20px;
    }
}