/* ===================================
   ComplyFest 2026 – Attend Page Styles
   =================================== */

/* ── Attend Hero ── */
.attend-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background-color: #070708;
    color: #ffffff;
}

/* Full-bleed background image */
.attend-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/partnerHero.jpg');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

/* Dark overlay so text is always legible */
.attend-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 3, 4, 0.97) 0%,
        rgba(3, 3, 4, 0.70) 20%,
        rgba(0, 0, 0, 0.25) 70%
    );
    z-index: 1;
}

/* Subtle dot pattern (matches homepage) */
.attend-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

.attend-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px 80px;
}

/* Two-column grid — mirrors the homepage hero */
.attend-hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: flex-end;
}

/* ── Left: Bold headline ── */
.attend-hero-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.attend-hero-title {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.6rem, 5vw, 5.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0;
}

.attend-hero-title .title-accent {
    color: #E43227;
}

/* ── Right: Description + CTA ── */
.attend-hero-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    padding-bottom: 6px;
}

.attend-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
    text-align: justify;
}

.attend-hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background-color: #ffffff;
    color: #320802;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.attend-hero-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.attend-hero-cta:hover {
    background: #E43227;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(228, 50, 39, 0.4);
}

.attend-hero-cta:hover i {
    transform: translateX(4px);
}


/* ── Attend Stats (counter) ── */
.attend-stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.attend-stats-section .stats-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(228, 50, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(94, 152, 67, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(60, 172, 168, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.attend-stats-section .stats-grid {
    position: relative;
    z-index: 1;
}


/* ── Previous Speakers (under counter) ── */
.previous-speakers-section {
    position: relative;
    padding: 64px 0;
    background: #ffffff;
    overflow: hidden;
}

.previous-speakers-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(228, 50, 39, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 78% 72%, rgba(60, 172, 168, 0.08) 0%, transparent 42%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
}

.previous-speakers-section .speakers-heading .text-primary {
    color: #101828;
}

.previous-speakers-section .speakers-heading .text-secondary {
    color: #E43227;
}

.previous-speakers-section .section-description {
    color: #475467;
}

.previous-speakers-section .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.previous-speakers-carousel {
    position: relative;
    z-index: 2;
    margin: 0 auto 32px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.previous-speakers-carousel:last-child {
    margin-bottom: 0;
}

.speakers-row {
    display: flex;
    gap: 22px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.previous-speakers-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
}

.previous-speaker-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    flex-shrink: 0;
    width: 280px;
    height: 340px;
    padding: 22px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speakers-row .previous-speaker-card {
    min-width: 280px;
}

.previous-speaker-image-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #d0d5dd;
    padding: 4px;
    overflow: hidden;
    background: #ffffff;
}

.previous-speaker-image-wrap::after {
    content: none;
}

.previous-speaker-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.previous-speaker-card:hover .previous-speaker-image-wrap img {
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.02);
}

.previous-speaker-details {
    position: static;
    /* margin-top: 16px; */
    text-align: center;
    width: 100%;
}

.previous-speaker-details h3 {
    margin: 0;
    color: #101828;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.previous-speaker-details .speaker-role {
    margin: 8px 0 0;
    color: #475467;
    font-family: var(--font-primary);
    font-size: 0.84rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
}



/* ── Audience sections shared wrapper ── */
.audience-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Alternating subtle radial glows */
.audience-section:nth-child(odd)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(228, 50, 39, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 85% 60%, rgba(94, 152, 67, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.audience-section:nth-child(even)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 40%, rgba(228, 50, 39, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 15% 60%, rgba(60, 172, 168, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

/* Two-column split: image + text */
.audience-inner {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* On even sections, flip the order so image alternates sides */
.audience-section.flip .audience-inner {
    direction: rtl;
}

.audience-section.flip .audience-inner > * {
    direction: ltr;
}

/* ── Image column ── */
.audience-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    flex-shrink: 0;
}

.audience-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(228, 50, 39, 0.12) 0%,
        transparent 60%
    );
    border-radius: inherit;
    pointer-events: none;
}

.audience-image-wrap img {
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.audience-image-wrap:hover img {
    transform: scale(1.04);
}

/* Decorative frame accent */
.audience-image-wrap::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(228, 50, 39, 0.25);
    border-radius: 28px;
    z-index: -1;
}

/* ── Text column ── */
.audience-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.audience-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(228, 50, 39, 0.12);
    border: 1px solid rgba(228, 50, 39, 0.25);
    border-radius: 50px;
    color: #E43227;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
}

.audience-heading {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.audience-heading .hl {
    color: #E43227;
}

.audience-body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
    text-align: justify;
}
/* Subtle divider */
.audience-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #E43227, #944221);
    border-radius: 2px;
}

/* ── Convince Your Boss section ── */
.convince-section {
    background: #0a0a0b;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.convince-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(228, 50, 39, 0.07) 0%, transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(148, 66, 33, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.convince-email-link {
    color: #E43227;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(228, 50, 39, 0.4);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.convince-email-link:hover {
    color: #ff5a50;
    border-bottom-color: #ff5a50;
}

.convince-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.convince-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #E43227, #944221);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(228, 50, 39, 0.35);
}

.convince-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(228, 50, 39, 0.5);
    background: linear-gradient(135deg, #f03c30, #a84c28);
}

.convince-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.convince-btn-secondary:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* Tablet */
@media screen and (max-width: 1024px) {
    .attend-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .attend-hero .container {
        padding: 0 24px 72px;
    }

    .attend-hero-title {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }

    .audience-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .audience-section.flip .audience-inner {
        direction: ltr;
    }

    .audience-image-wrap {
        aspect-ratio: 16 / 9;
        max-height: 340px;
    }

    .previous-speakers-viewport {
        padding: 18px 0 50px;
    }

    .previous-speaker-slide {
        min-width: 100%;
        padding: 0 12px;
    }

    .previous-speaker-media {
        aspect-ratio: 4 / 5;
    }

    .speaker-overlay-card {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .attend-hero .container {
        padding: 0 20px 60px;
    }

    .attend-hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .audience-section {
        padding: 70px 0;
    }

    .audience-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .convince-section {
        padding: 70px 0;
    }

    .convince-actions {
        flex-direction: column;
    }

    .convince-btn-primary,
    .convince-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .attend-stats-section {
        padding: 70px 0;
    }

    .previous-speakers-section {
        padding: 58px 0;
    }

}

/* ─────────────────────────────────────────────────
   LARGE SCREEN IMAGE ADJUSTMENTS  (> 1024px)
───────────────────────────────────────────────── */
@media screen and (min-width: 1025px) {
    .previous-speakers-grid {
        gap: 24px;
    }

    .previous-speaker-card {
        max-width: 100%;
    }

    .previous-speaker-details {
        padding: 28px 24px 20px;
    }

    /* Compliance & Risk Enabler image */
    #audience-img-risk img{
        object-position: -150px center;
        width: 100%;
        height: 100%;
    }

    /* Corporate Leader image */
    #audience-img-corporate {
        transform: scaleX(-1);
    }
    #audience-img-corporate img {
        object-position: -290px center;
        width: 100%;
        height: 100%;
    }

    /* Convince Your Boss image */
    #audience-img-boss img {
        object-position: -120px center;
        width: 100%;
        height: 100%;
    }

}

@media screen and (max-width: 1024px) {
    .speakers-row {
        gap: 18px;
    }

    .previous-speaker-card {
        width: 240px;
        height: 320px;
        padding: 18px 14px 16px;
    }

    .speakers-row .previous-speaker-card {
        min-width: 240px;
    }

    .previous-speaker-image-wrap {
        width: 132px;
        height: 132px;
    }
}

@media screen and (max-width: 767px) {
    .previous-speakers-carousel {
        margin-bottom: 24px;
    }

    .previous-speakers-carousel:last-child {
        margin-bottom: 0;
    }

    .speakers-row {
        gap: 12px;
    }

    .previous-speaker-card {
        width: 180px;
        height: 270px;
        padding: 14px 10px 12px;
    }

    .speakers-row .previous-speaker-card {
        min-width: 180px;
    }

    .previous-speaker-image-wrap {
        width: 102px;
        height: 102px;
        border-width: 1.5px;
        padding: 3px;
    }

    .previous-speaker-details {
        margin-top: 10px;
    }

    .previous-speaker-details h3 {
        font-size: 0.95rem;
        font-weight: 700;
    }

    .previous-speaker-details .speaker-role {
        font-size: 0.75rem;
        margin-top: 6px;
    }
}

