/*
--- [ Robo-Oops! Stylesheet ] ---
--- Author: Keith Braun Farms Bot Division ---
--- Version: 1.0.2 (Fixed infinite loop in coffee machine) ---
*/

/* ---------------------------------- */
/* >> 01. ROOT & GLOBAL VARIABLES << */
/* ---------------------------------- */
:root {
    --color-silver: #C0C0C0;
    --color-magenta: #FF4DFF;
    --color-blue: #00E0FF;
    --color-dark-bg: #0C0C14;
    --color-dark-bg-transparent: rgba(12, 12, 20, 0.85);
    --color-dark-secondary: #1a1a2e;
    --color-text-primary: #E0E0E0;
    --color-text-secondary: #A0A0B0;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --header-height: 80px;
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

/* ---------------------------------- */
/* >> 02. BASE & RESET STYLES << */
/* ---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-blue) var(--color-dark-secondary);
}

body {
    background-color: var(--color-dark-bg);
    color: var(--color-text-primary);
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--color-dark-secondary);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-blue);
    border-radius: 10px;
    border: 2px solid var(--color-dark-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-silver);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ---------------------------------- */
/* >> 03. LAYOUT & HELPERS << */
/* ---------------------------------- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dHTZ2dnu7u7Ly8vS0tJCAgIGAgIFAgIWFhYMDAwPDw9BURFRUVGkpKRFRUY+Pj5AQEBBQUFBQUHm5uYzMzNBOjq6AAAAhklEQVRIx+3RSRLDIAxE0QYhAbGZPNu5/z0zrXHiqiz5W72FqhqtVuuXAl3iOV7iPV/iSsAqZa9BS7YOmMXnNNX4TWGxRMn3R6SxRNgy0bzXOW8EBO8SAClsPdB3psqlvG+Lw7ONXg/pTld52BjgSSkA3PV2OOemjIDcZQWgVvONw60q7sIpR38EnHPSMDQ4PwAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
    animation: noise 0.2s linear infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--color-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    pointer-events: none;
}

/* ---------------------------------- */
/* >> 04. CURSOR & LOADER << */
/* ---------------------------------- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transition: all 0.1s ease-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-magenta);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-blue);
}

body:hover .cursor-outline.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--color-magenta);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-dark-bg);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--color-blue);
    position: relative;
    overflow: hidden;
}

.loader-text::before,
.loader-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-bg);
    overflow: hidden;
}

.loader-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-magenta);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.loader-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-blue), 2px 2px var(--color-magenta);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

/* ---------------------------------- */
/* >> 05. HEADER & NAVIGATION << */
/* ---------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background-color: var(--color-dark-bg-transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-silver);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--color-text-primary);
    position: relative;
    text-transform: lowercase;
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-blue);
    width: 0;
    overflow: hidden;
    transition: width var(--transition-speed) ease;
    white-space: nowrap;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-close {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--color-silver);
    cursor: pointer;
}

/* ---------------------------------- */
/* >> 06. BUTTONS & CTAs << */
/* ---------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    text-align: center;
    border: 2px solid transparent;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-magenta);
    color: var(--color-dark-bg);
    border-color: var(--color-magenta);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn-secondary:hover {
    background-color: var(--color-blue);
    color: var(--color-dark-bg);
    box-shadow: 0 0 15px var(--color-blue);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Glitch Button Effect */
.glitch-button {
    position: relative;
    border: none;
    background: transparent;
    color: var(--color-silver);
    padding: 14px 26px;
}

.glitch-button .btn-text {
    position: relative;
    z-index: 2;
}

.glitch-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-magenta);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1);
}

.glitch-button:hover:before {
    transform: translateX(0);
}

.glitch-button:before {
    transform: translateX(-101%);
}

.glitch-button:hover .btn-text {
    color: var(--color-dark-bg);
}

.glitch-button .btn-glitch-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch-button .btn-glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-blue);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1);
}

.glitch-button:hover .btn-glitch-layer:nth-child(1) {
    transform: translateX(-101%);
    transition-delay: 0.1s;
}

.glitch-button:hover .btn-glitch-layer:nth-child(2) {
    transform: translateX(-101%);
    transition-delay: 0.2s;
}

.glitch-button:hover .btn-glitch-layer:nth-child(3) {
    transform: translateX(-101%);
    transition-delay: 0.3s;
}

/* ---------------------------------- */
/* >> 07. HERO SECTION << */
/* ---------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(26, 26, 46, 0.5), var(--color-dark-bg) 70%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-title .glitch {
    color: var(--color-magenta);
    position: relative;
    display: inline-block;
}

.hero-title .glitch::before,
.hero-title .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-bg);
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.hero-title .glitch:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-blue);
    animation: glitch-anim-1 1s infinite linear alternate-reverse;
}

.hero-title .glitch:hover::after {
    left: -2px;
    text-shadow: 2px 0 var(--color-blue);
    animation: glitch-anim-2 1.5s infinite linear alternate-reverse;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-3d-visual {
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-head {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--rotateX, -10deg)) rotateY(var(--rotateY, 20deg));
    transition: transform 0.1s linear;
}

.robot-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-blue);
    background: rgba(0, 224, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 224, 255, 0.2);
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.robot-eye {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--color-magenta);
    border-radius: 50%;
    transform: translateZ(101px);
    box-shadow: 0 0 20px var(--color-magenta);
    animation: eye-blink 5s infinite;
}

.eye-left {
    top: 60px;
    left: 40px;
}

.eye-right {
    top: 60px;
    left: 120px;
}

.robot-antenna {
    position: absolute;
    width: 6px;
    height: 80px;
    background: var(--color-silver);
    top: -80px;
    left: calc(50% - 3px);
    transform: rotateX(90deg) translateZ(100px) translateY(-100px);
    transform-origin: bottom;
}

.antenna-tip {
    width: 16px;
    height: 16px;
    background: var(--color-magenta);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: -5px;
    animation: pulse 2s infinite;
}

/* ---------------------------------- */
/* >> 08. GENERAL SECTION STYLING << */
/* ---------------------------------- */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--color-blue);
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 2px;
    color: var(--color-magenta);
    z-index: -1;
    opacity: 0.5;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-header-section {
    padding: 160px 0 80px;
    position: relative;
    background: var(--color-dark-secondary);
}

.page-header-desc {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-top: 15px;
}

.breadcrumbs {
    margin-top: 20px;
    color: var(--color-text-secondary);
}

.breadcrumbs a {
    color: var(--color-text-primary);
}

.breadcrumbs a:hover {
    color: var(--color-blue);
}

.breadcrumbs .fa-chevron-right {
    font-size: 0.8em;
    margin: 0 10px;
    color: var(--color-magenta);
}

.legal-content {
    background: var(--color-dark-secondary);
    padding: 40px;
    border-left: 3px solid var(--color-blue);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-magenta);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.legal-content strong {
    color: var(--color-text-primary);
}


/* ---------------------------------- */
/* >> 09. SERVICES SECTION << */
/* ---------------------------------- */
.services-section {
    background: var(--color-dark-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-dark-bg);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width 0.3s ease;
}

.service-card::before {
    top: -2px;
    left: 0;
}

.service-card::after {
    bottom: -2px;
    right: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-dark-bg);
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.1);
}

.service-card:hover::before,
.service-card:hover::after {
    width: 100%;
}

.service-card-icon {
    font-size: 48px;
    color: var(--color-magenta);
    margin-bottom: 20px;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-card-icon {
    transform: rotate(10deg);
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-silver);
}

.service-card-desc {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.service-card-link {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.service-card-link:hover {
    color: var(--color-magenta);
}

/* ---------------------------------- */
/* >> 10. METRICS SECTION << */
/* ---------------------------------- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.metric-chart-wrapper {
    background: var(--color-dark-secondary);
    padding: 30px;
    border-left: 3px solid var(--color-blue);
}

.metric-chart-wrapper h4 {
    color: var(--color-silver);
    margin-bottom: 20px;
}

.chart-glitch {
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.chart-glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 4px);
    animation: scanline 4s linear infinite;
    opacity: 0.3;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
}

.bar {
    width: 15%;
    background: var(--color-blue);
    position: relative;
    animation: bar-grow 1s ease-out;
}

.bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
}

.bar.bar-glitch {
    background: transparent;
    overflow: hidden;
}

.bar-glitch-part {
    width: 100%;
    background: var(--color-magenta);
    position: absolute;
    bottom: 0;
    animation: bar-glitch-anim 0.2s infinite alternate;
}

.pie-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pie-chart svg {
    width: 150px;
    height: 150px;
    transform: rotate(-90deg);
}

.pie-chart circle {
    fill: none;
    stroke: var(--color-blue);
    stroke-width: 32;
    stroke-linecap: round;
    animation: pie-fill 1.5s ease-out;
}

.pie-label {
    position: absolute;
    font-size: 2rem;
    font-family: var(--font-primary);
    text-align: center;
}

.pie-label span {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.line-chart svg {
    width: 100%;
    height: auto;
}

.line-chart polyline,
.line-chart path {
    fill: none;
    stroke: var(--color-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.glitch-path {
    stroke: var(--color-magenta);
    opacity: 0.7;
    animation: line-glitch 0.3s infinite;
}

/* ---------------------------------- */
/* >> 11. PROCESS SECTION << */
/* ---------------------------------- */
.process-section {
    background: var(--color-dark-secondary);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--color-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    opacity: 0.2;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-step:nth-child(odd) .process-content {
    padding-right: 30px;
}

.process-step:nth-child(even) .process-content {
    padding-left: 30px;
}

.process-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    background: var(--color-dark-bg);
    border: 2px solid var(--color-magenta);
    border-radius: 50%;
    text-align: center;
    top: 25px;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: var(--color-magenta);
    color: var(--color-dark-bg);
    transform: scale(1.1);
}

.process-step:nth-child(odd) .process-icon {
    right: -25px;
}

.process-step:nth-child(even) .process-icon {
    left: -25px;
}

.process-content h3 {
    color: var(--color-silver);
    margin-bottom: 10px;
}

.process-content p {
    color: var(--color-text-secondary);
}


/* ---------------------------------- */
/* >> 12. MEET THE BOTS SECTION << */
/* ---------------------------------- */
.bots-section {
    background: var(--color-dark-bg);
    overflow: hidden;
}

.bots-slider-wrapper {
    position: relative;
}

.bots-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.bot-card {
    flex: 0 0 300px;
    background: var(--color-dark-secondary);
    padding: 30px;
    text-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.bot-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 77, 255, 0.2);
    border: 1px solid var(--color-magenta);
}

.bot-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border: 4px solid var(--color-blue);
    border-radius: 50%;
    overflow: hidden;
}

.bot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-name {
    color: var(--color-magenta);
}

.bot-role {
    color: var(--color-blue);
    font-size: 14px;
    margin-bottom: 10px;
}

.bot-bio {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background: var(--color-dark-secondary);
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    font-size: 20px;
    cursor: pointer;
}

.nav-arrow:hover {
    background: var(--color-blue);
    color: var(--color-dark-bg);
}


/* ---------------------------------- */
/* >> 13. INDUSTRIES SECTION << */
/* ---------------------------------- */
.industries-section {
    background: var(--color-dark-secondary);
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.industry-item {
    padding: 15px 30px;
    border: 2px solid var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.industry-item:hover {
    border-color: var(--color-magenta);
    color: var(--color-magenta);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 77, 255, 0.1);
}

.industry-item span {
    color: var(--color-blue);
    margin-right: 10px;
}

/* ---------------------------------- */
/* >> 14. TESTIMONIALS SECTION << */
/* ---------------------------------- */
.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-silver);
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    font-family: var(--font-primary);
    position: absolute;
    opacity: 0.5;
}

.testimonial-quote::before {
    top: -10px;
    left: 0;
    color: var(--color-blue);
}

.testimonial-quote::after {
    bottom: -30px;
    right: 0;
    color: var(--color-magenta);
}

.testimonial-author {
    color: var(--color-blue);
    font-weight: 400;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--color-dark-secondary);
    border: 2px solid var(--color-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-magenta);
    border-color: var(--color-magenta);
}

/* ---------------------------------- */
/* >> 15. CTA SECTION << */
/* ---------------------------------- */
.cta-section {
    background-color: var(--color-dark-secondary);
    border-top: 1px solid rgba(0, 224, 255, 0.1);
    border-bottom: 1px solid rgba(0, 224, 255, 0.1);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--color-silver);
    margin-bottom: 15px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-secondary);
}

/* ---------------------------------- */
/* >> 16. FOOTER << */
/* ---------------------------------- */
.footer {
    padding: 80px 0 30px;
    background: #07070b;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--color-silver);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-about-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-text-secondary);
    color: var(--color-text-secondary);
    border-radius: 50%;
}

.social-links a:hover {
    border-color: var(--color-magenta);
    color: var(--color-magenta);
    transform: scale(1.1);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-blue);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.footer-contact i {
    color: var(--color-blue);
    margin-top: 5px;
}

.footer-contact a {
    color: var(--color-text-secondary);
}

.footer-contact a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: var(--color-text-secondary);
}

.status-online {
    color: var(--color-blue);
}

/* ---------------------------------- */
/* >> 17. CONTACT PAGE & FORM << */
/* ---------------------------------- */
.contact-page-section {
    background: var(--color-dark-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--color-dark-secondary);
    padding: 50px;
}

.contact-info-panel h3 {
    font-size: 2rem;
    color: var(--color-magenta);
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details-list i {
    font-size: 24px;
    color: var(--color-blue);
    margin-top: 5px;
}

.contact-details-list h4 {
    color: var(--color-silver);
    margin-bottom: 5px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--color-dark-bg);
    border: 1px solid var(--color-text-secondary);
    color: var(--color-text-primary);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-magenta);
    box-shadow: 0 0 10px rgba(255, 77, 255, 0.3);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-dark-secondary);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-blue);
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.2);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 48px;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.popup h3 {
    color: var(--color-silver);
    margin-bottom: 10px;
}

.popup p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}


/* ---------------------------------- */
/* >> 18. LIVE CHAT WIDGET << */
/* ---------------------------------- */
#live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#chat-toggle {
    width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
}

#chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--color-dark-secondary);
    border: 1px solid var(--color-blue);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--color-dark-bg);
}

.chat-header h5 {
    color: var(--color-silver);
}

#close-chat {
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message.bot p {
    background: var(--color-dark-bg);
    display: inline-block;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    max-width: 85%;
    font-size: 14px;
}

.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-blue);
    margin: 0 2px;
    animation: typing-dots 1s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--color-blue);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 15px;
    color: var(--color-text-primary);
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--color-magenta);
    padding: 0 15px;
    cursor: pointer;
    font-size: 18px;
}

/* ---------------------------------- */
/* >> 19. ANIMATIONS & KEYFRAMES << */
/* ---------------------------------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in[data-animation="fade-in-right"].visible {
    transform: translateX(0);
}

.animate-in[data-animation="fade-in-right"] {
    transform: translateX(-30px);
}

.animate-in[data-animation="fade-in-left"].visible {
    transform: translateX(0);
}

.animate-in[data-animation="fade-in-left"] {
    transform: translateX(30px);
}

@keyframes noise {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(132px, 9999px, 101px, 0);
    }

    5% {
        clip: rect(17px, 9999px, 94px, 0);
    }

    10% {
        clip: rect(40px, 9999px, 66px, 0);
    }

    /* ... more steps ... */
    100% {
        clip: rect(92px, 9999px, 98px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(129px, 9999px, 29px, 0);
    }

    5% {
        clip: rect(36px, 9999px, 4px, 0);
    }

    10% {
        clip: rect(21px, 9999px, 67px, 0);
    }

    /* ... more steps ... */
    100% {
        clip: rect(41px, 9999px, 3px, 0);
    }
}

@keyframes eye-blink {

    0%,
    90%,
    100% {
        transform: scaleY(1) translateZ(101px);
    }

    95% {
        transform: scaleY(0.1) translateZ(101px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 5px var(--color-magenta), 0 0 10px var(--color-magenta);
    }

    50% {
        box-shadow: 0 0 15px var(--color-magenta), 0 0 25px var(--color-magenta);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50px);
    }
}

@keyframes bar-grow {
    from {
        height: 0;
    }
}

@keyframes bar-glitch-anim {
    0% {
        transform: translateY(5px) scaleX(1.05);
    }

    100% {
        transform: translateY(-5px) scaleX(0.95);
    }
}

@keyframes pie-fill {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 25;
    }
}

@keyframes line-glitch {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(2px, -2px);
    }

    50% {
        transform: translate(-2px, 2px);
    }

    75% {
        transform: translate(2px, 2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes typing-dots {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}

/* ---------------------------------- */
/* >> 20. RESPONSIVE DESIGN << */
/* ---------------------------------- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-dark-secondary);
        flex-direction: column;
        padding-top: 100px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 25px;
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--color-silver);
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-toggle {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-3d-visual {
        width: 300px;
        height: 300px;
        margin-top: 40px;
    }

    .process-timeline::after {
        left: 25px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 10px;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        text-align: left;
    }

    .process-icon,
    .process-step:nth-child(odd) .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
    }

    .process-content,
    .process-step:nth-child(odd) .process-content,
    .process-step:nth-child(even) .process-content {
        padding: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .section-title,
    .cta-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .bot-card {
        flex: 0 0 80%;
    }

    #live-chat-widget {
        display: none;
    }

    /* Hide chat on mobile for better UX */
}

@media (max-width: 576px) {
    .header-actions .btn {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .bots-slider {
        padding: 0 20px;
    }

    .bot-card {
        flex-basis: 90%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .footer-links ul,
    .footer-contact ul {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}