/*
Theme: Solo Productions (ReadyTemplate-179)
Concept: Cyberpunk-inspired UI for a creative production studio
Colors:
  - Steel Black: #111111
  - City Cyan: #00FFFF
  - Hot Pink: #FF007F
  - Pure White: #FFFFFF
  - Light Gray: #CCCCCC
  - Medium Gray: #888888
  - Dark Gray: #222222
*/

/* ------------------- */
/* 1. CSS Variables    */
/* ------------------- */
:root {
    --color-black: #111111;
    --color-cyan: #00FFFF;
    --color-pink: #FF007F;
    --color-white: #FFFFFF;
    --color-light-gray: #CCCCCC;
    --color-medium-gray: #888888;
    --color-dark-gray: #222222;
    --color-dark-gray-trans: rgba(34, 34, 34, 0.8);

    --font-primary: 'Roboto Mono', monospace;
    --font-display: 'Orbitron', sans-serif;

    --header-height: 80px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
}

/* ------------------- */
/* 2. Base & Reset     */
/* ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-light-gray);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-pink);
    text-shadow: 0 0 5px var(--color-pink);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ------------------- */
/* 3. Reusable Components */
/* ------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-medium);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--color-cyan);
    color: var(--color-black);
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan), inset 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    background-color: var(--color-pink);
    color: var(--color-white);
    border-color: var(--color-pink);
    box-shadow: 0 0 20px var(--color-pink), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-cyan);
    border-color: var(--color-cyan);
}

.btn-secondary:hover {
    background-color: var(--color-cyan);
    color: var(--color-black);
}

.btn-full {
    width: 100%;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-pink));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--color-white);
    text-shadow: 0.05em 0 0 rgba(0, 255, 255, 0.75), -0.025em -0.05em 0 rgba(255, 0, 127, 0.75), 0.025em 0.05em 0 rgba(0, 255, 255, 0.75);
    animation: glitch 500ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch span:first-child {
    animation: glitch 650ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-0.025em, -0.0125em);
    opacity: 0.8;
}

.glitch span:last-child {
    animation: glitch 375ms infinite;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    transform: translate(0.0125em, 0.025em);
    opacity: 0.8;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(0, 255, 255, 0.75), -0.05em 0 0 rgba(255, 0, 127, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(0, 255, 255, 0.75), -0.05em 0 0 rgba(255, 0, 127, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), 0.025em 0.025em 0 rgba(255, 0, 127, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), 0.025em 0.025em 0 rgba(255, 0, 127, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(0, 255, 255, 0.75), 0.05em 0 0 rgba(255, 0, 127, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(0, 255, 255, 0.75), 0.05em 0 0 rgba(255, 0, 127, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(0, 255, 255, 0.75), -0.025em -0.05em 0 rgba(255, 0, 127, 0.75);
    }
}

/* ------------------- */
/* 4. Header           */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    background-color: rgba(17, 17, 17, 0.8);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    transition: background-color var(--transition-fast), height var(--transition-fast);
}

.header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 45px;
    transition: transform var(--transition-medium);
}

.logo:hover img {
    transform: rotate(360deg);
}

.logo-mobile {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    color: var(--color-light-gray);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
}

/* ------------------- */
/* 5. Hero Section     */
/* ------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cyber-city-bg {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 50% 100%, rgba(255, 0, 127, 0.2), transparent 60%),
        linear-gradient(180deg, transparent 70%, var(--color-black) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%2300ffff' fill-opacity='0.1'%3E%3Crect x='0' y='0' width='10' height='100'/%3E%3Crect x='20' y='0' width='10' height='50'/%3E%3Crect x='40' y='20' width='10' height='80'/%3E%3Crect x='60' y='0' width='10' height='30'/%3E%3Crect x='80' y='40' width='10' height='60'/%3E%3C/g%3E%3C/svg%3E");
    animation: pan-city 60s linear infinite;
}

@keyframes pan-city {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 0 0, 0 0, -1000px 1000px;
    }
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--color-cyan) 1px, transparent 1px),
        linear-gradient(to right, var(--color-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: scanlines 10s linear infinite;
}

@keyframes scanlines {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 50px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
    display: block;
    font-size: 2.5rem;
    color: var(--color-pink);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.7);
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 2rem auto;
    color: var(--color-light-gray);
    text-shadow: 1px 1px 2px var(--color-black);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 1000px;
}

.data-cube-container {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 20%;
    left: 15%;
    animation: float 10s ease-in-out infinite;
}

.data-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(30deg);
    animation: spin 20s linear infinite;
}

.data-cube .face {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.face.front {
    transform: rotateY(0deg) translateZ(40px);
}

.face.back {
    transform: rotateY(180deg) translateZ(40px);
}

.face.right {
    transform: rotateY(90deg) translateZ(40px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(40px);
}

.face.top {
    transform: rotateX(90deg) translateZ(40px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

@keyframes spin {
    from {
        transform: rotateX(-30deg) rotateY(30deg);
    }

    to {
        transform: rotateX(-30deg) rotateY(390deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-cyan);
    border-radius: 25px;
    position: relative;
}

.mouse span {
    position: absolute;
    display: block;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--color-cyan);
    border-radius: 4px;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

/* ------------------- */
/* 6. Services Section */
/* ------------------- */
.services-section {
    background-color: #151515;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-black);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-dark-gray);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--color-cyan);
}

.service-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    background: var(--color-pink);
    z-index: 0;
    opacity: 0;
    transition: var(--transition-medium);
}

.service-card::before {
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
}

.service-card::after {
    bottom: 0;
    right: 0;
    width: 0;
    height: 4px;
}

.service-card:hover::before,
.service-card:hover::after {
    width: 100%;
    opacity: 1;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    transition: color var(--transition-medium);
}

.service-card:hover .service-icon {
    color: var(--color-pink);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.service-data-window {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-gray-trans);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.service-card:hover .service-data-window {
    transform: translateY(0);
}

.service-data-window h4 {
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.service-data-window ul {
    list-style-type: none;
}

.service-data-window li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-data-window li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-pink);
    position: absolute;
    left: 0;
    top: 0;
}

/* ------------------- */
/* 7. About Section    */
/* ------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-title h2::after {
    left: 0;
    transform: translateX(0);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat-item {
    text-align: center;
    border: 1px solid var(--color-dark-gray);
    padding: 1rem;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-cyan);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-medium-gray);
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-sphere {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 30% 30%, var(--color-cyan), var(--color-black) 70%);
    animation: sphere-pulse 4s infinite;
}

.data-sphere::before,
.data-sphere::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
}

.data-sphere::before {
    width: 350px;
    height: 350px;
    animation: rotate-sphere 15s linear infinite;
}

.data-sphere::after {
    width: 400px;
    height: 400px;
    animation: rotate-sphere 20s linear infinite reverse;
}

@keyframes sphere-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--color-cyan);
    }

    50% {
        box-shadow: 0 0 40px var(--color-cyan), 0 0 60px var(--color-cyan);
    }
}

@keyframes rotate-sphere {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.circuit-board-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%23ff007f' fill-opacity='0.2'%3E%3Cpath d='M0 10 L10 10 L10 0 M10 20 L10 10 L20 10'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

/* ------------------- */
/* 8. Industry Section */
/* ------------------- */
.industry-section {
    background-color: #151515;
}

.industry-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-dark-gray);
    margin-bottom: 2rem;
}

.tab-link {
    background: transparent;
    border: none;
    color: var(--color-medium-gray);
    font-family: var(--font-display);
    font-size: 1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-link:hover {
    color: var(--color-white);
}

.tab-link.active {
    color: var(--color-cyan);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--color-pink);
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------ */
/* 9. Campaign Simulator    */
/* ------------------------ */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--color-dark-gray);
    padding: 3rem;
    border: 1px solid var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    text-align: left;
}

.simulator-form .form-group {
    margin-bottom: 2rem;
}

.simulator-form label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-light-gray);
}

.simulator-form input[type="range"],
.simulator-form select {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--color-black);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-light-gray);
    font-family: var(--font-primary);
}

.simulator-form select {
    padding: 0.75rem;
}

.simulator-form input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #333;
    outline: none;
    padding: 0;
}

.simulator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-cyan);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
}

.simulator-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-cyan);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
}

#budget-value,
#rate-value {
    color: var(--color-pink);
    font-weight: bold;
    margin-left: 1rem;
}

.simulator-results {
    border-left: 1px solid var(--color-dark-gray);
    padding-left: 3rem;
}

.simulator-results h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    background-color: var(--color-black);
    padding: 1.5rem;
    text-align: center;
}

.result-item h4 {
    color: var(--color-medium-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.result-item p {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--color-cyan);
}

.simulator-results .disclaimer {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
    font-style: italic;
}

/* ------------------- */
/* 10. Testimonials    */
/* ------------------- */
.testimonials-section {
    background-color: #151515;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 2rem 3rem;
    text-align: center;
}

.testimonial-content {
    background-color: var(--color-dark-gray);
    padding: 2rem;
    border-left: 4px solid var(--color-cyan);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    color: var(--color-cyan);
    opacity: 0.2;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: var(--color-white);
}

.testimonial-author span {
    color: var(--color-pink);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-btn,
.next-btn {
    pointer-events: all;
    background: var(--color-dark-gray);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.prev-btn {
    margin-left: -20px;
}

.next-btn {
    margin-right: -20px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--color-cyan);
    color: var(--color-black);
}

/* ------------------- */
/* 11. Live Chat       */
/* ------------------- */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-cyan), var(--color-pink));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
    transition: transform var(--transition-fast);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background-color: var(--color-dark-gray);
    border: 1px solid var(--color-cyan);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.5) translateY(50px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-black);
    border-bottom: 1px solid var(--color-cyan);
}

.chat-header h4 {
    margin: 0;
}

.chat-header #close-chat {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
}

.chat-body .message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.chat-body .message p {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    display: inline-block;
}

.chat-body .bot {
    align-self: flex-start;
}

.chat-body .bot p {
    background-color: var(--color-black);
    border-bottom-left-radius: 2px;
}

.chat-body .user {
    margin-left: auto;
    text-align: right;
}

.chat-body .user p {
    background-color: var(--color-cyan);
    color: var(--color-black);
    border-bottom-right-radius: 2px;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--color-dark-gray);
}

#chat-input {
    flex-grow: 1;
    background: var(--color-black);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-white);
    padding: 0.75rem;
    border-radius: 5px;
    margin-right: 0.5rem;
}

#send-chat {
    background: var(--color-cyan);
    color: var(--color-black);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ------------------- */
/* 12. Footer          */
/* ------------------- */
.footer {
    background-color: var(--color-black);
    padding: 80px 0 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%2300ffff' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 50px;
}

.footer-col .logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--color-medium-gray);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-dark-gray);
    border-radius: 50%;
    color: var(--color-medium-gray);
    transition: var(--transition-medium);
}

.social-links a:hover {
    background-color: var(--color-cyan);
    color: var(--color-black);
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-pink);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--color-medium-gray);
}

.footer-links ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-medium-gray);
}

.footer-contact i {
    color: var(--color-cyan);
    margin-top: 5px;
}

.footer-contact a {
    color: var(--color-medium-gray);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--color-dark-gray);
    text-align: center;
    color: var(--color-medium-gray);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ------------------- */
/* 13. Inner Pages     */
/* ------------------- */
.page-header-section {
    padding: 150px 0 80px;
    position: relative;
    background-color: var(--color-black);
}

.page-header-section .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 1)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%2300ffff' fill-opacity='0.1'%3E%3Crect x='0' y='0' width='10' height='100'/%3E%3Crect x='20' y='0' width='10' height='50'/%3E%3Crect x='40' y='20' width='10' height='80'/%3E%3Crect x='60' y='0' width='10' height='30'/%3E%3Crect x='80' y='40' width='10' height='60'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    color: var(--color-medium-gray);
}

.breadcrumbs a {
    color: var(--color-light-gray);
}

.breadcrumbs a:hover {
    color: var(--color-cyan);
}

.breadcrumbs i {
    margin: 0 0.5rem;
    font-size: 0.8rem;
    color: var(--color-pink);
}

.legal-content,
.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 3rem;
    border: 1px solid var(--color-dark-gray);
}

.legal-content h2 {
    color: var(--color-cyan);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-dark-gray);
    padding-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content a {
    font-weight: bold;
}

/* Contact Page Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-panel h3 {
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.contact-details-list {
    margin-top: 2rem;
}

.contact-details-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--color-pink);
    margin-top: 5px;
}

.contact-details-list h4 {
    margin-bottom: 0.25rem;
}

.contact-details-list p,
.contact-details-list a {
    color: var(--color-medium-gray);
}

.contact-details-list a:hover {
    color: var(--color-white);
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-light-gray);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--color-black);
    border: 1px solid var(--color-medium-gray);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.popup.show {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background-color: var(--color-dark-gray);
    padding: 3rem;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    border: 1px solid var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: scale(0.8);
    transition: transform var(--transition-medium);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--color-light-gray);
    margin-bottom: 2rem;
}

/* ------------------- */
/* 14. Responsive      */
/* ------------------- */

/* Tablets and larger phones */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-visual {
        margin-top: 3rem;
    }

    .simulator-wrapper {
        grid-template-columns: 1fr;
    }

    .simulator-results {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--color-dark-gray);
        padding-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .header {
        background-color: rgba(17, 17, 17, 0.95);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-black);
        z-index: 1001;
        transition: right var(--transition-medium);
        padding: 2rem;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--color-dark-gray);
    }

    .logo-mobile {
        display: block;
    }

    .logo-mobile img {
        height: 40px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        margin-top: 3rem;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
        text-align: center;
        border-bottom: 1px solid var(--color-dark-gray);
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .data-cube-container {
        display: none;
    }

    .page-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slide {
        padding: 1rem;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-link {
        flex-basis: 50%;
        font-size: 0.9rem;
        padding: 1rem;
    }
}