/* Partnerler — Experience Hub mega menü v2 */

.nav-group--mega-partners .nav-dropdown-panel {
    padding-top: 0.75rem;
    max-height: calc(100dvh - 4rem);
    overflow: visible;
}

.mega-menu--partners-v2 {
    width: min(96vw, 1300px);
    max-width: 1300px;
    max-height: min(780px, calc(100dvh - 5rem));
    padding: 0;
    border-radius: 32px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.04),
        0 40px 80px -20px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(246, 194, 62, 0.6) rgba(15, 23, 42, 0.05);
    animation: mph-menu-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu--partners-v2::-webkit-scrollbar { width: 10px; }
.mega-menu--partners-v2::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f6c23e, #f97316);
    border-radius: 999px;
    border: 2px solid #fff;
}

@keyframes mph-menu-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.mph {
    display: flex;
    flex-direction: column;
}

/* Header */
.mph__head {
    padding: 1.5rem 1.75rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
}

.mph__eyebrow {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5a82e;
    margin-bottom: 0.5rem;
}

.mph__title {
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #0f172a !important;
    margin: 0;
}

.mph__lead {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b !important;
    max-width: 52rem;
}

/* Main grid */
.mph__body {
    padding: 1.25rem 1.75rem 1rem;
}

.mph__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 1100px) {
    .mph__grid {
        grid-template-columns: 1fr 1fr 1fr 260px;
        gap: 1rem 1.25rem;
        align-items: start;
    }
}

.mph__col-title {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(246, 194, 62, 0.35);
}

.mph__col-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Partner cards */
.mph-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 230, 0.5));
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    animation: mph-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--mph-i, 0ms);
}

@keyframes mph-card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mph-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--mph-color) 18%, transparent), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.mph-card:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 194, 62, 0.55);
    box-shadow:
        0 0 0 1px rgba(246, 194, 62, 0.2),
        0 16px 36px color-mix(in srgb, var(--mph-color) 22%, transparent);
}

.mph-card:hover .mph-card__glow { opacity: 1; }
.mph-card:hover .mph-card__logo { transform: scale(1.08); }
.mph-card:hover .mph-card__arrow { transform: translateX(4px); color: var(--mph-color); }

.mph-card__logo {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--mph-color) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--mph-color) 22%, transparent);
    transition: transform 0.35s ease;
}

.mph-card__logo-img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.mph-card__logo-fallback {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--mph-color);
}

.mph-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mph-card__name {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.mph-card__desc {
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #64748b !important;
}

.mph-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #059669 !important;
    background: rgba(5, 150, 105, 0.08);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    align-self: flex-start;
}

.mph-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.mph-card__skill {
    font-size: 0.5625rem;
    font-weight: 600;
    color: #475569 !important;
    background: rgba(15, 23, 42, 0.04);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.mph-card__arrow {
    flex-shrink: 0;
    align-self: center;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s;
}

/* Featured aside */
.mph__featured {
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1100px) {
    .mph__featured { grid-row: span 1; }
}

.mph__featured-title {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 0 0.75rem;
}

.mph-featured {
    display: block;
    padding: 0.85rem;
    margin-bottom: 0.5rem;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--mph-color);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s;
    animation: mph-card-in 0.55s ease backwards;
    animation-delay: var(--mph-i, 0ms);
}

.mph-featured:last-child { margin-bottom: 0; }

.mph-featured:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.mph-featured__logo {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.mph-featured__logo-img { width: 1.25rem; height: 1.25rem; object-fit: contain; }
.mph-featured__logo-fallback { font-size: 0.6875rem; font-weight: 800; color: #fff; }

.mph-featured__name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff !important;
}

.mph-featured__metric {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f6c23e !important;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.mph-featured__metric-label {
    display: block;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.55) !important;
}

.mph-featured__desc {
    display: block;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-top: 0.2rem;
}

/* Tech stack */
.mph__tech {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.mph__tech-title {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.65rem;
}

.mph__tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mph__tech-chip {
    padding: 0.4rem 0.7rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #334155 !important;
    background: linear-gradient(145deg, #f8fafc, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    animation: mph-card-in 0.4s ease backwards;
    animation-delay: calc(var(--mph-i, 0) * 25ms);
}

.mph__tech-chip:hover {
    border-color: rgba(246, 194, 62, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(246, 194, 62, 0.15);
}

/* Certs */
.mph__certs {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.mph__cert {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem 0.35rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #0f172a !important;
    background: #fff8e6;
    border: 1px solid rgba(246, 194, 62, 0.35);
    border-radius: 999px;
}

.mph__cert img {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
}

.mph__cert-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #f6c23e;
}

/* Stats */
.mph__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 1.15rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8e6 0%, #fff 100%);
    border: 1px solid rgba(246, 194, 62, 0.2);
}

@media (min-width: 640px) {
    .mph__stats { grid-template-columns: repeat(4, 1fr); }
}

.mph__stat-val {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f6c23e, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mph__stat-lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b !important;
}

/* Brand marquee */
.mph__brands {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #f8fafc;
    padding: 0.65rem 0;
}

.mph__brands-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: mph-marquee 38s linear infinite;
}

.mph__brands:hover .mph__brands-track { animation-play-state: paused; }

@keyframes mph-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mph__brand {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a !important;
    white-space: nowrap;
    background: #fff8e6;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 9999px;
}

/* CTA */
.mph__cta {
    margin: 1rem 1.75rem 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #0a0f1a 0%, #0f172a 50%, #1e293b 100%);
    border: 1px solid rgba(246, 194, 62, 0.2);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

@media (min-width: 768px) {
    .mph__cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.mph__cta-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}

.mph__cta-lead {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #94a3b8 !important;
    line-height: 1.5;
    max-width: 28rem;
}

.mph__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.75rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a !important;
    background: linear-gradient(135deg, #f6c23e, #ffc43d, #f97316);
    background-size: 200% 200%;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(246, 194, 62, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: se-brand-breathe 4s ease-in-out infinite;
}

.mph__cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.4);
}

.mph__foot-link {
    display: block;
    text-align: center;
    padding: 0 1.75rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #e5a82e !important;
    text-decoration: none;
}

.mph__foot-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .mega-menu--partners-v2,
    .mph-card,
    .mph-featured,
    .mph__tech-chip,
    .mph__cta-btn,
    .mph__brands-track {
        animation: none !important;
    }
    .mph-card:hover,
    .mph-featured:hover,
    .mph__tech-chip:hover {
        transform: none;
    }
}
