@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Branding Colors */
    --color-brand-charcoal: #262626;
    --color-brand-green: #007c00;
    --color-brand-green-rgb: 0, 124, 0;
    
    /* Neon Green Accents */
    --color-neon-green: #00b300;
    --color-neon-green-rgb: 0, 179, 0;
    --color-neon-glow: rgba(0, 179, 0, 0.08);
    
    /* Theme Neutral Base */
    --color-bg-dark: #f8fafc;
    --color-bg-card: rgba(255, 255, 255, 0.85);
    --color-bg-card-hover: rgba(255, 255, 255, 1);
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-glow: rgba(0, 124, 0, 0.25);
    
    /* Text Colors */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    
    /* Dynamic Header & Grid Overlays */
    --color-header-bg: rgba(248, 250, 252, 0.8);
    --color-header-bg-scrolled: rgba(248, 250, 252, 0.95);
    --color-grid-line: rgba(15, 23, 42, 0.012);
    --color-gradient-start: #0f172a;
    
    /* Stats & Calculator Dynamic Colors */
    --color-stats-bg-mid: rgba(248, 250, 252, 0.95);
    --color-calc-section-bg: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,1) 0%, rgba(243,244,246,0.6) 100%);
    --color-calc-card-bg: rgba(255, 255, 255, 0.75);
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --shadow-neon: 0 8px 30px rgba(0, 124, 0, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
}

/* Premium Dark Theme Variable Overrides */
html.dark-theme, body.dark-theme {
    --color-bg-dark: #090d16; /* Deep space dark base */
    --color-bg-card: rgba(17, 24, 39, 0.7); /* Sleek glassmorphism charcoal card */
    --color-bg-card-hover: rgba(17, 24, 39, 0.85);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(0, 179, 0, 0.35); /* Neon border highlight */
    
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --color-header-bg: rgba(9, 13, 22, 0.85);
    --color-header-bg-scrolled: rgba(9, 13, 22, 0.95);
    --color-grid-line: rgba(255, 255, 255, 0.02);
    --color-gradient-start: #f8fafc;
    
    --color-stats-bg-mid: rgba(9, 13, 22, 0.95);
    --color-calc-section-bg: radial-gradient(120% 120% at 50% 0%, #0c1220 0%, #090d16 100%);
    --color-calc-card-bg: rgba(17, 24, 39, 0.7);
    
    --shadow-neon: 0 8px 30px rgba(0, 179, 0, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Global Transitions for Theme Swapping */
body, header, .logo-text, .nav-link, footer, .glass-panel, .btn-secondary, .theme-toggle-btn {
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- THEME TOGGLE BUTTON STYLES --- */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 124, 0, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    z-index: 1010;
}

.theme-toggle-btn:hover {
    border-color: var(--color-brand-green);
    background: rgba(0, 124, 0, 0.1);
    box-shadow: var(--shadow-neon);
}

.theme-icon {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 18px;
    height: 18px;
}

/* Toggle Rotations and Opacity Switches */
body:not(.dark-theme) .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
body:not(.dark-theme) .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.dark-theme .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: #fbbf24; /* Golden glow sun */
}
body.dark-theme .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-brand-green), var(--color-neon-green));
    z-index: 9999;
    width: 0%;
    pointer-events: none;
    transition: width 0.1s ease-out;
}

/* --- MOUSE GLOW CARD OVERLAYS --- */
.glass-panel {
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 124, 0, 0.08),
        transparent 65%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-panel:hover::before {
    opacity: 1;
}

/* Ensure contents sit above glow overlay */
.glass-panel > * {
    position: relative;
    z-index: 2;
}

/* --- BLINKING TYPING CURSOR --- */
.typed-cursor {
    font-weight: 300;
    animation: cursor-blink 0.8s infinite;
    color: var(--color-neon-green);
    margin-left: 2px;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle background tech grid pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 124, 0, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 124, 0, 0.02) 0%, transparent 40%),
        linear-gradient(var(--color-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -2;
    pointer-events: none;
}

/* Neon Cursor glow aura element */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 124, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    opacity: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-start) 30%, var(--color-brand-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-brand-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- UTILITIES & LAYOUTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neon-green);
    background: rgba(0, 124, 0, 0.1);
    border: 1px solid rgba(0, 124, 0, 0.3);
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.06), var(--shadow-neon);
    background: var(--color-bg-card-hover);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-brand-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 124, 0, 0.2);
}

.btn-primary:hover {
    background: var(--color-neon-green);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 124, 0, 0.25), 0 0 10px rgba(0, 124, 0, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: rgba(0, 124, 0, 0.04);
    border-color: var(--color-brand-green);
    transform: translateY(-2px);
}

.btn-glow-outline {
    background: rgba(0, 124, 0, 0.05);
    color: var(--color-neon-green);
    border-color: rgba(0, 124, 0, 0.5);
}

.btn-glow-outline:hover {
    background: var(--color-brand-green);
    color: #fff;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

/* --- NAVIGATION HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-scrolled {
    padding: 0.6rem 0;
    background: var(--color-header-bg-scrolled);
    border-bottom-color: rgba(0, 124, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-container nav {
    order: 2;
    margin-left: auto;
}

.theme-toggle-btn {
    order: 3;
    margin-left: 1.5rem;
}

@media (max-width: 992px) {
    .nav-container nav {
        order: unset;
        margin-left: 0;
    }
    .theme-toggle-btn {
        order: 2;
        margin-left: auto;
    }
    .mobile-nav-toggle {
        order: 3;
        margin-left: 1rem;
        display: block; /* ensure display rule overrides default */
    }
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 1;
}

.logo-img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-neon-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-neon-green);
    transition: var(--transition-quick);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

/* Floating SVG Animations & Objects */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.tech-globe-container {
    width: 350px;
    height: 350px;
    position: relative;
    background-image: linear-gradient(rgba(10, 11, 14, 0.45), rgba(10, 11, 14, 0.75)), url('../images/office_background.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid rgba(0, 124, 0, 0.25);
    box-shadow: 0 0 35px rgba(0, 124, 0, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid rgba(0, 124, 0, 0.15);
    animation: pulse 4s infinite linear;
}

.pulse-circle:nth-child(1) { width: 100%; height: 100%; }
.pulse-circle:nth-child(2) { width: 75%; height: 75%; animation-duration: 6s; animation-direction: reverse; }
.pulse-circle:nth-child(3) { width: 50%; height: 50%; animation-duration: 8s; }

.floating-object {
    position: absolute;
    width: 65px;
    height: 65px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.floating-object svg {
    width: 28px;
    height: 28px;
    fill: var(--color-neon-green);
}

.floating-object:hover {
    border-color: var(--color-neon-green);
    box-shadow: var(--shadow-neon);
    transform: scale(1.1) translateY(-5px);
}

.float-1 { top: 10%; left: 10%; animation: float 5s infinite ease-in-out; }
.float-2 { top: 15%; right: 10%; animation: float 6s infinite ease-in-out 1s; }
.float-3 { bottom: 15%; left: 15%; animation: float 5.5s infinite ease-in-out 2s; }
.float-4 { bottom: 20%; right: 15%; animation: float 6.5s infinite ease-in-out 0.5s; }

.core-logo-bubble {
    position: absolute;
    width: 110px;
    height: 110px;
    background: var(--color-bg-dark);
    border: 2.5px solid var(--color-brand-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 124, 0, 0.3);
    animation: float 8s infinite ease-in-out;
}

.core-logo-bubble img {
    width: 65px;
    height: auto;
}

/* --- SERVICES CARD GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2.2rem;
    position: relative;
    overflow: hidden;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(0, 124, 0, 0.1);
    border: 1px solid rgba(0, 124, 0, 0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: var(--color-neon-green);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
    background: var(--color-brand-green);
    box-shadow: var(--shadow-neon);
}

.service-card:hover .service-icon-wrap svg {
    fill: #fff;
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-neon-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link svg {
    width: 14px;
    height: 14px;
    fill: var(--color-neon-green);
    transition: var(--transition-quick);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* --- DYNAMIC TECH STACK TABS --- */
.tech-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.tech-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tech-tab-btn:hover {
    border-color: rgba(0, 124, 0, 0.4);
    color: var(--color-text-primary);
}

.tech-tab-btn.active {
    background: var(--color-brand-green);
    border-color: var(--color-neon-green);
    color: #fff;
    box-shadow: var(--shadow-neon);
}

.tech-tab-content {
    display: none;
}

.tech-tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.tech-item {
    padding: 1.8rem;
    text-align: center;
    border-radius: 12px;
}

.tech-item svg {
    width: 42px;
    height: 42px;
    fill: var(--color-text-secondary);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.tech-item:hover svg {
    fill: var(--color-neon-green);
    transform: scale(1.15) rotate(5deg);
}

.tech-item img {
    width: 45px;
    height: 45px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    filter: grayscale(100%) opacity(0.75);
}

.tech-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.18) rotate(5deg);
}

.tech-item-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- OVERVIEW SYNC DIAGRAM REDESIGN --- */
.overview-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

@media (max-width: 1024px) {
    .overview-layout-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

.sync-diagram-card {
    position: relative;
    height: 280px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glass);
}

.sync-node-container {
    position: relative;
    width: 80%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sync-node {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glass);
    z-index: 5;
    transition: var(--transition-smooth);
    position: relative;
}

.sync-node:hover {
    border-color: var(--color-brand-green);
    transform: scale(1.05);
}

.sync-node-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.sync-node-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sync-bridge-line {
    position: absolute;
    top: 50%;
    left: 30px;
    right: 30px;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--color-border) 0px, var(--color-border) 8px, transparent 8px, transparent 16px);
    transform: translateY(-50%);
    z-index: 1;
}

.sync-signal-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-neon-green);
    box-shadow: 0 0 10px var(--color-neon-green);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    animation: bridgeSync 3s infinite linear;
}

@keyframes bridgeSync {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.sync-metric-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 124, 0, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-brand-green);
    box-shadow: var(--shadow-glass);
    z-index: 10;
}

.sync-metric-latency {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.sync-metric-overlap {
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- SERVICE CARD CATEGORY GLOWS & HOVER ENHANCEMENTS --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-border);
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    background: var(--color-brand-green);
}

/* Category Glow Coloring */
#serviceCardWeb:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.06), var(--shadow-neon);
    border-color: rgba(59, 130, 246, 0.2);
}
#serviceCardWeb:hover::after { background: #3b82f6; }

#serviceCardMobile:hover {
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.06), var(--shadow-neon);
    border-color: rgba(168, 85, 247, 0.2);
}
#serviceCardMobile:hover::after { background: #a855f7; }

#serviceCardAI:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.06), var(--shadow-neon);
    border-color: rgba(16, 185, 129, 0.2);
}
#serviceCardAI:hover::after { background: #10b981; }

#serviceCardMarketing:hover {
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.06), var(--shadow-neon);
    border-color: rgba(245, 158, 11, 0.2);
}
#serviceCardMarketing:hover::after { background: #f59e0b; }

#serviceCardUIUX:hover {
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.06), var(--shadow-neon);
    border-color: rgba(236, 72, 153, 0.2);
}
#serviceCardUIUX:hover::after { background: #ec4899; }

#serviceCardDevOps:hover {
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.06), var(--shadow-neon);
    border-color: rgba(6, 182, 212, 0.2);
}
#serviceCardDevOps:hover::after { background: #06b6d4; }

#serviceCardBICRM:hover, #serviceCardERP:hover, #serviceCardOutsourcing:hover, #serviceCardAmazon:hover {
    box-shadow: 0 15px 35px rgba(0, 124, 0, 0.06), var(--shadow-neon);
    border-color: rgba(0, 124, 0, 0.2);
}

/* Mini Mockup Overlays in Cards */
.card-mini-visual {
    position: absolute;
    right: 15px;
    top: 15px;
    opacity: 0.15;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover .card-mini-visual {
    opacity: 0.45;
    transform: scale(1.1);
}

.card-mini-visual svg {
    width: 45px;
    height: 45px;
    fill: var(--color-brand-green);
}

/* --- ROADMAP CHECKLIST STYLES --- */
.roadmap-checklist-mini {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.roadmap-step:nth-child(odd) .roadmap-checklist-mini {
    text-align: right;
    align-items: flex-end;
}

.roadmap-checklist-mini li {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.roadmap-checklist-mini li svg {
    width: 14px;
    height: 14px;
    fill: var(--color-brand-green);
}

/* --- STATS SPARKLINES --- */
.stat-sparkline {
    width: 90px;
    height: 25px;
    margin: 6px auto 0;
    display: block;
    opacity: 0.75;
}

.stat-sparkline path {
    fill: none;
    stroke: var(--color-neon-green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawSparkline 2.5s ease-in-out forwards;
}

@keyframes drawSparkline {
    to { stroke-dashoffset: 0; }
}

/* --- TESTIMONIAL VISUAL ENHANCEMENT --- */
.testimonial-slide-layout {
    position: relative;
}

.testimonial-quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 124, 0, 0.05);
    position: absolute;
    top: 10px;
    left: 25px;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* --- COLLABORATION PROCESS ROADMAP --- */
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--color-brand-green) 0%, var(--color-border) 100%);
    transform: translateX(-50%);
}

.roadmap-step {
    position: relative;
    margin-bottom: 5rem;
    width: 50%;
    padding-right: 3rem;
    text-align: right;
}

.roadmap-step:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
}

.roadmap-node {
    position: absolute;
    top: 0;
    right: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 3px solid var(--color-brand-green);
    box-shadow: 0 0 10px rgba(0, 124, 0, 0.4);
    z-index: 5;
    transition: var(--transition-smooth);
}

.roadmap-step:nth-child(even) .roadmap-node {
    left: -15px;
    right: auto;
}

.roadmap-step:hover .roadmap-node {
    background: var(--color-neon-green);
    box-shadow: var(--shadow-neon);
}

.roadmap-number {
    font-size: 0.95rem;
    color: var(--color-neon-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.roadmap-card {
    padding: 2.2rem;
}

.roadmap-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.roadmap-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* --- STATS SECTION --- */
.stats-section {
    background: linear-gradient(180deg, rgba(0, 124, 0, 0.015) 0%, var(--color-stats-bg-mid) 50%, rgba(0, 124, 0, 0.015) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-neon-green);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 320px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
    position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
    content: '"';
    color: var(--color-brand-green);
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before { left: -1.5rem; top: -1.5rem; }
.testimonial-quote::after { right: -1.5rem; bottom: -2.5rem; }

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-brand-green);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-neon-green);
    font-size: 1.05rem;
}

.testimonial-company {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition-quick);
}

.testimonial-dot.active {
    background: var(--color-neon-green);
    box-shadow: 0 0 8px var(--color-neon-green);
}

/* --- THE DYNAMIC MULTI-STEP CTA FORM --- */
.planner-form-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem;
}

.form-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
}

.form-steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
    transform: translateY(-50%);
}

.form-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: var(--color-brand-green);
    box-shadow: 0 0 10px rgba(0, 124, 0, 0.4);
    z-index: 1;
    transform: translateY(-50%);
    transition: var(--transition-smooth);
}

.step-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-indicator.active {
    border-color: var(--color-neon-green);
    color: var(--color-neon-green);
    box-shadow: 0 0 12px rgba(0, 230, 0, 0.2);
}

.step-indicator.completed {
    border-color: var(--color-brand-green);
    background: var(--color-brand-green);
    color: #fff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-step h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.form-step-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* Step 1 Services Grid Checklist */
.services-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.service-select-card {
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.service-select-card:hover {
    border-color: rgba(0, 124, 0, 0.4);
    background: rgba(0, 124, 0, 0.02);
}

.service-select-card.selected {
    border-color: var(--color-neon-green);
    background: rgba(0, 124, 0, 0.08);
    box-shadow: var(--shadow-neon);
}

.select-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-quick);
}

.service-select-card.selected .select-checkbox {
    border-color: var(--color-neon-green);
    background: var(--color-neon-green);
}

.select-checkbox::after {
    content: '✓';
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
}

.service-select-card.selected .select-checkbox::after {
    display: block;
}

.service-select-card span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Step 2 Budget Slider & Step 3 Timeline Tiles */
.range-slider-wrap {
    padding: 1rem 0;
}

.budget-val-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-neon-green);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 230, 0, 0.25);
}

.custom-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: var(--color-border);
    outline: none;
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-neon-green);
    box-shadow: 0 0 15px var(--color-neon-green);
    cursor: pointer;
    transition: var(--transition-quick);
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.tiles-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tile-select-card {
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.tile-select-card:hover {
    border-color: rgba(0, 124, 0, 0.4);
}

.tile-select-card.selected {
    border-color: var(--color-neon-green);
    background: rgba(0, 124, 0, 0.08);
    box-shadow: var(--shadow-neon);
}

.tile-select-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tile-select-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* Step 4 Form Inputs */
.form-input-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-field-wrap label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.input-text, .input-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-text:focus, .input-textarea:focus {
    outline: none;
    border-color: var(--color-neon-green);
    box-shadow: var(--shadow-neon);
    background: var(--color-bg-dark);
}

.input-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

/* Form success message */
.form-success-box {
    text-align: center;
    padding: 3rem 1.5rem;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(0, 124, 0, 0.1);
    border: 2px solid var(--color-neon-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-neon);
}

.success-icon-circle svg {
    width: 36px;
    height: 36px;
    fill: var(--color-neon-green);
}

.form-success-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-success-box p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

/* --- FOOTER --- */
.footer {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-desc p {
    color: var(--color-text-secondary);
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-neon-green);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-neon-green);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-text-secondary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-neon-green);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.social-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    border-color: var(--color-neon-green);
    background: rgba(0, 124, 0, 0.05);
}

.social-icon-btn:hover svg {
    fill: var(--color-neon-green);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
}

/* --- SERVICES DETAIL PAGE STYLES --- */
.service-hero {
    padding-top: 150px;
    text-align: center;
}

.service-pillars-section {
    padding-top: 2rem;
}

.pillar-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.pillar-card:nth-child(even) {
    direction: rtl;
}

.pillar-card:nth-child(even) .pillar-content {
    direction: ltr;
}

.pillar-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.pillar-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.deliverables-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.deliverable-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-neon-green);
    flex-shrink: 0;
}

.pillar-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--color-border);
}

.pillar-visual svg {
    width: 100%;
    height: 100%;
    background: #0f1015;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

/* Horizontal line */
.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active {
    border-color: var(--color-neon-green);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background: var(--color-neon-green);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(15, 23, 42, 0.02);
}

.faq-content p {
    padding: 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* --- ABOUT PAGE STYLES --- */
.about-hero {
    padding-top: 150px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-intro-text p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.about-intro-visual {
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 380px;
}

.about-intro-visual svg {
    width: 100%;
    height: 100%;
    background: #0f1015;
}

/* Pakistan Advantage Section */
.advantage-section {
    background: rgba(38,38,38,0.1);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    padding: 3rem 2rem;
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Core Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* --- CONTACT PAGE STYLES --- */
.contact-hero {
    padding-top: 150px;
    text-align: center;
    margin-bottom: 4rem;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

.contact-info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 124, 0, 0.1);
    border: 1px solid rgba(0, 124, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-info-card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-neon-green);
}

.contact-info-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-info-card-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-info-card-content a {
    color: var(--color-neon-green);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-map-card {
    height: 250px;
    overflow: hidden;
    padding: 0;
}

/* Styling Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(0, 124, 0, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(15, 23, 42, 0.01) 1px, transparent 1px);
    background-size: 24px 24px, 40px 40px;
}

.map-marker {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: rgba(0, 124, 0, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite ease-in-out;
}

.map-marker::after {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--color-neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-neon-green);
}

.map-text {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 230, 0, 0.4); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 15px rgba(0, 230, 0, 0); }
    100% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 230, 0, 0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- REDESIGNED HERO VISUAL STYLES --- */
.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    margin: 0 auto;
}

/* IDE / Web Mockup Panel */
.ide-panel {
    width: 350px;
    height: 230px;
    background: rgba(30, 41, 59, 0.95); /* Slate 800 dark glass for coding theme */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    z-index: 10;
    left: 10px;
    top: 50px;
    animation: float 6s infinite ease-in-out;
}

/* Window Chrome Styles */
.mockup-window {
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    display: flex;
    flex-direction: column;
}

.window-header {
    height: 36px;
    background: rgba(15, 23, 42, 0.5);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-close { background: #ef4444; }
.dot-minimize { background: #f59e0b; }
.dot-expand { background: #10b981; }

.window-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-family: var(--font-body);
    margin-left: auto;
    font-weight: 500;
}

.window-body {
    padding: 1.2rem;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e2e8f0;
    text-align: left;
}

.window-body pre {
    margin: 0;
}

.code-keyword { color: #f472b6; }
.code-class { color: #38bdf8; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; }

/* Overlapping Mobile App Mockup */
.mobile-panel {
    width: 200px;
    height: 280px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 124, 0, 0.12);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    z-index: 20;
    right: 10px;
    bottom: 50px;
    animation: float 6s infinite ease-in-out 1.5s;
}

.mobile-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.mobile-header {
    height: 28px;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.02);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.mobile-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
}

.mobile-battery {
    font-size: 0.7rem;
    color: #475569;
}

.mobile-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    justify-content: space-between;
}

.mobile-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
}

.mobile-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.mobile-status {
    font-size: 0.6rem;
    color: #64748b;
}

.mobile-chart {
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: rgba(0, 124, 0, 0.02);
    border-radius: 8px;
    padding: 6px;
}

.chart-bar {
    width: 10px;
    border-radius: 4px;
    background: var(--color-brand-green);
    animation: growBar 2s ease-in-out infinite alternate;
}

.chart-bar:nth-child(2) { background: var(--color-neon-green); animation-delay: 0.3s; }
.chart-bar:nth-child(3) { background: #34d399; animation-delay: 0.6s; }
.chart-bar:nth-child(4) { background: var(--color-brand-green); animation-delay: 0.9s; }

@keyframes growBar {
    from { transform: scaleY(0.3); }
    to { transform: scaleY(1); }
}

.mobile-label {
    background: rgba(0, 124, 0, 0.08);
    border: 1px solid rgba(0, 124, 0, 0.15);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.65rem;
    color: var(--color-brand-green);
    font-weight: 700;
    text-align: center;
}

/* Floating status indicators */
.floating-metric-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 124, 0, 0.1);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 25;
    text-align: left;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brand-green);
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulseDot 2s infinite ease-out;
}

.pulse-dot.green {
    background: #10b981;
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.floating-metric-card h4 {
    font-size: 0.7rem;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}

.floating-metric-card p {
    font-size: 0.6rem;
    margin: 0;
    color: #64748b;
}

.stat-bubble-1 {
    top: 10px;
    left: -10px;
    animation: float 5.5s infinite ease-in-out 0.5s;
}

.stat-bubble-2 {
    bottom: 20px;
    left: 20px;
    animation: float 5s infinite ease-in-out 2.2s;
}

@media (max-width: 480px) {
    .hero-visual-wrapper {
        transform: scale(0.8);
    }
}
@media (max-width: 380px) {
    .hero-visual-wrapper {
        transform: scale(0.68);
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-desc {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .pillar-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pillar-card:nth-child(even) {
        direction: ltr;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding-bottom: 100px;
        border-top: 1px solid var(--color-border);
        z-index: 999;
    }
    
    .nav-links.mobile-active {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .dropdown-menu.active-dropdown {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /* Section spacing */
    .section {
        padding: 3.5rem 0;
    }
    
    /* Typography scale-down */
    .section-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    .section-tag {
        font-size: 0.7rem;
    }
    
    /* Hero Section - fit most content in single view */
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    .hero-grid {
        gap: 2rem;
        text-align: center;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .hero-visual {
        height: 240px;
    }
    .tech-globe-container {
        width: 220px;
        height: 220px;
    }
    .hero-floating-client-card {
        display: none !important;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    
    /* Roadmap / Timeline */
    .roadmap-timeline::before {
        left: 20px;
    }
    .roadmap-step {
        width: 100%;
        padding-left: 3.5rem;
        padding-right: 0;
        text-align: left;
        margin-bottom: 2.5rem;
    }
    .roadmap-step:nth-child(even) {
        left: 0;
        padding-left: 3.5rem;
    }
    .roadmap-node {
        left: 5px;
        right: auto;
    }
    .roadmap-step:nth-child(even) .roadmap-node {
        left: 5px;
    }
    
    /* Forms & Planner */
    .services-select-grid {
        grid-template-columns: 1fr;
    }
    .tiles-select-grid {
        grid-template-columns: 1fr;
    }
    .form-input-group {
        grid-template-columns: 1fr;
    }
    .planner-form-card {
        padding: 1.5rem 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cards & Grids */
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .deliverables-checklist {
        grid-template-columns: 1fr;
    }
    
    /* Glass panels */
    .glass-panel {
        padding: 2rem 1.2rem !important;
    }
    
    /* Brand ticker */
    .brand-bar-title {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }
    .brand-logo-text {
        font-size: 1rem;
    }
    
    /* Container padding on mobile */
    .container {
        padding: 0 1rem;
    }
}

/* ---- EXTRA SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }
    .section-title {
        font-size: 1.65rem;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-desc {
        font-size: 0.92rem;
    }
    .hero-visual {
        height: 190px;
    }
    .tech-globe-container {
        width: 180px;
        height: 180px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .portfolio-img-wrap {
        height: 180px;
    }
    /* Chatbot full-width on tiny screens */
    .chatbot-window {
        width: calc(100vw - 32px) !important;
        height: 420px !important;
        right: 16px !important;
        bottom: 70px !important;
    }
    /* CTA buttons stacked */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.4rem;
    }
    /* Service cards min-width reset */
    .service-card, .calc-option-card {
        min-width: unset !important;
        width: 100% !important;
    }
    /* Overview section */
    .overview-layout-grid {
        grid-template-columns: 1fr !important;
    }
    /* Filter buttons wrap */
    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }
    /* Footer tighter */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ---- VERY SMALL MOBILE (≤360px) ---- */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.55rem;
    }
    .section-title {
        font-size: 1.45rem;
    }
    .hero-desc {
        font-size: 0.85rem;
    }
    .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.1rem;
    }
    .logo-img {
        height: 32px;
    }
    .nav-container {
        height: 58px;
    }
    .nav-links {
        top: 58px !important;
        height: calc(100vh - 58px) !important;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PORTFOLIO SECTION --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-img-wrap {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.08);
}

.portfolio-badge-row {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.portfolio-badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--color-brand-green);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.portfolio-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brand-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-link svg {
    width: 14px;
    height: 14px;
    fill: var(--color-brand-green);
    transition: var(--transition-quick);
}

.portfolio-card:hover .portfolio-link svg {
    transform: translateX(5px);
}

/* --- CREATIVE HERO BACKGROUND GLOWS --- */
.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}
.hero-bg-glow-1 {
    top: 5%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-brand-green) 0%, transparent 70%);
    animation: pulseGlow 8s infinite alternate ease-in-out;
}
.hero-bg-glow-2 {
    bottom: 15%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    animation: pulseGlow 12s infinite alternate ease-in-out 2s;
}
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 124, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 124, 0, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
}
@keyframes pulseGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

/* --- CUSTOM SERVICES PILLAR MOCKUPS --- */
.pillar-visual-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.75) 100%);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}
.pillar-visual-wrapper:hover {
    border-color: var(--color-border-glow);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

/* Generic browser frame mockup container */
.mockup-app-window {
    width: 100%;
    max-width: 350px;
    height: 290px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: float 6s infinite ease-in-out;
}
.mockup-app-window .window-header {
    padding: 0.8rem;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    position: relative;
}
.mockup-app-window .window-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-family: monospace;
    margin-left: 12px;
}
.mockup-app-window .window-body {
    padding: 1.2rem;
    flex-grow: 1;
    overflow: hidden;
    font-family: monospace;
    font-size: 0.75rem;
    background: #ffffff;
}

/* Chat Bot UI Mockup */
.chat-interface {
    width: 100%;
    max-width: 330px;
    height: 310px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: float 6s infinite ease-in-out;
}
.chat-header {
    padding: 0.9rem;
    background: var(--color-brand-charcoal);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chat-header .active-dot {
    width: 8px;
    height: 8px;
    background: var(--color-neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-neon-green);
}
.chat-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.75rem;
    overflow-y: auto;
}
.chat-msg {
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 85%;
    line-height: 1.4;
}
.chat-msg.bot {
    background: rgba(0, 124, 0, 0.05);
    border: 1px solid rgba(0, 124, 0, 0.12);
    color: var(--color-text-primary);
    align-self: flex-start;
}
.chat-msg.user {
    background: var(--color-brand-green);
    color: #fff;
    align-self: flex-end;
}

/* Figma/UX Designer Canvas mockup */
.canvas-designer {
    width: 100%;
    max-width: 350px;
    height: 300px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    position: relative;
    box-shadow: var(--shadow-glass);
    overflow: hidden;
    animation: float 5.5s infinite ease-in-out;
}
.canvas-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    height: 100%;
    background: #ffffff;
    border-right: 1px solid var(--color-border);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.canvas-tool {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}
.canvas-tool.active {
    background: var(--color-brand-green);
    color: #fff;
    border-color: var(--color-brand-green);
}
.canvas-tool svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.canvas-workspace {
    margin-left: 55px;
    height: 100%;
    position: relative;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.canvas-element {
    width: 150px;
    height: 150px;
    border: 2px dashed var(--color-brand-green);
    background: rgba(0, 124, 0, 0.04);
    border-radius: 10px;
    position: relative;
}
.canvas-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid var(--color-brand-green);
    bottom: -5px;
    right: -5px;
    border-radius: 2px;
}
.canvas-cursor {
    position: absolute;
    top: 55%;
    left: 65%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
}
.canvas-cursor svg {
    width: 20px;
    height: 20px;
    fill: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.canvas-cursor-label {
    background: #3b82f6;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* DevOps Logs and Server Nodes mockup */
.server-logs {
    width: 100%;
    max-width: 340px;
    height: 190px;
    background: #0f172a;
    color: #38bdf8;
    border-radius: 14px;
    font-family: monospace;
    font-size: 0.7rem;
    padding: 1.2rem;
    box-shadow: var(--shadow-glass);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    animation: float 6.5s infinite ease-in-out;
}
.server-log-line {
    margin-bottom: 6px;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.server-log-line.success { color: #34d399; }
.server-log-line.warn { color: #f59e0b; }

.node-map {
    width: 100%;
    max-width: 340px;
    height: 130px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    margin-top: 15px;
    animation: float 5s infinite ease-in-out 1s;
}
.node-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2.5px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}
.node-circle.active {
    border-color: var(--color-neon-green);
    box-shadow: 0 0 12px rgba(0, 179, 0, 0.25);
    color: var(--color-brand-green);
}

/* Lead CRM Funnel mockup */
.crm-funnel {
    width: 100%;
    max-width: 340px;
    height: 290px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: float 5.5s infinite ease-in-out;
}
.crm-funnel-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}
.funnel-stage {
    height: 32px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 12px;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.funnel-stage-1 { background: #3b82f6; width: 100%; }
.funnel-stage-2 { background: #6366f1; width: 88%; }
.funnel-stage-3 { background: #a855f7; width: 75%; }
.funnel-stage-4 { background: #10b981; width: 62%; }

/* Roster panel for IT resource augmentation */
.team-roster {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: float 6s infinite ease-in-out;
}
.roster-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #f8fafc;
    text-align: left;
}
.roster-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    flex-shrink: 0;
}
.roster-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.roster-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
}
.roster-role {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}
.roster-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 700;
}

/* Amazon FBA Shipment tracker card */
.shipping-tracker {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    padding: 1.5rem;
    animation: float 5.5s infinite ease-in-out;
    text-align: left;
}
.tracker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 10px;
}
.tracker-status {
    font-weight: 800;
    color: var(--color-brand-green);
    background: rgba(0, 124, 0, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
}
.tracker-progress-track {
    height: 8px;
    background: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
    margin: 12px 0;
}
.tracker-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    width: 75%;
}
.tracker-metric {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin-top: 6px;
}

/* --- INTERACTIVE COST CALCULATOR SECTION --- */
.cost-calculator-section {
    padding: 6rem 0;
    background: var(--color-calc-section-bg);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.calc-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.calc-card {
    padding: 3rem;
    background: var(--color-calc-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
}
.calc-group {
    margin-bottom: 2.5rem;
}
.calc-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-brand-charcoal);
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.slider-val-badge {
    background: rgba(0, 124, 0, 0.08);
    border: 1px solid rgba(0, 124, 0, 0.15);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--color-brand-green);
    font-weight: 800;
}
.calc-slider-wrap {
    position: relative;
    margin-top: 0.8rem;
}
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 100px;
    background: var(--color-border);
    outline: none;
    cursor: pointer;
}
.calc-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 100px;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid var(--color-brand-green);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 4px 10px rgba(0, 124, 0, 0.25);
    transition: var(--transition-smooth);
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 14px var(--color-neon-green);
}
.calc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-top: 10px;
    padding: 0 4px;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.checkbox-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 1.25rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}
.checkbox-card:hover {
    border-color: var(--color-brand-green);
    background: rgba(0, 124, 0, 0.02);
}
.checkbox-card.checked {
    border-color: var(--color-brand-green);
    background: rgba(0, 124, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 124, 0, 0.05);
}
.checkbox-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg-card);
    transition: var(--transition-smooth);
}
.checkbox-card input[type="checkbox"]:checked {
    background: var(--color-brand-green);
    border-color: var(--color-brand-green);
}
.checkbox-card input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 0.85rem;
    color: #fff;
    font-weight: 900;
}
.checkbox-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkbox-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.checkbox-price {
    font-size: 0.75rem;
    color: var(--color-brand-green);
    font-weight: 800;
}
.calc-summary-card {
    position: sticky;
    top: 100px;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-brand-charcoal) 0%, #171717 100%);
    color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255,255,255,0.03);
}
.summary-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.summary-title svg {
    width: 20px;
    height: 20px;
    fill: var(--color-neon-green);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.summary-row-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}
.summary-price-wrap {
    text-align: right;
}
.summary-price-one-time {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.summary-price-recurring {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-neon-green);
    letter-spacing: -0.02em;
}
.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}
.calc-cta-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(0, 124, 0, 0.25);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.calc-cta-btn:hover {
    box-shadow: 0 12px 35px rgba(0, 124, 0, 0.4);
    transform: translateY(-2px);
}
.calc-notes {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .calc-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .calc-summary-card {
        position: relative;
        top: 0;
    }
}

/* --- CONTACT TRUST WIDGETS --- */
.contact-trust-card {
    padding: 2rem;
    text-align: center;
}
.contact-clutch-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-brand-charcoal);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.contact-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.contact-live-monitor {
    padding: 2rem;
}
.live-monitor-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
    text-align: left;
}
.live-monitor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}
.live-monitor-row span:first-child {
    font-weight: 500;
    color: var(--color-text-secondary);
}
.live-monitor-row span:last-child {
    font-weight: 700;
    color: var(--color-text-primary);
}

/* --- CLIENT BRAND BAR SHOWCASE --- */
.client-brand-bar {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 2.2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.brand-bar-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}
.brand-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}
.brand-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-logo-text svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.brand-domain {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.brand-item:hover .brand-logo-text {
    color: var(--color-brand-green);
    transform: translateY(-2px);
}
.brand-item:hover .brand-domain {
    color: var(--color-text-primary);
}

/* --- HERO FLOATING CLIENT CARDS (INTERACTIVE BACKGROUND) --- */
.hero-floating-client-card {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 124, 0, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}
.hero-floating-client-card:hover {
    transform: translateY(-5px) scale(1.05) !important;
    border-color: var(--color-brand-green);
    box-shadow: 0 12px 40px rgba(0, 124, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}
.floating-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.05);
}
.floating-card-info {
    display: flex;
    flex-direction: column;
}
.floating-card-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.floating-card-desc {
    font-size: 0.6rem;
    color: var(--color-text-secondary);
}
.floating-card-tag {
    font-size: 0.55rem;
    padding: 2px 6px;
    background: rgba(0, 124, 0, 0.08);
    border: 1px solid rgba(0, 124, 0, 0.12);
    border-radius: 4px;
    color: var(--color-brand-green);
    font-weight: 700;
    margin-top: 2px;
    align-self: flex-start;
}

/* Animations for floating cards in different sectors of the hero background */
@keyframes floatSector1 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes floatSector2 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes floatSector3 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes floatSector4 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(12px) rotate(1.2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.card-float-sector-1 {
    top: 15%;
    left: 45%;
    animation: floatSector1 6s infinite ease-in-out;
}
.card-float-sector-2 {
    bottom: 22%;
    left: 3%;
    animation: floatSector2 7s infinite ease-in-out 1s;
}
.card-float-sector-3 {
    top: 55%;
    right: 42%;
    animation: floatSector3 8s infinite ease-in-out 2s;
}
.card-float-sector-4 {
    bottom: 8%;
    right: 45%;
    animation: floatSector4 6.5s infinite ease-in-out 0.5s;
}

/* --- ADDITIONAL GLOWS AND MORPHING EFFECTS --- */
.hero-bg-glow-3 {
    top: 35%;
    left: 35%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    position: absolute;
    filter: blur(100px);
}

@media (max-width: 768px) {
    .hero-floating-client-card {
        display: none !important;
    }
    .brand-bar-grid {
        gap: 2rem;
    }
}

/* --- CONVERSATIONAL CHATBOT & LEAD CATCHER --- */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: var(--font-primary), system-ui, -apple-system, sans-serif;
}
.chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    box-shadow: 0 10px 30px rgba(0, 124, 0, 0.3);
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: var(--transition-smooth);
    position: relative;
}
.chatbot-trigger:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 124, 0, 0.45);
}
.chatbot-trigger svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: var(--transition-smooth);
}
.chatbot-trigger.active svg {
    transform: rotate(90deg);
}
.chatbot-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-neon-green);
    animation: triggerGlow 2s infinite ease-out;
    pointer-events: none;
}
@keyframes triggerGlow {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.chatbot-badge {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: var(--color-brand-charcoal);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--color-border);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}
.chatbot-badge::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-right: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
}
.chatbot-badge.visible {
    opacity: 1;
    right: 75px;
    pointer-events: auto;
}
.chatbot-window {
    width: 360px;
    height: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 124, 0, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.chatbot-header {
    background: var(--color-brand-charcoal);
    padding: 1.2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    position: relative;
    flex-shrink: 0;
}
.chatbot-avatar::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-neon-green);
    border: 2px solid var(--color-brand-charcoal);
    box-shadow: 0 0 6px var(--color-neon-green);
}
.chatbot-header-info {
    flex-grow: 1;
}
.chatbot-header-name {
    font-size: 0.9rem;
    font-weight: 800;
}
.chatbot-header-status {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}
.chatbot-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 4px;
}
.chatbot-close-btn:hover {
    color: #ffffff;
}
.chatbot-body {
    flex-grow: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255,255,255,0.4);
}
.chatbot-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.4;
    animation: messageSlideIn 0.3s ease forwards;
}
@keyframes messageSlideIn {
    0% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.chatbot-msg.bot {
    background: #ffffff;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    align-self: flex-start;
    border-top-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.chatbot-msg.user {
    background: var(--color-brand-green);
    color: #ffffff;
    align-self: flex-end;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 124, 0, 0.15);
}
.chatbot-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-start;
    width: 100%;
    margin-top: 6px;
    animation: messageSlideIn 0.4s ease forwards;
}
.chatbot-opt-btn {
    background: #ffffff;
    border: 1.5px solid var(--color-brand-green);
    color: var(--color-brand-green);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}
.chatbot-opt-btn:hover {
    background: var(--color-brand-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 124, 0, 0.12);
}
.chatbot-input-area {
    padding: 1rem 1.2rem;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.chatbot-input {
    flex-grow: 1;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.8rem;
    outline: none;
    transition: var(--transition-smooth);
    background: #f8fafc;
}
.chatbot-input:focus {
    border-color: var(--color-brand-green);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 124, 0, 0.1);
}
.chatbot-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-brand-green);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}
.chatbot-send-btn:hover {
    background: var(--color-neon-green);
    box-shadow: 0 4px 12px rgba(0, 179, 0, 0.2);
}
.chatbot-send-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 440px;
        bottom: 70px;
    }
    .chatbot-badge {
        display: none !important;
    }
}

/* --- ADMIN PANEL & LEADS DASHBOARD --- */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-calc-section-bg);
    padding: 2rem;
    font-family: var(--font-primary), system-ui, -apple-system, sans-serif;
}
.admin-login-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem 2.5rem;
    background: var(--color-calc-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.admin-login-logo {
    width: 150px;
    margin-bottom: 2rem;
}
.admin-login-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-brand-charcoal);
    margin-bottom: 0.5rem;
}
.admin-login-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}
.admin-login-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    background: #f8fafc;
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.1em;
}
.admin-login-input:focus {
    border-color: var(--color-brand-green);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 124, 0, 0.1);
}
.admin-login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-neon-green) 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(0, 124, 0, 0.2);
}
.admin-login-btn:hover {
    box-shadow: 0 12px 28px rgba(0, 124, 0, 0.35);
    transform: translateY(-2px);
}
.admin-login-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 1rem;
    font-weight: 700;
    display: none;
}

/* Dashboard Layout */
.admin-dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f8fafc;
    font-family: var(--font-primary), system-ui, -apple-system, sans-serif;
}
.admin-sidebar {
    background: var(--color-brand-charcoal);
    color: #ffffff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.sidebar-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1.5rem;
}
.sidebar-logo {
    height: 38px;
}
.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.sidebar-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.sidebar-menu-item a:hover,
.sidebar-menu-item.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.sidebar-menu-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    justify-content: center;
}
.sidebar-logout-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.admin-main {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    max-width: 1600px;
    width: 100%;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.admin-header-title h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-brand-charcoal);
    margin-bottom: 0.3rem;
}
.admin-header-title p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}
.admin-action-bar {
    display: flex;
    gap: 12px;
}
.admin-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-text-primary);
}
.admin-btn-action:hover {
    background: #f1f5f9;
}
.admin-btn-action.primary {
    background: var(--color-brand-green);
    border-color: var(--color-brand-green);
    color: #ffffff;
}
.admin-btn-action.primary:hover {
    background: #006400;
}
.admin-btn-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Metric Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.metric-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.metric-info h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    font-weight: 700;
}
.metric-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-brand-charcoal);
}
.metric-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 124, 0, 0.05);
    color: var(--color-brand-green);
}
.metric-icon-wrap svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Leads Table Section */
.leads-table-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}
.table-filter-bar {
    padding: 1.25rem 1.8rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.search-input-wrap {
    position: relative;
    max-width: 380px;
    width: 100%;
}
.search-input-wrap input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    background: #f8fafc;
    transition: var(--transition-smooth);
}
.search-input-wrap input:focus {
    border-color: var(--color-brand-green);
    background: #ffffff;
}
.search-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: var(--color-text-muted);
}
.filter-dropdown-wrap select {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.table-wrapper {
    overflow-x: auto;
}
.leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}
.leads-table th {
    background: #f8fafc;
    padding: 1rem 1.8rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}
.leads-table td {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--color-text-primary);
    vertical-align: middle;
}
.leads-table tr:last-child td {
    border-bottom: none;
}
.leads-table tr:hover td {
    background: #f8fafc;
}

/* Badges */
.badge-source {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-source.chatbot {
    background: rgba(0, 124, 0, 0.08);
    color: var(--color-brand-green);
}
.badge-source.planner {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.badge-budget {
    font-weight: 800;
    color: var(--color-brand-green);
}

.lead-delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lead-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}
.lead-delete-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.no-leads-state {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-text-muted);
}
.no-leads-state svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none; /* Can add a mobile toggle header if needed */
    }
    .admin-main {
        padding: 1.5rem 1.8rem;
    }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99999;
}
.whatsapp-float-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}
.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.whatsapp-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waGlow 2s infinite ease-out;
    pointer-events: none;
}
@keyframes waGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- PREMIUM DROPDOWN MENU --- */
.nav-links li {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 124, 0, 0.15);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 10px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}
.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}
.dropdown-menu li {
    width: 100%;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-brand-charcoal);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}
.dropdown-menu li a:hover {
    background: rgba(0, 124, 0, 0.05);
    color: var(--color-brand-green);
    padding-left: 25px;
}
.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .whatsapp-float-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float-btn svg {
        width: 26px;
        height: 26px;
    }
    .nav-links li.dropdown:hover .dropdown-menu,
    .nav-links li.dropdown:focus-within .dropdown-menu {
        display: block;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border-left: 2px solid var(--color-brand-green);
        border-radius: 0;
        padding: 5px 0 5px 15px;
        margin-top: 5px;
        min-width: unset;
        display: none;
    }
    .dropdown-menu li a {
        padding: 8px 0;
        color: var(--color-brand-charcoal) !important;
        font-size: 0.8rem;
    }
    /* In mobile sidebar when text links are white */
    .nav-links.mobile-active .dropdown-menu li a {
        color: rgba(255,255,255,0.8) !important;
    }
    .dropdown-menu li a:hover {
        padding-left: 5px;
        color: var(--color-brand-green) !important;
    }
    .nav-links.mobile-active .dropdown-menu li a:hover {
        color: var(--color-neon-green) !important;
    }
}

/* --- DARK MODE SPECIAL OVERRIDES --- */
body.dark-theme {
    background-color: var(--color-bg-dark) !important;
}

/* Override inline dark charcoal text colors on subpages */
body.dark-theme [style*="color:var(--color-brand-charcoal)"],
body.dark-theme [style*="color: var(--color-brand-charcoal)"],
body.dark-theme [style*="color: rgb(38, 38, 38)"],
body.dark-theme [style*="color:rgb(38, 38, 38)"] {
    color: var(--color-text-primary) !important;
}

/* Sidebar Spotlight card override for dark mode on service detailed pages */
body.dark-theme .service-hero + .section .container > div > div:nth-child(2) {
    background: var(--color-bg-card) !important;
    border-color: var(--color-border) !important;
    box-shadow: var(--shadow-glass) !important;
    border-radius: 24px;
}

/* Form inputs & interactive controls dark override */
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
    background-color: var(--color-bg-card) !important;
    color: var(--color-text-primary) !important;
    border-color: var(--color-border) !important;
}

/* Admin console panel body override */
body.dark-theme#loginGate,
body.dark-theme .admin-login-wrapper {
    background: var(--color-bg-dark) !important;
}

/* Chatbot Widget dark theme overrides */
body.dark-theme .chatbot-window {
    background: var(--color-bg-card) !important;
}
body.dark-theme .chatbot-body {
    background: rgba(0, 0, 0, 0.2) !important;
}
body.dark-theme .chatbot-msg.bot {
    background: var(--color-bg-card) !important;
    border-color: var(--color-border) !important;
}
body.dark-theme .chatbot-opt-btn {
    background: rgba(17, 24, 39, 0.8) !important;
    color: var(--color-neon-green) !important;
    border-color: var(--color-brand-green) !important;
}
body.dark-theme .chatbot-opt-btn:hover {
    background: var(--color-brand-green) !important;
    color: #ffffff !important;
}
body.dark-theme .chatbot-input-area {
    background: var(--color-bg-card) !important;
    border-top-color: var(--color-border) !important;
}
body.dark-theme .chatbot-input {
    background: rgba(9, 13, 22, 0.5) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-primary) !important;
}
body.dark-theme .chatbot-badge::after {
    background: var(--color-bg-card) !important;
}
body.dark-theme .chatbot-badge {
    background: var(--color-bg-card) !important;
    color: var(--color-text-primary) !important;
}

/* Admin Dashboard Console dark theme overrides */
body.dark-theme .metric-card {
    background: var(--color-bg-card) !important;
    border-color: var(--color-border) !important;
}
body.dark-theme .leads-table-card {
    background: var(--color-bg-card) !important;
    border-color: var(--color-border) !important;
}
body.dark-theme .search-input-wrap input {
    background: rgba(9, 13, 22, 0.5) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-primary) !important;
}
body.dark-theme .search-input-wrap input:focus {
    background: rgba(9, 13, 22, 0.8) !important;
    border-color: var(--color-brand-green) !important;
}
body.dark-theme .filter-dropdown-wrap select {
    background: rgba(9, 13, 22, 0.5) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-primary) !important;
}
body.dark-theme .admin-sidebar {
    background: rgba(9, 13, 22, 0.85) !important;
    border-right: 1px solid var(--color-border) !important;
}
body.dark-theme .admin-main {
    background: var(--color-bg-dark) !important;
}
body.dark-theme .leads-table th {
    background: rgba(0, 124, 0, 0.08) !important;
    color: var(--color-text-primary) !important;
    border-bottom: 1px solid var(--color-border) !important;
}
body.dark-theme .leads-table td {
    border-bottom: 1px solid var(--color-border) !important;
    color: var(--color-text-secondary) !important;
}
body.dark-theme .leads-table tr:hover td {
    background: rgba(255, 255, 255, 0.02) !important;
}
body.dark-theme .sidebar-menu-item.active a {
    background: rgba(0, 124, 0, 0.1) !important;
    color: var(--color-neon-green) !important;
}
body.dark-theme .admin-header-title h1 {
    color: var(--color-text-primary) !important;
}
body.dark-theme .admin-header-title p {
    color: var(--color-text-secondary) !important;
}

/* --- INFINITE CLIENT LOGO TICKER --- */
.logo-ticker-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
}
.logo-ticker-wrap::before,
.logo-ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.logo-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light), transparent);
}
.logo-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light), transparent);
}
body.dark-theme .logo-ticker-wrap::before {
    background: linear-gradient(to right, var(--color-bg-dark), transparent);
}
body.dark-theme .logo-ticker-wrap::after {
    background: linear-gradient(to left, var(--color-bg-dark), transparent);
}
.logo-ticker-track {
    display: flex;
    width: max-content;
    gap: 3.5rem;
    animation: scroll-ticker 30s linear infinite;
}
.logo-ticker-track:hover {
    animation-play-state: paused;
}
.logo-ticker-track .brand-item {
    flex-shrink: 0;
}
@keyframes scroll-ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- CRM STATUS SELECTS --- */
.status-select {
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}
.status-select.status-new {
    background-color: rgba(0, 102, 204, 0.1) !important;
    color: #0066cc !important;
    border-color: rgba(0, 102, 204, 0.2) !important;
}
.status-select.status-contacted {
    background-color: rgba(0, 124, 0, 0.1) !important;
    color: var(--color-brand-green) !important;
    border-color: rgba(0, 124, 0, 0.2) !important;
}
.status-select.status-archived {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d !important;
    border-color: rgba(108, 117, 125, 0.2) !important;
}
body.dark-theme .status-select {
    background-color: var(--color-card-dark);
}
body.dark-theme .status-select.status-new {
    background-color: rgba(0, 102, 204, 0.25) !important;
    color: #4da6ff !important;
    border-color: rgba(0, 102, 204, 0.4) !important;
}
body.dark-theme .status-select.status-contacted {
    background-color: rgba(0, 124, 0, 0.25) !important;
    color: #4dff4d !important;
    border-color: rgba(0, 124, 0, 0.4) !important;
}
body.dark-theme .status-select.status-archived {
    background-color: rgba(108, 117, 125, 0.25) !important;
    color: #adb5bd !important;
    border-color: rgba(108, 117, 125, 0.4) !important;
}

/* --- DARK THEME DROPDOWN MENU OVERRIDES --- */
body.dark-theme .dropdown-menu {
    background: rgba(17, 24, 39, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}
body.dark-theme .dropdown-menu li a {
    color: var(--color-text-secondary) !important;
}
body.dark-theme .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--color-neon-green) !important;
}
