/* ==========================================================================
   CSS VARIABLES & THEME SETUP: FINTECH / ECO-GROWTH (GREEN/LIME)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;700;900&display=swap');

:root {
    /* Color Palette */
    --clr-bg-base: #060E0D;
    /* Deep Midnight Green */
    --clr-bg-surface: #0B1716;
    /* Dark Pine Surface */
    --clr-bg-card: #112220;
    /* Lighter Pine for Cards */

    /* Accents */
    --clr-primary: #00FF88;
    /* Neon Lime (Growth/Money) */
    --clr-primary-dim: rgba(0, 255, 136, 0.15);
    --clr-secondary: #24D49E;
    /* Mint Teal */
    --clr-accent: #00C6FF;
    /* Bright Blue for contrast */

    /* Text Colors */
    --clr-text-light: #F8FAFC;
    --clr-text-muted: #94A3B8;
    --clr-text-dark: #020617;

    /* Borders & Shadows */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.05);
    --border-lime: 1px solid rgba(0, 255, 136, 0.3);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --header-height: 90px;
    --container-max: 1280px;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-primary) var(--clr-bg-surface);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-secondary);
    border-radius: 10px;
}

::selection {
    background: var(--clr-primary);
    color: var(--clr-text-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-base);
    color: var(--clr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Grid Animation */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: slowSpin 60s linear infinite;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-lime {
    color: var(--clr-primary);
}

.section-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: var(--clr-primary-dim);
    color: var(--clr-primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: var(--border-lime);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--trans-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-text-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--trans-smooth);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--clr-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: var(--clr-primary-dim);
}

/* ==========================================================================
   GLOBAL HEADER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 14, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-subtle);
    z-index: 9999;
    transition: height var(--trans-smooth), background-color var(--trans-smooth);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(6, 14, 13, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 45px;
    filter: brightness(0) invert(1);
    transition: transform var(--trans-bounce);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-light);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--trans-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--trans-smooth);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--clr-primary);
}

.header-cta {
    background: transparent;
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--trans-bounce);
}

.header-cta:hover {
    background: var(--clr-primary);
    color: var(--clr-text-dark);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text-light);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   GLOBAL FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
    background: var(--clr-bg-surface);
    padding: 6rem 0 2rem;
    border-top: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-title {
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    transition: color var(--trans-fast), padding-left var(--trans-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border-subtle);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   HERO SECTION & 3D FLOATING DASHBOARDS
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 3D Dashboard Visuals */
.hero-visual {
    position: relative;
    height: 600px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(10deg);
}

.dash-panel {
    position: absolute;
    background: rgba(11, 23, 22, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform-style: preserve-3d;
}

.panel-main {
    top: 50%;
    left: 50%;
    width: 400px;
    height: 250px;
    transform: translate(-50%, -50%) translateZ(0);
    padding: 2rem;
    animation: floatDash 8s ease-in-out infinite;
}

.panel-main h4 {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.panel-main .big-metric {
    font-size: 4rem;
    color: var(--clr-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.panel-main .metric-chart {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, transparent, var(--clr-primary-dim));
    margin-top: 2rem;
    border-bottom: 2px solid var(--clr-primary);
    position: relative;
}

.metric-chart::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--clr-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.panel-sub-1 {
    top: 15%;
    left: 0;
    width: 200px;
    height: 120px;
    transform: translateZ(60px);
    padding: 1.5rem;
    background: rgba(36, 212, 158, 0.1);
    border-color: rgba(36, 212, 158, 0.3);
    animation: floatDash 6s ease-in-out infinite reverse;
}

.panel-sub-2 {
    bottom: 15%;
    right: 10%;
    width: 220px;
    height: 140px;
    transform: translateZ(80px);
    padding: 1.5rem;
    animation: floatDash 7s ease-in-out infinite 1s;
}

.panel-sub-2 h4 {
    color: #FFF;
    margin-bottom: 0.5rem;
}

.panel-sub-2 p {
    color: var(--clr-secondary);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ==========================================================================
   MARQUEE (Brand Trust)
   ========================================================================== */
.trust-marquee {
    padding: 2.5rem 0;
    background: rgba(11, 23, 22, 0.5);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: slideLeft 30s linear infinite;
    gap: 4rem;
    align-items: center;
}

.trust-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    opacity: 0.4;
    transition: var(--trans-fast);
}

.trust-item:hover {
    opacity: 1;
    color: var(--clr-primary);
}

/* ==========================================================================
   DYNAMIC STATS (JS Counter)
   ========================================================================== */
.stats-section {
    padding: 6rem 0;
    background: var(--clr-bg-base);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: var(--shadow-soft);
}

.stat-block {
    text-align: center;
    border-right: var(--border-subtle);
}

.stat-block:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-label {
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   SERVICES (Bento Box Grid)
   ========================================================================== */
.services-section {
    padding: 8rem 0;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-card {
    background: var(--clr-bg-surface);
    border: var(--border-subtle);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--trans-bounce);
    position: relative;
    overflow: hidden;
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card:hover {
    transform: translateY(-10px);
    background: var(--clr-bg-card);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: var(--shadow-glow);
}

/* Glow Orb inside card */
.bento-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--clr-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity var(--trans-smooth);
}

.bento-card:hover::before {
    opacity: 0.15;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: var(--clr-bg-base);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   ANALYTICS (CSS Radar/Bar Chart Interface)
   ========================================================================== */
.analytics-section {
    padding: 8rem 0;
    background: var(--clr-bg-surface);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

.analytics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chart-ui {
    background: var(--clr-bg-base);
    border: var(--border-subtle);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-subtle);
}

.chart-header h4 {
    font-size: 1rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
}

.chart-header span {
    color: var(--clr-primary);
    font-weight: bold;
}

.css-bars {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    height: 250px;
}

.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, var(--clr-secondary), var(--clr-primary));
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: riseUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.bar-label {
    text-align: center;
    margin-top: 1rem;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    font-weight: bold;
}

/* ==========================================================================
   INDUSTRIES (Hover Expand Cards)
   ========================================================================== */
.industries-section {
    padding: 8rem 0;
}

.ind-wrapper {
    display: flex;
    gap: 1.5rem;
    height: 400px;
    margin-top: 3rem;
}

.ind-card {
    flex: 1;
    background: var(--clr-bg-surface);
    border: var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ind-card:hover {
    flex: 3;
    background: var(--clr-bg-card);
    border-color: var(--clr-primary);
}

.ind-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.ind-content {
    position: relative;
    z-index: 2;
}

.ind-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.ind-content p {
    color: var(--clr-text-light);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    max-width: 400px;
}

.ind-card:hover .ind-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* ==========================================================================
   ROI CALCULATOR (Fintech Slider UI)
   ========================================================================== */
.calculator-section {
    padding: 8rem 0;
    background: var(--clr-bg-surface);
}

.calc-box {
    background: var(--clr-bg-base);
    border: var(--border-subtle);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    box-shadow: var(--shadow-soft);
}

.slider-group {
    margin-bottom: 3rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.slider-header label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.slider-header .currency {
    font-size: 1.5rem;
    color: var(--clr-primary);
    font-weight: 800;
    font-family: var(--font-heading);
}

/* Glowing Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--clr-bg-base);
    border: 4px solid var(--clr-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform var(--trans-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: var(--clr-bg-surface);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.result-item {
    margin-bottom: 2rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item h4 {
    color: var(--clr-text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-item .res-val {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #FFF;
    font-weight: 800;
    line-height: 1;
}

.result-item .res-val.highlight {
    color: var(--clr-primary);
    text-shadow: var(--shadow-glow);
}

/* ==========================================================================
   TESTIMONIALS (Masonry)
   ========================================================================== */
.testimonials-section {
    padding: 8rem 0;
}

.testi-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testi-card {
    background: var(--clr-bg-surface);
    border: var(--border-subtle);
    padding: 3rem;
    border-radius: 16px;
}

.quote-svg {
    width: 40px;
    fill: rgba(0, 255, 136, 0.2);
    margin-bottom: 1.5rem;
}

.testi-card p {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testi-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-img {
    width: 50px;
    height: 50px;
    background: var(--clr-primary-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-weight: bold;
    border: var(--border-lime);
}

.profile-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.profile-info span {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   PROCESS (Vertical Timeline)
   ========================================================================== */
.process-section {
    padding: 8rem 0;
    background: var(--clr-bg-surface);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.process-node {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
}

.process-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 20px;
    height: 20px;
    background: var(--clr-bg-base);
    border: 4px solid var(--clr-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.process-node h3 {
    font-size: 1.8rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.process-node p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   CONTACT / SPLIT FORM
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--clr-bg-surface);
    border-radius: 24px;
    border: var(--border-subtle);
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(0, 255, 136, 0.03);
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail .icon {
    width: 40px;
    height: 40px;
    background: var(--clr-primary-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.contact-form-wrap {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    background: var(--clr-bg-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all var(--trans-fast);
}

.form-control:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

/* ==========================================================================
   LIVE CHAT (Floating UI)
   ========================================================================== */
.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-fab {
    width: 65px;
    height: 65px;
    background: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform var(--trans-bounce);
}

.chat-fab:hover {
    transform: scale(1.1);
}

.chat-fab svg {
    fill: var(--clr-bg-base);
    width: 30px;
    height: 30px;
}

.chat-panel {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    background: var(--clr-bg-surface);
    border: var(--border-lime);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all var(--trans-bounce);
}

.chat-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: rgba(0, 255, 136, 0.1);
    padding: 1.2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-subtle);
}

.chat-header strong {
    color: var(--clr-primary);
    font-family: var(--font-heading);
}

.close-chat {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    padding: 1.5rem;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg-bot {
    background: var(--clr-bg-base);
    padding: 1rem;
    border-radius: 8px 8px 8px 0;
    font-size: 0.9rem;
    color: var(--clr-text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input {
    display: flex;
    border-top: var(--border-subtle);
    padding: 1rem;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFF;
    outline: none;
    font-family: var(--font-body);
}

.chat-input button {
    background: none;
    border: none;
    color: var(--clr-primary);
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
    padding: 180px 0 80px;
    background: var(--clr-bg-surface);
    text-align: center;
    border-bottom: var(--border-subtle);
}

.legal-main {
    padding: 6rem 0;
}

.legal-doc {
    background: var(--clr-bg-surface);
    border: var(--border-subtle);
    border-radius: 24px;
    padding: 5rem;
}

.legal-doc h2 {
    font-size: 2rem;
    color: var(--clr-primary);
    margin: 3rem 0 1rem;
}

.legal-doc p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal-doc ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.legal-doc li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes slowSpin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatDash {

    0%,
    100% {
        transform: translate(-50%, -50%) translateZ(0) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateZ(0) translateY(-20px);
    }
}

@keyframes slideLeft {
    100% {
        transform: translateX(-50%);
    }
}

@keyframes riseUp {
    from {
        transform: scaleY(0);
        opacity: 0;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

    .hero-grid,
    .analytics-layout,
    .calc-box,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-visual {
        height: 450px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        padding: 2rem;
    }

    .stat-block:nth-child(2) {
        border-right: none;
    }

    .bento-card.large {
        grid-column: span 1;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ind-wrapper {
        flex-direction: column;
        height: auto;
    }

    .ind-card {
        padding: 3rem;
    }

    .legal-doc {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--clr-bg-surface);
        flex-direction: column;
        justify-content: center;
        transition: left var(--trans-smooth);
        border-top: var(--border-lime);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .calc-box,
    .contact-info,
    .contact-form-wrap {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-block {
        border-right: none;
        border-bottom: var(--border-subtle);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-doc {
        padding: 1.5rem;
    }
}