/* =========================================
   VION INOVATION - FUTURE TECH THEME
   Inspired by ChainGPT / Web3 Aesthetics
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    /* --- Palette: Deep Void & Neon --- */
    --bg-void: #0b0f14;
    /* User Rule: Background */
    --bg-deep: #05060a;
    --primary-green: #3dffd4;
    /* User Rule: Cor Principal */
    --primary-cyan: #00f0ff;
    /* User Rule: Auxiliar */
    --text-main: #e6eaf0;
    /* User Rule: Platinum */
    --text-muted: rgba(230, 234, 240, 0.6);

    /* --- Effects --- */
    --glass-bg: rgba(11, 15, 20, 0.6);
    --glass-border: 1px solid rgba(230, 234, 240, 0.08);
    /* Low contrast border */
    --glass-blur: blur(20px);

    --neon-green-glow: 0 0 20px rgba(61, 255, 212, 0.4);
    --neon-cyan-glow: 0 0 20px rgba(0, 240, 255, 0.4);

    /* --- Fonts --- */
    --font-heading: 'Orbitron', sans-serif;
    --font-ui: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Setup */
body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
}

/* Background Effects (Grid + Mist) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(61, 255, 212, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

.font-ui {
    font-family: var(--font-ui);
}

.text-gradient-cyan {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fix lint warning */
}

/* Removed text-gradient-purple in favor of cyan/green variants */

/* --- Components --- */

/* Premium Glass Card - Apple Style Clear */
.card-glass-premium {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-glass-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.card-glass-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

/* Swiper Controls Customization */
.solutions-swiper {
    padding: 20px 0 60px !important;
    overflow: visible !important;
}

.swiper-pagination-vion {
    display: flex;
    gap: 8px;
}

.swiper-pagination-vion .swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    opacity: 1;
    transition: 0.3s;
    margin: 0 !important;
}

.swiper-pagination-vion .swiper-pagination-bullet-active {
    background: var(--primary-cyan);
    width: 60px;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.swiper-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.swiper-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    transform: scale(1.1);
}

.swiper-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Neon Buttons (Primary) */
.btn-neon {
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    background: var(--primary-green);
    /* Solid Green */
    color: #0b0f14;
    /* Black Text */
    border: 1px solid var(--primary-green);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(61, 255, 212, 0.3);
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* Lighten on hover */
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.95, 0.05, 0.795, 0.035);
}

.btn-neon:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Secondary Button (Outline Cyan) */
.btn-outline-cyan {
    background: transparent;
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: none;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-cyan::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-cyan);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.95, 0.05, 0.795, 0.035);
}

.btn-outline-cyan:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-neon:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(61, 255, 212, 0.5);
}

.btn-outline-cyan:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-cyan);
    transform: translateY(-5px) scale(1.02);
}

/* Navbar */
.navbar-future {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar-future.scrolled {
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    /* Mobile spacing */
}

@media (min-width: 992px) {
    .nav-link {
        padding: 0;
    }
}

.nav-link.active,
.nav-link:hover {
    color: #fff !important;
}

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

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

/* Mobile Menu Glass Effect */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(11, 15, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
}

/* Hero Section Redesign (Apple Style) */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(61, 255, 212, 0.08) 0%, transparent 50%);
}

.neural-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-cyan) 0.5px, transparent 0.5px);
    background-size: 40px 40px;
    opacity: 0.1;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black, transparent);
    pointer-events: none;
}

/* Background Glows */
.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: var(--primary-cyan);
    opacity: 0.1;
    animation: pulseGlow 15s infinite alternate;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    background: var(--primary-cyan);
    animation: pulseGlow 20s infinite alternate-reverse;
}

@keyframes pulseGlow {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.3) translate(10%, 10%);
    }
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-robot-img {
    max-height: 650px;
    filter: drop-shadow(0 0 50px rgba(0, 240, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Floating Chips Refinement */
.floating-chip {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    z-index: 3;
    animation: floatChip 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.floating-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-5px) scale(1.05) !important;
}

.floating-chip i {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

/* AI Visual System (Scene Cycle) */
.hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px !important;
    overflow: hidden !important;
    background: transparent !important;
    /* FORCE TRANSPARENCY */
}

/* 1. Nucleus Anim */
.ai-visual-wrapper {
    position: absolute;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 50px rgba(0, 240, 255, 0.2));
    animation: atmosphericSceneCycleNucleus 8s infinite;
    z-index: 5;
}

/* 2. Branded Alien Robot (Advanced Integration) */
.hero-robot-dynamic {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    filter: blur(20px) brightness(1.2);
    animation: alienSceneCycleRobot 8s infinite;
    z-index: 10;
}

.robot-img-container.alien-glow {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: screen;
    /* More robust than plus-lighter */
}

.runner-img-alien {
    max-height: 550px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    /* Simplified filter */
}

/* Alien Portal / Atmospheric VFX */
.alien-portal-fx {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.4), transparent 70%);
    opacity: 0;
    filter: blur(40px);
    animation: alienPortalPulse 8s infinite;
    z-index: 2;
    display: block;
    /* Re-enabled */
}

.scan-line-v2 {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-cyan);
    box-shadow: 0 0 20px var(--primary-cyan);
    opacity: 0.4;
    animation: alienScan 2s linear infinite;
}

/* Glitch Overlay Effect */
.glitch-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.1) 0px, transparent 1px);
    opacity: 0.2;
    pointer-events: none;
    display: block;
    /* Re-enabled */
}

/* Digital grid floor */
.digital-floor {
    position: absolute;
    bottom: 50px;
    width: 600px;
    height: 200px;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(400px) rotateX(60deg);
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    opacity: 0.3;
    z-index: 1;
}

/* Neural Spark VFX Layer */
.vion-sparks {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.spark {
    position: absolute;
    width: 2px;
    height: 10px;
    background: var(--primary-cyan);
    filter: blur(1px);
    opacity: 0.6;
    animation: sparkFly 1s infinite linear;
}

/* Scene Cycle Sequences */
/* Updated Transitions: Glitch-Pulse Style */
@keyframes atmosphericSceneCycleNucleus {

    0%,
    35% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) brightness(1);
    }

    38% {
        opacity: 0.8;
        transform: scale(1.1) skewX(2deg);
        filter: blur(5px) brightness(2);
    }

    42%,
    48% {
        opacity: 0;
        transform: scale(1.3);
        filter: blur(50px) brightness(3);
    }

    50%,
    98% {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(20px) brightness(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes alienSceneCycleRobot {

    0%,
    45% {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
        filter: blur(30px) brightness(0);
    }

    48% {
        opacity: 1;
        transform: scale(1.1) skewX(-2deg);
        filter: blur(10px) brightness(2);
    }

    50%,
    85% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0) brightness(1.2);
    }

    90%,
    100% {
        opacity: 0;
        transform: scale(1.1) translateY(-40px);
        filter: blur(40px) brightness(0);
    }
}

@keyframes alienPortalPulse {

    0%,
    35% {
        opacity: 0;
        transform: scale(0.5);
    }

    38% {
        opacity: 0.8;
        transform: scale(2);
        filter: blur(20px);
    }

    42%,
    48% {
        opacity: 1;
        transform: scale(1.2);
    }

    50%,
    85% {
        opacity: 0.2;
        transform: scale(1);
    }

    90%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes alienScan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

/* Alien Sparks Refinement */
.spark.alien {
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

@keyframes robotAura {
    from {
        transform: scale(0.8);
        opacity: 0.3;
    }

    to {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes sparkFly {
    from {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }

    to {
        transform: translateY(-100px) translateX(20px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes ghostTrail {
    from {
        transform: translateX(-30px);
        opacity: 0.2;
    }

    to {
        transform: translateX(-60px);
        opacity: 0.1;
    }
}

.ai-core-container {
    position: relative;
    width: 220px;
    height: 220px;
    z-index: 5;
}

.ai-core-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(0, 240, 255, 0.1) 60%, rgba(0, 240, 255, 0.3));
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 0 30px rgba(0, 240, 255, 0.3),
        0 0 50px rgba(0, 240, 255, 0.2);
    animation: corePulse 4s ease-in-out infinite alternate;
}

.ai-core-inner {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: var(--primary-cyan);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.6;
    animation: coreGlow 3s ease-in-out infinite alternate;
}

/* Orbital Rings */
.ai-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-top-color: rgba(0, 240, 255, 0.4);
    pointer-events: none;
}

.ring-1 {
    width: 450px;
    height: 450px;
    animation: rotateRing 15s linear infinite;
}

.ring-2 {
    width: 360px;
    height: 360px;
    border-top-color: rgba(61, 255, 212, 0.4);
    animation: rotateRing 10s linear infinite reverse;
}

.ring-3 {
    width: 280px;
    height: 280px;
    animation: rotateRing 20s linear infinite;
}

/* Data Nodes */
.data-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.node-1 {
    top: 10%;
    right: 20%;
    animation: floatNode 5s infinite;
}

.node-2 {
    bottom: 15%;
    left: 10%;
    animation: floatNode 7s infinite 1s;
}

.node-3 {
    top: 40%;
    left: -5%;
    animation: floatNode 6s infinite 0.5s;
}

/* Animations */
@keyframes corePulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }

    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes coreGlow {
    from {
        transform: scale(0.8);
        opacity: 0.4;
    }

    to {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

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

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

@keyframes floatNode {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: translate(20px, -20px);
        opacity: 1;
    }
}

/* Hero Chips Integration */
.floating-chip-system {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-chip-system .floating-chip {
    pointer-events: auto;
}

.ai-visual-wrapper .floating-chip {
    white-space: nowrap;
}

.ai-visual-wrapper .chip-1 {
    top: 15%;
    left: -10%;
}

.ai-visual-wrapper .chip-2 {
    bottom: 15%;
    right: -10%;
}

/* Refined Hero Typography (Apple Style Clear) */
.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0.9;
    background: linear-gradient(135deg, #00f0ff, #3dffd4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info-box {
    max-width: 540px;
}

.hero-info-box .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Informative Chips (Apple Style) */
.badge-vion-premium {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary-cyan);
    padding: 6px 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tech-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-spec-chip i {
    color: var(--primary-cyan);
}

.tech-spec-chip:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Typography */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-info-box .lead {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .hero-info-box .lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* Neural Spark VFX Layer */
/* Neural Spark VFX Layer - Fix: Remove solid background fill */
.vion-sparks.alien-vfx {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: perspective(1px) translateZ(0);
}

.btn-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(61, 255, 212, 0.6);
}

/* btn-neon-purple removed */

@keyframes floatChip {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Floating Chips */
.floating-chip {
    position: absolute;
    background: rgba(11, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 12px;
    font-family: var(--font-ui);
    color: var(--primary-cyan);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.chip-1 {
    top: 20%;
    left: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.chip-2 {
    bottom: 20%;
    right: 0;
    animation: float 7s ease-in-out infinite 0.5s;
}

/* Timeline / Process */
.process-step {
    position: relative;
    padding: 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 10px;
}

.step-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary-cyan);
}

/* --- FAQ Grid 2.0 (Search + Grid Layout) --- */
.faq-header-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.faq-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 50px 15px 25px;
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    transition: 0.3s;
}

.faq-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.faq-search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

/* Category Chips */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-chip {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    transition: 0.3s;
}

.faq-chip:hover,
.faq-chip.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--primary-cyan);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Sub-grid styling */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.faq-card {
    background: rgba(13, 17, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.faq-card.hidden {
    display: none !important;
}

/* Hover Effect: Scanline/Glow */
.faq-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.faq-card .accordion-button {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.03em;
    box-shadow: none;
    padding: 24px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

/* Active State */
.faq-card .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.08) 0%, transparent 100%);
    color: var(--primary-cyan);
    border-left-color: var(--primary-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Custom Icon Styling */
.faq-card .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.5;
    transform: scale(1.2);
}

.faq-card .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300f0ff'%3e%3cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
    transform: rotate(90deg) scale(1.2);
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--primary-cyan));
}

.faq-card .accordion-body {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 24px 24px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Conversion Block */
.faq-conversion {
    background: linear-gradient(135deg, rgba(11, 15, 26, 0.95), rgba(0, 240, 255, 0.05));
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.faq-conversion::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
    animation: rotateBg 10s linear infinite;
}

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

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

/* Footer */
.footer-future {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #05060a;
    padding: 80px 0 30px;
}

.footer-robot {
    max-height: 150px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-robot:hover {
    opacity: 1;
    transform: scale(1.05) rotate(5deg);
}

/* --- Footer Refined --- */
.footer-future {
    background: radial-gradient(circle at 50% 50%, #0b0f14 0%, #05070a 100%);
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

.footer-future .grid-overlay {
    opacity: 0.5;
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-cyan);
    outline: none;
}

.footer-newsletter .btn-sub {
    background: var(--primary-cyan);
    color: #0b0f14;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
}

.footer-newsletter .btn-sub:hover {
    background: var(--primary-green);
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    transition: 0.3s;
}

.footer-social-btn:hover {
    background: var(--primary-cyan);
    color: #000;
    transform: translateY(-3px);
}

/* --- VION Chatbot --- */
.vion-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

@media (max-width: 576px) {
    .vion-chat-widget {
        bottom: 80px;
        right: 20px;
    }
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), #00a0ff);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #0B0F1A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.chat-msg.user {
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    text-align: right;
}

.chat-msg.typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px;
}

/* =========================================
   TYPEWRITER EFFECT (PC Keyboard Style)
   ========================================= */
.typing-vion {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--primary-cyan);
    width: 0;
    margin-top: 10px;
    animation:
        typing 3s steps(35, end) forwards,
        blink-caret .75s step-end 6;
    /* Stop after 6 blinks to focus on robot */
    max-width: fit-content;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-cyan);
    }
}

/* Hero Style adjustments for typing */
.hero-subtitle.typing-vion {
    display: inline-block;
    vertical-align: bottom;
    line-height: 1.2;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.chat-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 15px 10px;
}

.chat-chip {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    color: var(--primary-cyan);
    cursor: pointer;
    transition: 0.2s;
}

.chat-chip:hover {
    background: var(--primary-cyan);
    color: #000;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- About Us Styles --- */
.about-visual {
    padding: 40px;
    z-index: 1;
}

.glass-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: pulseOrb 10s infinite alternate;
}

.orb-1 {
    top: -20%;
    left: -20%;
    background: var(--primary-cyan);
    opacity: 0.2;
}

.orb-2 {
    bottom: -20%;
    right: -20%;
    background: var(--primary-green);
    animation-delay: -5s;
}

@keyframes pulseOrb {
    from {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    to {
        transform: scale(1.2) translate(10%, 10%);
        opacity: 0.5;
    }
}

.about-content p {
    line-height: 1.8;
    letter-spacing: 0.01em;
}

@media (max-width: 991px) {
    .about-visual {
        margin-bottom: 50px;
    }
}