/* =============================================
   FUNCIONÁRIOS DIGITAIS - LANDING PAGE
   Estilo Video-First Imersivo
   ============================================= */

/* =============================================
   CSS VARIABLES - Design Tokens
   ============================================= */
:root {
    /* Colors (Dark Mode) */
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-dark: #000000;
    /* Deep Black */
    --color-dark-soft: #111111;
    --color-light: #f8fafc;
    --color-glass-bg: rgba(255, 255, 255, 0.08);
    --color-glass-border: rgba(255, 255, 255, 0.15);
    --color-glass-shadow: rgba(0, 0, 0, 0.5);
    --color-text-dark: #f1f5f9;
    /* Inverted for dark mode */
    --color-text-light: #f1f5f9;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-hero: clamp(2rem, 6vw, 4.5rem);
    --font-size-h2: clamp(1.5rem, 4vw, 2.8rem);
    --font-size-p: clamp(0.9rem, 2vw, 1.125rem);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Effects */
    --blur-glass: 20px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-pill: 50px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* =============================================
   SITE HEADER (MENU)
   ============================================= */
/* =============================================
   SITE HEADER (Apple Product Nav Style)
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 52px;
    z-index: 1000;
    /* Aumentado para garantir sobreposição */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(0, 0, 0, 0.85);
    /* Legibilidade maior */
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
}

/* Garante visibilidade imediata em páginas internas */
body:not(.page-home) .site-header {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.logo {
    flex: 1;
    /* Ocupa espaço para empurrar o centro */
    display: flex;
    align-items: center;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    flex: 2;
    /* Ocupa mais espaço central */
    display: flex;
    justify-content: center;
}

.header-cta {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* Remove underline animations, go for simple Apple hover */
.nav-links a::after {
    display: none;
}

.btn-sm {
    padding: 6px 14px;
    background: #0071e3;
    color: white !important;
    /* Force white text on button */
    border-radius: 980px;
    /* Pill */
    font-size: 12px !important;
    font-weight: 400;
    opacity: 1 !important;
    transition: background 0.2s ease;
}

.btn-sm:hover {
    background: #0077ed;
}

/* Responsividade Menu */
@media (max-width: 900px) {
    .site-header {
        padding: 0 15px;
        height: 60px;
        justify-content: space-between;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo span {
        font-size: 1rem;
    }

    .main-nav {
        position: static;
        transform: none;
        flex: 1;
        display: flex;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 10px;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-links {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .nav-links a {
        font-size: 0.7rem;
        white-space: nowrap;
        padding: 4px 2px;
    }

    /* Oculta Início no mobile para poupar espaço, já que o Logo já leva à Home */
    .nav-links li:first-child {
        display: none;
    }

    .header-cta {
        display: none;
    }
}

.btn-sm {
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.btn-sm:hover {
    background: var(--color-primary-light);
}

/* =============================================
   HERO SECTION - VIDEO FULLSCREEN
   =============================================*/
/* Manifesto Specifics */
.manifesto-section {
    position: relative;
    background: #000;
    color: #86868b;
    /* Apple Grey Text */
    padding: 150px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

/* Background Image with Overlay */
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Luxury Dark Gradient Fallback (Apple Style) */
    background: radial-gradient(circle at 50% 0%, #2a2a2e 0%, #000000 80%);
    opacity: 1;
    z-index: 0;
}

.manifesto-container {
    position: relative;
    z-index: 1;
    /* Ensure text is above image */
    max-width: 800px;
    width: 100%;
}

.hero-section {
    display: none;
}

/* Remover referenciamentos antigos se houverem */

/* =============================================
   APPLE-STYLE SCROLL-DRIVEN ARCHITECTURE
   ============================================= */
.apple-scroll-container {
    position: relative;
    width: 100%;
    /* Deixaremos o tamanho natural via sticky. */
    background: #000;
}

.apple-panel {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    /* Background preto para não piscar nada branco no fundo */
    background: #000;
}

.apple-panel-light {
    background: #f5f5f7;
    /* Cor base clara bem clean */
    margin-bottom: 100vh;
    /* Permite ler o painel com calma, estendendo o scroll */
}

/* Base Video Style */
.apple-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    /* Suaviza transição se for opacidade via JS depois */
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Gradientes/Sombras - Para garantir legibilidade Apple-like */
.apple-overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
    /* Escurece o vídeo inicial suavemente */
    pointer-events: none;
}

.apple-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

/* Estruturas de Conteúdo (Textos) */
.apple-content {
    position: absolute;
    z-index: 3;
    width: 100%;
    padding: 0 40px;
    color: #fff;
    pointer-events: auto;
    /* Para clicar em botões */
    display: flex;
    flex-direction: column;
}

.apple-content-center {
    top: 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.apple-content-bottom {
    bottom: 0;
    padding-bottom: 80px;
    align-items: flex-start;
    text-align: left;
    max-width: 1000px;
}

/* Tipografia Estilo Apple */
.apple-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: #a1a1aa;
}

.apple-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    /* Efeito de preenchimento metálico / clipping */
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apple-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.apple-subline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: #e4e4e7;
}

.apple-desc {
    font-size: 1.25rem;
    font-weight: 400;
    color: #a1a1aa;
    max-width: 480px;
    margin-bottom: 30px;
}

/* Apple Light Typography Variations */
.apple-panel-light .apple-headline {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #1d1d1f;
    letter-spacing: -1.2px;
}

.apple-panel-light .apple-subline,
.apple-panel-light .apple-desc,
.apple-panel-light p {
    color: #515154;
}

.apple-panel-light .apple-content-center {
    max-width: 900px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* Apple Buttons */
.btn-apple-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: #fff;
    border-radius: 980px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apple-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
}

.btn-apple-glass-icon {
    position: relative;
    margin-top: 30px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-apple-glass-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-apple-glass-icon svg {
    margin-left: 6px;
    /* Optically center the play icon */
    width: 32px;
    height: 32px;
}

.btn-apple-light {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-apple-light:hover {
    background: #f4f4f5;
    color: #000;
}

/* Animations de Scroll para o Text (Revelação Progressiva Javascript) */
.apple-text-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.apple-text-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Query Mobile */
@media (max-width: 768px) {
    .apple-content {
        padding: 0 20px;
    }

    .apple-content-bottom {
        padding-bottom: 60px;
    }
}



.card-cta {
    font-size: 1rem;
    font-weight: 500;
    color: #2997ff;
    /* Apple blue */
}

/* CARD 2: Soluções (Interactive List) */
.card-solutions {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(var(--blur-glass));
    padding: 30px;
}

.card-solutions .card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f5f5f7;
    border-radius: 16px;
    transition: background 0.2s;
}

.solution-item:hover {
    background: #e8e8ed;
}

.icon-box {
    font-size: 1.5rem;
    filter: grayscale(100%);
    /* Remover cor de emoji */
}

.solution-text {
    display: flex;
    flex-direction: column;
}

.solution-text strong {
    font-size: 1rem;
    color: #1d1d1f;
}

.solution-text span {
    font-size: 0.85rem;
    color: #86868b;
}

/* CARD 3: Vitrine Teaser */
.card-profile {
    background: var(--color-glass-bg);
    align-items: center;
    text-align: center;
    padding: 40px;
    justify-content: center;
}

.avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
    overflow: hidden;
}

.avatar-large img {
    width: 100%;
    height: 100%;
}

.profile-badge {
    background: #eefdf5;
    color: #15803d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.profile-info h3 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    line-height: 1.2;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.profile-info p {
    color: #86868b;
    margin-bottom: 25px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn-link {
    color: #007aff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* RESPONSIVE BENTO */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .card-solutions {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        /* Header space */
    }

    .bento-card {
        min-height: 300px;
    }

    .card-title {
        font-size: 2rem;
    }
}

/* =============================================
   CONTENT SECTIONS (Placeholder)
   ============================================= */
.content-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    background: var(--color-dark);
}

.content-section.alt-bg {
    background: var(--color-dark-soft);
}

.section-container {
    max-width: 800px;
    text-align: center;
}

.section-container h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-light);
}

.section-container p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   RESPONSIVE - MOBILE FIRST
   ============================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .cta-buttons {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .btn-glass {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-base);
    }

    .btn-emoji {
        font-size: 1.2em;
    }

    .interaction-container {
        padding-top: clamp(2rem, 5vh, 4rem);
    }
}

@media (max-width: 480px) {
    .btn-text {
        font-size: 0.9rem;
    }

    .hero-title br {
        display: none;
    }
}

/* =============================================
   REDUCED MOTION - Acessibilidade
   ============================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =============================================
   PÁGINA VITRINE (Talent Grid)
   ============================================= */
.page-vitrine {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    padding-top: 80px;
    /* Espaço para o header fixo */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Talent Grid */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Talent Card - Estilo LinkedIn */
.talent-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.talent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.card-cover {
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.card-avatar {
    margin-top: -50px;
    margin-left: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--color-dark);
    overflow: hidden;
    background: var(--color-dark);
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.talent-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.talent-role {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.talent-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Empurra o footer do card para baixo */
}

.talent-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .label {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
}

.stat .value {
    font-weight: 600;
    color: var(--color-text-light);
}

.stat .salary {
    color: var(--color-primary);
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: #e0e7ff;
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Card Actions */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--color-primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: #e0e7ff;
}

/* MODAL STYLES */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    color: var(--color-text-dark);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #9ca3af;
}

.interview-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-option {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    background: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #1d1d1f;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-option:hover {
    border-color: var(--color-primary);
    background: #f0f4ff;
    color: var(--color-primary);
}

/* Utilities */
.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}

/* =============================================
   CAROUSEL CONTROLS (APPLE STYLE)
   ============================================= */
.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    width: 24px;
    /* Pill shape when active */
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: color 0.3s;
    padding: 0;
}

.btn-icon:hover {
    color: white;
}

/* =============================================
   INTERACTIVE VIDEO & OVERLAYS
   ============================================= */

/* Utility Classes */
.hidden {
    display: none !important;
    opacity: 0;
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Overlay Container for Buttons */
.interaction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    /* Darkens video slightly */
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.overlay-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.case-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 900px;
}

/* Case Study Button Style */
.case-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    color: white;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.case-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.case-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .case-buttons-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .overlay-title {
        font-size: 1.5rem;
    }
}

/* Image-Based Card (Profile PDF style) */
.image-based-card {
    padding: 0;
    overflow: hidden;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px;
    /* Limit width to keep it portrait-like */
    margin: 0 auto;
}

.image-based-card:hover {
    transform: translateY(-5px);
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.profile-full-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Overlay Button Position */
.overlay-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #4f46e5;
    /* Primary color text */
    font-weight: 600;
    border: none;
    backdrop-filter: blur(5px);
}

.overlay-btn:hover {
    background: white;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* =============================================
   APPLE-STYLE HERO FEATURE (MARIANA)
   ============================================= */
.hero-feature {
    width: 100%;
    background-color: #0d0d0d;
    /* Deep dark background */
    color: white;
    padding: 4rem 2rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.hero-feature-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-text h2 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #818cf8;
    /* Indigo accent */
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #d1d5db;
    /* Light grey */
    max-width: 90%;
}

.hero-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-link {
    background: none;
    border: none;
    color: #818cf8;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-link:hover {
    color: #a5b4fc;
}

/* Hero Visual (Image) */
.hero-visual {
    position: relative;
    cursor: zoom-in;
    perspective: 1000px;
    /* FIX: Constrain width to image size so absolute hotspots map correctly */
    width: fit-content;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    display: block;
    margin: 0 auto;
}

.hero-visual:hover .hero-img {
    transform: scale(1.02);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    /* Enable vertical scrolling */
    padding: 20px 0;
    animation: fadeIn 0.3s;
    display: none;
    /* Controlled by JS classes */
}

/* Show state handled by removing .hidden class (which has display:none !important) */
.lightbox:not(.hidden) {
    display: flex;
    /* Changed to flex to center the wrapper if needed, or block */
    justify-content: center;
    align-items: flex-start;
    /* Allow scrolling from top */
}

.lightbox-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
}

.lightbox-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Hotspots (Interactive Buttons on Image) */
.hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}

.hotspot:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Debug Colors - Remove border after final approval */
.hotspot-salary {
    top: 36%;
    left: 2.5%;
    width: 25.5%;
    height: 4.2%;
    border-radius: 50px;
}

.hotspot-charges {
    top: 36%;
    left: 29.5%;
    width: 25.5%;
    height: 4.2%;
    border-radius: 50px;
}

.hotspot-interview {
    top: 36%;
    left: 56.5%;
    width: 25.5%;
    height: 4.2%;
    border-radius: 50px;
}

.close-lightbox {
    position: fixed;
    /* Keep it visible while scrolling */
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    /* Background for visibility */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-lightbox:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-feature {
        padding: 2rem 1rem;
    }

    .hero-feature-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-text {
        align-items: center;
    }

    .hero-headline {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }
}

/* FIX: Modal Stacking and Colors for Dark Mode */
.modal {
    z-index: 10000 !important;
    /* Higher than Lightbox (9999) */
    background: rgba(0, 0, 0, 0.7);
    /* Ensure dimming */
}

/* Ensure modal opens even if nested or stacked */
.modal.hidden {
    display: none !important;
}

.modal-content {
    background: #1a1a1a;
    /* Solid dark background */
    background: var(--color-glass-bg, #1a1a1a);
    color: white;
    /* Force white text */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content h2,
.modal-content h3,
.modal-content p,
.modal-content li {
    color: white !important;
}

/* Form inputs in Modals */
.modal-content input,
.modal-content select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
}

.modal-content input::placeholder {
    color: #aaa;
}

/* =============================================
   HERO PERSISTENT OVERLAY (Sierra Style)
   ============================================= */
.hero-persistent-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 15;
    /* Below interaction container (20) but above video (1) */
    max-width: 400px;
    pointer-events: none;
    /* Let clicks pass through */
}

.hero-overlay-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-persistent-overlay {
        bottom: 100px;
        /* Adjust for mobile controls */
        left: 20px;
        right: 20px;
        text-align: center;
        max-width: 100%;
    }

    .hero-overlay-text {
        font-size: 1.2rem;
    }
}

/* =============================================
   SOBRE NÓS (11x.ai Style - Minimalist)
   ============================================= */
.about-section {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
}

.about-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.about-subheadline {
    font-size: 1.5rem;
    color: #a1a1aa;
    margin-bottom: 60px;
    font-weight: 400;
    line-height: 1.4;
}

.about-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #d4d4d8;
    font-weight: 300;
}

/* =============================================
   PROFESSIONAL FOOTER
   ============================================= */
.site-footer {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px 40px;
    font-size: 0.9rem;
    color: #71717a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.footer-brand .logo-text {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #a1a1aa;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}
}

/* =============================================
   APPLE STYLE REDESIGN (V2)
   ============================================= */

/* Typography - Vision Pro Style */
.vision-text {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    letter-spacing: -0.02em;
    color: #f5f5f7;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-overlay-text {
    /* Updated for smoother scroll scaling */
    will-change: opacity, transform, filter;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   11X REPLICA LAYOUT (RESTORED & FIXED)
   ============================================= */

/* --- 1. HERO SECTION (Header) --- */
.manifesto-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Immersive 11x height */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* 11x text is often lower-mid or bottom */
    align-items: center;
    text-align: center;
    padding-bottom: 80px;
    /* Space from bottom */
    overflow: hidden;
    background-color: #000;
}

/* Video Background styling */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: center 20%;
    /* Focus on upper part (heads) */
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic gradient: Transparent top -> Dark bottom */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title-11x {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    /* Massive Impact */
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* --- 2. MAIN CONTENT SECTION (Body) --- */
.manifesto-content-wrapper {
    background-color: #E5E5E5;
    /* 11x Light Gray/Beige match */
    color: #111;
    /* Dark text for contrast */
    padding: 100px 5%;
    width: 100%;
}

.manifesto-grid-11x {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 Split */
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Left Column: Text */
.manifesto-text-col h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #000;
    letter-spacing: -0.02em;
}

.manifesto-text-col p {
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
}

/* Right Column: Stats Card */
.stats-card {
    background: #2A2522;
    /* 11x Dark Brownish/Black Card */
    color: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stats-header h3 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 40px;
    color: #fff;
}

.stat-item {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Apple-Style Scroll Reveal Animation */
.scroll-reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal-delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .manifesto-grid-11x {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .manifesto-content-wrapper {
        padding: 60px 20px;
    }

    .hero-title-11x {
        font-size: 3.5rem;
    }
}

/* =============================================
   Dual Path Buttons (Banner Slide 2)
   ============================================= */
.dual-path-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.dual-path-buttons .btn-apple {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 12px 24px;
    height: auto;
}

.dual-path-buttons .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dual-path-buttons .btn-text small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* =============================================
   Team Animation (Contrate Page)
   ============================================= */
#team-animation-container {
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 300px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#team-animation-container.hidden {
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
}

.agent-card-anim {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.agent-card-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.agent-card-anim img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid var(--color-primary);
    background: #000;
}

.agent-card-anim h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.agent-card-anim p {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin: 4px 0 0;
}

.team-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* =============================================
   APPLE VISION PRO STYLE CAROUSEL
   ============================================= */
.vision-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 60px 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.vision-carousel-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.vision-carousel-track {
    display: flex;
    gap: 24px;
    padding: 0 max(20px, 50% - 150px);
    /* Center start relative to viewport */
    width: max-content;
}

.vision-card {
    position: relative;
    flex: 0 0 300px;
    height: 420px;
    border-radius: 24px;
    background: #1c1c1e;
    overflow: hidden;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-card:hover {
    transform: scale(1.03);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.3);
}

.vision-content {
    padding: 32px 24px;
    flex: 1;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
}

/* Typography Apple Style */
.vision-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    margin-bottom: 12px;
}

.vision-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: #f5f5f7;
    margin-bottom: 14px;
}

.vision-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #cecece;
    font-weight: 400;
}

/* Visual Placeholders */
.vision-visual {
    height: 180px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-top: auto;
    /* Push to bottom if content is short */
    opacity: 0.9;
    transition: opacity 0.3s;
}

.vision-card:hover .vision-visual {
    opacity: 1;
}

/* Gradients for Visuals */
.visual-sales {
    background: linear-gradient(135deg, #FF6B6B 0%, #2c3e50 100%);
}

.visual-qual {
    background: linear-gradient(45deg, #4ECDC4 0%, #2c3e50 100%);
}

.visual-react {
    background: linear-gradient(135deg, #A770EF 0%, #CF8BF3 50%, #2c3e50 100%);
}

.visual-support {
    background: linear-gradient(to right, #00b4db, #2c3e50);
}

/* Desktop Tweaks */
@media (min-width: 768px) {
    .vision-card {
        flex: 0 0 360px;
        height: 480px;
    }

    .vision-card h3 {
        font-size: 28px;
    }

    .vision-carousel-track {
        padding: 0 max(40px, 50% - 180px);
        /* Adjust center offset */
    }
}

/* =============================================
   DUAL PATH BUTTONS HORIZONTAL (Video Overlay)
   ============================================= */

/* Edge overlay buttons - FIXED to viewport edges */
.overlay-edge-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #ffffff;
    border-radius: 980px;
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.8s ease;
    border: none;
    cursor: pointer;
}

.overlay-edge-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: #f5f5f7;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.overlay-edge-left {
    left: 40px;
}

.overlay-edge-right {
    right: 40px;
}

@media (max-width: 768px) {
    .overlay-edge-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .overlay-edge-left {
        left: 10px;
    }

    .overlay-edge-right {
        right: 10px;
    }
}

.overlay-edge-btn.hidden {
    display: none !important;
    opacity: 0;
}

/* Ensure global overlay doesn't dim interaction video */
#claudia-response-video {
    z-index: 50;
    /* Higher than any slide background or overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none !important;
    /* Force no blur */
    backdrop-filter: none !important;
}

/* Interaction container adjustments - Reset layout interference */
.interaction-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transform: none;
    background: transparent !important;
    /* Ensure no background */
    backdrop-filter: none !important;
    /* Ensure no blur */
    pointer-events: none;
    z-index: 60;
    /* Above video */
}

/* Responsive Edges */
@media (max-width: 768px) {
    .dual-path-buttons-horizontal .btn-apple {
        width: 180px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .dual-path-buttons-horizontal .btn-apple.btn-left {
        left: 10px !important;
    }

    .dual-path-buttons-horizontal .btn-apple.btn-right {
        right: 10px !important;
    }
}