/* ==============================================
   KRAFTEL ENGINEERING — PARTENAIRE PREMIUM CSS
   ============================================== */
:root {
    --btp-blue: #0b74d6;
    --btp-dark: #001a33;
    --btp-accent: #f59e0b;
    --btp-grey: #e2e8f0;
    --btp-border: #cbd5e1;
    --btp-gradient: linear-gradient(135deg, #001a33 0%, #0b74d6 100%);
    --glow: 0 0 40px rgba(11, 116, 214, 0.2);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

/* --- RESET --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', Helvetica, sans-serif;
    background: #0a0e17;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* --- LANGUAGE BAR --- */
.lang-bar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(11, 116, 214, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.container-lang {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 30px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    letter-spacing: 1px;
}

.lang-btn:hover {
    color: white;
    border-color: var(--btp-blue);
    background: rgba(11, 116, 214, 0.15);
}

.lang-btn.active {
    background: var(--btp-blue);
    border-color: var(--btp-blue);
    color: white;
    box-shadow: 0 0 20px rgba(11, 116, 214, 0.4);
}

/* --- HERO SECTION --- */
.partner-hero {
    background: var(--btp-gradient);
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.partner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(11, 116, 214, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
}

.partner-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--btp-accent), var(--btp-blue), var(--btp-accent));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.label {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--btp-accent);
    padding: 6px 20px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 3px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 30px;
    margin-bottom: 20px;
}

.partner-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    margin: 20px 0;
    letter-spacing: -1px;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.partner-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* --- CONTENT SECTION --- */
.partner-content {
    background: #0a0e17;
    position: relative;
}

.partner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--btp-blue), transparent);
    transform: translateX(-50%);
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 0 80px;
}

/* --- WHY SECTION (LEFT) --- */
.partner-why h2 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--btp-accent);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.partner-why h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--btp-accent);
    border-radius: 2px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    margin-bottom: 16px;
    border-left: 4px solid transparent;
    border-radius: 0 12px 12px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgba(11, 116, 214, 0.3);
}

.benefit-card:hover {
    background: rgba(11, 116, 214, 0.08);
    border-left-color: var(--btp-blue);
    transform: translateX(8px);
    box-shadow: var(--glow);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(11, 116, 214, 0.2);
    line-height: 1;
    min-width: 50px;
}

.benefit-card:hover .benefit-number {
    color: rgba(11, 116, 214, 0.5);
}

.benefit-card h4 {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: white;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* --- FORM (RIGHT) --- */
.partner-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.form-header {
    background: var(--btp-gradient);
    color: white;
    padding: 24px 30px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--btp-accent);
}

.btp-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 8px;
    color: var(--btp-blue);
    letter-spacing: 1.5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--btp-blue);
    background: rgba(11, 116, 214, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 116, 214, 0.15);
}

select option {
    background: var(--btp-dark);
    color: white;
}

.btn-btp {
    width: 100%;
    background: var(--btp-accent);
    color: var(--btp-dark);
    border: none;
    padding: 18px;
    font-weight: 900;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-btp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-btp:hover {
    background: var(--btp-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(11, 116, 214, 0.4);
}

.btn-btp:hover::before {
    left: 100%;
}

.btn-btp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- FORM STATUS MESSAGES --- */
.form-status {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    animation: slideUp 0.4s ease;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FOOTER NAV --- */
.footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0;
    text-align: center;
}

.back-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-link:hover {
    background: var(--btp-blue);
    border-color: var(--btp-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 116, 214, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 500px) {
    .partner-hero h1 {
        font-size: 1.8rem;
    }

    .btp-form {
        padding: 20px;
    }

    .benefit-card {
        padding: 20px;
    }
}