/* ==========================================================================
   HOLOGRAPHIC CYBER-GOLD THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --bg-obsidian: #050508;
    --bg-panel: #0a0b10;
    --bg-glass: rgba(15, 16, 24, 0.6);
    --gold-primary: #F5C32C;
    --crimson: #E94057;
    --violet: #8A2387;
    --text-main: #f8f9fa;
    --text-muted: #8b92a5;

    /* Structural Elements */
    --border-dim: 1px solid rgba(255, 255, 255, 0.05);
    --border-gold: 1px solid rgba(245, 195, 44, 0.3);

    /* Typography */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Metrics */
    --pad-section: 140px 5%;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    /* Animations */
    --ease-out-expo: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smooth Scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Custom Magnetic Cursor */
.holo-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    box-shadow: 0 0 15px var(--gold-primary);
}

.holo-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(245, 195, 44, 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, background 0.3s;
}

.holo-cursor.hover {
    width: 0;
    height: 0;
}

.holo-cursor-ring.hover {
    width: 80px;
    height: 80px;
    border-color: var(--gold-primary);
    background: rgba(245, 195, 44, 0.1);
    backdrop-filter: blur(2px);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}

::-webkit-scrollbar-thumb {
    background: #1a1c23;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-out-expo);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Holographic Text Gradient */
.text-holo {
    background: linear-gradient(135deg, var(--gold-primary), var(--crimson), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s linear infinite;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
    transition: var(--ease-out-expo);
    z-index: 1;
}

.btn-gold {
    background: var(--gold-primary);
    color: var(--bg-obsidian);
    box-shadow: 0 10px 30px rgba(245, 195, 44, 0.2);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--ease-out-expo);
    z-index: -1;
    transform: skewX(-20deg);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 195, 44, 0.4);
}

.btn-glass {
    background: var(--bg-glass);
    border: var(--border-dim);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    border-color: var(--gold-primary);
    background: rgba(245, 195, 44, 0.05);
}

/* Section Headers */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.sec-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.sec-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* Ambient Holographic Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-gold {
    width: 50vw;
    height: 50vw;
    background: rgba(245, 195, 44, 0.15);
    top: -20%;
    left: -10%;
}

.orb-violet {
    width: 40vw;
    height: 40vw;
    background: rgba(138, 35, 135, 0.15);
    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;
    transition: var(--ease-out-expo);
    background: transparent;
}

header.scrolled {
    height: 80px;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: var(--border-dim);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-box img {
    height: 50px;
    filter: invert(1);
}

.nav-list {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-list a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    transition: var(--ease-out-expo);
}

.nav-list a:hover {
    color: var(--gold-primary);
}

/* ==========================================================================
   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, 7rem);
    letter-spacing: -2px;
    margin-bottom: 2rem;
    line-height: 0.95;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ==========================================================================
   3. METRICS MARQUEE
   ========================================================================== */
.marquee-wrapper {
    border-top: var(--border-dim);
    border-bottom: var(--border-dim);
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: marqueeScroll 35s linear infinite;
}

.m-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-item span {
    color: var(--gold-primary);
}

/* ==========================================================================
   4. AGENCY INTRO
   ========================================================================== */
#intro {
    padding: var(--pad-section);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.intro-text {
    font-size: 2.2rem;
    font-family: var(--font-display);
    line-height: 1.3;
    color: var(--text-main);
}

/* ==========================================================================
   5. SERVICES (MOUSE-TRACKING GLOW CARDS)
   ========================================================================== */
#services {
    padding: var(--pad-section);
    background: var(--bg-panel);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.glow-card {
    background: var(--bg-obsidian);
    border-radius: var(--radius-md);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.glow-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(245, 195, 44, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(245, 195, 44, 0.8), 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;
}

.glow-card:hover::before,
.glow-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.b-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--gold-primary);
}

.glow-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   6. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
#calculator {
    padding: var(--pad-section);
}

.calc-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.calc-box {
    background: var(--bg-glass);
    border: var(--border-dim);
    padding: 4rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.range-wrap {
    margin-bottom: 3rem;
}

.range-wrap label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.range-val {
    color: var(--gold-primary);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 15px var(--gold-primary);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result {
    text-align: center;
    padding: 4rem;
    border: 1px solid rgba(245, 195, 44, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(245, 195, 44, 0.03);
}

.calc-result h4 {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.res-val {
    font-size: 5.5rem;
    font-family: var(--font-display);
    color: var(--text-main);
    text-shadow: 0 0 30px rgba(245, 195, 44, 0.2);
    margin-bottom: 2rem;
    line-height: 1;
}

/* ==========================================================================
   7. INDUSTRIES
   ========================================================================== */
#industries {
    padding: var(--pad-section);
    background: var(--bg-panel);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.ind-card {
    border: var(--border-dim);
    padding: 3rem 2rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--ease-out-expo);
    background: var(--bg-obsidian);
}

.ind-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    background: rgba(245, 195, 44, 0.05);
}

.ind-card h3 {
    font-size: 1.2rem;
}

/* ==========================================================================
   8. LIVE ANALYTICS REPORT (SVG CURVE)
   ========================================================================== */
#reports {
    padding: var(--pad-section);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.chart-container {
    background: var(--bg-glass);
    border: var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 3rem;
    height: 400px;
    position: relative;
    backdrop-filter: blur(10px);
}

.svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-path {
    fill: none;
    stroke: url(#holo-grad);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2.5s var(--ease-out-expo);
}

.chart-area {
    fill: url(#holo-area);
    opacity: 0;
    transition: opacity 2s 1s;
}

.data-point {
    fill: var(--bg-obsidian);
    stroke: var(--gold-primary);
    stroke-width: 3;
    opacity: 0;
    transition: 0.5s 2s;
}

/* ==========================================================================
   9. TESTIMONIALS (3D CYLINDER)
   ========================================================================== */
#testimonials {
    padding: var(--pad-section);
    background: var(--bg-panel);
    overflow: hidden;
}

.test-scene {
    height: 400px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

.test-carousel {
    width: 600px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s var(--ease-out-expo);
}

.test-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-obsidian);
    border: var(--border-dim);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.t-quote {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.t-author {
    font-family: var(--font-display);
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   10. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--pad-section);
}

.contact-wrap {
    background: var(--bg-glass);
    border: var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    backdrop-filter: blur(20px);
}

.c-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.c-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(245, 195, 44, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(245, 195, 44, 0.3);
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    color: #fff;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(245, 195, 44, 0.1);
}

textarea.form-input {
    min-height: 150px;
    resize: none;
}

/* ==========================================================================
   11. LIVE CHAT WIDGET
   ========================================================================== */
.chat-dock {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--crimson));
    border: none;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(245, 195, 44, 0.3);
    transition: 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    background: var(--bg-obsidian);
    border: var(--border-gold);
    border-radius: var(--radius-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.4s var(--ease-out-expo);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.chat-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-head {
    background: var(--bg-panel);
    padding: 20px;
    border-bottom: var(--border-dim);
    font-family: var(--font-display);
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-body {
    height: 280px;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.chat-inp {
    display: flex;
    border-top: var(--border-dim);
}

.chat-inp input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    outline: none;
}

.chat-inp button {
    background: transparent;
    border: none;
    color: var(--gold-primary);
    padding: 0 20px;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
}

/* ==========================================================================
   12. GLOBAL FOOTER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
footer {
    background: #030304;
    padding: 100px 5% 40px;
    border-top: var(--border-dim);
    position: relative;
    z-index: 10;
}

.foot-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 5rem;
}

.foot-brand img {
    height: 50px;
    filter: invert(1);
    margin-bottom: 1.5rem;
}

.foot-brand p {
    max-width: 320px;
    font-size: 1.05rem;
}

.f-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.f-links {
    list-style: none;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.f-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.foot-bottom {
    text-align: center;
    border-top: var(--border-dim);
    padding-top: 2rem;
    color: #555;
    font-size: 0.9rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-header {
    padding: 200px 5% 100px;
    text-align: center;
    background: var(--bg-panel);
    border-bottom: var(--border-dim);
}

.legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
}

.legal-wrap h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin: 3.5rem 0 1.5rem;
    font-family: var(--font-display);
}

.legal-wrap p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.legal-wrap ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.legal-wrap li {
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10vw, 5vh) scale(1.1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .intro-grid,
    .calc-layout,
    .report-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .test-carousel {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .bento-grid,
    .ind-grid,
    .foot-layout {
        grid-template-columns: 1fr;
    }

    .holo-cursor,
    .holo-cursor-ring {
        display: none;
    }

    .contact-wrap {
        padding: 3rem 2rem;
    }
}