/**
 * FireBix Partner Platform • Public Landing UI
 * Location: partner/home.css
 */

:root {
    --bg-dark: #090D16;
    --surface-dark: #0F172A;
    --surface-card: #131D33;
    --surface-card-hover: #172440;
    --surface-light: #FFFFFF;

    --brand: #2563EB;
    --brand-glow: #38BDF8;
    --accent-fire: #F13423;
    --accent-success: #10B981;
    --accent-gold: #F59E0B;

    --text-pure: #FFFFFF;
    --text-heading: #F8FAFC;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;

    --border: #1E293B;
    --border-light: rgba(255, 255, 255, 0.08);

    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-full: 9999px;

    --ease-snappy: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-tap-highlight-color: transparent !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-heading);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =====================================================
   TOP NAVIGATION
===================================================== */
.p-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.p-nav-container {
    width: min(1180px, calc(100% - 40px));
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.p-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.p-brand-meta strong {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: var(--text-pure);
    display: block;
    line-height: 1.1;
}

.p-brand-meta span {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--brand-glow);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
    margin-top: 2px;
}

.p-nav-login-btn {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border: 1px solid var(--border-light);
    color: var(--text-pure);
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--ease-snappy);
}

.p-nav-login-btn i {
    font-size: 17px;
    color: var(--brand-glow);
}

.p-nav-login-btn:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
}

/* =====================================================
   MAIN BODY & HERO SECTION
===================================================== */
.p-home-main {
    width: 100%;
}

.p-hero-section {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-hero-badge {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand-glow);
    margin-bottom: 24px;
}

.p-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.p-hero-title {
    font-size: clamp(38px, 5.2vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.8px;
    color: var(--text-pure);
}

.p-hero-title span {
    background: linear-gradient(135deg, #38BDF8 0%, #10B981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.p-hero-lead {
    max-width: 660px;
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 20px;
    font-weight: 500;
}

.p-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
    justify-content: center;
}

.p-btn-cta {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: var(--ease-snappy);
}

.p-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.p-btn-ghost {
    background: var(--surface-dark);
    border: 1px solid var(--border);
    color: var(--text-heading);
    padding: 13px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--ease-snappy);
}

.p-btn-ghost:hover {
    background: #1E293B;
}

/* HERO TRUST METRICS */
.p-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 55px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    padding: 16px 36px;
    border-radius: var(--radius-xl);
}

.p-stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-stat-cell strong {
    font-size: 21px;
    font-weight: 900;
    color: var(--text-pure);
    line-height: 1.1;
}

.p-stat-cell small {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.p-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* =====================================================
   2. PROCESS SECTION (3 CLEAN STEPS)
===================================================== */
.p-process-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0;
}

.p-section-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.p-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.p-section-heading h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -1px;
    line-height: 1.2;
}

.p-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.p-process-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    position: relative;
    transition: var(--ease-snappy);
    display: flex;
    flex-direction: column;
}

.p-process-card:hover {
    transform: translateY(-3px);
    border-color: #334155;
    background: var(--surface-card-hover);
}

.p-step-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 14px;
    font-weight: 900;
    color: var(--text-subtle);
}

.p-step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.15);
    color: var(--brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}

.p-process-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 8px;
}

.p-process-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* HIGHLIGHT STEP (YOUR PROFIT STEP) */
.p-process-card.highlight-step {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(160deg, #0f2e23 0%, var(--surface-card) 100%);
}

.p-process-card.highlight-step .p-step-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

/* =====================================================
   3. EARNING MODEL UNIT ECONOMICS STRIP
===================================================== */
.p-earning-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 70px;
}

.p-earning-box {
    background: linear-gradient(145deg, #0F172A 0%, #172554 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.p-tag-light {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-glow);
    background: rgba(56, 189, 248, 0.12);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.p-earning-head h2 {
    font-size: 30px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -0.8px;
    margin: 14px 0 6px;
}

.p-earning-head p {
    font-size: 13.5px;
    color: #94A3B8;
}

.p-split-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.p-split-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-split-lbl {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}

.p-split-val {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-pure);
    margin: 6px 0 4px;
}

.p-split-item small {
    font-size: 11px;
    color: var(--text-subtle);
}

.p-split-op {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-subtle);
}

.text-muted-cost {
    color: #F87171 !important;
}

.highlight-earning {
    border-color: var(--accent-success);
    background: rgba(16, 185, 129, 0.12);
}

.text-profit {
    color: #34D399 !important;
}

/* =====================================================
   4. BOTTOM CTA
===================================================== */
.p-bottom-cta {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 80px;
}

.p-cta-inner {
    background: radial-gradient(circle at 50% 0%, #1E3A8A 0%, #0F172A 75%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-cta-inner h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -1px;
}

.p-cta-inner p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 10px 0 26px;
    max-width: 480px;
}

/* =====================================================
   5. FOOTER
===================================================== */
.p-foot-wrap {
    border-top: 1px solid var(--border);
    background: #060911;
    padding: 24px 0;
}

.p-foot-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.p-foot-left strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-pure);
    display: block;
}

.p-foot-left span {
    font-size: 11px;
    color: var(--text-muted);
}

.p-foot-right span {
    font-size: 11px;
    color: var(--text-subtle);
}

/* =====================================================
   RESPONSIVE ADAPTATIONS (MOBILE OPTIMIZED)
===================================================== */
@media (max-width: 900px) {
    .p-process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .p-nav-container {
        width: calc(100% - 24px);
        height: 60px;
    }

    .p-brand-logo {
        width: 32px;
        height: 32px;
    }

    .p-brand-meta strong {
        font-size: 15px;
    }

    .p-brand-meta span {
        font-size: 9px;
    }

    .p-nav-login-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }

    .p-hero-section {
        width: calc(100% - 24px);
        padding: 50px 0 40px;
    }

    .p-hero-title {
        font-size: 32px;
        letter-spacing: -1.1px;
    }

    .p-hero-lead {
        font-size: 13.5px;
    }

    .p-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .p-btn-cta, .p-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .p-hero-stats {
        width: 100%;
        padding: 14px 16px;
        gap: 14px;
        margin-top: 36px;
    }

    .p-stat-cell strong {
        font-size: 16px;
    }

    .p-stat-cell small {
        font-size: 9.5px;
    }

    .p-section-heading h2 {
        font-size: 24px;
    }

    .p-split-calc {
        flex-direction: column;
        gap: 8px;
    }

    .p-split-op {
        transform: rotate(90deg);
        margin: -4px 0;
    }

    .p-split-item {
        width: 100%;
    }

    .p-cta-inner {
        padding: 40px 18px;
    }

    .p-cta-inner h2 {
        font-size: 24px;
    }

    .p-foot-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ==========================================
   FOOTER LEGAL & COMPANY LINKS
========================================== */
.p-foot-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.p-foot-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.p-foot-links a {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.p-foot-links a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.p-foot-dot {
    color: #334155;
    font-size: 12px;
}

/* Mobile responsive layout for footer */
@media (max-width: 768px) {
    .p-foot-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .p-foot-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .p-foot-links a {
        font-size: 12px;
    }
}


/* ==========================================
   APPLY NAVBAR & HEADER CTA BUTTON STYLING
========================================== */
.p-nav-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38BDF8;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.15s ease;
}

.p-nav-apply-btn:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.5);
    color: #FFFFFF;
}

@media (max-width: 480px) {
    .p-nav-apply-btn span {
        display: none; /* Mobile pe chota dikhega icon ke sath */
    }
    .p-nav-apply-btn {
        padding: 8px 10px;
    }
}