/* DataPrice Final Refinement - System Design */
:root {
    --primary: #FF8C00;
    --primary-light: #FFA500;
    --dark: #000D1A;
    --dark-lighter: #011627;
    --text-white: #FFFFFF;
    --text-gray: #B0C4DE;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Elements */
.glow-element {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.08), transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.top-left {
    top: -200px;
    left: -200px;
}

.bottom-right {
    bottom: -200px;
    right: -200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Extensions */
.text-orange {
    color: var(--primary);
    display: inline-block;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

/* Header & Logo */
.header {
    background: rgba(0, 13, 26, 0.9);
    backdrop-filter: blur(15px);
    height: 85px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons Refined */
.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-header-orange {
    background: var(--primary);
    color: var(--dark) !important;
    /* Contraste absoluto: Texto escuro no Laranja */
    padding: 10px 24px;
    border: none;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-header-orange:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.5);
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 14px 34px;
    font-size: 1rem;
    border-radius: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 14px 34px;
    font-size: 1rem;
    border-radius: 8px;
}

.btn-hero-outline:hover {
    background: rgba(255, 140, 0, 0.05);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-login {
    font-weight: 600;
    color: var(--text-gray);
}

/* Hero Section */
.hero-clean {
    padding: 180px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.dashboard-mockup {
    background: var(--dark-lighter);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    height: 480px;
    width: 100%;
}

.mockup-header {
    background: #1e293b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
}

.mockup-url {
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 4px 40px;
}

/* Carousel Layout */
.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0f172a;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: contain;
    object-position: center top;
}

.carousel-slide.active {
    opacity: 1;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: white;
    color: var(--dark);
    padding: 15px 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Trusted Technologies Marquee - Full Width */
.trusted-bar {
    padding: 45px 0;
    /* Aumentado de 30px para 45px para dar respiro */
    background: rgba(1, 22, 39, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 2px solid rgba(255, 140, 0, 0.1);
    /* Destaque sutil na base */
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    padding-left: 80px;
}

.marquee-content span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-gray);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--primary);
}

.marquee-content i {
    font-size: 1.4rem;
    color: var(--primary);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 80px;
    /* Adicionado margin-top para afastar da barra trusted */
}

.features-clean {
    padding: 140px 0 100px;
    /* Aumentado o padding-top de 100px para 140px */
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1200px) {
    .features-grid-3 {
        gap: 20px;
    }

    .feature-item {
        padding: 25px;
    }
}

.feature-item {
    padding: 40px;
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.f-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.partnership-clean {
    padding: 120px 0;
    background: var(--dark-lighter);
}

.partnership-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    padding: 50px 40px;
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.partner-card.highlighted {
    border: 2px solid var(--primary);
}

.p-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
}

.p-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.p-list {
    list-style: none;
    margin: 30px 0;
}

.p-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.p-list i {
    color: var(--primary);
}

.philosophy-clean {
    padding: 120px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.phi-item {
    display: flex;
    gap: 24px;
    margin-top: 30px;
    align-items: flex-start;
}

.phi-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
    padding: 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    height: 65px;
}

.phi-text {
    list-style: none !important;
}

/* Reset de lista seguro - Remove o ponto sem quebrar ícones */
.phi-text,
.phi-text *,
.phi-text *::before,
.phi-text *::after {
    list-style: none !important;
    list-style-type: none !important;
}

/* Garantir que nada interfira nos ícones do Font Awesome */
.phi-text i {
    content: initial;
    /* Reset leve sem !important */
}

.phi-content-block {
    margin-top: 25px;
    margin-bottom: 40px;
}

.phi-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.4;
    display: block;
}

.phi-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    display: block;
    line-height: 1.6;
}

.phi-item-text h4 {
    margin-bottom: 5px;
}

.phi-item-text span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.phi-image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    background: var(--dark-lighter);
}

.phi-image-wrapper img {
    max-width: 100%;
    display: block;
    mix-blend-mode: screen;
    /* Integrar melhor ao fundo escuro */
}

.footer-clean {
    padding: 60px 0 30px;
    /* Reduzido de 80px para 60px no topo */
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .footer-top {
        gap: 40px;
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    /* Reduzido de 20px */
}

.logo-footer img {
    height: 38px !important;
    /* Tamanho fixo e forçado */
    width: auto !important;
}

.f-info p {
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-links h4,
.f-contact h4 {
    margin-bottom: 20px;
    color: var(--text-white);
    font-size: 1.1rem;
}

.f-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.f-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 25px;
    /* Reduzido de 30px */
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

@media (max-width: 1440px) {
    body {
        /* Técnica de escala global para garantir que o design premium mantenha sua proporção em notebooks */
        font-size: 15px;
    }

    .container {
        max-width: 1140px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 3rem !important;
        margin-bottom: 20px;
    }

    .hero-clean {
        padding: 140px 0 60px;
    }

    .dashboard-mockup {
        height: auto;
        aspect-ratio: 16 / 10.5;
        /* Mantém a proporção exata de um dashboard real */
        max-height: 450px;
    }

    .floating-badge {
        scale: 0.85;
        bottom: 20px;
        right: -10px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .hero-grid {
        gap: 25px;
    }

    .dashboard-mockup {
        max-height: 380px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }

    .hero-grid,
    .features-grid-3,
    .partnership-flex,
    .philosophy-grid,
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image,
    .floating-badge {
        display: none;
    }

    .hero-btns {
        justify-content: center;
    }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-gray);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary);
    font-size: 1.1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.05);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

.status-success {
    color: #4ade80;
}

.status-error {
    color: #f87171;
}

/* Mobile Menu & Responsiveness Refinements */
.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-icon:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .header .container {
        justify-content: space-between;
    }

    .mobile-menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: rgba(0, 13, 26, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 25px;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: slideInDown 0.4s ease forwards;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px;
        width: 100%;
    }

    .btn-header-orange {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* Hero Text Adjustments for Mobile */
    h1 {
        font-size: 2.2rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}