/* Founders Section Styles */
.founders-section {
    background-color: #111;
    color: #fff;
    padding: 0px 0 40px;
    /* Standardized 40px top/bottom for 80px total between sections */
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.founders-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Title */
.founders-title {
    text-align: center;
    margin-bottom: 30px;
}

.founders-title h2 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Founder Block */
.founder-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 100px;
    gap: 40px;
}

.founder-block.reverse {
    flex-direction: row-reverse;
}

/* Founder Visual Container */
.founder-visual {
    flex: 0 0 42%;
    /* Tighter width to bring text closer */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Default: Align Left (Outer) */
    position: relative;
    width: 50%;
    /* Force 50% width */
    max-width: none;
}

@media (min-width: 1250px) {
    .founder-visual {
        width: 42%;
    }
}

/* Inline SVG Styling */
.founder-inline-svg {
    width: 100%;
    max-width: 500px;
    /* Cap size so it doesn't get too huge */
    height: auto;
    display: block;
    /* Ensure overflow is visible if we want effects to spill out,
       but typically SVG should contain everything */
    overflow: visible;
}

/* Reverse block adjustments */
.founder-block.reverse .founder-visual {
    justify-content: flex-end;
    /* Align Right (Outer) */
}

/* Founder Content */
.founder-content {
    flex: 1;
    width: 50%;
    /* Force 50% width */
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.founder-content p {
    margin-bottom: 18px;
}

.founder-name-highlight {
    font-family: 'Xirod', sans-serif;
    color: #fff;
}

/* Footer Note (Astronox) */
.founders-footer-note {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}

.founders-footer-logo {
    display: block;
    margin: 20px auto 0;
    max-width: 150px;
}

/* Stage Visual */
.founders-stage-visual {
    margin-top: 40px;
}

.founders-stage-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(239, 64, 92, 0.2);
}

/* Responsive */
@media (max-width: 1250px) {
    .founder-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0px;
        margin-bottom: 60px;
    }

    .founder-block.reverse {
        flex-direction: column;
    }

    .founder-block.reverse .founder-visual {
        justify-content: center;
        /* Reset reverse align */
    }

    .founder-visual {
        width: 100%;
        margin-bottom: 0px;
        justify-content: center;
        /* Force center on mobile */
    }

    .founder-content {
        padding-top: 0;
        max-width: 680px;
        width: 100%;
        /* Reset to full width for stack */
        margin: 0 auto;
    }

    .founder-content p:last-child {
        margin-bottom: 0;
    }

    /* Show mobile break on smaller screens */
    .mobile-break {
        display: block;
    }
}

/* Mobile break - hidden by default on desktop */
.mobile-break {
    display: none;
}

/* Founder Links and Logos */
.founder-link {
    display: inline-block;
    color: #FD724C !important;
    /* Force base orange first */
    background: linear-gradient(to right, #FD724C, #EF405C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
    border: none !important;
    font-family: 'Xirod', sans-serif !important;
    font-weight: bold;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    position: relative;
    transition: opacity 0.3s ease;
}

.founder-link:hover {
    opacity: 0.8;
}

.founder-link.founder-link-sui {
    font-family: 'Sui Generis', Georgia, serif !important;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: normal;
}

.founder-inline-logo {
    display: inline-block;
    width: 1.25em;
    /* Matches text size */
    height: 1.25em;
    vertical-align: middle;
    margin-right: 3px;
    margin-left: 0;
    position: relative;
    top: -3px;
    /* Fine-tune alignment */
}

/* ========================================
   Founders Carousel (Duplicated from Users Carousel)
   ======================================= */
.founders-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    /* Wider to accommodate 3-peat display */
    height: auto;
    margin: 40px auto 40px;
    overflow: visible;
    /* Allow prev/next slides to show */
    perspective: 1000px;
    /* 3D depth effect */
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 5;
}

.founders-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 100 / 39.375;
    /* Matches 70% width 16:9 slides */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: aspect-ratio 0.5s ease-in-out;
    /* Smooth resize */
}

/* Founders Carousel Slide - 3-Peat Display */
.founders-carousel-slide {
    position: absolute;
    width: 70%;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    height: 100%;
    /* Ensure slide fills track height */
}

/* Active Slide (Center) */
.founders-carousel-slide.active {
    opacity: 1;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6));
}

/* Previous Slide (Left) */
.founders-carousel-slide.prev {
    opacity: 0.35 !important;
    z-index: 1;
    left: 15%;
    transform: translateX(-50%) scale(0.75);
    display: block !important;
    filter: brightness(0.7);
}

/* Next Slide (Right) */
.founders-carousel-slide.next {
    opacity: 0.35 !important;
    z-index: 1;
    left: 85%;
    transform: translateX(-50%) scale(0.75);
    display: block !important;
    filter: brightness(0.7);
}

/* Video/Image - Exact match to Hero Logic */
.founders-carousel-slide video,
.founders-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    /* Ensure no residual transforms interfere */
    transform: none;
}

/* Theater Button */
.founders-carousel-slide .slide-theater-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.2s ease;
    opacity: 0.8;
    transform: translateY(0);
    pointer-events: auto;
}

.founders-carousel-slide.active:hover .slide-theater-btn,
.founders-carousel-slide .slide-theater-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(239, 64, 92, 0.8);
    border-color: #FD724C;
}

.founders-carousel-slide .slide-theater-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: block;
}

.founders-slide-meta {
    text-align: center;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.founders-slide-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.founders-slide-artist {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #888888;
    font-style: italic;
    margin: 0;
}

/* Navigation */
.founders-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.founders-nav-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.founders-nav-arrow:hover {
    transform: scale(1.15);
    opacity: 1;
}

.founders-nav-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.founders-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #EF405C;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.founders-dot.active {
    background: linear-gradient(180deg, #FD724C 0%, #EF405C 100%);
    box-shadow: 0 0 8px rgba(239, 64, 92, 0.6);
}

.founders-dot:hover:not(.active) {
    background: rgba(239, 64, 92, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .founders-container {
        padding: 0;
        /* Remove padding to maximize space */
    }

    .founder-content {
        padding: 0 20px;
    }

    .founders-carousel-wrapper {
        max-width: 100%;
        overflow: hidden !important;
    }

    .founders-carousel-track {
        aspect-ratio: 100 / 48;
        /* Matches 85% width 16:9 slides */
    }

    .founders-carousel-slide {
        width: calc(100% - 160px);
        /* 80px side peeks */
    }

    .founders-carousel-slide.prev {
        left: 40px;
        transform: translateX(-50%) scale(0.85);
        opacity: 0.5;
    }

    .founders-carousel-slide.next {
        left: calc(100% - 40px);
        transform: translateX(-50%) scale(0.85);
        opacity: 0.5;
    }

    .founders-carousel-slide.active {
        transform: translateX(-50%) scale(1);
    }

    .founders-slide-description {
        font-size: 1rem;
    }

    .founders-slide-meta {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .founders-title .work-smarter-header {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .founder-inline-svg {
        max-width: 320px;
    }
}