/* ========================================
   Exponential Leadership Summit v2
   Red Button Brand
   ======================================== */

:root {
    --rb-red: #E3173E;
    --rb-red-dark: #B8102F;
    --rb-red-glow: rgba(227, 23, 62, 0.4);
    
    --dark-900: #0a0a0a;
    --dark-800: #111111;
    --dark-700: #1a1a1a;
    --dark-600: #222222;
    --dark-500: #333333;
    
    --gray-400: #666666;
    --gray-300: #888888;
    --gray-200: #aaaaaa;
    --gray-100: #cccccc;
    
    --white: #ffffff;
    --off-white: #f5f5f5;
    
    --section-padding: 120px;
    --container-width: 1200px;
}

/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--white);
    background: var(--dark-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--rb-red);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-200);
    max-width: 600px;
}

.text-accent {
    color: var(--rb-red);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header-center {
    text-align: center;
}

.section-header-center .section-desc {
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Ensure HTML `hidden` always wins over button display styles */
.btn[hidden] {
    display: none !important;
}

.btn-primary {
    background: var(--rb-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--rb-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--rb-red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-900);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--rb-red);
}

.nav-cta {
    background: var(--rb-red);
    padding: 0.75rem 1.5rem !important;
}

.nav-cta:hover {
    background: var(--rb-red-dark) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-switch-option {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

a.lang-switch-option:hover {
    color: var(--rb-red);
}

.lang-switch-option.lang-switch-active {
    color: var(--white);
}

.lang-switch-sep {
    font-size: 0.75rem;
    color: var(--dark-500);
    user-select: none;
}

.lang-switch.lang-switch-mobile {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-links a {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--rb-red);
}

.mobile-menu-links .btn {
    margin-top: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark-900);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.28;
    filter: saturate(0.9) contrast(1.05);
    pointer-events: none;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, var(--rb-red-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(227, 23, 62, 0.2) 0%, transparent 40%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--dark-900) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero-title-line {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--rb-red);
    text-shadow: 0 0 80px var(--rb-red-glow);
}

.hero-word-cycle {
    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-word-cycle.word-exit {
    opacity: 0;
    transform: translateY(-20px);
}

.hero-word-cycle.word-enter {
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--gray-200);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-meta-item {
    text-align: center;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-meta-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-500);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-micro-claim {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    letter-spacing: 0.05em;
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    background: var(--dark-800);
    padding: 3rem 0;
    border-top: 1px solid var(--dark-600);
    border-bottom: 1px solid var(--dark-600);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--rb-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-300);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-800);
    border-left: 3px solid var(--rb-red);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--rb-red);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-300);
}

/* ========================================
   Rebrand Story Section
   ======================================== */
.rebrand {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
    border-top: 1px solid var(--dark-600);
    border-bottom: 1px solid var(--dark-600);
}

.rebrand-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rebrand-content p {
    font-size: 1.125rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rebrand-video {
    position: relative;
    margin: 2rem 0;
    border: 1px solid var(--dark-500);
    background: var(--dark-900);
}

.rebrand-video-player {
    display: block;
    width: 100%;
}

/* Hide native controls by default; show on hover (desktop) */
.rebrand-video-player::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rebrand-video:hover .rebrand-video-player::-webkit-media-controls {
    opacity: 1;
}

.rebrand-video-unmute {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--dark-500);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.rebrand-video:hover .rebrand-video-unmute {
    opacity: 1;
}

.rebrand-video-unmute:hover {
    background: rgba(10, 10, 10, 0.9);
    color: var(--rb-red);
    border-color: var(--rb-red);
}

.rebrand-video-unmute .icon-muted {
    display: none;
}

.rebrand-video.is-unmuted .rebrand-video-unmute .icon-muted {
    display: block;
}

.rebrand-video.is-unmuted .rebrand-video-unmute .icon-unmuted {
    display: none;
}

@media (hover: none) {
    .rebrand-video .rebrand-video-unmute {
        opacity: 1;
    }
}

.rebrand-emphasis {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-600);
}

/* ========================================
   Audience Section
   ======================================== */
.audience {
    padding: var(--section-padding) 0;
    background: var(--dark-900);
}

.audience-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.audience-header {
    max-width: 52rem;
}

.audience-title {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.audience-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.audience-card {
    padding: 2rem;
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    position: relative;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: var(--rb-red);
    transform: translateY(-4px);
}

.audience-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-600);
    line-height: 1;
}

.audience-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--rb-red);
}

.audience-card p {
    color: var(--gray-200);
    line-height: 1.7;
}

.audience-card p + p {
    margin-top: 0.75rem;
}

.audience-takeaway-label {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--gray-100);
}

.audience-takeaway-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-takeaway-list li {
    padding: 0.5rem 0;
    color: var(--gray-200);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.audience-takeaway-list li::before {
    content: '—';
    color: var(--rb-red);
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   Program Section
   ======================================== */
.program {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
}

.program-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--dark-700);
    border-left: 4px solid var(--rb-red);
}

.format-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-100);
}

.format-icon {
    color: var(--rb-red);
    font-size: 0.5rem;
}

.program-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 2.5rem;
    background: var(--dark-700);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--rb-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.timeline-item:hover::before {
    transform: scaleY(1);
}

.timeline-item:hover {
    background: var(--dark-600);
}

.timeline-time {
    display: flex;
    flex-direction: column;
}

.time-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rb-red);
    margin-bottom: 0.5rem;
}

.time-range {
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-icon {
    margin-bottom: 1rem;
    color: var(--rb-red);
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 12px var(--rb-red-glow));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    filter: drop-shadow(0 0 20px var(--rb-red-glow));
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

.timeline-content .timeline-takeaway-label {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--gray-100);
}

.timeline-content ul li {
    padding: 0.5rem 0;
    color: var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-content ul li::before {
    content: '—';
    color: var(--rb-red);
    font-weight: 700;
}

.program-claim {
    text-align: center;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background: var(--dark-900);
    border: 1px solid var(--dark-600);
}

.program-claim p {
    font-size: 1.25rem;
    color: var(--gray-200);
}

.program-claim strong {
    color: var(--white);
}

.program-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    background: var(--dark-700);
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flow-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--rb-red);
}

.flow-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--gray-400);
}

/* ========================================
   Speakers Section
   ======================================== */
.speakers {
    padding: var(--section-padding) 0;
    background: var(--dark-900);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.speaker-card {
    text-align: center;
}

.speaker-image {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.speaker-card:hover .speaker-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.speaker-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.speaker-role {
    font-size: 0.875rem;
    color: var(--rb-red);
    font-weight: 600;
}

.speakers-cta {
    text-align: center;
    color: var(--gray-300);
    font-style: italic;
}

/* ========================================
   Community Section
   ======================================== */
.community {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.community-content p {
    font-size: 1.125rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-stat {
    padding: 1.5rem 2rem;
    background: var(--dark-700);
    border-left: 3px solid var(--rb-red);
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.community-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--rb-red);
    line-height: 1;
}

.community-stat-label {
    font-size: 1rem;
    color: var(--gray-200);
}

.community-rb {
    padding: 3rem;
    background: var(--dark-700);
    border: 1px solid var(--dark-600);
}

.community-rb h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--rb-red);
}

.community-rb p {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.community-rb .btn {
    margin-top: 1rem;
}

/* ========================================
   Photos Section  (asymmetric collage)
   ======================================== */
.photos-section {
    padding: var(--section-padding) 0;
    background: var(--dark-900);
    border-top: 1px solid var(--dark-600);
    border-bottom: 1px solid var(--dark-600);
}

.photos-collage {
    --photos-gap: 0.5rem;
    display: flex;
    gap: var(--photos-gap);
    align-items: flex-start;
}

.photos-col-left {
    flex: 0 0 58%;
    display: flex;
    flex-direction: column;
    gap: var(--photos-gap);
}

.photos-col-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: var(--photos-gap);
}

.photos-row {
    display: flex;
    gap: var(--photos-gap);
    align-items: flex-start;
}

.photos-row-narrow { flex: 0 0 45%; }
.photos-row-wide   { flex: 1 1 0; }

.photos-right-top {
    max-width: 72%;
}

.photo-tile {
    position: relative;
    overflow: hidden;
    background: var(--dark-800);
    transform: translateZ(0);
}

.photo-tile-stack {
    position: relative;
    display: block;
    line-height: 0;
}

.photo-tile .photo-layer-base,
.photo-tile .photo-layer-overlay {
    width: 100%;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    --photo-opacity-dur: 0.85s;
    transition: transform 0.55s ease, filter 0.55s ease, opacity var(--photo-opacity-dur) ease;
}

.photo-tile .photo-layer-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

.photo-tile-stack.is-crossfading .photo-layer-base {
    opacity: 0;
}

.photo-tile-stack.is-crossfading .photo-layer-overlay {
    opacity: 1;
}

.photo-tile-stack.is-settling .photo-layer-base,
.photo-tile-stack.is-settling .photo-layer-overlay {
    --photo-opacity-dur: 0s;
}

.photo-tile:hover .photo-layer-base,
.photo-tile:hover .photo-layer-overlay {
    filter: grayscale(0%) contrast(1.08);
    transform: scale(1.04);
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
    padding: 4rem 0;
    background: var(--dark-900);
    border-top: 1px solid var(--dark-600);
    border-bottom: 1px solid var(--dark-600);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: var(--dark-700);
    border: 1px solid var(--dark-500);
    color: var(--white);
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--gray-400);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--rb-red);
}

.newsletter-form .btn {
    border-radius: 0;
    white-space: nowrap;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
}

.partners-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Venue Section
   ======================================== */
.venue {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.venue-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 50%, var(--rb-red-glow) 0%, transparent 60%),
        var(--dark-900);
}

.venue-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.venue .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.venue-desc {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--dark-800);
    text-align: center;
}

.cta-header {
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.cta-desc {
    font-size: 1.25rem;
    color: var(--gray-200);
}

.cta-newsletter-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 3rem;
}

.cta-newsletter-link a {
    color: var(--rb-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cta-newsletter-link a:hover {
    color: var(--rb-red-dark);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--dark-700);
    border: 1px solid var(--dark-500);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--gray-400);
    transform: translateY(-4px);
}

.pricing-card--featured {
    border-color: var(--rb-red);
    background: linear-gradient(180deg, rgba(227, 23, 62, 0.08) 0%, var(--dark-700) 50%);
}

.pricing-card--featured:hover {
    border-color: var(--rb-red);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    background: var(--rb-red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    color: var(--gray-100);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.pricing-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-300);
}

.pricing-details {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-details li {
    font-size: 0.875rem;
    color: var(--gray-200);
    line-height: 1.8;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card--disabled {
    opacity: 0.75;
    pointer-events: none;
}

.pricing-soon {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    border: 1px dashed var(--dark-500);
    padding: 0.9rem 1.5rem;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-900);
    border-top: 1px solid var(--dark-600);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--gray-200);
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--rb-red);
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--dark-700);
    margin-bottom: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--rb-red);
}

.footer-legal span {
    color: var(--dark-600);
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   Registration Modal
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: relative;
    background: var(--dark-700);
    border: 1px solid var(--dark-500);
    max-width: 480px;
    width: 100%;
    padding: 3rem;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray-300);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--white);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.modal-date {
    font-size: 2rem;
    font-weight: 900;
    color: var(--rb-red);
    margin-bottom: 1.5rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
}

.ticket-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.ticket-modal-step--card .modal-text {
    margin-bottom: 1rem;
}

.ticket-modal-embed {
    margin-top: 1rem;
    text-align: left;
}

.ticket-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    border: 1px dashed var(--dark-500);
    background: rgba(255, 255, 255, 0.02);
}

/* `hidden` must win over `.ticket-loader { display: flex }` — otherwise JS .hidden = true does nothing */
.ticket-loader[hidden] {
    display: none !important;
}

.ticket-loader-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--rb-red);
    animation: ticketSpin 0.9s linear infinite;
}

@keyframes ticketSpin {
    to { transform: rotate(360deg); }
}

.ticket-loader-text {
    font-size: 0.95rem;
    color: var(--gray-200);
}

/* Give embedded widget room; allow scroll on small screens */
.modal {
    max-height: 85vh;
    overflow: auto;
}

.modal.modal--wide {
    max-width: 720px;
}

.ticket-modal-footer {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .audience-cards {
        grid-template-columns: 1fr;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }

    .lang-switch.lang-switch-mobile {
        display: flex;
        margin-left: auto;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-meta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-meta-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-legal {
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .program-formats {
        flex-direction: column;
        gap: 1rem;
    }

    .community-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .photos-collage {
        flex-direction: column;
    }

    .photos-col-left,
    .photos-col-right {
        flex: 1 1 auto;
    }

    .photos-right-top {
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
}

/* ========================================
   Past Speakers Section
   ======================================== */
.past-speakers {
    padding: var(--section-padding) 0;
    background: var(--dark-900);
}

.past-speakers .section-header {
    margin-bottom: 3.5rem;
}

.past-speakers-viewport {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.past-speakers-track {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    will-change: transform;
}

.past-speaker-card {
    flex: 0 0 auto;
    width: 180px;
    text-align: center;
}

.past-speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(227, 23, 62, 0.35), rgba(227, 23, 62, 0.05) 55%), linear-gradient(145deg, var(--dark-600), var(--dark-800));
    border: 1px solid var(--dark-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.05em;
    user-select: none;
}

.past-speaker-photo::before {
    content: attr(data-initials);
}

.past-speaker-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.past-speaker-company {
    font-size: 0.875rem;
    color: var(--gray-300);
    font-weight: 500;
}

@media (max-width: 768px) {
    .past-speaker-card {
        width: 140px;
    }

    .past-speaker-photo {
        width: 92px;
        height: 92px;
        font-size: 1.5rem;
    }

    .past-speaker-name {
        font-size: 0.9375rem;
    }

    .past-speaker-company {
        font-size: 0.8125rem;
    }

    .past-speakers-track {
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .past-speakers-track {
        transition: none !important;
    }
}

/* ========================================
   Cookie Consent
======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(17, 17, 17, 0.96);
    border-top: 1px solid var(--dark-600);
    backdrop-filter: blur(12px);
    padding: 18px 20px;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.cookie-consent__content {
    min-width: 240px;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-100);
    line-height: 1.5;
}

.cookie-consent__meta {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.cookie-consent__meta a {
    color: var(--gray-100);
    text-decoration: underline;
}

.cookie-consent__meta a:hover {
    color: var(--white);
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Ensure reject is as visible/easy as accept */
.cookie-consent__actions .btn {
    min-width: 150px;
}

/* Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.cookie-modal__panel {
    position: relative;
    width: min(760px, 100%);
    max-height: 85vh;
    overflow: auto;
    background: var(--dark-700);
    border: 1px solid var(--dark-500);
    padding: 22px;
}

.cookie-modal__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.cookie-modal__intro {
    margin: 0 0 1.25rem;
    color: var(--gray-200);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-modal__categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-500);
}

.cookie-category__title {
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.cookie-category__desc {
    font-size: 0.9rem;
    color: var(--gray-200);
    line-height: 1.5;
}

.cookie-toggle {
    appearance: none;
    border: 1px solid var(--dark-500);
    background: transparent;
    color: var(--gray-100);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    min-width: 130px;
}

.cookie-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--gray-400);
}

.cookie-toggle[aria-pressed="true"] {
    background: rgba(227, 23, 62, 0.14);
    border-color: rgba(227, 23, 62, 0.55);
    color: var(--white);
}

.cookie-toggle--locked,
.cookie-toggle:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none !important;
}

.cookie-modal__third-parties {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--dark-600);
}

.cookie-modal__third-parties-title {
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.cookie-modal__third-parties-text {
    margin: 0;
    color: var(--gray-200);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--dark-600);
    flex-wrap: wrap;
}

.cookie-modal__policy {
    color: var(--gray-100);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-modal__policy:hover {
    color: var(--white);
}

.cookie-modal__footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-consent__inner {
        grid-template-columns: 1fr;
    }
    .cookie-consent__actions {
        justify-content: flex-start;
    }
    .cookie-consent__actions .btn {
        width: auto;
        min-width: 0;
    }
    .cookie-category {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .cookie-toggle {
        width: 100%;
    }
}
