/**
 * @file assets/css/partner.css
 * @description Standalone partner landing stylesheet (desktop-first)
 * @compliance GDPR/DSGVO (no external fonts)
 */

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f0f0f;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* ================= LAYOUT ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= HEADER ================= */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,15,15,0.95);
    border-bottom: 1px solid #222;
}

.logo {
    display: inline-block;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 800;
    color: #ff6600;
    text-decoration: none;
}

.logo span {
    color: #ffffff;
}

/* ================= HERO ================= */
.partner-hero {
    padding: 100px 0 80px;
    text-align: center;
}

.partner-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.partner-hero h1 span {
    color: #ff6600;
}

.partner-hero p {
    font-size: 18px;
    color: #a1a1a1;
    max-width: 700px;
    margin: 0 auto;
}

/* ================= FORM ================= */
.form-section {
    max-width: 520px;
    margin: 0 auto 100px;
    background: #111;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #222;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #aaa;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.form-group input::placeholder {
    color: #777;
}

.form-group input:focus {
    background: #333;
    border-color: #ff6600;
}

/* ================= BUTTON ================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: #ff6600;
    color: #ffffff;
}

.btn-primary:hover {
    background: #e65c00;
}

/* ================= SUCCESS ================= */
.final-success-box {
    background: rgba(46,204,113,0.1);
    border: 1px solid #2ecc71;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin-top: 20px;
}

.final-success-box i {
    font-size: 40px;
    margin-bottom: 15px;
}

/* ================= BENEFITS ================= */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 120px;
}

.benefit-card {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.benefit-icon {
    font-size: 36px;
    color: #ff6600;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: #a1a1a1;
}

/* ================= BACK LINK ================= */
.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #a1a1a1;
    text-decoration: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .partner-hero h1 {
        font-size: 38px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-section {
        padding: 30px 20px;
    }
}
/* ================= PARTNER MODAL – FIX ================= */
.partner-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.partner-modal {
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 32px;
    max-width: 420px;
    width: calc(100% - 40px);
    text-align: center;
}

.partner-modal i {
    font-size: 40px;
    color: #2ecc71;
    margin-bottom: 16px;
}

.partner-modal h3 {
    margin-bottom: 8px;
}

.partner-modal p {
    color: #aaa;
    margin-bottom: 20px;
}

/* ===== BUTTON LOADING STATE ===== */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}