/* ==========================================================================
   DARK PRISM & LIQUID NEON THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #030305;
    --bg-surface: #0a0a0f;
    --bg-glass: rgba(15, 15, 20, 0.5);
    --teal: #00E5FF;
    --violet: #7000FF;
    --chrome: #E0E4F5;
    --text-main: #FFFFFF;
    --text-muted: #888C99;

    /* Layout */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --section-pad: 150px 5%;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions */
    --ease-fluid: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Custom Magnetic Pill Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-radius 0.3s;
    box-shadow: 0 0 15px var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cursor::after {
    content: 'EXPLORE';
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: #000;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-cursor.hover {
    width: 80px;
    height: 30px;
    border-radius: 30px;
    background: var(--text-main);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.custom-cursor.hover::after {
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1a1a24;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--violet);
}

/* Typography Globals */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-fluid);
}

/* Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* Liquid Gradients */
.text-liquid {
    background: linear-gradient(135deg, var(--teal), var(--violet), var(--chrome));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--ease-fluid);
    z-index: 1;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    z-index: -1;
    opacity: 0;
    transition: var(--ease-fluid);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
    transform: translateY(-3px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    border-color: var(--teal);
    background: rgba(0, 229, 255, 0.05);
}

/* Headers */
.sec-tag {
    display: inline-block;
    padding: 8px 16px;
    border: var(--border-glass);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--chrome);
}

.sec-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--text-main);
}

/* Ambient Liquid Background */
.bg-liquid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-teal {
    width: 50vw;
    height: 50vw;
    background: var(--teal);
    top: -20%;
    left: -10%;
}

.orb-violet {
    width: 45vw;
    height: 45vw;
    background: var(--violet);
    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-fluid);
    border-bottom: 1px solid transparent;
    background: transparent;
}

header.scrolled {
    height: 80px;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo-container img {
    height: 55px;
    filter: invert(1);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    transition: var(--ease-fluid);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 0;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--chrome);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ==========================================================================
   3. INFINITE DATA TICKER
   ========================================================================== */
.ticker-container {
    padding: 40px 0;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    display: flex;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    animation: marqueeLeft 30s linear infinite;
}

.ticker-item {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ticker-item span {
    color: var(--teal);
}

/* ==========================================================================
   4. AGENCY INTRODUCTION
   ========================================================================== */
#intro {
    padding: var(--section-pad);
    border-bottom: var(--border-glass);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.intro-big-text {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--text-main);
}

/* ==========================================================================
   5. SERVICES (3D OVERLAPPING CARDS)
   ========================================================================== */
#services {
    padding: var(--section-pad);
    background: var(--bg-surface);
    border-bottom: var(--border-glass);
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    perspective: 1200px;
}

.srv-card {
    background: var(--bg-dark);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 4rem 3rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, border-color 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}

.srv-card:hover {
    border-color: var(--violet);
}

.srv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(112, 0, 255, 0.1));
    opacity: 0;
    transition: var(--ease-fluid);
    border-radius: inherit;
}

.srv-card:hover::before {
    opacity: 1;
}

.s-icon {
    font-size: 3.5rem;
    color: var(--teal);
    margin-bottom: 2rem;
    transform: translateZ(50px);
}

.srv-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    transform: translateZ(40px);
}

.srv-card p {
    transform: translateZ(30px);
}

/* ==========================================================================
   6. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
#calculator {
    padding: var(--section-pad);
    border-bottom: var(--border-glass);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 5rem;
}

.calc-controls {
    background: var(--bg-surface);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
}

.slider-group {
    margin-bottom: 3rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-val {
    color: var(--teal);
    font-weight: 700;
    font-size: 1.3rem;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--teal);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--teal);
    transition: 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.calc-result {
    text-align: center;
}

.calc-result h4 {
    color: var(--text-muted);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.roi-output {
    font-size: 7.5rem;
    font-family: var(--font-display);
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

/* ==========================================================================
   7. INDUSTRIES (BENTO GRID)
   ========================================================================== */
#industries {
    padding: var(--section-pad);
    background: var(--bg-surface);
    border-bottom: var(--border-glass);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
}

.ind-box {
    background: var(--bg-dark);
    border: var(--border-glass);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--ease-fluid);
    position: relative;
    overflow: hidden;
}

.ind-box:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    background: rgba(0, 229, 255, 0.03);
}

.ind-box h3 {
    font-size: 1.25rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

/* ==========================================================================
   8. CAMPAIGN REPORTS (SVG PARTICLES)
   ========================================================================== */
#reports {
    padding: var(--section-pad);
    border-bottom: var(--border-glass);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
    margin-top: 5rem;
}

.chart-box {
    background: var(--bg-surface);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
    height: 450px;
    position: relative;
}

.svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-path {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2.5s var(--ease-fluid);
}

.chart-fill {
    fill: url(#area);
    opacity: 0;
    transition: opacity 2s 1s;
}

.data-node {
    fill: var(--bg-dark);
    stroke: var(--teal);
    stroke-width: 3;
    opacity: 0;
    transition: 0.5s 1.5s;
}

/* ==========================================================================
   9. TESTIMONIALS (GLASSMORPHISM)
   ========================================================================== */
#testimonials {
    padding: var(--section-pad);
    background: var(--bg-surface);
    border-bottom: var(--border-glass);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.test-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    padding: 4rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--ease-fluid);
}

.test-card:hover {
    border-color: var(--violet);
    background: rgba(112, 0, 255, 0.05);
}

.t-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--teal);
    line-height: 0.5;
    margin-bottom: 2rem;
}

.t-text {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.t-author {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ==========================================================================
   10. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--section-pad);
}

.contact-wrap {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    backdrop-filter: blur(20px);
}

.c-info h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: var(--ease-fluid);
    outline: none;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: var(--teal);
}

textarea.form-input {
    min-height: 120px;
    resize: none;
}

/* ==========================================================================
   11. LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 10000;
}

.chat-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--text-main);
    color: var(--bg-dark);
    border: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    transition: var(--ease-fluid);
}

.chat-btn:hover {
    transform: scale(1.1);
    background: var(--teal);
}

.chat-panel {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 360px;
    background: var(--bg-surface);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.4s var(--ease-fluid);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.chat-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-hdr {
    background: var(--bg-dark);
    padding: 20px;
    border-bottom: var(--border-glass);
    font-family: var(--font-display);
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-bdy {
    height: 280px;
    padding: 20px;
    overflow-y: auto;
    color: var(--text-muted);
}

.chat-inp {
    display: flex;
    border-top: var(--border-glass);
}

.chat-inp input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: var(--text-main);
    outline: none;
    font-family: var(--font-body);
}

.chat-inp button {
    background: transparent;
    border: none;
    color: var(--teal);
    padding: 0 20px;
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   12. GLOBAL FOOTER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
footer {
    background: #010102;
    padding: 120px 5% 40px;
    border-top: var(--border-glass);
    position: relative;
    z-index: 10;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 5rem;
    max-width: 1440px;
    margin: 0 auto 6rem;
}

.foot-brand img {
    height: 55px;
    filter: invert(1);
    margin-bottom: 2rem;
}

.foot-brand p {
    max-width: 350px;
    font-size: 1.1rem;
}

.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: var(--ease-fluid);
}

.f-links a:hover {
    color: var(--teal);
}

.foot-bottom {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    border-top: var(--border-glass);
    padding-top: 2rem;
    color: #555;
    font-size: 0.9rem;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-header {
    padding: 220px 5% 100px;
    text-align: center;
    background: var(--bg-surface);
    border-bottom: var(--border-glass);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
    background: var(--bg-dark);
}

.legal-content h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin: 4rem 0 1.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--chrome);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--chrome);
    font-size: 1.15rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10vw, 10vh) scale(1.2);
    }
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s var(--ease-fluid);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .intro-grid,
    .calc-wrapper,
    .report-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .srv-grid,
    .test-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-wrap {
        padding: 4rem 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 4rem;
    }

    .srv-grid,
    .ind-grid,
    .test-grid,
    .foot-grid {
        grid-template-columns: 1fr;
    }

    .custom-cursor {
        display: none;
    }

    /* Disable custom cursor on mobile */
}