/* ==========================================================================
   GLOBAL VARIABLES & RESET (NEW NEON THEME)
   ========================================================================== */
:root {
    --bg-base: #050507;
    /* Deepest Charcoal */
    --bg-surface: #111116;
    /* Slightly lighter for cards */
    --bg-glass: rgba(17, 17, 22, 0.7);
    --primary-neon: #8b5cf6;
    /* Vivid Purple */
    --secondary-neon: #f97316;
    /* Vivid Orange */
    --gradient-brand: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* Glowing Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-neon);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-neon);
}

/* ==========================================================================
   STRICT SITE-WIDE HEADER (GLASSMORPHISM)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header.scrolled .nav-container {
    padding: 12px 40px;
}

.logo-container img {
    height: 55px;
    filter: invert(1);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-smooth);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-brand);
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.nav-cta::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: 0.3s;
}

/* ==========================================================================
   INDEX SECTIONS GLOBAL STYLES
   ========================================================================== */
.section {
    padding: 120px 20px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Intersection Observer Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SECTION 1: HERO (3D FLOATING GLASS CARDS)
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-solid {
    background: var(--text-main);
    color: var(--bg-base);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-solid:hover {
    background: var(--secondary-neon);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--primary-neon);
    background: rgba(139, 92, 246, 0.1);
}

.hero-3d-visual {
    perspective: 1000px;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: floatAnimation 6s ease-in-out infinite alternate;
}

.card-1 {
    width: 300px;
    height: 200px;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(50px);
    z-index: 3;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent);
}

.card-2 {
    width: 250px;
    height: 250px;
    transform: rotateY(10deg) rotateX(-15deg) translateZ(-50px) translateX(100px);
    z-index: 2;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent);
    animation-delay: -2s;
}

.card-3 {
    width: 200px;
    height: 300px;
    transform: rotateY(-20deg) translateZ(-100px) translateX(-100px);
    z-index: 1;
    animation-delay: -4s;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotateY(-15deg);
    }

    100% {
        transform: translateY(-30px) rotateY(-5deg);
    }
}

/* ==========================================================================
   SECTION 2: CLIENT MARQUEE
   ========================================================================== */
.client-marquee {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
    overflow: hidden;
    background: var(--bg-surface);
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: scrollMarquee 30s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   SECTION 3: ABOUT / WHY US
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: var(--gradient-brand) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

.about-placeholder {
    width: 100%;
    height: 500px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-neon);
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION 4: CORE SERVICES (SPINNING BORDER CARDS)
   ========================================================================== */
.services-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.srv-card {
    position: relative;
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 40px;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.srv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--primary-neon));
    animation: spinBorder 4s linear infinite;
    opacity: 0;
    transition: 0.3s;
    z-index: -2;
}

.srv-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-surface);
    border-radius: 14px;
    z-index: -1;
}

.srv-card:hover::before {
    opacity: 1;
}

.srv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

@keyframes spinBorder {
    100% {
        transform: rotate(360deg);
    }
}

.srv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.srv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   SECTION 5: THE PROCESS TIMELINE
   ========================================================================== */
.process-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 22%;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--bg-base);
    border: 2px solid var(--primary-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--secondary-neon);
    margin-bottom: 10px;
}

/* ==========================================================================
   SECTION 6: INDUSTRY EXPERTISE (MASONRY GRID)
   ========================================================================== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.ind-box {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ind-box:hover {
    border-color: var(--secondary-neon);
}

.ind-box.large {
    grid-column: span 2;
    grid-row: span 2;
}

.ind-box h3 {
    font-size: 1.8rem;
    z-index: 2;
    position: relative;
}

.ind-box p {
    color: var(--text-muted);
    z-index: 2;
    position: relative;
    margin-top: 10px;
}

.ind-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.05;
    z-index: 1;
    color: var(--text-main);
}

/* ==========================================================================
   SECTION 7: ROI CALCULATOR
   ========================================================================== */
.calc-module {
    background: var(--bg-surface);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    gap: 60px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.calc-controls {
    flex: 1;
}

.calc-display {
    flex: 1;
    background: var(--bg-base);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-group {
    margin-bottom: 40px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.neon-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-neon);
    cursor: pointer;
    box-shadow: 0 0 15px var(--secondary-neon);
    border: 3px solid var(--bg-base);
}

.result-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.result-item:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.result-title {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   SECTION 8: CAMPAIGN REPORTS (DYNAMIC TABS)
   ========================================================================== */
.reports-layout {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    background: var(--bg-surface);
}

.reports-sidebar {
    width: 300px;
    background: var(--bg-base);
    border-right: 1px solid var(--border-color);
    padding: 30px 0;
}

.tab-link {
    display: block;
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: 0.3s;
}

.tab-link:hover,
.tab-link.active {
    color: var(--primary-neon);
    background: rgba(139, 92, 246, 0.05);
    border-left-color: var(--primary-neon);
}

.reports-content {
    flex: 1;
    padding: 50px;
    position: relative;
}

.report-pane {
    display: none;
    animation: slideIn 0.5s ease forwards;
}

.report-pane.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.metric-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.m-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.m-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.m-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.m-trend {
    color: #10b981;
    font-weight: bold;
    margin-left: 10px;
    font-size: 1rem;
}

.chart-sim {
    height: 200px;
    border-bottom: 2px solid var(--border-color);
    border-left: 2px solid var(--border-color);
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 0 15px;
}

.c-bar {
    flex: 1;
    background: var(--primary-neon);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: height 1s;
}

.c-bar:hover {
    opacity: 1;
    background: var(--secondary-neon);
}

/* ==========================================================================
   SECTION 9: TESTIMONIALS (GRID)
   ========================================================================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testi-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    border: 1px solid var(--border-color);
}

.testi-card::before {
    content: '”';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.testi-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.auth-info h4 {
    font-size: 1rem;
    color: #fff;
}

.auth-info span {
    font-size: 0.85rem;
    color: var(--primary-neon);
}

/* ==========================================================================
   SECTION 10: FINAL CTA (GRADIENT MASSIVE)
   ========================================================================== */
.final-cta {
    margin: 100px 20px;
    background: var(--gradient-brand);
    border-radius: 30px;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.1"><circle cx="50" cy="50" r="40" fill="none" stroke="%23fff" stroke-width="2"/></svg>') repeat;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.final-cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.btn-dark {
    background: var(--bg-base);
    color: var(--text-main);
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   STRICT SITE-WIDE FOOTER
   ========================================================================== */
.site-footer {
    background: #020203;
    padding: 80px 40px 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.foot-brand img {
    height: 50px;
    margin-bottom: 25px;
}

.foot-brand p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 350px;
}

.foot-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.foot-links li {
    margin-bottom: 15px;
}

.foot-links a {
    color: var(--text-muted);
}

.foot-links a:hover {
    color: var(--secondary-neon);
    padding-left: 8px;
}

.foot-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.foot-contact svg {
    width: 24px;
    fill: var(--primary-neon);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a:hover {
    color: var(--text-main);
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-trigger {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    z-index: 9999;
    border: 3px solid var(--bg-base);
    transition: 0.3s;
}

.chat-trigger:hover {
    transform: scale(1.1) rotate(10deg);
}

.chat-trigger svg {
    width: 35px;
    fill: #fff;
}

.chat-panel {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 360px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-panel.active {
    display: flex;
    animation: slideUpChat 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpChat {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-head {
    background: var(--gradient-brand);
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-head h4 {
    margin: 0;
    font-size: 1.1rem;
}

.close-chat {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.chat-msgs {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg-bubble {
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.95rem;
    max-width: 85%;
}

.msg-bot {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-foot {
    border-top: 1px solid var(--border-color);
    padding: 15px;
    display: flex;
    gap: 10px;
}

.chat-foot input {
    flex: 1;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.chat-foot button {
    background: var(--primary-neon);
    border: none;
    color: #fff;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

/* ==========================================================================
   LEGAL / CONTACT PAGES SPECIFICS
   ========================================================================== */
.page-container {
    max-width: 1000px;
    margin: 180px auto 100px;
    padding: 60px;
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.legal-prose h2 {
    font-size: 1.8rem;
    color: var(--secondary-neon);
    margin: 40px 0 20px;
}

.legal-prose p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.fg-full {
    grid-column: span 2;
}

.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-wrap label {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    padding: 16px;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.btn-submit {
    background: var(--gradient-brand);
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .calc-module,
    .reports-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-3d-visual {
        display: none;
        /* Hide complex 3D on smaller screens */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .process-wrapper::before {
        left: 30px;
        top: 0;
        width: 2px;
        height: 100%;
    }

    .process-step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 30px;
        text-align: left;
    }

    .step-number {
        margin: 0;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ind-box.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .reports-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        overflow-x: auto;
    }

    .tab-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .tab-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-neon);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 40px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    .nav-menu.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .fg-full {
        grid-column: span 1;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }
}