/* ==========================================================================
   NEURO-DIGITAL CYBER-GLASS THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Syncopate:wght@400;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #040408;
    --bg-surface: #0a0a12;
    --bg-glass: rgba(15, 15, 25, 0.4);
    --bg-glass-hover: rgba(25, 25, 40, 0.6);
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff0055;
    --neon-purple: #8a2be2;
    --text-primary: #ffffff;
    --text-muted: #8b8b9e;

    /* UI Borders & Glows */
    --border-thin: 1px solid rgba(255, 255, 255, 0.05);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
    --glow-magenta: 0 0 20px rgba(255, 0, 85, 0.3);

    /* Typography */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --pad-section: 120px 5%;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-pill: 100px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Dynamic Cyber Cursor */
.cyber-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: var(--glow-cyan);
}

.cyber-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cyber-cursor.hover {
    width: 20px;
    height: 20px;
    background: var(--neon-magenta);
    box-shadow: var(--glow-magenta);
}

.cyber-cursor-ring.hover {
    width: 70px;
    height: 70px;
    border-color: var(--neon-magenta);
    background: rgba(255, 0, 85, 0.1);
    backdrop-filter: blur(2px);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Gradient Text */
.text-cyan {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.text-magenta {
    color: var(--neon-magenta);
    text-shadow: var(--glow-magenta);
}

.gradient-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cyber Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    border: none;
    transition: var(--transition);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    z-index: -1;
    transition: opacity 0.4s;
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-purple));
    z-index: -2;
    transition: opacity 0.4s;
    opacity: 0;
}

.btn:hover::before {
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
    color: #fff;
}

.btn-hollow {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-hollow::before,
.btn-hollow::after {
    display: none;
}

.btn-hollow:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* Globals */
.section-tag {
    display: inline-block;
    padding: 8px 16px;
    border: var(--border-thin);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

/* Ambient Background Blobs */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    animation: drift 20s infinite alternate;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: var(--neon-purple);
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: var(--neon-cyan);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

/* ==========================================================================
   1. GLOBAL HEADER (IDENTICAL SITE-WIDE)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    height: 80px;
    background: rgba(4, 4, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-thin);
}

.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: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 5% 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 550px;
    margin-bottom: 3rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Data Pipeline Animation */
.pipeline-ring {
    position: absolute;
    border: 1px dashed rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: rotateRing 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation-duration: 15s;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border-color: rgba(255, 0, 85, 0.3);
    animation-direction: reverse;
}

.ring-3 {
    width: 600px;
    height: 600px;
    border-color: rgba(138, 43, 226, 0.3);
    animation-duration: 25s;
}

/* ==========================================================================
   3. TECH MARQUEE
   ========================================================================== */
.marquee-bar {
    padding: 30px 0;
    border-top: var(--border-thin);
    border-bottom: var(--border-thin);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: marqueeLeft 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ==========================================================================
   4. AGENCY PROCESS TIMELINE
   ========================================================================== */
#process {
    padding: var(--pad-section);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.process-step {
    position: relative;
    padding-top: 40px;
}

.step-node {
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--glow-cyan);
}

.process-step h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.process-step p {
    text-align: center;
    font-size: 1rem;
}

/* ==========================================================================
   5. SERVICES (JS SPOTLIGHT CARDS)
   ========================================================================== */
#services {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.spotlight-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(0, 240, 255, 0.1), transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(0, 240, 255, 0.5), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.spotlight-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
}

/* ==========================================================================
   6. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
#roi {
    padding: var(--pad-section);
}

.roi-wrapper {
    background: var(--bg-glass);
    border: var(--border-thin);
    border-radius: var(--radius-lg);
    padding: 4rem;
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.slider-group {
    margin-bottom: 2.5rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.slider-val {
    color: var(--neon-magenta);
    font-weight: 700;
    font-size: 1.2rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-magenta);
    cursor: pointer;
    box-shadow: var(--glow-magenta);
}

.roi-output-box {
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    background: rgba(255, 0, 85, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roi-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #fff;
    text-shadow: var(--glow-magenta);
    margin: 1rem 0;
}

/* ==========================================================================
   7. INDUSTRIES
   ========================================================================== */
#industries {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.ind-box {
    background: var(--bg-dark);
    border: var(--border-thin);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: 0.3s;
}

.ind-box:hover {
    border-color: var(--neon-purple);
    background: rgba(138, 43, 226, 0.05);
    transform: translateY(-5px);
}

.ind-box h3 {
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   8. CAMPAIGN REPORTS (SVG ANIMATION)
   ========================================================================== */
#reports {
    padding: var(--pad-section);
}

.report-panel {
    background: var(--bg-glass);
    border: var(--border-thin);
    border-radius: var(--radius-lg);
    padding: 4rem;
    margin-top: 4rem;
    position: relative;
}

.chart-container {
    height: 350px;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.svg-graph {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-path {
    fill: none;
    stroke: url(#cyan-gradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.graph-area {
    fill: url(#cyan-area);
    opacity: 0;
    transition: opacity 2s 1s;
}

/* ==========================================================================
   9. TESTIMONIALS (FROSTED GRID)
   ========================================================================== */
#reviews {
    padding: var(--pad-section);
    background: var(--bg-surface);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.review-card {
    background: var(--bg-glass);
    border: var(--border-thin);
    padding: 3rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.r-stars {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.r-text {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2rem;
    font-style: italic;
}

.r-author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--neon-magenta);
}

/* ==========================================================================
   10. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--pad-section);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background: var(--bg-glass);
    border: var(--border-thin);
    border-radius: var(--radius-lg);
    padding: 5rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.c-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.c-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neon-cyan);
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: var(--border-thin);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

textarea.form-input {
    min-height: 120px;
    resize: none;
}

/* ==========================================================================
   11. LIVE CHAT WIDGET
   ========================================================================== */
.chat-dock {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neon-cyan);
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--glow-cyan);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-ui {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--neon-cyan);
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.4s;
}

.chat-ui.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-top {
    background: var(--neon-cyan);
    padding: 15px;
    color: #000;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.chat-mid {
    height: 250px;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95rem;
}

.chat-bot {
    display: flex;
    border-top: var(--border-thin);
}

.chat-bot input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    outline: none;
}

.chat-bot button {
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    padding: 0 15px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   12. GLOBAL FOOTER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
footer {
    background: #020204;
    padding: 80px 5% 30px;
    border-top: var(--border-thin);
    position: relative;
    z-index: 10;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.f-brand img {
    height: 55px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
 }

.f-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.f-links {
    list-style: none;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links a {
    color: var(--text-muted);
    transition: 0.3s;
    font-size: 0.95rem;
}

.f-links a:hover {
    color: var(--neon-cyan);
    padding-left: 5px;
}

.f-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    border-top: var(--border-thin);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-header {
    padding: 180px 5% 80px;
    text-align: center;
    border-bottom: var(--border-thin);
    background: var(--bg-surface);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 5%;
}

.legal-container h2 {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    margin: 3rem 0 1.5rem;
}

.legal-container p {
    margin-bottom: 1.5rem;
}

.legal-container ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    color: var(--text-muted);
}

.legal-container li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes drift {
    100% {
        transform: translate(100px, 50px);
    }
}

@keyframes rotateRing {
    100% {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes marqueeLeft {
    100% {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .roi-wrapper,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .process-grid,
    .review-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-grid::before {
        display: none;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .ind-grid,
    .foot-grid {
        grid-template-columns: 1fr;
    }

    .cyber-cursor,
    .cyber-cursor-ring {
        display: none;
    }

    /* Disable custom cursor on mobile */
}