@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;800&family=Inter:wght@300;400;600&display=swap');

/* ==========================================================================
   CSS VARIABLES & THEME
   ========================================================================== */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --accent-primary: #4361ee;
    --accent-secondary: #7209b7;
    --accent-glow: rgba(67, 97, 238, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #555555;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    --cursor-size: 20px;
    --nav-height: 100px;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Noise / Grain Overlay for Premium Feel */
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;
    pointer-events: none;
    z-index: 9999;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: none;
}

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background-color: var(--accent-primary);
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background-color: #fff;
}

/* Layout & Utils */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-slow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    transition: var(--transition-slow);
    border-radius: 50px;
}

.btn:hover::before {
    top: 0;
}

.btn:hover {
    border-color: transparent;
    border-radius: 0;
}

/* ==========================================================================
   HEADER (STRICTLY CONSISTENT ACROSS ALL PAGES)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo img {
    height: 50px;
    display: block;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
}

.nav-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    transform-style: preserve-3d;
}

.hero-title {
    margin-bottom: 1rem;
    animation: textReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(100px);
}

.hero-title span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: textReveal 1.5s 0.2s forwards;
    opacity: 0;
    transform: translateY(50px);
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: pulse 6s infinite alternate;
}

/* ==========================================================================
   ABOUT / INTRO
   ========================================================================== */
.about-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-visual {
    position: relative;
    width: 100%;
    height: 500px;
    transform-style: preserve-3d;
}

.about-card {
    position: absolute;
    width: 300px;
    height: 400px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.5s;
    backdrop-filter: blur(10px);
}

.card-1 {
    top: 0;
    left: 0;
    transform: translateZ(50px) rotate(-5deg);
    z-index: 2;
}

.card-2 {
    bottom: 0;
    right: 0;
    transform: translateZ(-50px) rotate(5deg);
    z-index: 1;
    border-color: var(--accent-primary);
}

/* ==========================================================================
   SERVICES (3D HOVER)
   ========================================================================== */
.services-section {
    position: relative;
}

.service-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-slow);
    z-index: -1;
}

.service-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-item h3 {
    font-size: 3rem;
    transition: transform 0.3s;
}

.service-item:hover h3 {
    transform: translateX(20px);
    color: var(--accent-primary);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries-section {
    background: var(--bg-secondary);
}

.industry-grid {
    margin-top: 4rem;
}

.ind-card {
    padding: 3rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.ind-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.ind-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ind-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 2rem;
    background: var(--accent-primary);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L2 22h20L12 2z"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L2 22h20L12 2z"/></svg>') no-repeat center;
}

/* ==========================================================================
   INTERACTIVE: SERVICE CALCULATOR
   ========================================================================== */
.calculator-section {
    padding: 10rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
}

.calc-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.calc-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 15px var(--accent-glow);
}

.calc-result {
    text-align: center;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.calc-result h3 {
    font-size: 2rem;
    color: var(--text-muted);
}

.calc-result .roi-val {
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    color: transparent;
    margin: 1rem 0;
}

/* ==========================================================================
   INTERACTIVE: CAMPAIGN REPORTS MOCKUP
   ========================================================================== */
.reports-section {
    overflow: hidden;
}

.report-mockup {
    width: 100%;
    height: 500px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-tertiary);
    display: grid;
    grid-template-columns: 300px 1fr;
    padding: 2rem;
    gap: 2rem;
    position: relative;
}

.report-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 2rem;
}

.stat-box {
    margin-bottom: 2rem;
}

.stat-box .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-box .value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.report-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 2%;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.bar {
    width: 8%;
    background: var(--border-color);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar.active {
    background: linear-gradient(to top, var(--accent-secondary), var(--accent-primary));
}

.bar::after {
    content: attr(data-val);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0;
    transition: 0.3s;
}

.bar:hover::after {
    opacity: 1;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
    background: var(--bg-secondary);
}

.testi-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 2rem;
    padding: 2rem 0;
}

.testi-slider::-webkit-scrollbar {
    display: none;
}

.testi-card {
    min-width: 400px;
    background: var(--bg-primary);
    padding: 3rem;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    border-radius: 20px;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* ==========================================================================
   CONTACT FORM / QUOTE REQUEST
   ========================================================================== */
.contact-section {
    position: relative;
    padding-bottom: 10rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-muted);
    padding: 1rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-primary);
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.contact-info-block {
    padding: 4rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-fast);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chat-header {
    background: var(--accent-primary);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-size: 1rem;
    color: white;
    margin: 0;
}

.close-chat {
    background: transparent;
    border: none;
    color: white;
    cursor: none;
    font-size: 1.5rem;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 80%;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.msg-agent {
    background: var(--bg-secondary);
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    outline: none;
}

.chat-input button {
    background: transparent;
    border: none;
    color: var(--accent-primary);
    font-weight: bold;
    cursor: none;
}

/* ==========================================================================
   FOOTER (STRICTLY CONSISTENT ACROSS ALL PAGES)
   ========================================================================== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 2rem;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand .logo {
    margin-bottom: 2rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.huge-text {
    font-size: clamp(4rem, 12vw, 15rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--border-color);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 0.8;
}

/* ==========================================================================
   LEGAL PAGES & INTERNAL PAGES
   ========================================================================== */
.page-header {
    padding: 15rem 0 5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 1rem;
}

.content-section {
    padding: 8rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr 3fr;
        padding: 2rem 0;
        gap: 1rem;
    }

    .service-item p {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .report-mockup {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bar::after {
        display: none;
    }
}