/**
 * Partner Pages Styles
 * Premium design for Business Partner + Partner Portal
 */

/* ============================================
   Section base
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: #6c757d;
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================
   Partner Hero (premium dark)
   ============================================ */
.partner-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(160deg, #070e1a 0%, #0f1b2d 40%, #162640 100%);
    overflow: hidden;
    color: #fff;
}

.partner-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
}

.partner-hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color, #47b2e4);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(71, 178, 228, 0.3);
    border-radius: 20px;
}

.partner-hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.partner-hero-cta {
    margin-bottom: 0;
}

/* Orbs */
.partner-hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.partner-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.partner-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(71, 178, 228, 0.12);
    top: -150px;
    right: -100px;
}

.partner-hero-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(111, 66, 193, 0.1);
    bottom: -100px;
    left: -80px;
}

.partner-hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(71, 178, 228, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.partner-hero .container {
    position: relative;
    z-index: 1;
}

/* Glassmorphism badges */
.partner-hero-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-hero-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(71, 178, 228, 0.25);
}

.partner-hero-badge i {
    font-size: 24px;
    color: var(--accent-color, #47b2e4);
    display: block;
    margin-bottom: 12px;
}

.partner-hero-badge-label {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.partner-hero-badge-sub {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ============================================
   Partner Cards (light + dark)
   ============================================ */
.partner-card {
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
}

.partner-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Light card */
.partner-card-light {
    background: #fff;
    border: 1px solid #edf0f4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.partner-card-light:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Dark card */
.partner-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-card-dark:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.partner-card-dark h4 {
    color: #fff;
}

.partner-card-dark p {
    color: rgba(255, 255, 255, 0.65);
}

/* Card icon */
.partner-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.partner-card-light .partner-card-icon {
    background: rgba(71, 178, 228, 0.08);
    color: var(--accent-color, #47b2e4);
}

.partner-card-dark .partner-card-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color, #47b2e4);
}

/* Big text in card (benefits) */
.partner-card-big-text {
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color, #47b2e4), #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 14px;
}

/* Clickable card */
.partner-card-link {
    color: inherit;
}

.partner-card-link:hover {
    color: inherit;
}

/* ============================================
   Features Section (external page)
   ============================================ */
.partner-feature-card {
    padding: 32px 28px;
    border-radius: 16px;
    height: 100%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.partner-feature-card:hover {
    background: #fff;
    border-color: #edf0f4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.partner-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(71, 178, 228, 0.1), rgba(33, 150, 243, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent-color, #47b2e4);
    transition: background 0.3s ease;
}

.partner-feature-card:hover .partner-feature-icon {
    background: linear-gradient(135deg, var(--accent-color, #47b2e4), #2196f3);
    color: #fff;
}

.partner-feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.partner-feature-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   Migration Section
   ============================================ */
.partner-migration-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.partner-migration-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.partner-migration-list li i {
    color: var(--accent-color, #47b2e4);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.partner-migration-list li strong {
    display: block;
    margin-bottom: 2px;
}

.partner-migration-list li span {
    color: #6c757d;
    font-size: 14px;
}

/* Highlight row (legacy vs cloud) */
.partner-highlight-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf0f4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.partner-highlight {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
}

.partner-highlight-legacy {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.partner-highlight-cloud {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
}

.partner-highlight-label {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.partner-highlight-legacy .partner-highlight-label {
    color: #ef4444;
}

.partner-highlight-cloud .partner-highlight-label {
    color: #22c55e;
}

.partner-highlight p {
    font-size: 13px;
    margin: 0;
    color: #555;
}

.partner-highlight-arrow {
    font-size: 24px;
    color: var(--accent-color, #47b2e4);
    flex-shrink: 0;
}

.partner-migration-footnote {
    color: #6c757d;
}

/* ============================================
   KI Section (dark)
   ============================================ */
.partner-ki {
    background: linear-gradient(160deg, #070e1a 0%, #0f1b2d 40%, #162640 100%);
    color: #fff;
}

.partner-ki .section-header h2 {
    color: #fff;
}

.partner-ki .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Marktplatz
   ============================================ */
.partner-marktplatz-content {
    text-align: center;
}

.partner-marktplatz-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

/* ============================================
   Steps Timeline
   ============================================ */
.partner-steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.partner-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color, #47b2e4), rgba(71, 178, 228, 0.1));
}

.partner-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 44px;
    position: relative;
}

.partner-step:last-child {
    margin-bottom: 0;
}

.partner-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color, #47b2e4), #2196f3);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(71, 178, 228, 0.25);
}

.partner-step-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 8px;
}

.partner-step-content p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Quote
   ============================================ */
.partner-quote {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.partner-blockquote {
    position: relative;
    padding: 0;
    border: none;
    margin: 0;
}

.partner-quote-icon {
    font-size: 72px;
    background: linear-gradient(135deg, var(--accent-color, #47b2e4), #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    display: block;
    margin-bottom: 20px;
}

.partner-blockquote p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    color: #1a1a2e;
    margin-bottom: 24px;
    font-weight: 400;
}

.partner-blockquote footer {
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.3px;
}

/* ============================================
   CTA Section
   ============================================ */
.partner-cta {
    background: linear-gradient(160deg, #070e1a 0%, #0f1b2d 40%, #162640 100%);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.partner-cta h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.5px;
}

.partner-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    margin-bottom: 28px;
}

.partner-cta-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color, #47b2e4);
    margin-bottom: 16px;
}

.partner-cta-button {
    display: inline-block;
    padding: 16px 44px;
    background: linear-gradient(135deg, var(--accent-color, #47b2e4), #2196f3);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(71, 178, 228, 0.35);
    letter-spacing: 0.3px;
}

.partner-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(71, 178, 228, 0.5);
    color: #fff;
}

.partner-cta-secondary {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   Portal: News Cards
   ============================================ */
.portal-news-card {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.portal-news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
}

.portal-news-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.portal-news-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Portal: Support
   ============================================ */
.portal-support h2 {
    margin-bottom: 12px;
}

.portal-support-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #edf0f4;
    transition: box-shadow 0.3s ease;
}

.portal-support-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.portal-support-item i {
    font-size: 20px;
    color: var(--accent-color, #47b2e4);
}

.portal-support-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.portal-support-item a:hover {
    color: var(--accent-color, #47b2e4);
}

.portal-support-escalation {
    color: #6c757d;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .partner-hero {
        padding: 100px 0 80px;
    }

    .partner-hero h1 {
        font-size: 38px;
    }

    .partner-hero-subtitle {
        font-size: 16px;
    }

    .partner-card-big-text {
        font-size: 36px;
    }

    .partner-highlight-row {
        flex-direction: column;
    }

    .partner-highlight-arrow {
        transform: rotate(90deg);
    }

    .partner-blockquote p {
        font-size: 20px;
    }

    .partner-cta h2 {
        font-size: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }

    .partner-hero {
        padding: 80px 0 60px;
    }

    .partner-hero h1 {
        font-size: 30px;
    }

    .partner-hero-badge-label {
        font-size: 24px;
    }

    .partner-steps::before {
        left: 20px;
    }

    .partner-step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .partner-step {
        gap: 20px;
    }

    .partner-quote {
        padding: 60px 0;
    }

    .partner-cta {
        padding: 60px 0;
    }

    .partner-cta h2 {
        font-size: 24px;
    }
}
