/* ==========================================================================
   NEO-TECH DIGITAL MARKETING THEME - GLOBAL CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

:root {
    /* Core Colors */
    --bg-base: #06070d;
    --bg-panel: #0d0f17;
    --bg-panel-hover: #141722;
    --neon-cyan: #00ffcc;
    --neon-purple: #8a2be2;
    --text-light: #ffffff;
    --text-dim: #8b92a5;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --max-width: 1300px;
    --spacing-section: 120px 5%;
    --radius-soft: 20px;
    --radius-pill: 100px;

    /* Borders & Glows */
    --border-thin: 1px solid rgba(255, 255, 255, 0.05);
    --border-hover: 1px solid rgba(0, 255, 204, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 255, 204, 0.2);
    --glow-purple: 0 0 30px rgba(138, 43, 226, 0.3);

    /* Transitions */
    --ease-out-expo: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom Cursor enabled */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: #1a1e2d;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 204, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* Typography & Globals */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
}

p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-dim);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* 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-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-neon {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: var(--bg-base);
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.6);
}

.btn-purple {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: var(--glow-purple);
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.6);
}

/* Section Titles */
.title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.tagline {
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.heading-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
}

/* ==========================================================================
   1. FLOATING HEADER (IDENTICAL ON ALL PAGES)
   ========================================================================== */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 80px;
    z-index: 1000;
    background: rgba(13, 15, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-thin);
    border-radius: var(--radius-pill);
    transition: var(--ease-out-expo);
}

header.scrolled {
    top: 10px;
    background: rgba(13, 15, 23, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    height: 55px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.header-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ==========================================================================
   2. HERO SECTION (SPLIT GEOMETRIC)
   ========================================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 5% 50px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.15), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-light);
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 3rem;
    border-left: 3px solid var(--neon-cyan);
    padding-left: 20px;
}

.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.cube-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: slowSpin 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -150px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid var(--neon-cyan);
    box-shadow: inset 0 0 30px rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--neon-cyan);
}

.front {
    transform: translateZ(150px);
}

.back {
    transform: rotateY(180deg) translateZ(150px);
}

.right {
    transform: rotateY(90deg) translateZ(150px);
}

.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.top {
    transform: rotateX(90deg) translateZ(150px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

/* ==========================================================================
   3. BRAND TICKER
   ========================================================================== */
.ticker-section {
    border-top: var(--border-thin);
    border-bottom: var(--border-thin);
    padding: 30px 0;
    background: var(--bg-panel);
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
}

.ticker-item span {
    color: var(--neon-purple);
}

/* ==========================================================================
   4. BENTO BOX SERVICES
   ========================================================================== */
#services {
    padding: var(--spacing-section);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.bento-item {
    background: var(--bg-panel);
    border: var(--border-thin);
    border-radius: var(--radius-soft);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: 0.3s;
}

.bento-item:hover {
    border: var(--border-hover);
    transform: translateY(-5px);
}

.bento-item:hover::after {
    opacity: 1;
}

.bento-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    z-index: 2;
}

.bento-item p {
    font-size: 0.95rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.bento-item:hover p {
    opacity: 1;
    transform: translateY(0);
}

.bento-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--neon-cyan);
    opacity: 0.5;
}

/* Grid sizing */
.item-seo {
    grid-column: span 2;
    grid-row: span 2;
}

.item-ppc {
    grid-column: span 2;
    grid-row: span 1;
}

.item-social {
    grid-column: span 1;
    grid-row: span 1;
}

.item-content {
    grid-column: span 1;
    grid-row: span 1;
}

/* ==========================================================================
   5. INTERACTIVE CALCULATOR (NEON SLIDERS)
   ========================================================================== */
#roi {
    padding: var(--spacing-section);
    background: var(--bg-panel);
}

.roi-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.roi-controls {
    flex: 1;
}

.slider-group {
    margin-bottom: 2.5rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.slider-group label span {
    color: var(--neon-cyan);
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: #1a1e2d;
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neon-cyan);
    cursor: pointer;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.roi-result {
    flex: 1;
    background: #0a0c14;
    border: 1px solid var(--neon-purple);
    border-radius: var(--radius-soft);
    padding: 60px;
    text-align: center;
    box-shadow: inset 0 0 50px rgba(138, 43, 226, 0.1);
}

.roi-result h4 {
    color: var(--text-dim);
    margin-bottom: 10px;
}

.result-number {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: var(--text-light);
    text-shadow: var(--glow-purple);
    margin-bottom: 20px;
}

/* ==========================================================================
   6. HORIZONTAL INDUSTRIES
   ========================================================================== */
#industries {
    padding: var(--spacing-section);
    overflow: hidden;
}

.industry-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.industry-track::-webkit-scrollbar {
    display: none;
}

.industry-card {
    min-width: 350px;
    height: 400px;
    background: var(--bg-panel);
    border-radius: var(--radius-soft);
    border: var(--border-thin);
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.industry-card:hover {
    border-color: var(--neon-cyan);
}

.industry-card h3 {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.ind-bg {
    position: absolute;
    font-size: 10rem;
    opacity: 0.03;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   7. LIVE CAMPAIGN REPORTS (SVG CHART ANIMATION)
   ========================================================================== */
#reports {
    padding: var(--spacing-section);
    background: var(--bg-panel);
}

.chart-box {
    background: var(--bg-base);
    border: var(--border-thin);
    border-radius: var(--radius-soft);
    padding: 40px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.chart-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 300px;
    border-bottom: 2px solid #1a1e2d;
    padding-bottom: 10px;
    position: relative;
}

.bar-wrap {
    width: 12%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.bar {
    width: 100%;
    background: linear-gradient(to top, var(--neon-purple), var(--neon-cyan));
    border-radius: 4px 4px 0 0;
    height: 0;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-wrap span {
    margin-top: 15px;
    font-family: var(--font-heading);
    color: var(--text-dim);
}

/* ==========================================================================
   8. TESTIMONIALS (VERTICAL TICKER)
   ========================================================================== */
#reviews {
    padding: var(--spacing-section);
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.review-col {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.review-col::before,
.review-col::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 5;
}

.review-col::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-base), transparent);
}

.review-col::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-base), transparent);
}

.review-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollVert 20s linear infinite;
}

.review-card {
    background: var(--bg-panel);
    padding: 30px;
    border-radius: var(--radius-soft);
    border: var(--border-thin);
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #fff;
}

.review-author {
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: bold;
}

/* ==========================================================================
   9. CONTACT CTA
   ========================================================================== */
#contact {
    padding: var(--spacing-section);
    background: radial-gradient(circle at center, rgba(0, 255, 204, 0.05), transparent 60%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-panel);
    padding: 60px;
    border-radius: var(--radius-soft);
    border: var(--border-thin);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.input-field {
    width: 100%;
    background: var(--bg-base);
    border: var(--border-thin);
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    transition: 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: #0a0c14;
}

textarea.input-field {
    min-height: 150px;
    resize: none;
}

.info-block {
    margin-top: 40px;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-line i {
    color: var(--neon-purple);
    font-style: normal;
    font-size: 1.5rem;
}

/* ==========================================================================
   10. IDENTICAL FOOTER
   ========================================================================== */
footer {
    background: #030407;
    padding: 80px 5% 40px;
    border-top: 1px solid #111;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-brand img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: #555;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page-header {
    padding: 200px 5% 80px;
    text-align: center;
    background: var(--bg-panel);
    border-bottom: var(--border-thin);
}

.legal-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 5%;
}

.legal-container h2 {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin: 40px 0 20px;
}

.legal-container p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.legal-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-dim);
}

.legal-container li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes slowSpin {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollVert {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease-out;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 3rem;
        border-left: none;
        border-bottom: 3px solid var(--neon-cyan);
        padding: 0 0 20px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .item-seo {
        grid-column: span 2;
    }

    .roi-container,
    .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .header-btn {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .item-seo,
    .item-ppc,
    .item-social,
    .item-content {
        grid-column: span 1;
        grid-row: auto;
    }
}