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

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

:root {
    /* Typography - Local Fonts */
    --font-display: 'Neuropol X', 'Orbitron', 'Rajdhani', sans-serif;
    --font-body: 'Montserrat', 'Open Sans', system-ui, -apple-system, sans-serif;

    /* 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;
    --cyan-deep: #0097b0;
    --teal-primary: #349eb5;
    --teal-dark: #0186a2;

    --viavendo-grey-light: #546064;
    --viavendo-grey-dark: #1d4c5b;
    --grey-dark: #253337;

    /* Backgrounds */
    --bg-dark: #0a1015;
    --bg-darker: #060a0e;
    --bg-secondary: #121a1f;
    --bg-card: rgba(41, 56, 61, 0.4);
    --border-color: rgba(51, 185, 207, 0.2);

    /* Text */
    --text-main: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.65);

    /* Effects */
    --glow-orange: 0 0 30px rgba(255, 111, 5, 0.4);
    --glow-cyan: 0 0 30px rgba(51, 185, 207, 0.4);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
    --border-tech: 1px solid rgba(51, 185, 207, 0.2);

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Montserrat - Local Variable Font (latin-ext) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/montserrat/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Montserrat - Local Variable Font (latin) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/montserrat/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Orbitron - Local Variable Font (latin) */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/orbitron/orbitron-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Neuropol X';
    src: local('Orbitron'); /* Fallback to Orbitron which is now loaded locally */
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    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 var(--transition-normal);
}

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;
    scroll-margin-top: 80px;
}

/* --- 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: #0a1015; /* Darker background matching sales-coach.ai */
    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;
}

/* --- Header --- */
header {
    background: rgba(10, 16, 21, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

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

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

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
}

.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-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(51, 185, 207, 0.08);
    border: 1px solid rgba(51, 185, 207, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 2px;
}

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

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


/* 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: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.nav-links li a:hover {
    color: white;
}

.lang-switcher {
    margin-left: 20px;
    border-left: 1px solid var(--viavendo-grey-light);
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.lang-switcher a.lang-pill {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-switcher a.lang-pill:hover {
    color: var(--viavendo-cyan);
    border-color: var(--viavendo-cyan);
    background: rgba(51, 185, 207, 0.08);
    text-shadow: 0 0 8px rgba(51, 185, 207, 0.4);
}

.lang-switcher a.lang-pill.active {
    color: #fff;
    border-color: var(--viavendo-orange);
    background: rgba(255, 111, 5, 0.15);
    text-shadow: 0 0 8px rgba(255, 111, 5, 0.5);
    box-shadow: 0 0 6px rgba(255, 111, 5, 0.2);
}

/* 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%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease-in-out, visibility 0.3s;
        border-bottom: 1px solid var(--viavendo-cyan);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--viavendo-grey-light);
        padding-top: 15px;
        width: 90%;
        justify-content: center;
        gap: 5px;
    }

    .lang-switcher a.lang-pill {
        font-size: 12px;
        padding: 5px 9px;
    }
}

/* --- Hero Section (sales-coach.ai Style) --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,16,21,0.8) 0%, rgba(10,16,21,0.5) 50%, rgba(10,16,21,0.7) 100%);
}

.vectorbeam {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    animation: vectorbeam-float 12s ease-in-out infinite alternate;
}

.vectorbeam-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(51,185,207,0.3) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.vectorbeam-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,111,5,0.2) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-delay: -6s;
}

@keyframes vectorbeam-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

.grid-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding-left: 5%;
}

.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--viavendo-cyan);
    border: 1px solid rgba(51,185,207,0.3);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    background: rgba(51,185,207,0.08);
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(255,111,5,0.15) 0%, rgba(51,185,207,0.1) 100%);
    border: 1px solid rgba(255,111,5,0.4);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--viavendo-orange);
    letter-spacing: 0.5px;
    animation: badge-glow 3s ease-in-out infinite;
}

.hero-new-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--viavendo-cyan);
    flex-shrink: 0;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255,111,5,0.2); }
    50% { box-shadow: 0 0 20px rgba(255,111,5,0.35); }
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-benefit-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--viavendo-cyan);
    opacity: 0.85;
}

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

.trust-microline {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Scroll-Down Indicator (Mouse Icon) --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--transition-normal);
    animation: scroll-fade-in 1.5s ease 2s both;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--viavendo-cyan);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 8px rgba(51, 185, 207, 0.2);
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--viavendo-cyan);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--viavendo-cyan);
    border-bottom: 2px solid var(--viavendo-cyan);
    transform: rotate(45deg);
    animation: scroll-arrow-bounce 2s ease-in-out infinite;
}

.scroll-arrows span:nth-child(2) {
    margin-top: -5px;
    animation-delay: 0.15s;
    opacity: 0.5;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 7px; }
    50% { opacity: 0.3; top: 20px; }
    100% { opacity: 1; top: 7px; }
}

@keyframes scroll-arrow-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

@keyframes scroll-fade-in {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 0.6; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 1.5rem 40px;
    }
    .hero-content {
        padding-left: 0;
        max-width: 100%;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .vectorbeam-1, .vectorbeam-2 {
        width: 300px;
        height: 300px;
    }
    .scroll-indicator {
        bottom: 16px;
    }
    .scroll-mouse {
        width: 22px;
        height: 36px;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
    color: white;
}

.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: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: all var(--transition-normal);
    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-secondary);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-trademark {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
}

/* --- 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: var(--font-display);
    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: var(--font-display);
    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: var(--font-display);
    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: var(--font-display);
    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: var(--font-display);
    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: var(--font-display);
    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: var(--font-display);
    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: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
    box-shadow: var(--shadow-card);
}

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

.agent-grid-avatar {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-right: 20px;
    margin-bottom: 0;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    transition: border-color var(--transition-normal);
}

.agent-grid-card:hover .agent-grid-avatar {
    border-color: var(--viavendo-cyan);
}

.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: var(--font-display);
    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: 125px;
    height: 125px;
    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: var(--font-display);
    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: 400px;
    }
    .node-label {
        font-size: 0.7rem;
    }
    .node-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .node-center .node-icon-large {
        width: 90px;
        height: 90px;
    }
    .node-label-large {
        font-size: 0.9rem;
    }
}

/* --- 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);
}

/* --- Nebula Glow Background (Cooperation Section) --- */
.bg-blueprint {
    background-color: #05080a;
    position: relative;
    overflow: hidden;
}

.bg-blueprint::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(51, 185, 207, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(255, 111, 5, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 70% 60% at 50% 80%, rgba(51, 185, 207, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: nebula-drift 20s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
    0% { opacity: 0.8; transform: scale(1) translateX(0); }
    50% { opacity: 1; transform: scale(1.05) translateX(-1%); }
    100% { opacity: 0.8; transform: scale(1) translateX(1%); }
}

/* 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; }
}

/* --- Why VIAVENDO Section --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-grid > .why-card:nth-child(4),
.why-grid > .why-card:nth-child(5) {
    grid-column: span 1;
}

/* Center last row (2 items in 3-col grid) */
.why-grid {
    justify-items: center;
}

.why-grid > .why-card:nth-child(4) {
    justify-self: end;
}

.why-grid > .why-card:nth-child(5) {
    justify-self: start;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--viavendo-cyan);
    box-shadow: 0 0 25px rgba(51, 185, 207, 0.15);
    transform: translateY(-3px);
}

.why-card-icon {
    width: 40px;
    height: 40px;
    color: var(--viavendo-cyan);
    margin-bottom: 16px;
}

.why-card-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--viavendo-orange);
    margin: 0 0 14px;
    letter-spacing: 1px;
}

.why-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-card li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid > .why-card:nth-child(4),
    .why-grid > .why-card:nth-child(5) {
        justify-self: auto;
    }
}

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

/* --- 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-grid-3col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    font-size: 0.92rem;
}

.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.3);
}

.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: 16px;
    text-align: center;
}

.price-tag {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

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

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

.pricing-features li {
    margin-bottom: 8px;
    padding-left: 22px;
    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: 10px 0;
    text-align: center;
    background: transparent;
    border: 1px solid var(--viavendo-cyan);
    color: var(--viavendo-cyan);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    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;
}
/* 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: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(51, 185, 207, 0.12);
    border: 1px solid rgba(51, 185, 207, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 40px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--viavendo-cyan);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.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: var(--font-display);
}

.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));
    gap: 1.5rem;
    margin-top: 3rem;
}

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

@media (max-width: 700px) {
    .service-grid--2col {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.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 20px 60px rgba(51, 185, 207, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(51, 185, 207, 0.12);
    border: 1px solid rgba(51, 185, 207, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--viavendo-cyan);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon--orange {
    background: rgba(255, 111, 5, 0.12);
    border-color: rgba(255, 111, 5, 0.25);
}

.service-icon--orange svg {
    stroke: var(--viavendo-orange);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-main);
    font-family: var(--font-display);
    min-width: 0;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--text-secondary);
    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;
}

/* Highlight Card (full-width, gradient border like sales-coach.ai) */
.highlight-card {
    background: linear-gradient(135deg, rgba(51, 185, 207, 0.08) 0%, rgba(41, 56, 61, 0.4) 100%);
    border: 1px solid rgba(51, 185, 207, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

.highlight-card h3 {
    color: var(--viavendo-cyan);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.feature-item h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

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

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



/* 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: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.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-cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 0.8rem;
    text-align: center;
}

.contact-email {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-email a {
    color: var(--primary-cyan);
}

.contact-cal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.cta-cal-embed {
    min-height: 700px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.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);
}

/* ============================================
   ACCESSIBILITY (WCAG 2.1 AA / BFSG)
   ============================================ */

/* --- Skip Navigation Link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--viavendo-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10000;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: none;
    color: #fff;
}

/* --- Focus Indicators (WCAG 2.4.7) --- */
:focus-visible {
    outline: 2px solid var(--viavendo-orange);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--viavendo-orange);
    outline-offset: 3px;
    border-radius: 3px;
}

.btn:focus-visible,
.pricing-btn:focus-visible {
    outline: 2px solid var(--viavendo-orange);
    outline-offset: 3px;
    box-shadow: var(--glow-orange);
}

.burger-menu:focus-visible {
    outline: 2px solid var(--viavendo-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Reduced Motion (WCAG 2.3.1) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Burger Menu as Button Reset --- */
button.burger-menu {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

/* ============================================
   COOKIE CONSENT BANNER (DSGVO + TTDSG §25)
   ============================================ */

/* Overlay */
.cookie-banner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.cookie-banner-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-dark, #0a1015);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-family: var(--font-body);
}
.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.cookie-banner__text a {
    color: var(--viavendo-orange);
    text-decoration: underline;
}

/* Toggle-Gruppen */
.cookie-banner__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}
.cookie-category input[type="checkbox"] {
    accent-color: var(--viavendo-orange);
    width: 1rem;
    height: 1rem;
}
.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.5;
}
.cookie-category label {
    cursor: pointer;
    user-select: none;
}
.cookie-category .cookie-required {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
}
.cookie-btn:hover {
    transform: translateY(-1px);
}
.cookie-btn:active {
    transform: translateY(0);
}

.cookie-btn--accept-all {
    background: var(--viavendo-orange);
    color: #fff;
}
.cookie-btn--accept-all:hover {
    background: var(--viavendo-orange-dark);
}

.cookie-btn--save {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.cookie-btn--save:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-btn--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.cookie-btn--reject:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 600px) {
    .cookie-banner {
        padding: 1rem;
    }
    .cookie-banner__categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    .cookie-banner__actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   VIVI SECTION (Live Chat Iframe)
   ============================================ */

.vivi-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.vivi-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 2.25rem;
}

@media (max-width: 980px) {
    .vivi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.75rem;
    }
}

.vivi-intro {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.vivi-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vivi-content h2 {
    margin-bottom: 0;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.vivi-subline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.vivi-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.vivi-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.vivi-bullets li::before {
    content: '\25B6';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--viavendo-cyan);
    font-size: 0.7rem;
}

.vivi-chat-frame {
    background: var(--bg-card);
    border: 1px solid rgba(51, 185, 207, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 600px;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.vivi-chat-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    display: block;
    border-radius: var(--radius-lg);
}

@media (max-width: 980px) {
    .vivi-chat-frame {
        min-height: 560px;
    }

    .vivi-chat-frame iframe {
        min-height: 560px;
    }

    .vivi-intro {
        flex-direction: column;
        text-align: center;
    }
}

.vivi-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.vivi-note a {
    color: var(--viavendo-cyan);
}

/* =====================================================
   PLATFORM SECTION
   ===================================================== */

.plat-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.plat-group-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--viavendo-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(51, 185, 207, 0.15);
}

.plat-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.plat-pill {
    padding: 6px 16px;
    background: rgba(51, 185, 207, 0.08);
    border: 1px solid rgba(51, 185, 207, 0.25);
    border-radius: 20px;
    color: var(--viavendo-cyan);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plat-grid {
    display: grid;
    gap: 16px;
}

.plat-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.plat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.plat-card:hover {
    border-color: var(--viavendo-cyan);
    box-shadow: 0 0 20px rgba(51, 185, 207, 0.1);
    transform: translateY(-2px);
}

.plat-card--tool {
    background: rgba(41, 56, 61, 0.25);
}

.plat-card--highlight {
    border-color: var(--viavendo-orange);
    background: rgba(255, 111, 5, 0.06);
}

.plat-card--highlight:hover {
    border-color: var(--viavendo-orange-light);
    box-shadow: 0 0 20px rgba(255, 111, 5, 0.15);
}

.plat-card-icon {
    width: 36px;
    height: 36px;
    color: var(--viavendo-cyan);
    margin-bottom: 12px;
}

.plat-card-icon svg {
    width: 100%;
    height: 100%;
}

.plat-card-icon--orange {
    color: var(--viavendo-orange);
}

.plat-card-icon--provider {
    width: 36px;
    height: 36px;
}

.plat-card-icon--provider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(51, 185, 207, 0.3));
}

.plat-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}

.plat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.plat-agents-block {
    margin-top: 40px;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(51, 185, 207, 0.08), rgba(255, 111, 5, 0.05));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 36px;
}

.plat-agents-img {
    flex-shrink: 0;
    width: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--viavendo-cyan);
    box-shadow: 0 0 25px rgba(51, 185, 207, 0.25), 0 0 60px rgba(51, 185, 207, 0.08);
}

.plat-agents-img img {
    width: 100%;
    height: auto;
    display: block;
}

.plat-agents-content {
    flex: 1;
}

.plat-agents-block h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--viavendo-orange);
    margin: 0 0 10px;
}

.plat-agents-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    max-width: 600px;
}

@media (max-width: 600px) {
    .plat-agents-block {
        flex-direction: column;
        text-align: center;
    }
    .plat-agents-img {
        width: 120px;
        height: 120px;
    }
}

.plat-cta {
    text-align: center;
    margin-top: 30px;
}

.plat-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

@media (max-width: 980px) {
    .plat-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .plat-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Clickable card cursor */
.plat-card[data-link] {
    cursor: pointer;
}

/* =====================================================
   PLATFORM CARD DETAIL POPUP (Sci-Fi Lightning Effect)
   ===================================================== */

.plat-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
    transition: background 0.3s ease, visibility 0s 0.3s;
}

.plat-popup-overlay.active {
    background: rgba(0, 0, 0, 0.85);
    pointer-events: all;
    visibility: visible;
    transition: background 0.3s ease, visibility 0s 0s;
}

/* Lightning flash on open */
.plat-popup-overlay.flash::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at var(--flash-x, 50%) var(--flash-y, 50%),
        rgba(51, 185, 207, 0.8) 0%,
        rgba(51, 185, 207, 0.3) 15%,
        rgba(255, 111, 5, 0.15) 30%,
        transparent 60%);
    animation: lightning-flash 0.5s ease-out forwards;
    pointer-events: none;
    z-index: 1;
}

@keyframes lightning-flash {
    0% { opacity: 1; transform: scale(0.3); }
    20% { opacity: 1; transform: scale(1.2); }
    40% { opacity: 0.6; transform: scale(1); }
    60% { opacity: 0.2; }
    100% { opacity: 0; transform: scale(1.5); }
}

/* Lightning arc SVG */
.plat-popup-lightning {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.plat-popup-lightning line {
    stroke: var(--viavendo-cyan);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(51, 185, 207, 0.8));
    animation: arc-fade 0.6s ease-out forwards;
}

@keyframes arc-fade {
    0% { opacity: 1; stroke-width: 3; }
    50% { opacity: 0.6; stroke-width: 1; }
    100% { opacity: 0; stroke-width: 0; }
}

/* Popup panel */
.plat-popup-panel {
    position: relative;
    z-index: 3;
    background: linear-gradient(145deg, #0d1518, #0a1015);
    border: 1px solid var(--viavendo-cyan);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 440px;
    width: 90%;
    box-shadow:
        0 0 30px rgba(51, 185, 207, 0.2),
        0 0 60px rgba(51, 185, 207, 0.08),
        inset 0 1px 0 rgba(51, 185, 207, 0.15);
    transform: scale(0) rotate(-3deg);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.plat-popup-overlay.active .plat-popup-panel {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Glowing top edge */
.plat-popup-panel::before {
    content: '';
    position: absolute;
    top: -1px; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--viavendo-cyan), var(--viavendo-orange), var(--viavendo-cyan), transparent);
    border-radius: 2px;
    filter: blur(1px);
}

.plat-popup-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}

.plat-popup-close:hover {
    border-color: var(--viavendo-cyan);
    color: var(--viavendo-cyan);
}

.plat-popup-icon {
    width: 48px;
    height: 48px;
    color: var(--viavendo-cyan);
    margin-bottom: 16px;
}

.plat-popup-icon svg {
    width: 100%;
    height: 100%;
}

.plat-popup-panel h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 0 0 12px;
    letter-spacing: 1px;
}

.plat-popup-panel .plat-popup-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
}

.plat-popup-detail {
    font-size: 0.85rem;
    color: var(--viavendo-cyan);
    letter-spacing: 0.5px;
    padding: 10px 16px;
    background: rgba(51, 185, 207, 0.06);
    border: 1px solid rgba(51, 185, 207, 0.15);
    border-radius: var(--radius-sm);
    margin: 0 0 24px;
    display: none;
}

.plat-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(51, 185, 207, 0.15), rgba(51, 185, 207, 0.05));
    border: 1px solid var(--viavendo-cyan);
    border-radius: var(--radius-sm);
    color: var(--viavendo-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.plat-popup-link:hover {
    background: rgba(51, 185, 207, 0.2);
    box-shadow: 0 0 15px rgba(51, 185, 207, 0.3);
}

.plat-popup-link svg {
    width: 16px;
    height: 16px;
}



/* ========== 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;
    }
}


