/* ==========================================================================
   KINETIC BRUTALISM THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@300;400;500;700&display=swap');

:root {
    /* Color System */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-hover: #1f1f1f;
    --primary-neon: #ff4e00;
    --primary-dark: #cc3e00;
    --text-main: #f2f2f2;
    --text-muted: #808080;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Anton', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Layout Variables */
    --pad-section: 150px 5%;
    --radius-none: 0px;
    --radius-sm: 4px;

    /* Animation Timings */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Cursor */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
}

/* Custom Kinetic Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-muted);
    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;
}

.cursor-dot.hover {
    width: 0;
    height: 0;
}

.cursor-ring.hover {
    width: 80px;
    height: 80px;
    border-color: var(--primary-neon);
    background: rgba(255, 78, 0, 0.1);
    backdrop-filter: blur(2px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.text-neon {
    color: var(--primary-neon);
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.text-center {
    text-align: center;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

/* Brutalist Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-neon);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    top: 0;
}

.btn:hover {
    color: var(--bg-dark);
    border-color: var(--primary-neon);
}

.btn-solid {
    background: var(--primary-neon);
    color: var(--bg-dark);
    border-color: var(--primary-neon);
}

.btn-solid::before {
    background: var(--text-main);
}

/* Headers Subtitles */
.section-lbl {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-neon);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-headline {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 2rem;
    color: var(--text-main);
}

/* ==========================================================================
   1. GLOBAL HEADER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

header.scrolled {
    height: 70px;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-box img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-neon);
    transition: var(--transition-slow);
}

.nav-menu a:hover::after {
    left: 0;
}

.header-cta {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-neon);
    border-bottom: 1px solid var(--primary-neon);
    padding-bottom: 2px;
}

/* ==========================================================================
   2. HERO SECTION (KINETIC)
   ========================================================================== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

.hero-title {
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 3rem;
    border-left: 2px solid var(--primary-neon);
    padding-left: 1.5rem;
}

.hero-visual {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinning-badge {
    width: 200px;
    height: 200px;
    animation: spinRotate 15s linear infinite;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path id="circle" d="M 50, 50 m -40, 0 a 40,40 0 1,1 80,0 a 40,40 0 1,1 -80,0" fill="none" /><text font-family="Anton" font-size="12" fill="%23ff4e00" letter-spacing="2"><textPath href="%23circle">DIGITAL MARKETING ARCHITECTS • DIGITAL MARKETING ARCHITECTS • </textPath></text></svg>') center/cover;
}

/* ==========================================================================
   3. MARQUEE
   ========================================================================== */
.marquee-wrap {
    padding: 30px 0;
    background: var(--primary-neon);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    display: flex;
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.marquee-txt {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--bg-dark);
    text-transform: uppercase;
    margin-right: 3rem;
}

/* ==========================================================================
   4. AGENCY INTRO
   ========================================================================== */
#intro {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.intro-big-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-main);
    line-height: 1.1;
}

/* ==========================================================================
   5. SERVICES (HOVER LIST)
   ========================================================================== */
#services {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
}

.service-list {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
}

.svc-row {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    align-items: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.svc-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.svc-num {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-muted);
}

.svc-title {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.svc-icon {
    justify-self: end;
    font-size: 2rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-fast);
}

.svc-row:hover {
    background: var(--bg-card);
    padding-left: 2rem;
    padding-right: 2rem;
}

.svc-row:hover .svc-title {
    color: var(--primary-neon);
    transform: translateX(20px);
}

.svc-row:hover .svc-icon {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-neon);
}

/* ==========================================================================
   6. ROI CALCULATOR (BRUTALIST SLIDERS)
   ========================================================================== */
#roi-calculator {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
    background: #0f0f0f;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.calc-block {
    border: 1px solid var(--border-color);
    padding: 4rem;
    background: var(--bg-dark);
}

.slider-group {
    margin-bottom: 3rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.slider-group label span {
    color: var(--primary-neon);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: var(--text-muted);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 40px;
    background: var(--primary-neon);
    cursor: pointer;
    border: none;
    border-radius: 0;
}

.roi-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px solid var(--primary-neon);
    padding: 4rem;
    background: rgba(255, 78, 0, 0.05);
}

.roi-val {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--text-main);
    line-height: 1;
    margin: 1rem 0;
}

/* ==========================================================================
   7. INDUSTRIES (3D GRID)
   ========================================================================== */
#industries {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    perspective: 1000px;
}

.ind-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    transition: border-color 0.3s;
    transform-style: preserve-3d;
}

.ind-card:hover {
    border-color: var(--primary-neon);
}

.ind-card h3 {
    font-size: 2rem;
    transform: translateZ(30px);
}

.ind-icon {
    font-size: 3rem;
    color: var(--text-muted);
    transform: translateZ(20px);
    transition: 0.3s;
}

.ind-card:hover .ind-icon {
    color: var(--primary-neon);
}

/* ==========================================================================
   8. CAMPAIGN REPORTS (PURE CSS CHART)
   ========================================================================== */
#reports {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
    background: #0f0f0f;
}

.report-box {
    border: 1px solid var(--border-color);
    padding: 3rem;
    background: var(--bg-dark);
    margin-top: 3rem;
    position: relative;
}

.chart-wrap {
    height: 400px;
    width: 100%;
    border-bottom: 2px solid var(--text-muted);
    border-left: 2px solid var(--text-muted);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 5%;
}

.chart-bar {
    width: 10%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom: none;
    position: relative;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
    height: 0;
}

.chart-bar.filled {
    background: var(--primary-neon);
    border-color: var(--primary-neon);
}

.chart-bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    color: var(--text-main);
}

/* ==========================================================================
   9. TESTIMONIALS (SNAP SCROLL)
   ========================================================================== */
#testimonials {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
}

.test-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none;
    margin-top: 4rem;
}

.test-slider::-webkit-scrollbar {
    display: none;
}

.test-card {
    min-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--primary-neon);
    line-height: 0;
    margin-bottom: 2rem;
}

.test-txt {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.test-auth {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* ==========================================================================
   10. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--pad-section);
    border-bottom: 1px solid var(--border-color);
}

.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.c-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.c-lbl {
    font-family: var(--font-display);
    color: var(--primary-neon);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.c-val {
    font-size: 1.2rem;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
    border-radius: 0;
    outline: none;
}

.form-input:focus {
    border-bottom-color: var(--primary-neon);
}

textarea.form-input {
    min-height: 100px;
    resize: none;
}

/* ==========================================================================
   11. LIVE CHAT
   ========================================================================== */
.live-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-neon);
    color: var(--bg-dark);
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
}

.chat-window.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-hdr {
    background: var(--bg-dark);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.chat-bdy {
    height: 250px;
    padding: 20px;
    overflow-y: auto;
    color: var(--text-muted);
}

.chat-inp {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-inp input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--text-main);
    outline: none;
}

.chat-inp button {
    background: transparent;
    border: none;
    color: var(--primary-neon);
    font-family: var(--font-display);
    padding: 0 15px;
}

/* ==========================================================================
   12. GLOBAL FOOTER (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
footer {
    background: #050505;
    padding: 100px 5% 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto 5rem;
}

.f-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

.f-brand p {
    max-width: 300px;
}

.f-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.f-links {
    list-style: none;
}

.f-links li {
    margin-bottom: 10px;
}

.f-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.f-links a:hover {
    color: var(--primary-neon);
}

.f-bottom {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-header {
    padding: 200px 5% 100px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    background: #0f0f0f;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 5%;
}

.legal-content h2 {
    font-size: 2.5rem;
    margin: 4rem 0 1.5rem;
    color: var(--text-main);
}

.legal-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVENESS
   ========================================================================== */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes spinRotate {
    100% {
        transform: rotate(360deg);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .intro-grid,
    .calc-grid,
    .contact-flex {
        grid-template-columns: 1fr;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .svc-row {
        grid-template-columns: 1fr 4fr;
    }

    .svc-icon {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .header-cta {
        display: none;
    }

    .ind-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 4rem;
    }

    .test-card {
        min-width: 100%;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    /* Disable custom cursor on mobile */
}