/* Landing Page Specific Styles */
:root {
    --landing-bg: #0a1a27;
    --landing-text: #f9f9fa;
    --landing-accent: #22d3ee; /* Teal tecnológico */
    --landing-secondary: #9ca3af;
}

body.landing-page {
    background-color: var(--landing-bg);
    color: var(--landing-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    /* Wall of Fire: Subtle bottom heat glow */
    background-image: radial-gradient(circle at 50% 120%, rgba(255, 95, 86, 0.15), rgba(10, 14, 39, 0) 50%);
}

/* Navbar */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 10%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(37, 3, 161, 0.1);
    /* Increased transparency */
    backdrop-filter: blur(12px);
    /* Keep blur for glass effect */
    z-index: 100;
    border-bottom: 1px solid rgba(1, 196, 255, 0.4);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
}

.landing-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav-link:hover {
    color: white;
}

.btn-landing {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-landing-ghost {
    color: white;
    background: transparent;
    margin-right: 1rem;
}

.btn-landing-ghost:hover {
    color: var(--landing-accent);
}

.btn-landing-primary {
    background: #05879e;
    color: white;
}

.btn-landing-primary:hover {
    background: #272727;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 180px 2rem 100px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 159, 67, 0.1);
    border: 1px solid rgba(255, 159, 67, 0.2);
    border-radius: 30px;
    color: var(--landing-accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    /* Fire Gradient: Yellow Core -> Orange Body -> Red Tip */
    background: linear-gradient(135deg, #07ffff 0%, #0394ad 50%, #02a4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--landing-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.btn-hero {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.btn-hero-primary {
    background: var(--landing-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(67, 164, 255, 0.4);
}

.btn-hero-primary:hover {
    background: #232425;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features/Bento Grid */
.features-container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, background 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 159, 67, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.card-description {
    color: var(--landing-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
    margin-top: 4rem;
    background: #060918;
    color: var(--landing-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 0 2rem 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-desc {
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: var(--landing-secondary);
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--landing-accent);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--landing-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--landing-accent);
    transform: translateX(5px);
}

/* Contact Column */
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--landing-accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #040611;
    padding: 1.5rem 2rem;
    width: 100%;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.footer-copyright,
.footer-bottom-links {
    font-size: 0.9rem;
    color: var(--landing-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--landing-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }

    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand-col {
        grid-column: span 1;
    }

    .landing-nav-links {
        display: none;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        width: 100%;
    }
}

/* Wall of Fire Effect */
.firewall-border {
    position: relative;
    border: 1px solid rgba(86, 201, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(2, 51, 92, 0.1), inset 0 0 20px rgba(255, 95, 86, 0.05) !important;
}

.firewall-border::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    box-shadow: 0 0 15px rgba(67, 164, 255, 0.3);
    opacity: 0.5;
    z-index: -1;
    animation: firePulse 3s infinite alternate;
}

@keyframes firePulse {
    0% {
        box-shadow: 0 0 15px rgba(67, 180, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 25px rgba(86, 179, 255, 0.4);
    }
}

/* Expert Solutions Section */
.expert-section {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-header {
    text-align: center;
    margin-bottom: 4rem;
}

.expert-label {
    display: block;
    color: var(--landing-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.expert-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.expert-subtitle {
    font-size: 1.1rem;
    color: var(--landing-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.expert-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expert-visual-wrapper {
    position: relative;
    height: 500px;
}

.expert-img-main {
    position: absolute;
    top: 0;
    left: 40px;
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.expert-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 60%;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    background: #0a0e27;
    border: 8px solid #0a0e27;
    /* Creates spacing effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.expert-img-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-stat-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #25bdeb 0%, #3be0f6 100%);
    padding: 2rem;
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    z-index: 3;
    max-width: 200px;
}

.expert-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.expert-stat-label {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.expert-text {
    padding-right: 2rem;
}

.expert-desc {
    color: var(--landing-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.expert-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.expert-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.expert-checklist i {
    color: var(--landing-accent);
    /* Use orange for check marks */
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .expert-content {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .expert-visual-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .expert-text {
        padding-right: 0;
        text-align: center;
    }

    .expert-checklist {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .expert-title {
        font-size: 2.5rem;
    }

    .expert-visual-wrapper {
        height: 400px;
    }

    .expert-stat-badge {
        padding: 1.5rem;
        right: -10px;
    }

    .expert-stat-number {
        font-size: 2rem;
    }
}

/* Integration Section */
.integration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: left;
    padding: 0 1rem;
}

.integration-info {
    padding-left: 1rem;
}

.integration-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.integration-desc {
    font-size: 1.1rem;
    color: var(--landing-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    /* Vertical alignment */
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tech-icon {
    font-size: 2rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    color: white;
    /* Icons become white on hover */
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .integration-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .integration-info {
        padding-left: 0;
        margin-top: 3rem;
    }

    .tech-stack {
        justify-content: center;
    }
}

/* Monitoring Section */
.monitoring-section {
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.monitoring-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--landing-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.monitoring-features {
    list-style: none;
    padding: 0;
}

.monitoring-features li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.monitoring-features i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-accent);
    font-size: 1.25rem;
}

.monitoring-features strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.monitoring-features p {
    color: var(--landing-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Visual Effects */
.monitoring-visual {
    position: relative;
}

.monitor-screen-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.monitor-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(37, 99, 235, 0.1) 50%, rgba(37, 99, 235, 0) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: scan 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.monitor-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

@keyframes scan {
    0% {
        background-position: 0% -100%;
    }

    100% {
        background-position: 0% 200%;
    }
}

@media (max-width: 992px) {
    .monitoring-container {
        grid-template-columns: 1fr;
    }

    .monitoring-visual {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* Hero Slider Styles (Moved from index.html) */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    z-index: 0;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 40px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 14, 39, 0.7) 0%, rgba(10, 14, 39, 0.35) 100%);
    z-index: 1;
}

/* Layout overrides for full-width slider */
.hero-section {
    position: relative;
    overflow: hidden;
    /* Ensure slider doesn't overflow */
    max-width: 100% !important;
    /* Force full width for section */
    margin: 0 !important;
}

/* Wrapper for content to keep it centered */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Slider Styles */
.hero-text-slider {
    position: relative;
    min-height: 300px;
    /* Reserve space to prevent layout jumps/shifts */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
}

.hero-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    pointer-events: none;
    /* Prevent clicks on hidden slides */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-slide.active {
    position: relative;
    /* Make the active one take up flow space */
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* =========================================================================
   Cookie Banner Styles (Impactful & Responsive)
   ========================================================================= */
.cookie-banner {
    position: fixed;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;

    /* Glassmorphism & Impact */
    background: rgba(22, 27, 51, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(46, 130, 255, 0.1);

    border-radius: 16px;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 30px;
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 25px;
    color: white;
}

.cookie-icon {
    font-size: 2.5rem;
    color: #ffbd2e;
    /* Gold value */
    background: rgba(255, 189, 46, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(46, 112, 255, 0.2);
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.cookie-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-text a {
    color: #ffbd2e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(255, 189, 46, 0.5);
    transition: all 0.2s;
}

.cookie-text a:hover {
    color: #ffcf70;
    border-bottom-style: solid;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-self: center;
    /* Center vertically relative to text if wrapping */
    margin-left: 20px;
}

/* Improve Buttons */
.cookie-actions .btn-landing {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-actions #btn-decline-cookies {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.cookie-actions #btn-decline-cookies:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-actions #btn-accept-cookies {
    /* Vibrant Gradient Orange */
    background: linear-gradient(135deg, #05879e 0%, #56ebff 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(86, 230, 255, 0.4);
}

.cookie-actions #btn-accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 230, 255, 0.6);
    filter: brightness(1.1);
}

/* Responsiveness */
@media (max-width: 768px) {
    .cookie-banner {
        width: 95%;
        padding: 24px;
        bottom: -500px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .cookie-actions {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-actions .btn-landing {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}