/* ==================== HEADER FIXO ==================== */
.an-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.an-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo Ancco */
.an-header-logo {
    flex-shrink: 0;
}

.an-logo-ancco {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.an-logo-ancco:hover {
    transform: scale(1.05);
}

/* Menu Desktop */
.an-desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.an-nav-menu li {
    position: relative;
}

.an-nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.an-nav-menu > li > a:hover {
    color: #ff6b00;
}

/* Submenu */
.an-has-submenu {
    position: relative;
}

.an-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.an-has-submenu:hover .an-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.an-submenu li a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    text-transform: none;
    color: #333;
}

.an-submenu li a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
}

/* Header Right */
.an-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.an-logo-teadit {
    height: 40px;
    width: auto;
}

.an-btn-orcamento {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.an-btn-orcamento:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6);
}

/* Menu Toggle (Hamburguer) */
.an-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.an-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Menu Mobile */
.an-mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.an-mobile-nav.an-active {
    transform: translateX(0);
}

.an-mobile-menu {
    list-style: none;
    padding: 2rem;
}

.an-mobile-menu li {
    margin-bottom: 0.5rem;
}

.an-mobile-menu > li > a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.an-mobile-menu > li > a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
}

.an-mobile-menu .an-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.an-mobile-menu .an-has-submenu.an-active .an-submenu {
    max-height: 300px;
}

.an-btn-orcamento-mobile {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 50px !important;
    margin-top: 1rem;
}

/* ==================== SLIDER ==================== */
.an-slider-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* Slides */
.an-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.an-slide.an-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Background Video */
.an-slide-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4) blur(2px);
}

/* Overlays */
.an-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 20, 40, 0.8) 100%);
    z-index: 1;
}

.an-slide-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 20, 30, 0.95) 100%);
    z-index: 1;
}

/* Slide Content */
.an-slide-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem;
}

/* Content Left */
.an-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.an-text-box {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.an-main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}

.an-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CTA Buttons */
.an-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.an-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.an-btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.an-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6);
}

.an-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.an-btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Content Right */
.an-content-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.an-video-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: visible; /* Alterado para visible para permitir cards fora */
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.an-feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Floating Info Boxes - CORRIGIDO */
.an-floating-info {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.an-info-1 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.an-info-2 {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.an-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.an-info-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.an-info-text strong {
    display: block;
    color: #00d4ff;
}

/* ==================== COMPARISON LAYOUT (Slide 3) ==================== */
.an-comparison-layout {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.an-comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.an-comparison-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.an-comparison-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #e0e0e0;
}

.an-comparison-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.an-comparison-item {
    flex: 1;
    max-width: 500px;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.an-comparison-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.an-comparison-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.an-comparison-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.an-badge-problem {
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.an-badge-solution {
    background: rgba(0, 200, 0, 0.9);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.an-badge-icon {
    font-size: 1.2rem;
}

.an-comparison-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

/* Info Boxes Grid - TEXTOS REDUZIDOS */
.an-info-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.an-info-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.an-info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.an-problem-box {
    border-left: 3px solid #ff0000;
}

.an-problem-box:hover {
    background: rgba(255, 0, 0, 0.1);
}

.an-solution-box {
    border-left: 3px solid #00ff00;
}

.an-solution-box:hover {
    background: rgba(0, 255, 0, 0.1);
}

.an-box-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.an-box-content h4 {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

/* VS Divider */
.an-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.an-vs-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    z-index: 2;
    animation: rotate 4s linear infinite;
}

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

.an-vs-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #ff6b00 50%, transparent 100%);
    z-index: 1;
}

/* Features Grid */
.an-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.an-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.an-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.an-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.an-feature-card h3 {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* Navigation Dots */
.an-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.an-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.an-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.an-dot.an-active {
    background: #ff6b00;
    width: 40px;
    border-radius: 6px;
}

/* Navigation Arrows */
.an-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #fff;
}

.an-slider-arrow:hover {
    background: rgba(255, 107, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.an-arrow-left {
    left: 2rem;
}

.an-arrow-right {
    right: 2rem;
}

/* Content Below Slider */
.an-content-below {
    min-height: 100vh;
    background: linear-gradient(180deg, #000 0%, #1a1a2e 100%);
    padding: 4rem 2rem;
}

.an-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.an-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.an-container p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    /* Header */
    .an-desktop-nav {
        display: none;
    }

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

    .an-mobile-nav {
        display: block;
    }

    .an-header-right .an-logo-teadit {
        display: none;
    }

    .an-header-right .an-btn-orcamento {
        display: none;
    }

    /* Slider */
    .an-slide-content {
        flex-direction: column;
        gap: 2rem;
    }

    .an-content-left,
    .an-content-right {
        width: 100%;
    }

    .an-comparison-container {
        flex-direction: column;
        gap: 3rem;
    }

    .an-vs-divider {
        transform: rotate(90deg);
        height: 80px;
    }

    .an-vs-line {
        width: 100%;
        height: 2px;
    }

    .an-info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .an-header-container {
        padding: 0.75rem 1rem;
    }

    .an-logo-ancco {
        height: 40px;
    }

    .an-slider-arrow {
        width: 50px;
        height: 50px;
    }

    .an-arrow-left {
        left: 1rem;
    }

    .an-arrow-right {
        right: 1rem;
    }

    .an-slider-dots {
        bottom: 1rem;
    }

    .an-cta-buttons {
        flex-direction: column;
    }

    .an-btn {
        width: 100%;
    }

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

    .an-floating-info {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .an-info-icon {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .an-main-title {
        font-size: 1.8rem;
    }

    .an-subtitle {
        font-size: 1rem;
    }

    .an-comparison-title {
        font-size: 1.5rem;
    }

    .an-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .an-vs-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .an-logo-ancco {
        height: 35px;
    }

    .an-features-grid {
        grid-template-columns: 1fr;
    }
}
