/* ==========================================================================
   CSS Custom Properties & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #00d2ff;
    --color-primary-dark: #0088cc;
    --color-secondary: #3a47d5;
    --color-bg-main: #0a0e17;
    --color-bg-alt: #111827;
    --color-bg-light: #1f2937;
    --color-text-main: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-white: #ffffff;
    --color-accent: #f59e0b;
    --color-success: #10b981;
    --color-danger: #ef4444;

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(0, 210, 255, 0.4);
    --shadow-glow-large: 0 0 30px rgba(0, 210, 255, 0.6);

    /* Z-Index */
    --z-back: -10;
    --z-normal: 1;
    --z-tooltip: 100;
    --z-fixed: 500;
    --z-modal: 1000;
    --z-preloader: 9999;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo img {
    width: 150px;
    animation: pulse 2s infinite;
    filter: brightness(1) invert(1);
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--color-bg-light);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--color-primary);
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes loadingBar {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    margin-left: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
    transition: all var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-large);
    transform: translateY(-3px);
    color: var(--color-white);
}

.btn-primary-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-primary-outline:hover {
    background: var(--color-primary);
    color: var(--color-bg-main);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(10, 14, 23, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: brightness(1) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-white);
}

/* ==========================================================================
   Hero Section (3D & Interactive)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--color-bg-alt) 0%, var(--color-bg-main) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-white), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 3D Hero Graphic */
.hero-visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene-3d {
    width: 100%;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: float3D 10s infinite linear;
}

.cube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin-left: -75px;
    margin-top: -75px;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(45deg);
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--color-primary);
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(5px);
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(75px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(75px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(75px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(75px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

.floating-element {
    position: absolute;
    background: var(--color-bg-light);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.float-1 {
    top: 10%;
    left: 0;
    animation: floatY 4s infinite ease-in-out;
}

.float-2 {
    bottom: 10%;
    right: 0;
    animation: floatY 5s infinite ease-in-out reverse;
}

.float-3 {
    top: 60%;
    left: -20%;
    animation: floatX 6s infinite ease-in-out;
}

.floating-element i {
    font-size: 2rem;
    color: var(--color-primary);
}

.floating-element span {
    font-weight: 600;
    color: var(--color-white);
}

@keyframes float3D {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    50% {
        transform: rotateY(180deg) rotateX(-10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0) translateZ(50px);
    }

    50% {
        transform: translateY(-20px) translateZ(50px);
    }
}

@keyframes floatX {

    0%,
    100% {
        transform: translateX(0) translateZ(30px);
    }

    50% {
        transform: translateX(20px) translateZ(30px);
    }
}

/* ==========================================================================
   Ticker Section
   ========================================================================== */
.ticker-section {
    background: var(--color-primary);
    padding: 1rem 0;
    overflow: hidden;
    display: flex;
}

.ticker-wrap {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 3rem;
    color: var(--color-bg-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Services Section (3D Flip Cards)
   ========================================================================== */
.services-section {
    background: var(--color-bg-alt);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-front {
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-md);
}

.service-card-front i {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
}

.service-card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.service-card-back {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    color: white;
    transform: rotateY(180deg);
}

.service-card-back p {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 210, 255, 0.2), transparent);
    z-index: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--color-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
    background: var(--color-bg-alt);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.process-step {
    width: 22%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 100px;
    height: 100px;
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-bounce);
}

.process-step:hover .process-icon {
    transform: translateY(-15px);
    box-shadow: var(--shadow-glow);
    background: var(--color-primary);
}

.process-step h3 {
    font-size: 1.2rem;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */
.industries-section {
    background: var(--color-bg-main);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    background: var(--color-bg-light);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.industry-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: transform var(--transition-bounce);
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    background: rgba(31, 41, 55, 0.8);
}

.industry-card:hover i {
    transform: scale(1.2);
}

/* ==========================================================================
   Interactive ROI Calculator
   ========================================================================== */
.calculator-section {
    background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg-main));
}

.calculator-wrapper {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-white);
}

.calc-group input[type="range"] {
    width: 100%;
    appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.calc-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.calc-result h3 {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.result-value {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-success);
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Live Campaign Reports (CSS Charts)
   ========================================================================== */
.reports-section {
    background: var(--color-bg-main);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 300px;
    padding: 2rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.chart-bar {
    width: 60px;
    background: linear-gradient(to top, var(--color-secondary), var(--color-primary));
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
    transform-origin: bottom;
    animation: growBar 1.5s ease-out forwards;
    opacity: 0;
}

.chart-bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--color-white);
}

.chart-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    white-space: nowrap;
}

@keyframes growBar {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    background: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    font-family: serif;
    color: rgba(0, 210, 255, 0.1);
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-bg-main);
    font-weight: bold;
}

.stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary-dark));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.1"><circle cx="50" cy="50" r="40" fill="none" stroke="%23fff" stroke-width="2"/></svg>') repeat;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #050810;
    padding: 5rem 0 0 0;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(1) invert(1);
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    transition: all var(--transition-bounce);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-bottom {
    background: #020408;
    padding: 1.5rem 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Live Chat Widget
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-modal);
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: transform var(--transition-bounce);
    animation: floatY 3s infinite ease-in-out;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--color-bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform var(--transition-bounce);
    opacity: 0;
}

.chat-window.open {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background: var(--color-primary-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.chat-header img {
    width: 30px;
    border-radius: 50%;
}

.close-chat {
    margin-left: auto;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    background: var(--color-bg-alt);
}

.chat-body p {
    background: var(--color-bg-light);
    padding: 0.8rem;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    font-size: 0.9rem;
    color: var(--color-white);
}

.chat-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-footer input {
    flex: 1;
    padding: 0.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-bg-alt);
    color: white;
    outline: none;
}

.chat-footer button {
    background: var(--color-primary);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    border: 1px solid var(--color-primary);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-5px);
}

/* ==========================================================================
   Page Headers (Internal/Legal Pages)
   ========================================================================== */
.page-header {
    padding: 10rem 0 5rem 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-bg-alt), var(--color-bg-main));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.03"><path d="M0 0h60v60H0z" fill="none"/><path d="M0 30h60M30 0v60" stroke="%23fff" stroke-width="1"/></svg>');
}

.page-header h1 {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Legal & Content Pages
   ========================================================================== */
.legal-content {
    background: var(--color-bg-main);
}

.content-wrapper {
    background: var(--color-bg-light);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper h2 {
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-wrapper ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-block {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.info-text h4 {
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}

.contact-form-block {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--color-bg-main);
    padding: 0 0.5rem;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--color-primary);
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transform: translateY(50px);
    transition: all var(--transition-bounce);
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-glow-large);
}

.popup.show .popup-content {
    transform: translateY(0);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 1.5rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Animations (Scroll & Entry)
   ========================================================================== */
.animate-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

[data-animation="fade-in-left"] {
    transform: translateX(-50px);
}

[data-animation="fade-in-right"] {
    transform: translateX(50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-bg-main);
        flex-direction: column;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container,
    .about-grid,
    .calculator-wrapper,
    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .process-timeline {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        width: 100%;
    }

    .chart-container {
        flex-wrap: wrap;
        height: auto;
        border: none;
        gap: 1rem;
    }

    .chart-bar {
        margin-bottom: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .calc-result .result-value {
        font-size: 3rem;
    }
}