/* 
====================================================================
   CYBERIX - CYBER SECURITY TEMPLATE CUSTOM STYLES
====================================================================
   Author: Antigravity Agent
   Theme: Cyber Security / Dark / Neon
==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('logo-carousel.css');
@import url('services-dashboard.css');
@import url('area-expertise.css');
@import url('about-section.css');
@import url('roi-section.css');
@import url('cta-section.css');
@import url('footer-section.css');

/* Override Icon Backgrounds to match Solutions section style (Cyan Glass) */
.icon-badge {
    background: rgba(0, 212, 255, 0.1) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: none !important;
}

.icon-badge i {
    color: #ffffff !important;
}

:root {
    /* --- Colors --- */
    --bg-dark: #020a11;
    /* Fundo principal bem escuro */
    --bg-card: #05111d;
    /* Fundo dos cards/seções */
    --bg-card-hover: #081a2b;

    --primary: #00d4ff;
    /* Ciano Neon - Principal */
    --primary-glow: rgba(0, 212, 255, 0.4);

    --secondary: #0055ff;
    /* Azul Profundo - Secundário */

    --text-main: #ffffff;
    --text-muted: #a0aec0;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 212, 255, 0.3);

    /* --- Typography --- */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* --- Spacing & Layout --- */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px 0;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.hero h1 span.fade-text {
    display: inline;
    /* Keep on same line flow or break naturally */
    color: #BABABA;
    /* Updated to requested light grey */
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial;
    background: none;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 4px;
}

.section-title {
    font-size: 3rem;
    /* Standardized Desktop Size */
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Buttons --- */
#solutions {
    background-color: #000E11;
    margin: 50px 50px 0 50px;
    border-radius: 3rem;
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
    /* Standardized padding */
}

#solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

#about .container {
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    /* Mais padding horizontal */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: none;
    /* Changed from capitalize to none */
    letter-spacing: 0.5px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.5);
    white-space: nowrap;
    /* IMPEDE QUEBRA DE LINHA NO BOTÃO */
    min-width: max-content;
    /* Garante largura para o texto */
    justify-content: center;
}

/* ... existing code ... */


.btn-primary {
    /* Fundo complexo para efeito de iluminação radial/neon */
    background: radial-gradient(60% 80% at 50% 0%, #4aeeff 0%, #138ea0 60%, #0d5f6b 100%);
    background-size: 200% 200%;
    color: #020a11;
    box-shadow: 0 0 20px rgba(19, 142, 160, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: radial-gradient(70% 90% at 50% 0%, #6affff 0%, #17a2b8 60%, #117a8b 100%);
    box-shadow: 0 0 35px rgba(19, 142, 160, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.header.scrolled {
    background: rgba(2, 10, 17, 0.85);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo-img {
    height: 70px;
    /* Altura controlada para o Header */
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

.header.scrolled .logo-img {
    height: 36px;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    position: relative;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

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

.header-action .btn {
    padding: 10px 24px;
    font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 400px;
    /* Reduzido de 600px */
    max-height: 850px;
    /* Reduzido de 900px */
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    padding-top: 80px;
    /* Compensar altura do header fixo */
}

.hero-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    /* Centraliza verticalmente o conteúdo */
    padding-bottom: 150px;
    /* Move o conteúdo para cima */
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: -200px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    /* Garante que o centro do vídeo seja o foco */
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 85, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        rgba(2, 10, 17, 0.85);
    /* Fundo original com transparência para ver o vídeo */
    z-index: -1;
}

/* Grid Background Effect */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

/* Hero Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ... existing code ... */

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 5rem;
    /* Increased size to match visual impact */
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2.5px;
    color: #ffffff;
    text-align: center;
    text-transform: none !important;
    /* Force sentence case */
}

/* ... existing code ... */

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
    justify-content: center;
}

/* Decorative Hero Element (Right Side) */
.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    background: url('hero-tech-bg.png') no-repeat center center / contain;
    /* Placeholder logic */
    z-index: 0;
    pointer-events: none;
    /* Simulate the globe/shield visual with CSS if no image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-globe {
    /* Simulação visual CSS */
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0.1;
    animation: rotate 10s linear infinite;
    position: relative;
}

.tech-globe::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: 50%;
}

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

    to {
        transform: rotate(360deg);
    }
}

/* --- Features Section --- */
.features {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.feature-card:hover .read-more i {
    transform: translateX(5px);
}

/* --- Solution/Services Section (Darker) --- */
.services-section {
    background: #01060a;
    padding: var(--section-padding);
}

/* --- Pricing Section --- */
.pricing {
    padding: var(--section-padding);
    background: url('https://image.freepik.com/free-vector/dark-tech-background_53876-92931.jpg') no-repeat center center / cover;
    /* Fallback pattern */
    background-blend-mode: overlay;
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
    /* Destacar o do meio */
}

.pricing-card {
    background: rgba(5, 17, 29, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    transition: 0.3s;
}

.pricing-card.popular {
    background: rgba(5, 25, 45, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.plan-name {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    display: block;
}

.plan-price sub {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    text-align: left;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.plan-features li {
    margin-bottom: 12px;
    color: #b0bdcc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--primary);
}

/* --- Stats/Trust Section Styles Removed (Replaced by Logo Carousel) --- */

/* --- Footer --- */
/* --- Footer --- */
/* Styles moved to footer-section.css */

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .nav-menu {
        display: none;
    }

    /* Mobile Menu Placeholder */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.0rem;
    }

    /* Header Logo Adjustment */
    .logo-img {
        height: 50px;
    }

    .header.scrolled .logo-img {
        height: 36px;
    }

    /* Hero Adjustments */
    .hero {
        text-align: center;
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
    }

    /* Solutions Section Margin Fix */
    #solutions {
        margin: 20px 0;
        border-radius: 0;
        /* Optional: remove radius on mobile if full width feels better, but user asked for margin specifically */
    }

    .stats-grid {
        flex-direction: column;
    }
}

/* --- Scroll Animations --- */
.section-title,
.feature-card,
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.4s;
}

.section-title.visible,
.feature-card.visible,
.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Floating Contact Button --- */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-contact-btn img {
    width: 24px;
    height: 24px;
}

.floating-contact-btn span {
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.floating-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}