/* =========================================================
   MALA LABS – PARTNER PAGE CSS
   Scope: partner.html ONLY
   Depends on: main.css
   Purpose: Agency-grade partnership presentation
========================================================= */

/* =========================================================
   PAGE-SPECIFIC SAFETY
========================================================= */

body {
    background-color: #ffffff;
}

/* =========================================================
   PARTNER HERO CUSTOMIZATION
   (uses global .hero base)
========================================================= */

.hero {
    border-bottom: 1px solid #e5e7eb;
}

.hero-wrapper {
    max-width: 860px;
}

.hero-title {
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 760px;
}

/* =========================================================
   PARTNER ELIGIBILITY SECTION
========================================================= */

.partner-eligibility {
    background-color: #ffffff;
}

.partner-eligibility .section-heading {
    margin-bottom: 1.25rem;
}

.eligibility-list {
    max-width: 760px;
    padding-left: 1.25rem;
}

.eligibility-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
    color: #334155;
}

.eligibility-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

/* =========================================================
   NOT-FOR SECTION
========================================================= */

.partner-not-for {
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.partner-not-for .eligibility-list li::before {
    content: "✕";
    color: #dc2626;
}

/* =========================================================
   PARTNERSHIP MODEL
========================================================= */

.partner-model {
    background-color: #ffffff;
}

.partner-model p {
    max-width: 800px;
}

.model-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.model-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    background-color: #ffffff;
}

.model-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.model-item ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.model-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.75rem;
}

.model-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* =========================================================
   REAL DATA POLICY
========================================================= */

.data-policy {
    background-color: #f1f5f9;
}

.data-policy p {
    max-width: 820px;
}

.data-policy ul {
    margin-top: 1rem;
}

/* =========================================================
   ENGAGEMENT FLOW
========================================================= */

.engagement-flow {
    background-color: #ffffff;
}

.flow-list {
    max-width: 720px;
    counter-reset: step;
    padding-left: 1.5rem;
}

.flow-list li {
    counter-increment: step;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #334155;
}

.flow-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   PARTNER CTA
========================================================= */

.partner-cta {
    background-color: #020617;
    color: #ffffff;
    text-align: center;
}

.partner-cta .section-heading {
    color: #ffffff;
}

.partner-cta p {
    color: #cbd5f5;
    max-width: 680px;
    margin: 0 auto 2rem;
}

.partner-cta .primary-button {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

/* =========================================================
   CALENDLY OVERLAY (REUSED COMPONENT)
========================================================= */

.calendly-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.calendly-overlay.active {
    display: flex;
}

/* =========================================================
   CALENDLY MODAL
========================================================= */

.calendly-modal {
    width: 100%;
    max-width: 960px;
    height: 90vh;
    background-color: #ffffff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

.calendly-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.calendly-modal-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.calendly-close-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #020617;
}

.calendly-close-btn:hover {
    color: #2563eb;
}

.calendly-modal-body {
    flex: 1;
}

.calendly-inline-widget {
    width: 100%;
    height: 100%;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.primary-button:focus-visible,
.calendly-close-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.6);
    outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE – TABLET
========================================================= */

@media (max-width: 1024px) {

    .hero-title {
        font-size: 2rem;
    }

    .model-breakdown {
        gap: 1.5rem;
    }
}

/* =========================================================
   RESPONSIVE – MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .calendly-modal {
        height: 100vh;
        border-radius: 0;
    }

    .flow-list {
        padding-left: 1rem;
    }
}

/* =========================================================
   PRINT SAFETY
========================================================= */

@media print {

    .partner-cta,
    .calendly-overlay,
    .primary-button {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* =========================================================
   FUTURE EXTENSIONS (INTENTIONALLY EMPTY)
========================================================= */

/*
.partner-case-studies {}
.partner-logos {}
.partner-faq {}
.partner-nda {}
*/

/* =========================================================
   END OF PARTNER.CSS
   Clean. Scoped. Production-grade.
========================================================= */
