/* ===================================
   AGENTES PAGE - BLACK & WHITE GLASSMORPHISM
   =================================== */

:root {
    /* Apenas Preto e Branco */
    --glass-black: #000000;
    --glass-dark: #0a0a0a;
    --glass-white: #FFFFFF;
    --glass-gray: #808080;
    --glass-light-gray: #CCCCCC;

    /* Cores azuis do site principal */
    --primary-blue: #0066FF;
    --electric-blue: #00A3FF;

    /* Glass effect - apenas transparências */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(255, 255, 255, 0.1);
}

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

body {
    background: var(--glass-black);
    color: var(--glass-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Global overrides - Remove ALL colors */
* {
    box-shadow: none !important;
}

body::before,
body::after,
html::before,
html::after {
    display: none !important;
}

/* ===================================
   GLASS HEADER
   =================================== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.glass-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--glass-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.cta-nav-purple {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    color: var(--glass-white) !important;
}

.cta-nav-purple::after {
    display: none !important;
}

.cta-nav-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.4) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-agentes {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-black);
    overflow: hidden;
    padding-top: 80px;
}

/* Animated Gradient Blobs */
.hero-agentes::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.539) 0%, rgba(0, 163, 255, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatBlob1 20s ease-in-out infinite;
    z-index: 0;
}

.hero-agentes::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.12) 0%, rgba(0, 102, 255, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    animation: floatBlob2 25s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatBlob1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

@keyframes floatBlob2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-80px, 60px) scale(1.15);
    }

    66% {
        transform: translate(120px, -80px) scale(0.85);
    }
}

/* Third Blob - Similar to ::after but with different position */
.hero-blob-extra {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 162, 255, 0.242) 0%, rgba(0, 102, 255, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    animation: floatBlob2 25s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Marquee Background with Image */
.marquee-background {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    overflow: hidden;
    z-index: 1;
    opacity: 0.5;

}

.marquee-track {
    display: flex;
    animation: marqueeScroll 40s linear infinite;
    white-space: nowrap;
    height: 100%;
    align-items: flex-start;
    padding-top: 2rem;
}

.marquee-image {
    height: 35%;
    width: auto;
    padding: 0 4rem;
    filter: none;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Model Container - Positioned to the Right */
.model-container {
    position: absolute;
    right: 35%;
    top: calc(50% + 100px);
    transform: translate(50%, -50%);
    z-index: 2;
    max-width: 500px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.model-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    transform: scaleY(-1);
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 55%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 55%);
    pointer-events: none;
}

.aegis-model {
    width: 100%;
    height: auto;
    filter: none;
    position: relative;
    z-index: 1;
}

.aegis-model-reflection {
    width: 100%;
    height: auto;
    transform: scaleX(1);
    transform: scaleY(1);
    opacity: 0.9;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 50%, transparent 550%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    margin-top: -30%;
    pointer-events: none;
}

/* Hero Content - Left Side */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 600px;
    padding: 0 2rem;
    margin-right: auto;
    margin-left: 5%;
    margin-top: 12rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, var(--glass-white) 5%, var(--electric-blue) 80%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--glass-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-note-small {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--glass-white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===================================
   CARROSSEL 3D DE AGENTES
   =================================== */
.agents-carousel-section {
    background: var(--glass-black);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.agents-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
}

/* Gradient Blob for Carousel */
.agents-carousel-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(0, 163, 255, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulseGlow 15s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-header {
    text-align: center;
    margin-bottom: 4rem;
}

.carousel-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--glass-white);
}

.carousel-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--glass-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Carousel Horizontal Scroll Container */
#carousel {
    display: flex;
    gap: 2rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem 0;
    -webkit-overflow-scrolling: touch;
}

#carousel::-webkit-scrollbar {
    height: 8px;
}

#carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    border-radius: 10px;
}

#carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--primary-blue) 100%);
}

#carousel .agent-card {
    position: relative;
    transition: all 0.3s ease;
    opacity: 1;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

#carousel .agent-card .agent-image-container {
    height: 250px;
}

/* Glass Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.2);
    cursor: pointer;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 163, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card.selected {
    border-color: rgba(0, 163, 255, 0.4);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 163, 255, 0.2);
}

.glass-card.custom-agent {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 102, 255, 0.25);
}

/* Agent Image */
.agent-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: none;
}

.glass-card:hover .agent-image {
    transform: scale(1.05);
}

.custom-agent-image {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 163, 255, 0.02) 100%);
}

.agent-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    color: var(--glass-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Agent Content */
.agent-content {
    padding: 2rem;
}

.agent-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--glass-white);
}

.agent-description {
    font-size: 1rem;
    color: var(--glass-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Agent Features */
.agent-features {
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--glass-light-gray);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--electric-blue);
    flex-shrink: 0;
}

/* Agent CTA Button */
.agent-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    color: var(--glass-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100px;
    max-width: 250px;
    margin: 0 auto;
}

.agent-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 163, 255, 0.4) !important;
}

/* Carousel Navigation */
.carousel-buttons {
    display: none;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--glass-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 163, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


.faq-section {
    background: var(--glass-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
}

/* Gradient Blobs for FAQ */
.faq-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.1) 0%, rgba(0, 102, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatBlob3 18s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatBlob3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-100px, 80px);
    }
}

/* Section Headers - Ensure white text in FAQ */
.faq-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.faq-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--glass-white) !important;
}

.faq-section .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--glass-gray);
    max-width: 700px;
    margin: 0 auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--glass-white);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--electric-blue);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--electric-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--glass-gray);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {

    .why-ags-section,
    .faq-section {
        padding: 4rem 0;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .glass-card {
        flex: 0 0 350px;
    }

    .model-container {
        right: 30%;
        width: 45%;
    }

    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(30px);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-agentes {
        flex-direction: column;
        padding: 120px 1rem 60px;
    }

    .model-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 300px;
        width: 80%;
        margin-bottom: 2rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .marquee-image {
        height: 40%;
        padding: 0 2rem;
    }

    .agents-carousel-section {
        padding: 4rem 0;
    }

    .carousel-header {
        margin-bottom: 2.5rem;
    }

    .glass-card {
        flex: 0 0 300px;
    }

    .agent-image-container {
        height: 250px;
    }

    .agent-content {
        padding: 1.5rem;
    }

    .agent-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 1rem;
    }

    .glass-card {
        flex: 0 0 280px;
    }

    .carousel-track {
        gap: 1rem;
    }

    .agent-image-container {
        height: 200px;
    }

    .agent-content {
        padding: 1.25rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}