@charset "UTF-8";

/* ==========================================================================
   1. CSS VARIABLES & THEME SETUP
   ========================================================================== */
:root {
    /* Color Palette - Dark Tech Theme */
    --bg-primary: #050914;
    --bg-secondary: #0a1128;
    --bg-tertiary: #111a3a;

    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.4);
    --accent-purple: #8a2be2;
    --accent-purple-glow: rgba(138, 43, 226, 0.4);

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    --border-light: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(10, 17, 40, 0.6);
    --glass-border: rgba(0, 240, 255, 0.2);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --section-padding: 100px 0;
    --container-width: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Z-Index Layers */
    --z-back: -1;
    --z-normal: 1;
    --z-above: 10;
    --z-header: 1000;
    --z-modal: 2000;
}

/* ==========================================================================
   2. RESET & GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(138, 43, 226, 0.03), transparent 25%);
    z-index: var(--z-back);
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: var(--accent-cyan);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-purple);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: var(--z-normal);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Custom Text Selection */
::selection {
    background: var(--accent-purple);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    color: var(--bg-primary) !important;
    box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan));
    z-index: -1;
    transition: opacity var(--transition-fast);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-purple-glow);
    color: #fff !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: var(--z-header);
    transition: var(--transition-fast);
    background: transparent;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
   
    transition: var(--transition-fast);
    filter: brightness(1) invert(1);
}

.nav-logo:hover .logo-img {
    filter: drop-shadow(0 0 12px var(--accent-cyan));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* ==========================================================================
   4. HOME PAGE SECTIONS
   ========================================================================== */

/* 4.1 HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.hero-3d-card {
    width: 100%;
    height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    animation: float 6s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-3d-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-cyan), transparent, var(--accent-purple));
    z-index: -1;
    border-radius: inherit;
    filter: blur(10px);
    opacity: 0.5;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    transform: translateZ(30px);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot:nth-child(1) {
    background: #ff5f56;
}

.dot:nth-child(2) {
    background: #ffbd2e;
}

.dot:nth-child(3) {
    background: #27c93f;
}

.mockup-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    transform: translateZ(50px);
}

.mock-chart {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.mock-bar {
    width: 20px;
    background: var(--accent-cyan);
    position: absolute;
    bottom: 10px;
    border-radius: 3px 3px 0 0;
    animation: growBar 2s ease-out forwards;
}

.mock-bar:nth-child(1) {
    left: 10px;
    height: 40%;
    animation-delay: 0.2s;
}

.mock-bar:nth-child(2) {
    left: 40px;
    height: 70%;
    animation-delay: 0.4s;
}

.mock-bar:nth-child(3) {
    left: 70px;
    height: 50%;
    animation-delay: 0.6s;
}

.mock-bar:nth-child(4) {
    left: 100px;
    height: 90%;
    background: var(--accent-purple);
    animation-delay: 0.8s;
}

/* 4.2 FEATURES SECTION */
.features-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: var(--transition-medium);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 240, 255, 0.3);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--accent-cyan-glow);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* 4.3 SERVICES SECTION */
.services-section {
    padding: var(--section-padding);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
}

.service-item:hover {
    transform: scale(1.03);
    border-color: var(--accent-purple);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.service-link i {
    font-size: 1rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--accent-cyan);
    margin: 0;
    transition: var(--transition-fast);
}

.service-item:hover .service-link i {
    transform: translateX(5px);
}

/* 4.4 INDUSTRIES SECTION */
.industries-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.industry-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: scrollMarquee 30s linear infinite;
    width: max-content;
}

.industry-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.industry-tag i {
    color: var(--accent-cyan);
}

.industry-tag:hover {
    background: var(--bg-primary);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transform: translateY(-5px);
}

/* 4.5 ROI CALCULATOR SECTION */
.calculator-section {
    padding: var(--section-padding);
}

.calc-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.calc-controls {
    flex: 1;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.calc-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--bg-tertiary);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
    transition: 0.2s;
}

.calc-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result {
    flex: 1;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
}

.calc-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.calc-result h4 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.result-value {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan-glow);
    margin-bottom: 1rem;
    display: block;
}

/* 4.6 REPORTS DASHBOARD SECTION */
.reports-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.dashboard-mockup {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.dash-sidebar {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--accent-cyan);
}

.stat-box h5 {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-box .stat-num {
    font-size: 2rem;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.stat-box .stat-trend {
    color: #27c93f;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chart-container {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 2%;
    justify-content: center;
}

.chart-bar-wrap {
    width: 8%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(to top, var(--accent-purple), var(--accent-cyan));
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

/* 4.7 PROCESS SECTION */
.process-section {
    padding: var(--section-padding);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: dashed 2px var(--border-light);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transition: var(--transition-medium);
}

.step:hover .step-number {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: rotateY(360deg);
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 4.8 TESTIMONIALS SECTION */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
}

.stars {
    color: #ffbd2e;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.client-details h5 {
    font-size: 1rem;
    margin: 0;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 4.9 CTA SECTION */
.cta-section {
    padding: 120px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9), rgba(5, 9, 20, 0.9));
    border: 1px solid var(--accent-purple);
    border-radius: var(--border-radius-lg);
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 40px var(--accent-purple-glow);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 4.10 LIVE CHAT WIDGET */
.live-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal);
    animation: pulseChat 2s infinite;
    transition: var(--transition-fast);
}

.live-chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    z-index: var(--z-modal);
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

.chat-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header h4::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #27c93f;
    border-radius: 50%;
}

.close-chat {
    cursor: pointer;
    color: var(--text-muted);
}

.chat-body {
    padding: 1.5rem;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
}

.msg.bot {
    background: var(--bg-tertiary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg.user {
    background: var(--accent-cyan);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: var(--bg-tertiary);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    color: var(--text-light);
    outline: none;
}

.chat-input button {
    background: var(--accent-purple);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

/* ==========================================================================
   5. LEGAL & INNER PAGES
   ========================================================================== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-tertiary), var(--bg-primary));
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.legal-content {
    padding: var(--section-padding);
}

.content-wrapper {
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--accent-purple);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-main);
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
}

.contact-form-box {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* ==========================================================================
   6. FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding-top: 5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about .logo-img {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(1) invert(1);
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--accent-purple);
    margin-top: 5px;
}

.footer-bottom {
    background: var(--bg-primary);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   7. ANIMATIONS
   ========================================================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateX(5deg) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateX(10deg) rotateY(0deg);
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

@keyframes growBar {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulseChat {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Reveal Classes (Triggered by JS) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   8. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-wrapper,
    .dashboard-mockup {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--glass-bg);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        backdrop-filter: blur(15px);
        transition: 0.3s;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}