/* ========== style.css ========== */

/* 
   VIAVENDO.AI - Futuristic Style Guide 
   Theme: Vectorbeams, Sci-Fi, Flatbed Plotter
*/

:root {
    /* Primary Colors */
    --viavendo-orange: #ff6f05;
    --viavendo-dark: #29383d;
    
    /* Secondary / Accents */
    --viavendo-orange-light: #ff8c37;
    --viavendo-orange-dark: #e66405;
    
    --viavendo-cyan: #33b9cf;
    --viavendo-cyan-dark: #00a8c3;
    
    --viavendo-grey-light: #546064;
    --viavendo-grey-dark: #1d4c5b;
    
    /* Backgrounds */
    --bg-dark: #1a2326;
    --bg-darker: #12181a;
    
    /* Text */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* Effects */
    --glow-orange: 0 0 10px rgba(255, 111, 5, 0.6);
    --glow-cyan: 0 0 10px rgba(51, 185, 207, 0.6);
    --border-tech: 1px solid rgba(51, 185, 207, 0.3);
}

@font-face {
    font-family: 'Neuropol X';
    src: local('Arial'); /* Fallback to system font since external fonts are not allowed */
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Fallback body font */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Neuropol X', 'Orbitron', sans-serif; /* Fallback to Orbitron if available or sans-serif */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

h1 {
    color: var(--viavendo-orange);
    text-shadow: var(--glow-orange);
}

h2 {
    color: var(--viavendo-cyan);
    border-bottom: 2px solid var(--viavendo-orange);
    display: inline-block;
    padding-bottom: 5px;
}

a {
    color: var(--viavendo-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--viavendo-orange);
    text-shadow: var(--glow-orange);
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* --- Neural Nebula Background --- */
.bg-neural {
    background-color: #05080a;
    position: relative;
    /* Ensure background stays fixed during scroll if desired, or covers full height */
    min-height: 100vh; 
}

.bg-neural::before {
    content: '';
    position: fixed; /* Fixed to viewport so it doesn't scroll away */
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(51, 185, 207, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255, 111, 5, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(10, 20, 25, 1) 0%, transparent 100%);
    filter: blur(80px);
    z-index: -2;
    animation: nebula-breathe 10s ease-in-out infinite alternate;
}

.bg-neural::after {
    content: '';
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: noise-shift 30s linear infinite;
}

@keyframes nebula-breathe {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes noise-shift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

/* --- Background Grid Effect (Vectorbeams style) --- */
.bg-grid {
    background-color: #1a2326; /* Solid dark background to block neural nebula */
    background-image: 
        linear-gradient(rgba(51, 185, 207, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    position: relative;
    z-index: 1; /* Ensure it sits above the fixed neural background */
}

/* --- Header --- */
header {
    background: linear-gradient(180deg, rgba(10, 15, 20, 0.95) 0%, rgba(10, 15, 20, 0.8) 100%);
    border-bottom: 1px solid rgba(51, 185, 207, 0.3);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.05) inset, /* Top highlight */
        0 -1px 10px rgba(51, 185, 207, 0.1) inset; /* Bottom glow */
    padding: 15px 0; /* Slightly slimmer */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), transparent);
    box-shadow: 0 0 10px var(--viavendo-cyan);
    opacity: 0.7;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Neuropol X', sans-serif;
    font-size: 24px;
    color: var(--text-main);
}

.logo span {
    background: linear-gradient(135deg, var(--viavendo-orange) 0%, var(--viavendo-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-img {
    display: block; /* Removes bottom space of inline images */
}

.ai-label {
    font-size: 10px;
    color: var(--viavendo-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
    font-family: 'Segoe UI', sans-serif;
    opacity: 0.8;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--viavendo-cyan);
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: var(--viavendo-cyan);
    text-shadow: 0 0 8px rgba(51, 185, 207, 0.6);
}

.lang-switcher {
    margin-left: 20px;
    border-left: 1px solid var(--viavendo-grey-light);
    padding-left: 20px;
    color: var(--text-muted);
}

.lang-switcher a {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 2px;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--viavendo-orange);
    text-shadow: var(--glow-orange);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 20, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        border-bottom: 1px solid var(--viavendo-cyan);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--viavendo-grey-light);
        padding-top: 15px;
        width: 80%;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .lang-switcher a {
        font-size: 14px;
        padding: 5px;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Changed to flex-end to keep bottom content at bottom */
    padding: 160px 2rem 20px; /* 20px bottom padding */
    background: transparent; /* Allow grid to show through */
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--viavendo-cyan) 0%, transparent 70%);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.08; }
}

.hero-content-top {
    position: absolute;
    bottom: 40%;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-content-bottom {
    position: relative;
    max-width: 1200px;
    text-align: center;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-logo {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--viavendo-orange) 0%, var(--viavendo-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Neuropol X', sans-serif;
}

.hero h1 {
    font-size: 1.5rem; /* Reduced by ~50% from original 3.5rem (was 2.5rem) */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0; /* Removed margin since we use gap in flex container */
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-family: 'Segoe UI', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--viavendo-cyan) 0%, #0099cc 100%);
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(51, 185, 207, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(51, 185, 207, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--viavendo-cyan);
}

.btn-secondary:hover {
    background: var(--viavendo-cyan);
    transform: translateY(-2px);
}

/* Service Pills */
.service-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pill {
    padding: 0.8rem 1.5rem;
    background: rgba(26, 35, 38, 0.8);
    border: 1px solid rgba(51, 185, 207, 0.2);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pill:hover {
    border-color: var(--viavendo-cyan);
    color: var(--viavendo-cyan);
    transform: translateY(-2px);
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(41, 56, 61, 0.4);
    border: 1px solid var(--viavendo-grey-dark);
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.svg-icon {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.feature-card:hover .svg-icon {
    filter: drop-shadow(0 0 8px var(--viavendo-orange));
    transform: scale(1.1);
}

/* --- Vision Section --- */
.vision-section {
    position: relative;
    background-color: #05080a; /* Base color */
    /* Subtle Blueprint Grid Pattern */
    background-image: 
        linear-gradient(rgba(51, 185, 207, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
    padding: 120px 0;
}

/* Dark Overlay with Gradient Fade */
.vision-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Fade to blend image into background */
    background: linear-gradient(to bottom, rgba(5, 8, 10, 0.1) 0%, rgba(5, 8, 10, 0.8) 60%, #05080a 100%);
    z-index: 1; /* Above image */
    pointer-events: none;
}

/* The Future Image (Floating with Glow) */
.vision-section::after {
    content: '';
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 80%; /* Relative height */
    background-image: url('../images/setting/viavendo_future.jpg');
    background-size: cover;
    background-position: center center;
    border-radius: 60px; /* Rounded corners */
    /* Inner glow (inset) + Outer glow */
    box-shadow: inset 0 0 100px rgba(51, 185, 207, 0.8), 0 0 100px rgba(51, 185, 207, 0.6);
    z-index: 0; /* Behind overlay */
    opacity: 0.8; /* Slightly transparent to blend better */
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-main);
    position: relative;
    z-index: 2; /* Above overlay */
    padding: 30px;
    
    /* Simple Clean Glass */
    background: rgba(18, 24, 26, 0.3);
    
    border: 1px solid rgba(51, 185, 207, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    backdrop-filter: blur(3px);
    border-radius: 8px;
}

/* Removed heavy animated borders and corners for a cleaner look */

/* --- Footer --- */
footer {
    background-color: var(--bg-darker);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--viavendo-orange);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- AI Team Section --- */
.agent-showcase {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.agent-card {
    display: flex;
    background: rgba(41, 56, 61, 0.6);
    border: 1px solid var(--viavendo-cyan);
    border-radius: 10px;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(51, 185, 207, 0.1);
    transition: transform 0.3s;
    
    /* Electric Materialize Effect */
    animation: electric-materialize 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0; /* Start invisible */
}

@keyframes electric-materialize {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
        filter: brightness(3) hue-rotate(180deg) blur(5px);
        box-shadow: 0 0 50px var(--viavendo-cyan);
        border-color: #fff;
    }
    10% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
        filter: brightness(2) hue-rotate(90deg) blur(0);
        border-color: var(--viavendo-cyan);
    }
    20% {
        transform: scale(0.95) skewX(-5deg);
        box-shadow: 0 0 30px var(--viavendo-orange), inset 0 0 20px var(--viavendo-cyan);
    }
    30% {
        transform: scale(1.02) skewX(3deg);
        filter: brightness(1.5);
    }
    40% {
        transform: scale(1) skewX(0);
        box-shadow: 0 0 20px rgba(51, 185, 207, 0.5);
    }
    60% {
        box-shadow: 0 0 40px rgba(51, 185, 207, 0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 20px rgba(51, 185, 207, 0.1);
    }
}

.agent-card:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-cyan);
}

.agent-visual {
    background: linear-gradient(135deg, var(--viavendo-dark), var(--bg-dark));
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--viavendo-grey-dark);
    min-width: 200px;
}

.agent-avatar {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 10px var(--viavendo-cyan));
}

.agent-info {
    padding: 40px;
    text-align: left;
}

.agent-info h3 {
    color: var(--viavendo-orange);
    margin-top: 0;
    font-size: 1.8rem;
}

.agent-role {
    display: inline-block;
    background: rgba(51, 185, 207, 0.1);
    color: var(--viavendo-cyan);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(51, 185, 207, 0.3);
}

.agent-info p {
    color: var(--text-main);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .agent-card {
        flex-direction: column;
    }
    .agent-visual {
        border-right: none;
        border-bottom: 1px solid var(--viavendo-grey-dark);
    }
}

/* --- Animations --- */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 111, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0); }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

/* --- Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-main {
    display: inline-block;
    background-color: var(--viavendo-orange);
    color: #fff;
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-main:hover {
    background-color: var(--viavendo-orange-light);
    color: #fff;
    box-shadow: var(--glow-orange);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--viavendo-cyan);
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--viavendo-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(51, 185, 207, 0.1);
    box-shadow: var(--glow-cyan);
    color: #fff;
}

/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(0, 41, 60, 0.98) 0%, rgba(0, 20, 30, 0.98) 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid rgba(236, 110, 30, 0.3);
    border-radius: 12px;
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
    overflow: hidden;
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: rgba(236, 110, 30, 0.1);
    border-bottom: 2px solid rgba(236, 110, 30, 0.3);
}

.modal-header h2 {
    margin: 0;
    color: #EC6E1E;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Neuropol X', sans-serif;
    text-shadow: none;
    border: none;
}

.close-modal {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #EC6E1E;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

/* Tabs */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: #EC6E1E;
    border-bottom: 2px solid #EC6E1E;
    background: rgba(236, 110, 30, 0.05);
}

/* --- Flow Diagram --- */
.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--viavendo-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); /* Make icons white if they aren't */
}

.step-icon .icon-fallback {
    display: none; /* Only show if img fails */
    font-family: 'Neuropol X', sans-serif;
    font-size: 24px;
    color: var(--viavendo-cyan);
}

.flow-step:hover .step-icon {
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.pulse-border {
    animation: pulse-border 2s infinite;
    border-color: var(--viavendo-orange);
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 111, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0); }
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--viavendo-grey-light);
    width: 60px;
    position: relative;
}

.arrow-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), transparent);
    width: 100%;
    animation: flow-anim 2s infinite linear;
    background-size: 200% 100%;
}

.arrow-head {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--viavendo-cyan);
    margin-left: -2px;
}

@keyframes flow-anim {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* --- Agents Grid (New) --- */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.agent-grid-card {
    display: flex;
    flex-direction: row;
    background: rgba(41, 56, 61, 0.4);
    border: 1px solid var(--viavendo-grey-dark);
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    transition: transform 0.3s, border-color 0.3s;
}

.agent-grid-card:hover {
    transform: translateY(-5px);
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
}

.agent-grid-avatar {
    width: 120px;
    height: 100%;
    object-fit: cover;
    border-right: 1px solid var(--viavendo-grey-dark);
}

.agent-grid-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.agent-grid-info h3 {
    font-size: 1.1rem;
    color: var(--viavendo-orange);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.agent-grid-role {
    display: block;
    font-size: 0.8rem;
    color: var(--viavendo-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-grid-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-main {
    display: inline-block;
    background-color: var(--viavendo-orange);
    color: #fff;
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-main:hover {
    background-color: var(--viavendo-orange-light);
    color: #fff;
    box-shadow: var(--glow-orange);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--viavendo-cyan);
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--viavendo-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(51, 185, 207, 0.1);
    box-shadow: var(--glow-cyan);
    color: #fff;
}

/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-darker);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--viavendo-cyan);
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px rgba(51, 185, 207, 0.2);
    text-align: center;
}

/* HUD Corners for Modal */
.modal-content::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--viavendo-orange);
    border-left: 2px solid var(--viavendo-orange);
}
.modal-content::after {
    content: '';
    position: absolute;
    bottom: -2px; right: -2px;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--viavendo-orange);
    border-right: 2px solid var(--viavendo-orange);
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--viavendo-orange);
    text-decoration: none;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- Flow Diagram --- */
.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--viavendo-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); /* Make icons white if they aren't */
}

.step-icon .icon-fallback {
    display: none; /* Only show if img fails */
    font-family: 'Neuropol X', sans-serif;
    font-size: 24px;
    color: var(--viavendo-cyan);
}

.flow-step:hover .step-icon {
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.pulse-border {
    animation: pulse-border 2s infinite;
    border-color: var(--viavendo-orange);
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 111, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0); }
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--viavendo-grey-light);
    width: 60px;
    position: relative;
}

.arrow-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), transparent);
    width: 100%;
    animation: flow-anim 2s infinite linear;
    background-size: 200% 100%;
}

.arrow-head {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--viavendo-cyan);
    margin-left: -2px;
}

@keyframes flow-anim {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Agents Grid --- */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.agent-grid-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(51, 185, 207, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.agent-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 185, 207, 0.15);
    border-color: var(--viavendo-cyan);
}

.agent-grid-avatar {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 20px;
    margin-bottom: 0;
    border: 3px solid var(--viavendo-cyan);
    flex-shrink: 0;
}

.agent-grid-info {
    flex: 1;
}

.agent-grid-info h3 {
    color: var(--viavendo-cyan);
    margin-bottom: 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.agent-grid-role {
    display: block;
    color: var(--viavendo-orange);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-grid-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Cooperation Network Section --- */
.cooperation-network {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for the visualization */
    margin: 0 auto;
    max-width: 1000px;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.connection-line {
    stroke: var(--viavendo-orange);
    stroke-width: 2;
    stroke-dasharray: 10, 10;
    animation: dash-move 30s linear infinite;
    opacity: 0.6;
}

.connection-line-dashed {
    stroke: var(--viavendo-cyan);
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    animation: dash-move 40s linear infinite reverse;
    opacity: 0.5;
}

@keyframes dash-move {
    to {
        stroke-dashoffset: -1000;
    }
}

.network-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    transition: transform 0.3s ease;
}

.network-node:hover {
    transform: translate(-50%, -50%) scale(1.1) !important; /* Override inline transform for scale */
    z-index: 2;
}

.node-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 35, 38, 0.9);
    border: 2px solid var(--viavendo-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.network-node:hover .node-icon {
    border-color: var(--viavendo-cyan);
    box-shadow: 0 0 20px rgba(51, 185, 207, 0.4);
    background: var(--bg-darker);
}

.node-label {
    font-family: 'Neuropol X', sans-serif;
    font-size: 0.9rem;
    color: var(--viavendo-cyan);
    background: rgba(10, 21, 32, 0.9); /* Tech Blue Background */
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(51, 185, 207, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.network-node:hover .node-label {
    color: #fff;
    background: rgba(51, 185, 207, 0.2);
    border-color: var(--viavendo-cyan);
    box-shadow: 0 0 15px rgba(51, 185, 207, 0.4);
}

/* Center Node Special Styling */
.node-center .node-icon-large {
    width: 120px;
    height: 120px;
    border: 3px solid var(--viavendo-orange);
    border-radius: 20px; /* Rounded square like in image */
    padding: 5px;
    background: rgba(26, 35, 38, 0.8);
    box-shadow: 0 0 30px rgba(255, 111, 5, 0.3);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.node-center:hover .node-icon-large {
    box-shadow: 0 0 50px rgba(255, 111, 5, 0.6);
    transform: scale(1.05);
}

.node-label-large {
    font-family: 'Neuropol X', sans-serif;
    font-size: 1.2rem;
    color: var(--viavendo-orange);
    background: rgba(10, 21, 32, 0.9);
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 111, 5, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cooperation-network {
        height: 500px;
        transform: scale(0.8);
    }
    .node-label {
        font-size: 0.8rem;
    }
}

/* --- Background Effects (Futuristic 2300) --- */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: transparent; /* Removed solid background to show Neural Nebula */
}

/* Grid Overlay - Removed to clear view for Nebula */
.bg-effects::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 20s infinite alternate ease-in-out;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--viavendo-cyan);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--viavendo-orange);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
    opacity: 0.3;
}

.glow-orb-3 {
    width: 300px;
    height: 300px;
    background: #7b2cbf; /* Deep Purple for contrast */
    top: 40%;
    left: 60%;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
    100% { transform: translate(-20px, -30px) scale(0.9); }
}

/* Laser Lines */
.bg-effects .line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #33b9cf, transparent);
    height: 2px;
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    box-shadow: 0 0 10px #33b9cf, 0 0 20px #33b9cf;
}

/* Vertical lines variant */
.bg-effects .line:nth-child(n+6) { /* Targeting lines 2 and 4 (indices shifted by orbs) */
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ff6f05, transparent);
    transform: translateY(-100%);
    top: 0;
    box-shadow: 0 0 10px #ff6f05, 0 0 20px #ff6f05;
}

/* Specific Line Animations - DISABLED for Neural Nebula look */
.bg-effects .line-1,
.bg-effects .line-2,
.bg-effects .line-3,
.bg-effects .line-4 {
    display: none;
}

/* 
.bg-effects .line-1 {
    top: 15%;
    animation: scan-horizontal 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 2s;
}
... (rest of lines commented out)
*/

@keyframes scan-horizontal {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes scan-vertical {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* --- Year 3000 Background (AI Team Section) --- */
.bg-year-3000 {
    position: relative;
    background-color: #05080a; /* Base color */
    /* Subtle Blueprint Grid Pattern */
    background-image: 
        linear-gradient(rgba(51, 185, 207, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
}

/* Dark Overlay with Gradient Fade (Vertical only) */
.bg-year-3000::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Vertical fade to blend bottom of image into background */
    /* Reduced darkness at the top to make image more visible */
    background: linear-gradient(to bottom, rgba(5, 8, 10, 0.3) 0%, rgba(5, 8, 10, 0.85) 60%, #05080a 100%);
    z-index: 1; /* Above image */
    pointer-events: none;
}

/* The Future Screen Image (Floating with Glow) */
.bg-year-3000::after {
    content: '';
    position: absolute;
    top: 100px; /* Moved down to clear header */
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Increased width */
    max-width: 1400px;
    height: 70vh; /* Responsive height */
    min-height: 500px;
    background-image: url('../images/setting/viavendo_future_screen.jpg');
    background-size: cover;
    background-position: center center; /* Center content */
    border-radius: 30px; /* Rounded all corners */
    /* Inner glow (inset) + Outer glow */
    box-shadow: inset 0 0 100px rgba(51, 185, 207, 0.8), 0 0 100px rgba(51, 185, 207, 0.6);
    opacity: 0.6; /* Increased opacity */
    z-index: 0; /* Behind overlay */
}

/* Top Energy Border */
.bg-year-3000 .container {
    position: relative;
    z-index: 1;
}

.bg-year-3000-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), transparent);
    box-shadow: 0 0 15px var(--viavendo-cyan);
}

/* --- Blueprint Background (Cooperation Section) --- */
.bg-blueprint {
    background-color: #05080a; /* Darker background (was #0a1520) */
    background-image: 
        linear-gradient(rgba(51, 185, 207, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(51, 185, 207, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: center center;
    position: relative;
}

/* Vignette & Glow - REMOVED per user request (no gas cloud) */
/*
.bg-blueprint::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 20%, #0a1520 90%);
    z-index: 0;
    pointer-events: none;
}
*/

/* Subtle Blueprint Scan Lines */
.blueprint-lines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blueprint-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 185, 207, 0.3), transparent);
    opacity: 0;
    box-shadow: 0 0 4px rgba(51, 185, 207, 0.2);
}

.blueprint-line.line-1 {
    animation: blueprint-scan-move 10s linear infinite;
}

.blueprint-line.line-2 {
    animation: blueprint-scan-move 15s linear infinite;
    animation-delay: 5s;
}

.blueprint-line.line-3 {
    animation: blueprint-scan-move 12s linear infinite;
    animation-delay: 2s;
}

@keyframes blueprint-scan-move {
    0% { top: -5%; opacity: 0; }
    15% { opacity: 0.4; }
    85% { opacity: 0.4; }
    100% { top: 105%; opacity: 0; }
}
/* --- Feature Pills (Glass Shine Effect) --- */
.feature-pill {
    display: inline-block;
    background: rgba(51, 185, 207, 0.15);
    border: 1px solid var(--viavendo-cyan);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-main);
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(51, 185, 207, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    box-shadow: 0 0 25px rgba(51, 185, 207, 0.6);
    transform: translateY(-2px);
    background: rgba(51, 185, 207, 0.25);
}

/* Shine Animation */
.feature-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine-sweep 3s infinite;
    animation-delay: var(--shine-delay, 0s);
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -150%; opacity: 0; }
    10% { opacity: 1; }
    20% { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

/* --- Pricing Section --- */
#pricing {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1a2326 0%, #000 100%);
    overflow: hidden;
}

#pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(rgba(51, 185, 207, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 185, 207, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px); }
}

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

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

.pricing-card {
    background: rgba(26, 35, 38, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 185, 207, 0.3);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--viavendo-cyan);
    box-shadow: 0 0 50px rgba(51, 185, 207, 0.4);
    background: rgba(26, 35, 38, 0.8);
}

.pricing-card.featured {
    border-color: var(--viavendo-orange);
    box-shadow: 0 0 40px rgba(255, 111, 5, 0.25);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    box-shadow: 0 0 60px rgba(255, 111, 5, 0.5);
    transform: scale(1.08) translateY(-10px);
}

.pricing-header {
    margin-bottom: 30px;
    text-align: center;
}

.price-tag {
    font-family: 'Neuropol X', sans-serif;
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--viavendo-cyan);
}

.pricing-card.featured .pricing-features li::before {
    color: var(--viavendo-orange);
}

.pricing-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background: transparent;
    border: 1px solid var(--viavendo-cyan);
    color: var(--viavendo-cyan);
    border-radius: 5px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-btn:hover {
    background: var(--viavendo-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
}

.pricing-card.featured .pricing-btn {
    border-color: var(--viavendo-orange);
    color: var(--viavendo-orange);
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--viavendo-orange);
    color: var(--bg-dark);
    box-shadow: var(--glow-orange);
}

.pricing-notes {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--viavendo-cyan) 0%, var(--viavendo-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: var(--text-main);
    box-shadow: var(--glow-cyan);
}

.step h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-tech);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: var(--viavendo-cyan);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Feature List (Why Section) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-tech);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--viavendo-cyan);
    min-width: 40px;
}

.feature-item h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* --- New Sections Styles (Core Services, etc.) --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-main);
    font-family: 'Neuropol X', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Reduced min-width to allow 4 columns side-by-side */
    gap: 1.5rem; /* Slightly reduced gap to help fit 4 columns */
    margin-top: 3rem;
}

.service-card {
    background: rgba(26, 35, 38, 0.8);
    border: 1px solid rgba(51, 185, 207, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--viavendo-cyan) 0%, var(--viavendo-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--viavendo-cyan);
    box-shadow: 0 10px 40px rgba(51, 185, 207, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--viavendo-cyan);
    font-family: 'Neuropol X', sans-serif;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--viavendo-cyan);
    font-weight: bold;
}

/* Feature List Update */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: transparent; /* Override previous style */
    border: none; /* Override previous style */
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--viavendo-cyan);
    min-width: 40px;
}

.feature-item h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Neuropol X', sans-serif;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.star {
    color: var(--viavendo-orange);
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.contact-card h3 {
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.contact-info {
    margin: 1rem 0;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.contact-info a {
    color: var(--primary-cyan);
    text-decoration: none;
}

/* --- Scroll Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.agent-grid-card:nth-child(odd) { transition-delay: 0.1s; }
.agent-grid-card:nth-child(even) { transition-delay: 0.2s; }

.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }

/* Typewriter Effect */
.typewriter-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--viavendo-cyan);
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Navigation Animation */
.nav-links li {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.nav-links li.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cooperation Section Animation */
.network-node {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) !important; /* Keep translate for positioning */
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.network-node.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) !important;
}

.network-lines {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

.network-lines.visible {
    opacity: 1;
}


/* --- JS Triggered Hover Effects --- */
.service-card.hover-active {
    transform: translateY(-5px);
    border-color: var(--viavendo-cyan);
    box-shadow: 0 10px 40px rgba(51, 185, 207, 0.15);
}
.service-card.hover-active::before {
    transform: scaleX(1);
}

.agent-grid-card.hover-active {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 185, 207, 0.15);
    border-color: var(--viavendo-cyan);
}



/* ========== style_append.css ========== */


/* --- Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-main {
    display: inline-block;
    background-color: var(--viavendo-orange);
    color: #fff;
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-main:hover {
    background-color: var(--viavendo-orange-light);
    color: #fff;
    box-shadow: var(--glow-orange);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--viavendo-cyan);
    padding: 15px 30px;
    font-family: 'Neuropol X', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--viavendo-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(51, 185, 207, 0.1);
    box-shadow: var(--glow-cyan);
    color: #fff;
}

/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-darker);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--viavendo-cyan);
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px rgba(51, 185, 207, 0.2);
    text-align: center;
}

/* HUD Corners for Modal */
.modal-content::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--viavendo-orange);
    border-left: 2px solid var(--viavendo-orange);
}
.modal-content::after {
    content: '';
    position: absolute;
    bottom: -2px; right: -2px;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--viavendo-orange);
    border-right: 2px solid var(--viavendo-orange);
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--viavendo-orange);
    text-decoration: none;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- Flow Diagram --- */
.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--viavendo-grey-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); /* Make icons white if they aren't */
}

.step-icon .icon-fallback {
    display: none; /* Only show if img fails */
    font-family: 'Neuropol X', sans-serif;
    font-size: 24px;
    color: var(--viavendo-cyan);
}

.flow-step:hover .step-icon {
    border-color: var(--viavendo-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.pulse-border {
    animation: pulse-border 2s infinite;
    border-color: var(--viavendo-orange);
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 111, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 111, 5, 0); }
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--viavendo-grey-light);
    width: 60px;
    position: relative;
}

.arrow-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), transparent);
    width: 100%;
    animation: flow-anim 2s infinite linear;
    background-size: 200% 100%;
}

.arrow-head {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--viavendo-cyan);
    margin-left: -2px;
}

@keyframes flow-anim {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Agents Grid --- */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.agent-grid-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(51, 185, 207, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.agent-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 185, 207, 0.15);
    border-color: var(--viavendo-cyan);
}

.agent-grid-avatar {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 20px;
    margin-bottom: 0;
    border: 3px solid var(--viavendo-cyan);
    flex-shrink: 0;
}

.agent-grid-info {
    flex: 1;
}

.agent-grid-info h3 {
    color: var(--viavendo-cyan);
    margin-bottom: 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.agent-grid-role {
    display: block;
    color: var(--viavendo-orange);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-grid-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}


