/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette */
    --color-bg-dark: #0a0b12;
    --color-bg-card: #151725;
    --color-primary: #00f2ff;
    /* Cyan */
    --color-primary-dark: #00a8b3;
    --color-secondary: #7000ff;
    /* Electric Purple */
    --color-accent: #ff0055;
    /* Hot Pink for alerts/highlights */
    --color-text-main: #e0e0e0;
    --color-text-muted: #8b9bb4;
    --color-white: #ffffff;
    --color-border: #2a2e45;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-text: linear-gradient(90deg, #fff, var(--color-primary));
    --gradient-card: linear-gradient(180deg, rgba(21, 23, 37, 0.9) 0%, rgba(10, 11, 18, 0.95) 100%);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 242, 255, 0.4);
    --glow-text: 0 0 10px rgba(0, 242, 255, 0.6);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-highlight {
    color: var(--color-primary);
    text-shadow: var(--glow-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: inset 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    color: var(--color-bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center-align {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   3. LOADER
   ========================================= */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    width: 300px;
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    animation: blink 1s infinite;
}

.loader-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    transition: width 0.2s ease;
}

.loader-status {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 0.5s forwards 1s;
}

/* =========================================
   4. HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(10, 11, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.header.scrolled {
    background: rgba(10, 11, 18, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
    box-shadow: var(--glow-primary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: none;
}

@media (min-width: 768px) {
    .header-actions {
        display: block;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg-card);
    z-index: 1001;
    padding: 100px 40px;
    transition: var(--transition-slow);
    border-left: 1px solid var(--color-primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    display: block;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(1000px) rotateX(20deg) scale(1.5);
    transform-origin: top;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Particle dots added via JS, styling here */
.particle {
    position: absolute;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle linear infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-subtitle {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 3D Visual */
.hologram-container {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.cube-wrapper {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.cube {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -75px;
    margin-left: -75px;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid var(--color-primary);
    background: rgba(0, 242, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.2);
}

.front {
    transform: translateZ(75px);
}

.back {
    transform: rotateY(180deg) translateZ(75px);
}

.right {
    transform: rotateY(90deg) translateZ(75px);
}

.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.top {
    transform: rotateX(90deg) translateZ(75px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

.hologram-base {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(0, 242, 255, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(10px);
    animation: pulseBase 3s infinite ease-in-out;
}

.hero-stats {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.services-section {
    padding: 100px 0;
    position: relative;
    background: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--color-bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--color-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--color-secondary);
    font-size: 0.8rem;
}

/* =========================================
   7. CALCULATOR SECTION
   ========================================= */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #10121d 100%);
    position: relative;
}

.calc-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.calc-header {
    text-align: center;
    margin-bottom: 40px;
}

.calc-interface {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .calc-interface {
        grid-template-columns: 1fr 1fr;
    }
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}

.input-group input[type="number"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    padding: 15px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: 0.3s;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.slider-container {
    margin-top: 10px;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    appearance: none;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-primary);
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid transparent;
}

.result-card.highlight {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--color-primary);
    grid-column: span 2;
}

.result-card h3 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.result-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.result-card.highlight .result-val {
    color: var(--color-primary);
    font-size: 2.2rem;
}

.result-unit {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.calc-disclaimer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   8. PROCESS SECTION (Timeline)
   ========================================= */
.process-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-bg-dark);
    border: 4px solid var(--color-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--color-primary);
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-bg-card);
    position: relative;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.step-num {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--color-secondary);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    font-family: var(--font-heading);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

/* =========================================
   9. SAMPLE REPORT (UI)
   ========================================= */
.report-section {
    padding: 100px 0;
}

.report-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .report-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-list i {
    color: var(--color-primary);
}

.mock-dashboard {
    background: #1a1d2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-header {
    background: #25283d;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.dash-body {
    padding: 20px;
}

.dash-graph-area {
    height: 150px;
    border-left: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 5px;
}

.graph-bar-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

.d-bar {
    width: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px 2px 0 0;
    transition: height 1s ease;
}

.d-bar.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.dash-stats-row {
    display: flex;
    justify-content: space-between;
}

.d-stat label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.d-stat span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
}

/* =========================================
   10. INDUSTRIES & TESTIMONIALS
   ========================================= */
.industries-section {
    padding: 100px 0;
    background: #0d0f18;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ind-card {
    height: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.ind-card:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.ind-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

.ind-card:hover .ind-bg {
    transform: scale(1.1);
}

.ind-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
}

.ind-content i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testi-card {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.testi-quote {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testi-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #ccc;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--color-primary);
}

/* =========================================
   11. CTA & FOOTER
   ========================================= */
.cta-section {
    padding: 100px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #10002b, #001219);
}

.cta-bg-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.1) 0%, transparent 50%);
    animation: rotateBg 20s infinite linear;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer {
    background: #05060a;
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.brand-col p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #000;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.contact-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* =========================================
   12. LEGAL PAGES SPECIFIC
   ========================================= */
.legal-main {
    padding-top: 80px;
    min-height: 80vh;
}

.page-header {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    background: #0d0f18;
}

.page-header.small {
    padding: 120px 0 50px;
}

.legal-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 80px;
    border: 1px solid var(--color-border);
}

.legal-card h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: var(--color-primary);
}

.legal-card p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* =========================================
   13. CONTACT PAGE SPECIFIC
   ========================================= */
.contact-section {
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    padding: 12px;
    color: white;
    font-family: var(--font-body);
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* =========================================
   14. LIVE CHAT WIDGET
   ========================================= */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 300px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    overflow: hidden;
    z-index: 990;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--gradient-main);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
}

.chat-body {
    height: 250px;
    padding: 15px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
}

.chat-msg {
    margin-bottom: 10px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    border-top-left-radius: 0;
}

.chat-footer {
    padding: 10px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--color-border);
}

.chat-footer input {
    flex: 1;
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 8px;
    color: white;
    border-radius: 4px;
}

.chat-footer button {
    background: var(--color-primary);
    border: none;
    width: 35px;
    border-radius: 4px;
    cursor: pointer;
}

.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--color-primary);
    z-index: 991;
    font-size: 1.2rem;
    color: #000;
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

/* =========================================
   15. ANIMATIONS
   ========================================= */
@keyframes floatParticle {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes pulseBase {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.4;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-up,
.animate-left,
.animate-right,
.animate-fade {
    opacity: 0;
    transition: 0.8s ease-out;
}

.animate-up {
    transform: translateY(30px);
}

.animate-left {
    transform: translateX(30px);
}

.animate-right {
    transform: translateX(-30px);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade.visible {
    opacity: 1;
}