/* ═══════════════════════════════════════════════════════════════════════════
   AffiPay — UpPromote Kombi-Seite Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Warum Affiliate Grid ────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.08), rgba(104, 216, 194, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-text);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.why-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
}

/* ── UpPromote Feature Grid ──────────────────────────────────────────── */
.up-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.up-feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: background var(--transition), border-color var(--transition);
}

.up-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.up-feature-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-family: 'Inter', monospace;
}

.up-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.up-feature-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.up-cta-row {
    text-align: center;
    margin-top: 48px;
}

.up-cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

/* ── Gap Comparison ──────────────────────────────────────────────────── */
.gap-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.gap-column {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gap-column-header {
    padding: 20px 28px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.gap-header-green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.gap-header-red {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.gap-list {
    list-style: none;
    padding: 24px 28px;
}

.gap-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.gap-list li:last-child {
    border-bottom: none;
}

.gap-has .gap-list li svg {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.gap-missing .gap-list li svg {
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 2px;
}

.gap-summary {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── Combo Flow ──────────────────────────────────────────────────────── */
.combo-flow {
    max-width: 640px;
    margin: 48px auto 0;
}

.combo-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px 28px;
}

.combo-flow-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.combo-flow-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.combo-flow-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.combo-flow-arrow {
    text-align: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Package Split ───────────────────────────────────────────────────── */
.package-split {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 48px;
}

.package-card {
    flex: 1;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.package-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.package-logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.package-badge-ap {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.package-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.package-role {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.package-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.package-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
    padding-left: 28px;
    position: relative;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.package-up .package-features li::before {
    color: #ff6b35;
}

.package-ap .package-features li::before {
    color: var(--primary-text);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.package-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    position: relative;
}

.package-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.package-api-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.package-api-line span {
    position: absolute;
    top: calc(50% + 40px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
}

/* ── Start Steps ─────────────────────────────────────────────────────── */
.start-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.start-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
}

.start-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.start-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.start-step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 16px;
}

.start-step-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.start-step-link:hover {
    color: #fff;
}

/* ── Final CTA ───────────────────────────────────────────────────────── */
.final-cta {
    text-align: center;
    padding: 20px 0;
}

.final-cta h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.final-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 32px;
}

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

.btn-white {
    background: #fff;
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.final-cta-sub {
    margin-top: 24px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.final-cta-sub a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.final-cta-sub a:hover {
    color: #fff;
}

/* ── CTA-Box Highlight (Landing-Page) ────────────────────────────────── */
.cta-box-highlight {
    border: 2px solid var(--primary);
    position: relative;
}

.cta-box-eyecatcher {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.cta-box-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .up-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-split {
        flex-direction: column;
        gap: 24px;
    }

    .package-connector {
        min-width: unset;
        min-height: 60px;
        flex-direction: row;
    }

    .package-api-line {
        width: auto;
        height: 2px;
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    }

    .package-api-line span {
        top: calc(50% + 32px);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .up-features-grid {
        grid-template-columns: 1fr;
    }

    .gap-comparison {
        grid-template-columns: 1fr;
    }

    .start-steps {
        grid-template-columns: 1fr;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-buttons .btn,
    .up-cta-row .btn,
    .package-card .btn-full {
        text-align: center;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* ── Reduced Motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .why-card,
    .up-feature-card,
    .combo-flow-step,
    .start-step,
    .package-card {
        transition: none;
    }

    .why-card:hover {
        transform: none;
    }
}
