/* ==========================================================================
   Base & Typography (Editorial Neo-Brutalism Theme)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Oswald:wght@500;700&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-alt: #141414;
    --text-light: #f4f4f0;
    --text-muted: #888888;
    --accent: #00ffb3;
    /* Acid Green */
    --border-light: rgba(244, 244, 240, 0.15);
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* Background Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    z-index: 9999;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--text-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor.hovering {
    width: 80px;
    height: 80px;
    background: var(--accent);
    mix-blend-mode: normal;
    opacity: 0.9;
}

/* ==========================================================================
   Header & Navigation (Strictly Consistent)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition-slow);
}

.logo img {
    height: 70px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 4rem;
    height: 100%;
}

.nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: var(--font-head);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-main);
    padding: 1rem 2rem;
    font-family: var(--font-head);
    font-size: 1.1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 1px solid var(--accent);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-text {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Index Page Layouts
   ========================================================================== */
/* 1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 4% 4rem;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(4rem, 12vw, 11rem);
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero h1 span {
    color: var(--accent);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.hero-bottom p {
    max-width: 500px;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 2. Marquee */
.marquee-sec {
    background: var(--accent);
    color: var(--bg-main);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: scrollLeft 15s linear infinite;
    font-family: var(--font-head);
    font-size: 4rem;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3. About / Manifesto */
.about {
    padding: 10rem 4%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about h2 {
    font-size: clamp(3rem, 6vw, 6rem);
}

.about-text p {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-text p span {
    color: var(--text-light);
}

/* 4. Services (Accordion Style) */
.services {
    padding: 8rem 4%;
    background: var(--bg-alt);
}

.section-title {
    font-size: 5rem;
    margin-bottom: 4rem;
}

.service-list {
    border-top: 1px solid var(--border-light);
}

.service-item {
    border-bottom: 1px solid var(--border-light);
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 80px 1fr 2fr;
    gap: 2rem;
    align-items: start;
    transition: var(--transition-fast);
}

.service-item:hover {
    background: rgba(212, 255, 0, 0.03);
    padding-left: 2rem;
}

.service-num {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--accent);
}

.service-item h3 {
    font-size: 3rem;
}

.service-item p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 5. Interactive Calculator */
.roi-calc {
    padding: 8rem 4%;
    border-bottom: 1px solid var(--border-light);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.range-container {
    margin-bottom: 4rem;
}

.range-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: var(--bg-alt);
    height: 2px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: var(--accent);
    cursor: pointer;
    border-radius: 0;
}

.calc-output {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.output-block {
    margin-bottom: 3rem;
}

.output-block h4 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.output-block .val {
    font-size: 6rem;
    color: var(--accent);
    font-family: var(--font-head);
    line-height: 1;
}

/* 6. Industries */
.industries {
    padding: 8rem 4%;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ind-card {
    border: 1px solid var(--border-light);
    padding: 4rem 2rem;
    text-align: center;
    transition: var(--transition-slow);
    background: var(--bg-main);
}

.ind-card:hover {
    background: var(--accent);
    color: var(--bg-main);
    transform: translateY(-10px);
}

.ind-card:hover h3,
.ind-card:hover p {
    color: var(--bg-main);
}

.ind-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ind-card p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 7. Campaign Analytics (SVG Animation) */
.analytics {
    padding: 8rem 4%;
    background: var(--bg-alt);
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-top: 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2s ease-out;
}

.chart-line.active {
    stroke-dashoffset: 0;
}

.chart-point {
    fill: var(--bg-main);
    stroke: var(--text-light);
    stroke-width: 3;
    r: 6;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.chart-line.active~.chart-point {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-family: var(--font-head);
    color: var(--text-muted);
}

/* 8. Testimonials */
.testimonials {
    padding: 8rem 4%;
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 3rem;
    width: max-content;
}

.testi-card {
    width: 500px;
    padding: 4rem 3rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}

.testi-card p {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.testi-card h4 {
    font-size: 1.2rem;
    color: var(--accent);
}

/* 9. Live Chat CTA */
.chat-cta {
    padding: 8rem 4%;
    text-align: center;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23D4FF00" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.pulsing-dot {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 2rem;
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 30px rgba(212, 255, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 255, 0, 0);
    }
}

/* 10. Contact Form */
.contact-section {
    padding: 8rem 4%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-light);
    padding: 1.5rem 0;
    font-size: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-body);
    outline: none;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-family: var(--font-head);
    text-transform: uppercase;
}

/* ==========================================================================
   Footer (Strictly Consistent)
   ========================================================================== */
footer {
    padding: 6rem 4% 2rem;
    background: var(--bg-main);
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-light);
}

.footer-brand img {
    height: 40px;
    margin-bottom: 2rem;
}

.footer-brand p {
    font-size: 1.5rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    max-width: 400px;
    color: var(--text-muted);
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.footer-col p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-head);
    text-transform: uppercase;
}

/* ==========================================================================
   Legal Pages Specific
   ========================================================================== */
.legal-main {
    padding: 150px 4% 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-main h1 {
    font-size: 5rem;
    margin-bottom: 4rem;
    color: var(--accent);
}

.legal-text h2 {
    font-size: 2.5rem;
    margin: 3rem 0 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.legal-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {

    .about,
    .calc-wrapper,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .industry-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .nav-links {
        display: none;
    }
}