/* ==========================
   PARALLAX SECTION
========================== */

.parallax-section {
    position: relative;
    min-height: 100vh;
    overflow: clip;
}

.parallax-img {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
    object-position: center;
    margin-bottom: -100vh;
    z-index: 0;
}

.parallax-overlay {
    position: relative;
    z-index: 1;
    min-height: 100vh;

    display: flex;
    align-items: center;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* ==========================
   CONTENT CARD
========================== */

.parallax-content {
    position: relative;

    width: min(760px, 100%);
    max-width: 100%;
    box-sizing: border-box;

    padding: clamp(2rem, 4vw, 4rem);

    background: var(--grad-brand);

    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;
}

.parallax-content::before {
    content: "";
    position: absolute;

    top: -220px;
    right: -220px;

    width: 450px;
    height: 450px;

    background: radial-gradient(
        circle,
        rgba(0, 170, 255, 0.25),
        transparent 70%
    );

    pointer-events: none;
}

/* ==========================
   TEXT CONTENT
========================== */

.parallax-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.parallax-title {
    margin: 0 0 1.5rem;

    color: #fff;
    font-size: clamp(46px, 5.8vw, 62px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.parallax-desc {
    max-width: 650px;
    margin-bottom: 2.5rem;

    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.85;
}

/* ==========================
   CTA BUTTON
========================== */

.parallax-actions {
    margin-bottom: 3rem;
}

.btn-primary-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 1rem 1.8rem;

    border-radius: 7px;
    text-decoration: none;

    color: #000;
    font-weight: 600;

    background: #fff;
    box-shadow: 0 10px 35px rgba(0, 102, 255, 0.35);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.45);
}

/* ==========================
   CONTACT PANEL
========================== */

.botron-connect-panel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 1.75rem;

    border-radius: 8px;
    overflow: hidden;

    background: rgba(245, 245, 245, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 4px 10px rgba(226, 217, 251, 0.3);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.botron-connect-panel:hover {
    transform: translateY(-10px);

    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(104, 70, 198, 0.15);

    box-shadow:
        0 20px 50px rgba(104, 70, 198, 0.12),
        0 30px 90px rgba(37, 99, 235, 0.08);
}

.botron-connect-panel::before {
    content: "";
    position: absolute;
    inset: 0;

    padding: 1px;
    border-radius: inherit;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9),
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.9)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

    mask-composite: exclude;

    pointer-events: none;
}

.panel-label {
    display: inline-block;

    margin-bottom: 0.75rem;

    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.botron-connect-content h3 {
    margin: 0 0 0.75rem;

    color: #000;
    font-size: 1.4rem;
}

.botron-connect-content p {
    margin: 0;

    color: #000;
    line-height: 1.7;
}

.botron-connect-panel:hover .botron-connect-content h3 {
    color: #111;
}

.botron-connect-panel:hover .botron-connect-content p {
    color: rgba(0, 0, 0, 0.75);
}

/* ==========================
   CONTACT BUTTON
========================== */

.botron-contact-action {
    position: relative;
    z-index: 2;

    flex-shrink: 0;

    padding: 1rem 1.5rem;

    border-radius: 7px;
    text-decoration: none;

    color: #fff !important;
    font-weight: 600;

    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);

    transition: all 0.3s ease;
}

.botron-contact-action:hover {
    background: #111;
    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ==========================
   FALLBACK
========================== */

@supports not (
    (backdrop-filter: blur(1px)) or
    (-webkit-backdrop-filter: blur(1px))
) {
    .parallax-content {
        background: rgba(20, 20, 20, 0.92);
    }

    .botron-connect-panel {
        background: rgba(245, 245, 245, 0.9);
    }
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {

    .parallax-overlay {
        align-items: flex-end;
        padding: 1rem;
    }

    .parallax-content {
        width: 100%;
        padding: 1.5rem;
        border-radius: 20px;
    }

    .parallax-title {
        font-size: 2.3rem;
    }

    .parallax-desc {
        font-size: 1rem;
        line-height: 1.7;
    }

    .botron-connect-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .botron-contact-action {
        width: 100%;
        text-align: center;
    }
}