/* ==========================================================================
   AURORA GLASSMORPHISM THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Aurora Color Palette */
    --bg-deep: #030712;
    --bg-glass: rgba(17, 24, 39, 0.6);
    --bg-glass-hover: rgba(31, 41, 55, 0.8);
    --aurora-1: #ec4899;
    /* Magenta */
    --aurora-2: #8b5cf6;
    /* Violet */
    --aurora-3: #f43f5e;
    /* Coral */
    --aurora-4: #3b82f6;
    /* Blue */

    /* Typography */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* UI Elements */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glow: 1px solid rgba(139, 92, 246, 0.3);
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-pill: 9999px;
    --section-padding: 140px 5%;

    /* Transitions */
    --bezier-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Dynamic Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--aurora-1);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--aurora-1);
    background: rgba(236, 72, 153, 0.1);
    backdrop-filter: blur(2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--aurora-2);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--bezier-smooth);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.text-center {
    text-align: center;
}

/* Aurora Text Gradient */
.text-gradient {
    background: linear-gradient(to right, var(--aurora-1), var(--aurora-2), var(--aurora-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s linear infinite;
}

/* Magnetic Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--bezier-smooth);
    z-index: 1;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-glass {
    background: var(--bg-glass);
    color: #fff;
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--aurora-2);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Section Headers */
.section-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

/* Background Aurora Blobs */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--aurora-1);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--aurora-2);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--aurora-4);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

/* ==========================================================================
   1. GLOBAL HEADER (IDENTICAL ON ALL PAGES)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: all 0.4s var(--bezier-smooth);
}

header.scrolled {
    height: 80px;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo-container img {
    height: 55px;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aurora-1);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 0;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ==========================================================================
   3. CLIENT MARQUEE (TRUST BAR)
   ========================================================================== */
.marquee-container {
    padding: 40px 0;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   4. SERVICES (GLASSMORPHISM CARDS)
   ========================================================================== */
#services {
    padding: var(--section-padding);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s var(--bezier-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
    transform: scale(0.5);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--aurora-2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   5. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
#calculator {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.3);
}

.calc-wrapper {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 4rem;
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.slider-container {
    margin-bottom: 3rem;
}

.slider-container label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.slider-val {
    color: var(--aurora-1);
    font-weight: 700;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: 3px solid var(--aurora-2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transition: 0.2s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: var(--radius-sm);
}

.calc-result h4 {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.result-number {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   6. INDUSTRY EXPERTISE
   ========================================================================== */
#industries {
    padding: var(--section-padding);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.ind-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}

.ind-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--aurora-1);
    transform: translateY(-5px);
}

.ind-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

/* ==========================================================================
   7. 3D ANALYTICS REPORTS (PURE CSS/JS)
   ========================================================================== */
#reports {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.chart-3d-wrapper {
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 2rem;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    margin-top: 4rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.bar-3d {
    width: 60px;
    background: linear-gradient(to top, var(--aurora-2), var(--aurora-1));
    position: relative;
    transform: rotateX(20deg) translateZ(0);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px 4px 0 0;
    transition: height 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 0;
}

.bar-3d::before {
    /* Left Face */
    content: '';
    position: absolute;
    top: 10px;
    left: -20px;
    width: 20px;
    height: 100%;
    background: linear-gradient(to top, rgba(139, 92, 246, 0.6), rgba(236, 72, 153, 0.6));
    transform: skewY(-45deg);
    transform-origin: right;
}

.bar-3d::after {
    /* Top Face */
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 20px;
    background: var(--aurora-1);
    transform: skewX(-45deg);
    transform-origin: bottom;
}

.bar-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    color: var(--text-secondary);
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */
#testimonials {
    padding: var(--section-padding);
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.test-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 3rem;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
}

.test-card p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.test-author {
    font-family: var(--font-heading);
    color: var(--aurora-1);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ==========================================================================
   9. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info-box {
    background: var(--bg-glass);
    padding: 2rem;
    border-radius: var(--radius-sm);
    border: var(--border-glass);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.contact-info-box:hover {
    border-color: var(--aurora-2);
    background: rgba(255, 255, 255, 0.05);
}

.c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--aurora-1);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--aurora-1);
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   10. LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-panel {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 340px;
    background: var(--bg-deep);
    border: var(--border-glow);
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: 0.4s var(--bezier-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.chat-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-bottom: var(--border-glass);
}

.chat-body {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
}

.chat-input {
    display: flex;
    border-top: var(--border-glass);
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #fff;
    outline: none;
}

.chat-input button {
    background: transparent;
    border: none;
    color: var(--aurora-1);
    font-weight: bold;
    padding: 0 20px;
    cursor: pointer;
}

/* ==========================================================================
   11. GLOBAL FOOTER (IDENTICAL SITE-WIDE)
   ========================================================================== */
footer {
    background: #010205;
    padding: 100px 5% 40px;
    border-top: var(--border-glass);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.footer-brand img {
    height: 55px;
    filter: invert(1);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    max-width: 350px;
    font-size: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--aurora-1);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #6b7280;
    font-size: 0.9rem;
}

/* ==========================================================================
   LEGAL PAGES CSS
   ========================================================================== */
.page-header {
    padding: 200px 5% 100px;
    text-align: center;
    border-bottom: var(--border-glass);
    position: relative;
    z-index: 10;
}

.page-content {
    padding: 100px 5%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: var(--bg-deep);
}

.page-content h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin: 3.5rem 0 1.5rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.page-content li {
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s var(--bezier-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .calc-wrapper,
    .contact-grid,
    .test-grid {
        grid-template-columns: 1fr;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .ind-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    /* Disable custom cursor on mobile */
}