/* 
 * SKYTRIX GLOBAL - Core Stylesheet
 * Futuristic Command Center Design System
 */

:root {
    /* Theme State variables - Default Dark (Matching logo) */
    --bg-color: #04060a; /* Premium deep dark navy */
    --primary: #0c57c4; /* Deep Royal Blue from logo */
    --primary-rgb: 12, 87, 196;
    --secondary: #00bcf2; /* Neon Cyan / Sky Blue from logo */
    --secondary-rgb: 0, 188, 242;
    --accent: #ff5b00; /* Phoenix Orange from logo */
    --accent-rgb: 255, 91, 0;
    
    --color-primary: var(--primary);
    --color-white: var(--text-main);
    --color-text: var(--text-muted);
    
    --text-main: #ffffff;
    --text-muted: #8e9db4;
    
    --card-bg: rgba(8, 12, 24, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-glow: rgba(0, 188, 242, 0.25);
    --input-bg: #080c18;
    --footer-bg: #020306;
    
    --btn-secondary-border: rgba(255, 255, 255, 0.15);
    --btn-secondary-hover-bg: rgba(255, 255, 255, 0.03);
    
    --header-bg: rgba(4, 6, 10, 0.75);
    --header-scrolled-bg: rgba(2, 3, 6, 0.95);
    --header-border: rgba(255, 255, 255, 0.05);
    --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    
    --hero-gradient-blue: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    --text-gradient: linear-gradient(135deg, #ffffff, var(--secondary));
    
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-tech: 'Orbitron', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme overrides */
[data-theme="light"] {
    --bg-color: #f6f8fb; /* Clean premium off-white/light gray with cool tint */
    --primary: #0c57c4; /* Keep the same deep royal blue for consistency */
    --primary-rgb: 12, 87, 196;
    --secondary: #008eb8; /* Slightly darker cyan for better accessibility/contrast on light background */
    --secondary-rgb: 0, 142, 184;
    --accent: #e65100; /* Darker orange for better contrast on light background */
    --accent-rgb: 230, 81, 0;
    
    --text-main: #0a1128; /* Deep dark blue/black for text (matches logo) */
    --text-muted: #53647c; /* Muted gray-blue */
    
    --card-bg: rgba(255, 255, 255, 0.75); /* White frosted glass */
    --card-border: rgba(12, 87, 196, 0.1); /* Faint primary border */
    --card-border-glow: rgba(0, 142, 184, 0.15);
    --input-bg: #ffffff;
    --footer-bg: #eef1f6;
    
    --btn-secondary-border: rgba(12, 87, 196, 0.25);
    --btn-secondary-hover-bg: rgba(12, 87, 196, 0.05);
    
    --header-bg: rgba(246, 248, 251, 0.75);
    --header-scrolled-bg: rgba(246, 248, 251, 0.95);
    --header-border: rgba(12, 87, 196, 0.08);
    --header-shadow: 0 10px 30px rgba(12, 87, 196, 0.05);
    
    --hero-gradient-blue: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
    --text-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--bg-color);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden !important;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Global Transitions for theme switching */
body, 
header, 
footer, 
.glass-panel, 
.form-input, 
.cta-button, 
.service-card, 
.portfolio-card, 
.stat-box, 
.feature-card, 
.team-card, 
.nav-links a,
h1, h2, h3, h4, h5, h6,
p, .logo-text, .time, .success, span, i, select, input, textarea {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(var(--secondary-rgb), 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--secondary-rgb), 0.5);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tech-text {
    font-family: var(--font-tech);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mono-text {
    font-family: var(--font-mono);
}

.glow-text-blue {
    text-shadow: 0 0 15px rgba(12, 87, 196, 0.6);
}

.glow-text-cyan {
    text-shadow: 0 0 15px rgba(0, 188, 242, 0.6);
}

.glow-text-purple {
    text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6);
}

/* Section Layout */
section {
    padding: 100px 5% 80px 5%;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-panel:hover {
    border-color: rgba(var(--secondary-rgb), 0.3);
}

/* Interactive Background Particle Canvas */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

/* Buttons and CTAs */
.cta-button {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent button text wrapping */
    flex-shrink: 0;      /* Prevent button from squishing */
}

.header-cta-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--secondary-rgb), 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--secondary-rgb), 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--btn-secondary-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover-bg);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.15);
}

.btn-accent:hover {
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-2px);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    z-index: 102;
    outline: none;
}

.theme-toggle-btn:hover {
    background: rgba(var(--secondary-rgb), 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(var(--secondary-rgb), 0.3);
    transform: scale(1.05);
}

.theme-toggle-btn .moon-icon {
    display: none;
}

.theme-toggle-btn .sun-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--secondary);
    animation: rotate 20s linear infinite;
}

[data-theme="light"] .theme-toggle-btn {
    background: rgba(12, 87, 196, 0.05);
    border-color: rgba(12, 87, 196, 0.2);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(0, 142, 184, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(var(--secondary-rgb), 0.2);
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--header-border);
}

header.scrolled {
    background: var(--header-scrolled-bg);
    box-shadow: var(--header-shadow), 0 1px 0 var(--header-border);
    border-bottom: 1px solid transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: var(--transition-smooth);
    position: relative; /* Anchor for centered mega menus */
}

header.scrolled .nav-container {
    padding: 10px 5%;
}

.nav-logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

header.scrolled .nav-logo-img {
    height: 54px;
}

/* Logo placeholder container styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-tech);
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 112, 243, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-family: var(--font-tech);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.logo-text span {
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3px;
    align-items: center;
    background: rgba(8, 12, 24, 0.7); /* dark capsule container background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 3px;
    height: 44px;
    box-sizing: border-box;
}

.nav-links li {
    display: flex;
    height: 100%;
}

.nav-links a.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 16px;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 9999px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav-links a.pill:hover {
    color: #ffffff;
}

.nav-links a.pill .hover-circle {
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: 1;
    display: block;
    pointer-events: none;
    will-change: transform;
}

.nav-links a.pill .label-stack {
    position: relative;
    display: inline-block;
    line-height: 1;
    z-index: 2;
}

.nav-links a.pill .pill-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    line-height: 1;
    will-change: transform;
}

.nav-links a.pill .pill-label-hover {
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff; /* Text color when hovered */
    z-index: 3;
    display: inline-block;
    will-change: transform, opacity;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
    border-radius: 2px;
}
.hamburger.active span {
    background-color: var(--secondary) !important;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.8);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(0, 245, 255, 0.07);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: var(--font-tech);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.05);
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 1.5s infinite;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero h1 span.gradient-blue {
    background: var(--hero-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span.gradient-cyan {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The actual interactive 3D WebGL/Canvas representation */
#hero-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#hero-canvas:active {
    cursor: grabbing;
}

.hero-logo-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.hero-logo-box::after {
    display: none;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    filter: none !important;
    -webkit-filter: none !important;
}

.section-subtitle {
    font-family: var(--font-tech);
    color: var(--secondary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none !important;
    -webkit-filter: none !important;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* AI Neural Network Section */
.network-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.network-visualizer {
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
}

.visualizer-services-badge {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 245, 255, 0.05);
    transition: var(--transition-smooth);
}

.visualizer-services-badge:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    color: var(--secondary);
    transform: translateX(-50%) translateY(-2px);
}

.visualizer-services-badge i,
.visualizer-services-badge svg {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.visualizer-services-badge:hover i:last-child,
.visualizer-services-badge:hover svg:last-child {
    transform: translateY(2px);
}

#network-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#network-canvas:active {
    cursor: grabbing;
}

.network-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    padding: 24px;
}

.stat-val {
    font-family: var(--font-tech);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 5px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-lbl {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Category Filter Tabs */
.services-tabs-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 35px;
    z-index: 10;
    position: relative;
}

.services-tabs {
    display: flex;
    gap: 12px;
    padding: 8px;
    background: rgba(11, 17, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.services-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.services-tab-btn i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.services-tab-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.services-tab-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.services-tab-btn.active {
    color: var(--secondary);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15),
                inset 0 0 8px rgba(0, 245, 255, 0.05);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.services-tab-btn.active i {
    opacity: 1;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .services-tabs {
        border-radius: 20px;
        gap: 6px;
        padding: 6px;
    }
    .services-tab-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

/* Service Card Filter Transition Styles */
.service-card {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease, 
                box-shadow 0.3s ease !important;
}

.service-card.fade-out {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
    pointer-events: none;
}

.service-card.filtered-out {
    display: none !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-card {
    position: relative;
    padding: 35px 30px;
    min-height: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card.service-card-highlight {
    animation: serviceCardFlash 1.8s ease;
}

@keyframes serviceCardFlash {
    0%, 100% {
        border-color: var(--card-border);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    }
    30%, 70% {
        border-color: var(--secondary);
        box-shadow: 0 0 25px rgba(0, 245, 255, 0.45);
    }
}

/* Holographic dynamic lighting overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 245, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

/* Holographic animated border glow */
.service-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--card-border), var(--card-border)) padding-box,
                linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) border-box;
    transition: var(--transition-quick);
    pointer-events: none;
}

.service-card:hover .service-card-border {
    background: linear-gradient(135deg, var(--card-bg), var(--card-bg)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary), var(--accent)) border-box;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: rgba(var(--secondary-rgb), 0.15);
    border-color: var(--secondary);
    color: var(--primary);
    transform: scale(1.05) translateZ(20px);
}

.service-body {
    transform: translateZ(10px);
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: var(--transition-quick);
}

.service-card:hover .service-title {
    color: var(--secondary);
    transform: translateZ(15px);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Service Watermark Backdrop Styles */
.service-watermark {
    position: absolute;
    right: -25px;
    bottom: -25px;
    width: 150px;
    height: 150px;
    opacity: 0.04;
    color: var(--secondary);
    pointer-events: none;
    z-index: 0;
    transition: var(--transition-smooth);
    transform: rotate(-15deg);
}

.service-watermark i,
.service-watermark svg {
    width: 100%;
    height: 100%;
    stroke-width: 1px;
    display: block;
}

.service-card:hover .service-watermark {
    opacity: 0.12;
    transform: scale(1.15) rotate(-5deg);
    color: var(--secondary);
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

/* Industry Watermark Backdrop Styles */
.industry-watermark {
    position: absolute;
    right: -25px;
    bottom: -25px;
    width: 130px;
    height: 130px;
    opacity: 0.04;
    color: var(--secondary);
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: rotate(-15deg);
}

.industry-watermark i,
.industry-watermark svg {
    width: 100%;
    height: 100%;
    stroke-width: 1px;
    display: block;
}

.industry-card:hover .industry-watermark {
    opacity: 0.12;
    transform: scale(1.15) rotate(-5deg);
    color: var(--secondary);
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

/* Service Card Themed Background Image */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    opacity: 0.15;
    transform: scale(1.05);
}

#service-ai-solutions::after {
    background-image: url('../assets/bg_ai_solutions.png');
}

#service-ai-agents::after {
    background-image: url('../assets/bg_ai_agents.png');
}

#service-ai-chatbots::after,
#service-business-automation::after,
#service-erp-development::after,
#service-cloud-solutions::after {
    background-image: url('../assets/bg_ai_chip.png');
}

#service-website-development::after {
    background-image: url('../assets/bg_web_dev.png');
}

#service-crm-development::after,
#service-custom-software::after,
#service-ui-ux-design::after {
    background-image: url('../assets/bg_software_dev.png');
}

/* Specific User-Uploaded Backdrops */
#service-saas-development::after {
    background-image: url('../assets/bg_saas_dev.png');
}

#service-mobile-app-development::after {
    background-image: url('../assets/bg_mobile_dev.png');
}

#service-seo::after {
    background-image: url('../assets/bg_seo_dev.png');
}

#service-geo::after {
    background-image: url('../assets/bg_geo.png');
}

#service-digital-marketing::after {
    background-image: url('../assets/bg_marketing_dev.png');
}

/* AI Command Center Section */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
}

.dashboard-panel {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.panel-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 1.5s infinite;
}

/* Interactive workflow visualizer diagram */
.workflow-visualizer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 40px 10px;
}

.workflow-node {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.workflow-node i,
.workflow-node svg {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--text-muted);
    transition: var(--transition-quick);
}

.workflow-node span {
    font-size: 0.65rem;
    font-family: var(--font-tech);
    text-transform: uppercase;
    color: var(--text-muted);
}

.workflow-node:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
}

.workflow-node:hover i,
.workflow-node:hover svg {
    color: var(--secondary);
}

.workflow-node.active {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.4);
}

.workflow-node.active i,
.workflow-node.active svg {
    color: var(--accent);
}

.workflow-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.workflow-line-progress {
    position: absolute;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    top: 0;
    left: 0;
    box-shadow: 0 0 8px var(--secondary);
}

/* Control board details terminal output style */
.terminal-card {
    background: #030303;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    height: 180px;
    overflow-y: auto;
    color: #38bdf8;
    position: relative;
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-r { background: #ef4444; }
.term-y { background: #eab308; }
.term-g { background: #22c55e; }

.terminal-lines p {
    margin-bottom: 6px;
    white-space: pre-wrap;
}

.terminal-lines p span.time {
    color: rgba(255, 255, 255, 0.3);
    margin-right: 10px;
}

.terminal-lines p span.success {
    color: #4ade80;
}

.terminal-lines p span.accent-text {
    color: var(--accent);
}

/* Dashboard sidebar controls */
.dashboard-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-widget {
    padding: 25px;
}

.widget-title {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.control-item:last-child {
    margin-bottom: 0;
}

.control-label {
    font-size: 0.9rem;
    color: #fff;
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #000;
}

/* Technology Stack Galaxy */
.galaxy-container {
    position: relative;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

#galaxy-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.galaxy-overlay-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    max-width: 380px;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.galaxy-overlay-info.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tech-info-name {
    font-family: var(--font-tech);
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.tech-info-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Industries Section */
/* Industries Section */
.industries-section {
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(0, 245, 255, 0.08), transparent 70%),
                radial-gradient(circle at 20% 70%, rgba(112, 0, 255, 0.05), transparent 60%),
                #050816;
    overflow: visible;
    padding: 100px 20px;
}

/* Background Neural Grid and Node Animations */
.industries-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.industry-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 290px;
    padding: 30px 24px;
    position: relative;
    border-radius: 16px;
    background: rgba(11, 17, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    overflow: hidden;
    transition: transform 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),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Spotlight cursor glow overlay */
.industry-card-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 245, 255, 0.08), transparent 80%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.industry-card:hover .industry-card-spotlight {
    opacity: 1;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 255, 0.35);
    background: rgba(11, 17, 32, 0.65);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1), inset 0 0 15px rgba(0, 245, 255, 0.03);
}

/* Icon wrapper inside glowing glass circle (Top) */
.industry-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 245, 255, 0.05);
    position: relative;
    z-index: 2;
    transform: translateZ(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateZ(20px) translateY(0); }
    50% { transform: translateZ(20px) translateY(-5px); }
    100% { transform: translateZ(20px) translateY(0); }
}

.industry-card:hover .industry-icon-wrapper {
    animation: none;
    background: rgba(0, 245, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.25);
    transform: translateZ(25px) scale(1.05) rotate(5deg);
}

.industry-svg,
.industry-icon-wrapper i,
.industry-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--secondary);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.4s ease;
}

.industry-svg path,
.industry-svg circle,
.industry-svg rect,
.industry-svg polygon {
    stroke: var(--secondary);
    stroke-width: 1.5;
    fill: none;
    stroke-opacity: 0.75;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-svg path,
.industry-card:hover .industry-svg circle,
.industry-card:hover .industry-svg rect,
.industry-card:hover .industry-svg polygon,
.industry-card:hover .industry-icon-wrapper i,
.industry-card:hover .industry-icon-wrapper svg {
    stroke: var(--accent);
    stroke-opacity: 1;
    filter: drop-shadow(0 0 4px var(--accent));
}

.industry-info {
    position: relative;
    z-index: 2;
    transform: translateZ(15px);
    margin-top: auto;
}

.industry-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-name {
    color: var(--secondary);
}

.industry-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
    line-height: 1.45;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-tagline {
    color: rgba(255, 255, 255, 0.8);
}

/* AI badge at the bottom */
.industry-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--secondary);
    background: rgba(0, 188, 242, 0.03);
    border: 1px solid rgba(0, 188, 242, 0.08);
    border-radius: 20px;
    padding: 6px 12px;
    margin-top: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    opacity: 0.65;
    transform: translateZ(10px) translateY(0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-badge {
    opacity: 1;
    transform: translateZ(15px) scale(1.02);
    background: rgba(0, 188, 242, 0.1);
    border-color: var(--secondary);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 188, 242, 0.2);
}

.industry-badge-arrow {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.industry-card:hover .industry-badge-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Right Side Panel / Slide Drawer */
.industry-side-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: rgba(8, 12, 28, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.8), -5px 0 20px rgba(0, 245, 255, 0.05);
    z-index: 200000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-side-panel.active {
    right: 0;
}

.panel-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.panel-close-btn:hover {
    color: var(--accent);
}

.panel-header {
    margin-bottom: 25px;
}

.panel-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    font-family: var(--font-tech);
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-overview {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.panel-section-title {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 30px 0 12px 0;
}

.panel-capabilities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-capabilities li {
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-capabilities li i {
    color: var(--secondary);
    flex-shrink: 0;
}

.panel-outcome {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.panel-metrics-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.panel-metrics-box i {
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.panel-metrics-text {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.panel-action-btn {
    width: 100%;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .industry-side-panel {
        width: 100%;
        right: -100%;
        padding: 30px 24px;
    }
    .industry-side-panel.active {
        right: 0;
    }
}

/* Bottom CTA section card styles */
.industry-cta-card {
    background: rgba(11, 17, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 255, 0.05);
    z-index: 2;
}

/* Background spotlight for CTA card */
.industry-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle 350px at 50% 50%, rgba(0, 245, 255, 0.06), transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.cta-card-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-card-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-tech);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-card-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-card-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .cta-card-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-card-buttons .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* CTA Statistics grid */
.cta-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

.cta-stat-col {
    text-align: center;
}

.cta-stat-num {
    font-family: var(--font-tech);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.cta-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cta-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .cta-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(var(--secondary-rgb), 0.15);
    border-color: var(--secondary);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.portfolio-card {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                0 0 20px rgba(0, 245, 255, 0.1);
}

.portfolio-img-box {
    width: 100%;
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.portfolio-card:hover .portfolio-img-box img {
    opacity: 0.9;
    transform: scale(1.05);
}

.portfolio-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(5, 5, 5, 0.9));
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-tech-list {
    display: flex;
    gap: 8px;
}

.portfolio-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    padding: 2px 8px;
    border-radius: 4px;
}

.portfolio-link {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-quick);
}

.portfolio-link:hover {
    color: #fff;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-graphics {
    position: relative;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-cyber-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 245, 255, 0.15);
    animation: rotate 20s linear infinite;
}

.ring-1 { width: 380px; height: 380px; }
.ring-2 { width: 280px; height: 280px; border-style: dotted; animation-duration: 12s; animation-direction: reverse; }
.ring-3 { width: 180px; height: 180px; border-style: solid; border-color: rgba(var(--secondary-rgb), 0.1); animation-duration: 8s; }

.about-core-card {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(0, 245, 255, 0.25);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    box-shadow: 0 0 35px rgba(0, 245, 255, 0.15);
}

.about-core-year {
    font-family: var(--font-tech);
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-core-lbl {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-mv-box {
    padding: 25px;
}

.about-mv-title {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 12px;
}

.about-mv-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Command Center Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 15px 0;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    transition: var(--transition-quick);
}

.contact-detail-item:hover .contact-detail-icon {
    border-color: var(--secondary);
    background: rgba(var(--secondary-rgb), 0.15);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

.contact-detail-body {
    display: flex;
    flex-direction: column;
}

.contact-detail-lbl {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-detail-val {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-quick);
}

a.contact-detail-val:hover {
    color: var(--secondary);
}

/* Glass Form Styling */
.contact-form-panel {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#ai-integration-details {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-15px);
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.4s;
}

#ai-integration-details.visible {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #ai-integration-details.visible {
        max-height: 350px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    margin-bottom: 25px;
}

.form-label {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-input {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    padding: 14px 18px;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.form-input:focus {
    outline: none;
    background: rgba(var(--secondary-rgb), 0.02);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

textarea.form-input {
    resize: none;
    height: 120px;
}

/* Futuristic console transmission loader */
.form-transmission-log {
    margin-top: 25px;
    border-radius: 8px;
    background: #030303;
    border: 1px solid var(--card-border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 15px;
    color: var(--secondary);
    max-height: 120px;
    overflow-y: auto;
    display: none;
}

.log-line {
    margin-bottom: 4px;
}

.log-line span.time {
    color: rgba(255, 255, 255, 0.3);
    margin-right: 8px;
}

/* Footer */
footer {
    background: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 5% 40px 5%;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.6fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-quick);
}

.social-icon:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-quick);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-quick);
}

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

/* Flagship AI Solutions Ecosystem Section */
.ai-ecosystem-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.ai-intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ai-intro-headline {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-intro-subheadline {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 10 Pillars Grid */
.ai-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.ai-pillar-card {
    position: relative;
    padding: 30px 25px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.ai-pillar-glow-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--secondary-rgb), 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.ai-pillar-card:hover .ai-pillar-glow-accent {
    opacity: 1;
}

.ai-pillar-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(var(--secondary-rgb), 0.15);
}

.ai-pillar-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.ai-pillar-visual {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.ai-pillar-card:hover .ai-pillar-visual {
    border-color: var(--secondary);
    color: #fff;
    background: rgba(var(--secondary-rgb), 0.1);
    transform: scale(1.05) translateZ(10px);
}

.ai-pillar-title {
    font-family: var(--font-tech);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.ai-pillar-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    z-index: 2;
}

.ai-pillar-services li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-pillar-services li i,
.ai-pillar-services li svg {
    width: 14px;
    height: 14px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* Micro-Animations Container */
.ai-pillar-animation {
    height: 50px;
    width: 100%;
    position: relative;
    border-top: 1px solid var(--card-border);
    padding-top: 10px;
    overflow: hidden;
    z-index: 2;
}

/* Animation 1: Intelligent Communication (Chat bubbles) */
.comm-anim {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.chat-bubble {
    width: 25px;
    height: 12px;
    border-radius: 6px;
    background: rgba(var(--secondary-rgb), 0.15);
    border: 1px solid rgba(var(--secondary-rgb), 0.3);
    position: relative;
}
.chat-bubble.left {
    animation: commLeft 3s infinite ease-in-out;
}
.chat-bubble.right {
    animation: commRight 3s infinite ease-in-out;
}
@keyframes commLeft {
    0%, 100% { transform: translateX(-5px) scale(0.9); opacity: 0.5; }
    50% { transform: translateX(5px) scale(1.05); opacity: 1; }
}
@keyframes commRight {
    0%, 100% { transform: translateX(5px) scale(1.05); opacity: 1; }
    50% { transform: translateX(-5px) scale(0.9); opacity: 0.5; }
}

/* Animation 2: Voice Waveform */
.voice-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
}
.voice-anim .bar {
    width: 3px;
    background: var(--secondary);
    border-radius: 2px;
    animation: wavePulse 1.2s infinite ease-in-out;
}
.voice-anim .bar-1 { height: 10px; animation-delay: 0.1s; }
.voice-anim .bar-2 { height: 25px; animation-delay: 0.3s; }
.voice-anim .bar-3 { height: 15px; animation-delay: 0.5s; }
.voice-anim .bar-4 { height: 30px; animation-delay: 0.2s; }
.voice-anim .bar-5 { height: 8px; animation-delay: 0.4s; }
@keyframes wavePulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* Animation 3: Pipeline flow */
.pipeline-anim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 10px;
}
.pipeline-node {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border-glow);
    border: 1px solid var(--secondary);
}
.pipeline-data {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 6px var(--secondary);
}
.pipeline-data.data-x {
    left: 20px;
    animation: flowRight 2.5s infinite linear;
}
.pipeline-data.data-y {
    left: 120px;
    animation: flowRight 2.5s infinite linear;
    animation-delay: 1.25s;
}
@keyframes flowRight {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 90%; opacity: 0; }
}

/* Animation 4: Sales Funnel */
.funnel-anim {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.funnel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    box-shadow: 0 0 8px var(--accent);
}
.funnel-dot.dot-1 { animation: funnelFall 2s infinite linear; }
.funnel-dot.dot-2 { animation: funnelFall 2s infinite linear 0.7s; }
.funnel-dot.dot-3 { animation: funnelFall 2s infinite linear 1.4s; }
@keyframes funnelFall {
    0% { top: 5%; opacity: 0; transform: scale(1.2); }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 90%; opacity: 0; transform: scale(0.6); }
}

/* Animation 5: Megaphone radar rings */
.marketing-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.mktg-ring {
    position: absolute;
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    border-radius: 50%;
    animation: radarRipple 2s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}
.mktg-ring.ring-1 { width: 10px; height: 10px; }
.mktg-ring.ring-2 { width: 10px; height: 10px; animation-delay: 1s; }
@keyframes radarRipple {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 120px; height: 120px; opacity: 0; }
}

/* Animation 6: Routing paths */
.support-anim {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}
.support-route {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    animation: routeBounce 1.5s infinite ease-in-out;
}
.support-route.route-a { animation-delay: 0.2s; }
.support-route.route-b { animation-delay: 0.7s; }
@keyframes routeBounce {
    0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 1; box-shadow: 0 5px 10px rgba(var(--secondary-rgb), 0.3); }
}

/* Animation 7: Analytics graph fade */
.analytics-anim {
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.analytics-anim svg {
    animation: graphScroll 4s infinite linear;
}
@keyframes graphScroll {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Animation 8: Scanner laser */
.scanner-anim {
    height: 100%;
    position: relative;
    background: rgba(var(--secondary-rgb), 0.02);
}
.scanner-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: laserScan 2.5s infinite ease-in-out;
}
@keyframes laserScan {
    0%, 100% { top: 5%; }
    50% { top: 90%; }
}

/* Animation 9: API pulsing */
.api-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.api-pulse {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: apiExpand 2s infinite ease-out;
}
.api-pulse.pulse-1 { animation-delay: 0s; }
.api-pulse.pulse-2 { animation-delay: 1s; }
@keyframes apiExpand {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 90px; height: 90px; opacity: 0; }
}

/* Animation 10: Enterprise glow */
.enterprise-anim {
    height: 100%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Featured AI Showcase Console */
.ai-showcase-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.ai-showcase-console {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    padding: 35px;
    margin-top: 40px;
}

.ai-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ai-showcase-tile {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.ai-showcase-tile i,
.ai-showcase-tile svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    transition: var(--transition-quick);
}

.ai-showcase-tile span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ai-showcase-tile:hover {
    border-color: rgba(var(--secondary-rgb), 0.3);
    background: rgba(var(--secondary-rgb), 0.03);
    transform: translateY(-2px);
}

.ai-showcase-tile.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.25);
}

.ai-showcase-tile.active i,
.ai-showcase-tile.active svg {
    color: #fff;
    transform: scale(1.1);
}

.ai-showcase-tile.active span {
    color: #fff;
}

/* Showcase Display Console Panel */
.ai-showcase-console-panel {
    background: #030305;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-console-header {
    background: #090a10;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.ai-console-dots {
    display: flex;
    gap: 6px;
}

.ai-console-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ai-console-dots .dot-r { background: #ef4444; }
.ai-console-dots .dot-y { background: #eab308; }
.ai-console-dots .dot-g { background: #22c55e; }

.ai-console-status {
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

.ai-console-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    justify-content: space-between;
    animation: consoleFade 0.4s ease forwards;
}

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

.ai-console-title {
    font-family: var(--font-tech);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.ai-console-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-console-telemetry {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 8px;
}

.telemetry-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    gap: 15px;
}

.telemetry-item .lbl {
    color: var(--text-muted);
}

.telemetry-item .val {
    color: #fff;
    font-weight: 600;
}

.telemetry-item .val.val-success {
    color: #22c55e;
}

.ai-console-actions {
    margin-top: 10px;
}

/* AI Technology Stack Constellation */
.ai-stack-galaxy {
    margin-top: 80px;
    margin-bottom: 80px;
}

.ai-stack-canvas-container {
    height: 500px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

#ai-stack-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#ai-stack-canvas:active {
    cursor: grabbing;
}

/* Dedicated Section CTA Card */
.ai-ecosystem-cta-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.ai-ecosystem-cta-card {
    position: relative;
    width: 100%;
    max-width: 1100px;
    padding: 50px 40px;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--card-border);
}

.ai-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(var(--secondary-rgb), 0.07) 0%, rgba(var(--accent-rgb), 0.04) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.ai-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.ai-cta-headline {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-cta-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 750px;
}

.ai-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 1024px) {
    .ai-showcase-console {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-intro-headline {
        font-size: 1.8rem;
    }
    .ai-showcase-grid {
        grid-template-columns: 1fr;
    }
    .ai-cta-headline {
        font-size: 1.8rem;
    }
    .ai-showcase-console {
        padding: 20px;
    }
    .ai-console-body {
        padding: 20px;
    }
}

/* Tech Stack Tabbed Section */
.tech-stack-showcase {
    margin-top: 40px;
    padding: 30px;
}

.tech-tabs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.tech-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid var(--card-border);
    padding-right: 20px;
}

.tech-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
    width: 100%;
}

.tech-tab-btn:hover {
    color: var(--text-main);
    background: rgba(var(--secondary-rgb), 0.05);
}

.tech-tab-btn.active {
    background: linear-gradient(135deg, var(--accent), #ffaa00);
    color: #04060a; /* Dark text for contrast on bright gradient */
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.tech-tab-content-panel {
    min-height: 300px;
}

.tech-tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tech-tab-content.active {
    display: block;
}

.tech-content-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.tech-card {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.2);
}

.tech-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.tech-card:hover .tech-card-icon {
    transform: scale(1.1);
}

.tech-card-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

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

@media (max-width: 768px) {
    .tech-tabs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tech-tabs-list {
        flex-direction: row !important;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding-right: 0;
        padding-bottom: 15px;
        gap: 8px;
        scrollbar-width: none;
    }
    .tech-tabs-list::-webkit-scrollbar {
        display: none;
    }
    .tech-tab-btn {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.85rem;
        width: auto;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px currentColor; }
    50% { transform: scale(1.1); opacity: 0.7; box-shadow: 0 0 16px currentColor; }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px currentColor; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { align-items: center; }
    .hero-3d-container { height: 400px; }
    .network-container { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    header { padding: 10px 0; }
    .hamburger { display: flex; }
    .hamburger { display: none !important; }
    #nav-menu { display: none !important; }

    .sm-toggle {
        display: inline-flex !important;
        position: relative;
        align-items: center;
        gap: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--text-main);
        font-family: var(--font-tech);
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        line-height: 1;
        overflow: visible;
        z-index: 1002;
    }

    .sm-toggle-textWrap {
        position: relative;
        display: inline-block;
        height: 1em;
        overflow: hidden;
        white-space: nowrap;
        width: 50px;
    }

    .sm-toggle-textInner {
        display: flex;
        flex-direction: column;
        line-height: 1;
    }

    .sm-toggle-line {
        display: block;
        height: 1em;
        line-height: 1;
    }

    .sm-icon {
        position: relative;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        will-change: transform;
    }

    .sm-icon-line {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transform: translate(-50%, -50%);
        will-change: transform;
    }

    .sm-icon-line-v {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(2, 3, 6, 0.65);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 99;
    }
    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .mega-menu-container {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        padding: 15px !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(255, 255, 255, 0.02) !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        pointer-events: auto !important;
    }
    .has-mega-menu:hover .mega-menu-container {
        display: grid !important;
    }
    
    
    .hero h1 { font-size: 2.6rem; }
    .hero-tagline { font-size: 1.4rem; }
    .section-title { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-graphics { height: 320px; }
    .ring-1 { width: 300px; height: 300px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 140px; height: 140px; }
    .about-core-card { width: 170px; height: 170px; }
    .about-core-year { font-size: 2.2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .hero {
        height: auto !important;
        min-height: auto !important;
        padding-top: 150px;
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero-tagline {
        font-size: 1.15rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .nav-links {
        width: 100% !important;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .cta-group .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ====================================================== */
/* CONVERSION & TRUST OPTIMIZATION STYLES                 */
/* ====================================================== */
.trust-section, .process-section, .authority-section, .roi-section, .testimonials-section, .case-studies-section, .pricing-section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.trust-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 991px) {
    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trust-cards-grid {
        grid-template-columns: 1fr;
    }
}
.trust-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
.trust-card .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.trust-card h3 {
    margin-bottom: 15px;
    color: var(--color-white);
}
.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-width: 1000px;
    margin: 50px auto 0;
}
.roi-inputs .input-group {
    margin-bottom: 25px;
}
.roi-inputs label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--color-text);
}
.roi-inputs label span {
    color: var(--color-primary);
    font-weight: bold;
}
.roi-inputs input[type="range"] {
    width: 100%;
    accent-color: var(--color-primary);
}
.roi-outputs {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}
.output-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.roi-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 10px;
}
.text-green { color: #10b981; }
.text-blue { color: #3b82f6; }
.text-cyan { color: #06b6d4; }
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    padding: 35px 25px;
    position: relative;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(11, 17, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 2;
}

.process-step h3,
.process-step p,
.process-step .step-number,
.process-step .process-icon-wrapper {
    position: relative;
    z-index: 2;
}

/* Sci-fi scanner bar effect */
.scanner-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.process-step:hover .scanner-bar,
.industry-card:hover .scanner-bar {
    animation: scanSweep 2s ease-in-out infinite;
    opacity: 1;
}

@keyframes scanSweep {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Sci-fi HUD corner brackets */
.corner-bracket {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid transparent;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.35;
    z-index: 3;
}
.corner-bracket.top-left {
    top: 12px;
    left: 12px;
    border-top-color: var(--secondary);
    border-left-color: var(--secondary);
}
.corner-bracket.top-right {
    top: 12px;
    right: 12px;
    border-top-color: var(--secondary);
    border-right-color: var(--secondary);
}
.corner-bracket.bottom-left {
    bottom: 12px;
    left: 12px;
    border-bottom-color: var(--secondary);
    border-left-color: var(--secondary);
}
.corner-bracket.bottom-right {
    bottom: 12px;
    right: 12px;
    border-bottom-color: var(--secondary);
    border-right-color: var(--secondary);
}

.process-step:hover .corner-bracket,
.industry-card:hover .corner-bracket {
    opacity: 1;
    width: 14px;
    height: 14px;
    border-color: var(--accent) !important;
    filter: drop-shadow(0 0 4px var(--accent));
}

.process-step:hover .corner-bracket.top-left,
.industry-card:hover .corner-bracket.top-left {
    transform: translate(-2px, -2px);
}
.process-step:hover .corner-bracket.top-right,
.industry-card:hover .corner-bracket.top-right {
    transform: translate(2px, -2px);
}
.process-step:hover .corner-bracket.bottom-left,
.industry-card:hover .corner-bracket.bottom-left {
    transform: translate(-2px, 2px);
}
.process-step:hover .corner-bracket.bottom-right,
.industry-card:hover .corner-bracket.bottom-right {
    transform: translate(2px, 2px);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--secondary) !important;
    background: rgba(11, 17, 32, 0.85) !important;
    box-shadow: 0 20px 40px rgba(0, 188, 242, 0.18), 
                inset 0 0 25px rgba(0, 188, 242, 0.08) !important;
}

/* Reusable scifi grid scroller for process timeline cards */
.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 188, 242, 0.08) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.process-step:hover .tech-grid-bg {
    opacity: 0.45;
    transform: scale(1.05);
}

/* Spinning Reactor Rings behind the icon */
.reactor-ring {
    position: absolute;
    top: 35px; /* Aligns with process-icon-wrapper 35px top padding */
    left: 25px; /* Aligns with process-icon-wrapper 25px left padding */
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.reactor-ring.ring-1 {
    width: 80px;
    height: 80px;
    border: 1px dashed rgba(0, 188, 242, 0.4);
    animation: spinRingCW 15s linear infinite;
    margin-left: -10px; /* Offset to center relative to 60px icon wrapper */
    margin-top: -10px;
}

.reactor-ring.ring-2 {
    width: 96px;
    height: 96px;
    border: 1px dotted rgba(251, 146, 60, 0.35); /* orange secondary accent */
    animation: spinRingCCW 20s linear infinite;
    margin-left: -18px;
    margin-top: -18px;
}

.process-step:hover .reactor-ring.ring-1 {
    border-color: var(--secondary);
    opacity: 0.75;
    transform: scale(1.06);
}

.process-step:hover .reactor-ring.ring-2 {
    border-color: rgba(251, 146, 60, 0.7);
    opacity: 0.55;
    transform: scale(1.03);
}

@keyframes spinRingCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinRingCCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Icon container styling */
.process-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 188, 242, 0.05);
    border: 1px solid rgba(0, 188, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon-wrapper {
    background: rgba(255, 91, 0, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 91, 0, 0.2);
}

.process-icon {
    width: 28px;
    height: 28px;
}

/* Animations for icons */
.pulse-animation {
    animation: slowPulse 3s infinite ease-in-out;
}
@keyframes slowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.12); opacity: 1; }
}

.spin-animation {
    animation: slowSpin 10s infinite linear;
}
@keyframes slowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse-animation-fast {
    animation: fastPulse 1.5s infinite ease-in-out;
}
@keyframes fastPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px var(--secondary)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 8px var(--secondary)); }
}

.launch-animation {
    animation: driftAnimation 3s infinite ease-in-out;
}
@keyframes driftAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Connecting arrows for 4-column layout on desktops */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%) rotate(45deg);
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--secondary);
        border-right: 2px solid var(--secondary);
        opacity: 0.4;
        z-index: 10;
        animation: arrowPulse 2s infinite ease-in-out;
    }

    .process-step:hover::after {
        opacity: 1 !important;
        border-color: var(--accent) !important;
        filter: drop-shadow(0 0 4px var(--accent)) !important;
    }
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) rotate(45deg) scale(1); }
    50% { opacity: 0.9; transform: translateY(-50%) rotate(45deg) scale(1.15); }
}

/* Connecting arrows for 2-column layout on tablets */
@media (min-width: 601px) and (max-width: 991px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2n-1):not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -15px;
        transform: translateY(-50%) rotate(45deg);
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--secondary);
        border-right: 2px solid var(--secondary);
        opacity: 0.4;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .process-step:nth-child(2n):not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -22px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--secondary);
        border-right: 2px solid var(--secondary);
        opacity: 0.4;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .process-step:hover::after {
        opacity: 1;
        border-color: var(--accent);
        filter: drop-shadow(0 0 4px var(--accent));
    }
}

/* Connecting arrows for 1-column layout on mobile */
@media (max-width: 600px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -22px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--secondary);
        border-right: 2px solid var(--secondary);
        opacity: 0.4;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .process-step:hover::after {
        opacity: 1;
        border-color: var(--accent);
        filter: drop-shadow(0 0 4px var(--accent));
    }
}
.table-responsive {
    overflow-x: auto;
    margin-top: 50px;
}
.comparison-container {
    max-width: 1000px;
    margin: 40px auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.comparison-table th {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 24px 20px;
    color: var(--text-muted);
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.comparison-table th:last-child {
    color: var(--secondary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.comparison-row {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-row td {
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    vertical-align: middle;
}

.comparison-row:last-child td {
    border-bottom: none;
}

.indicator-title {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.comparison-row:hover .indicator-title {
    color: var(--secondary);
}

.comp-agency {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comp-skytrix {
    color: #fff;
    font-weight: 600;
    position: relative;
}

.comp-agency i,
.comp-agency svg,
.comp-skytrix i,
.comp-skytrix svg {
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 8px;
}

.comp-skytrix span {
    color: var(--secondary);
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.comparison-row:hover .comp-skytrix span {
    color: var(--accent);
}

.icon-bad {
    color: #f87171;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.icon-good {
    color: var(--secondary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.3));
    transition: all 0.3s ease;
}

.comparison-row:hover .icon-good {
    color: var(--accent);
    filter: drop-shadow(0 0 4px rgba(255, 91, 0, 0.4));
}
.testimonials-grid, .pricing-grid, .case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testi-card { padding: 30px; }
.testi-header { display: flex; margin-bottom: 20px; }
@media (max-width: 768px) {
    .roi-container { grid-template-columns: 1fr; }
    .lead-magnet-section { flex-direction: column; }
}

/* ====================================================== */
/* ENHANCED GLASSMORPHISM EFFECT                          */
/* ====================================================== */
.glass-panel, .navbar, .testi-card, .price-card, .case-card, .contact-form-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    border-left: 1px solid rgba(255,255,255,0.15) !important;
    border-right: 1px solid rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    border-radius: 16px;
}

/* Specific fix for Navbar so it stretches across the top */
.navbar {
    border-radius: 0;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(10, 10, 15, 0.6) !important; /* Slightly darker glass for readability */
}

/* Form inputs - Inset Glass Effect */
.form-input {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Service cards hover state enhancement for the glass effect */
.service-card:hover, .testi-card:hover, .price-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.15) !important;
}
/* Interactive Dot Grid Background */
.hero-dot-grid-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

.industry-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.industry-hero-grid {
    position: relative;
    z-index: 2;
}

.dot-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.dot-grid__wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.dot-grid__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ====================================================== */
/* MEGA MENU STYLING                                      */
/* ====================================================== */
.has-mega-menu {
    position: static;
}
.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 680px;
    background: rgba(8, 12, 24, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}
.has-mega-menu:hover .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.mega-menu-column h4 {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
    text-transform: uppercase;
}
.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mega-menu-item,
.mega-menu-item:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: var(--transition-quick);
    color: var(--text-muted);
}
.mega-menu-item:hover,
.mega-menu-item:focus {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}
.mega-menu-item i,
.mega-menu-item svg {
    color: var(--secondary);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.mega-menu-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}
.mega-menu-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ====================================================== */
/* INFINITE LOGO CAROUSEL                                 */
/* ====================================================== */
.carousel-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
    background: transparent;
}

.carousel-wrapper::before, .carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 250px;
    z-index: 5;
    pointer-events: none;
}
.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}
.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.carousel-track.scroll-left {
    animation: scrollLeft 35s linear infinite;
}

.carousel-track.scroll-right {
    animation: scrollRight 35s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.carousel-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(11, 17, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-logo:hover {
    opacity: 1;
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    background: rgba(11, 17, 32, 0.8) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 188, 242, 0.15), 
                inset 0 0 10px rgba(0, 188, 242, 0.05);
}

.carousel-logo i,
.carousel-logo svg {
    width: 22px;
    height: 22px;
    color: var(--secondary);
    transition: transform 0.4s ease;
}

.carousel-logo:hover i,
.carousel-logo:hover svg {
    transform: rotate(15deg) scale(1.1);
    color: var(--accent) !important;
}

/* ====================================================== */
/* INTERACTIVE COMPANY TIMELINE                           */
/* ====================================================== */
.about-timeline-container {
    position: relative;
    overflow: hidden;
}

.timeline-sparkles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.company-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
    z-index: 1;
}
.company-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), var(--accent), var(--secondary));
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5), 0 0 20px rgba(112, 0, 255, 0.3);
    animation: energyBeamPulse 3s infinite ease-in-out;
}
.timeline-item {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
    opacity: 0.45;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item:hover,
.timeline-item.active {
    opacity: 1;
}
.timeline-item.active {
    /* Keep parent card static so that absolute dot alignment does not break on transform */
}

/* Apply active slide-in transform only to the inner text elements */
.timeline-year,
.timeline-title,
.timeline-desc {
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item.active .timeline-year,
.timeline-item.active .timeline-title,
.timeline-item.active .timeline-desc {
    transform: translateX(8px);
}

.timeline-dot {
    position: absolute;
    left: -30px; /* Mathematically aligned with left: 9px line offset + padding-left: 30px container */
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #050510;
    border: 2px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 6px rgba(0, 245, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}
.timeline-item.active .timeline-dot {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary), 0 0 30px var(--accent);
    transform: scale(1.15);
    animation: nodePulse 2s infinite ease-in-out;
}
.timeline-year {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item.active .timeline-year {
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.6), 0 0 30px rgba(112, 0, 255, 0.4);
}
.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    transition: color 0.5s;
}
.timeline-item.active .timeline-title {
    color: #fff;
}
.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item.active .timeline-desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 8px;
}

@keyframes energyBeamPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 245, 255, 0.4), 0 0 20px rgba(112, 0, 255, 0.2);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 18px rgba(0, 245, 255, 0.7), 0 0 35px rgba(112, 0, 255, 0.5);
        opacity: 1;
    }
}

@keyframes nodePulse {
    0%, 100% {
        box-shadow: 0 0 12px var(--secondary), 0 0 0 0px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 22px var(--secondary), 0 0 0 8px rgba(0, 245, 255, 0.1);
    }
}

/* ====================================================== */
/* PORTABLE GLASS MODALS                                  */
/* ====================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-card {
    width: 100%;
    max-width: 680px;
    background: rgba(8, 12, 24, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(0, 245, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}
.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #fff;
}
.modal-body h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.modal-body-sub {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--secondary);
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.modal-grid-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}
.modal-detail-block h4 {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.modal-detail-block p {
    font-size: 0.9rem;
    line-height: 1.5;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 35px;
}

/* ====================================================== */
/* FAQ ACCORDION                                          */
/* ====================================================== */
.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    background: rgba(8, 12, 24, 0.4);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: rgba(0, 245, 255, 0.2);
}
.faq-item.active {
    border-color: var(--secondary);
}
.faq-trigger {
    width: 100%;
    padding: 22px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}
.faq-trigger h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
}
.faq-item.active .faq-trigger h4 {
    color: var(--secondary);
}
.faq-trigger i,
.faq-trigger svg {
    color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
}
.faq-item.active .faq-trigger i,
.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
    color: var(--secondary);
}
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-content {
    padding: 0 30px 22px 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ====================================================== */
/* STICKY WIDGETS                                         */
/* ====================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.widget-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}
.widget-btn:hover {
    transform: translateY(-5px) scale(1.05);
}
.whatsapp-widget {
    background: #25d366;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.whatsapp-widget:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}
.scroll-top-widget {
    background: rgba(8, 12, 24, 0.85);
    border: 1px solid rgba(0, 245, 255, 0.15);
    color: var(--secondary);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}
.scroll-top-widget:hover {
    background: var(--secondary);
    color: #04060a;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}
.sticky-cta-bar {
    position: fixed;
    bottom: -80px;
    left: 0;
    width: 100%;
    background: rgba(8, 12, 24, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 245, 255, 0.15);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 998;
    transition: bottom 0.4s ease;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.sticky-cta-bar.visible {
    bottom: 0;
}
.sticky-cta-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.sticky-cta-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====================================================== */
/* BLOG CMS & LIST STYLES                                 */
/* ====================================================== */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.blog-cat-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-quick);
}
.blog-cat-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.blog-cat-btn.active {
    background: var(--secondary);
    color: #04060a;
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.25);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
}
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card-cat {
    color: var(--secondary);
    font-family: var(--font-tech);
    font-weight: 700;
    text-transform: uppercase;
}
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}
.blog-card:hover .blog-card-title {
    color: var(--secondary);
}
.blog-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}
.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #fff;
}
.blog-card-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary);
}
.blog-card-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary);
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.blog-card-link:hover i,
.blog-card-link:hover svg {
    transform: translateX(3px);
}
.blog-card-link i,
.blog-card-link svg {
    transition: transform 0.3s;
}

/* ====================================================== */
/* ADMIN DASHBOARD PORTAL                                 */
/* ====================================================== */
.admin-trigger-link {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.15) !important;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}
.admin-trigger-link:hover {
    color: var(--secondary) !important;
}
.admin-console-overlay {
    position: fixed;
    inset: 0;
    background: #020409;
    z-index: 10000;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.admin-console-overlay.active {
    opacity: 1;
    visibility: visible;
}
.admin-sidebar {
    width: 260px;
    background: #080c14;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.admin-sidebar-logo {
    font-family: var(--font-tech);
    font-weight: 900;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-sidebar-logo i,
.admin-sidebar-logo svg {
    color: var(--secondary);
}
.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    flex-grow: 1;
}
.admin-nav-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-quick);
}
.admin-nav-btn:hover, .admin-nav-btn.active {
    color: #fff;
    background: rgba(255,255,255,0.03);
}
.admin-nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 188, 242, 0.2);
}
.admin-nav-btn i,
.admin-nav-btn svg {
    width: 18px;
    height: 18px;
}
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.admin-header {
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}
.admin-header h2 {
    font-size: 1.35rem;
    font-family: var(--font-tech);
    color: #fff;
}
.admin-body {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
}
.admin-panel-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.admin-panel-content.active {
    display: block;
}
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.admin-stat-card {
    background: #080c14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-stat-info h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}
.admin-stat-info p {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}
.admin-stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 245, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}
.crm-table-container {
    background: #080c14;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
}
.crm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.crm-table th, .crm-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.crm-table th {
    background: rgba(255,255,255,0.02);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.crm-table tr:hover td {
    background: rgba(255,255,255,0.01);
}
.lead-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}
.status-new { background: rgba(0, 245, 255, 0.1); color: var(--secondary); }
.status-contacted { background: rgba(250, 204, 21, 0.1); color: #facc15; }
.status-progress { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.status-closed { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.status-select {
    background: #04060a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
}
.crm-actions {
    display: flex;
    gap: 8px;
}
.crm-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}
.crm-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.crm-btn-delete:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

/* Charts drawing panel styling */
.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.chart-card {
    background: #080c14;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chart-card h3 {
    font-size: 1rem;
    font-family: var(--font-tech);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.chart-draw-area {
    height: 200px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-top: 20px;
}

/* CMS post creator form */
.cms-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #080c14;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
}
.cms-form-title {
    font-size: 1.1rem;
    font-family: var(--font-tech);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ====================================================== */
/* ADDITIONAL AESTHETICS                                  */
/* ====================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 25px;
}
.value-card {
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-quick);
}
.value-card:hover {
    border-color: var(--secondary);
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-2px);
}
.value-card h4 {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: #fff;
    margin-top: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.value-card i,
.value-card svg {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .analytics-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .admin-console-overlay { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 20px; }
    .admin-sidebar-logo { margin-bottom: 10px; }
    .admin-nav { flex-direction: row; overflow-x: auto; white-space: nowrap; gap: 5px; scrollbar-width: none; }
    .admin-nav::-webkit-scrollbar { display: none; }
    .admin-nav-btn { padding: 8px 15px; font-size: 0.85rem; width: auto; }
    .admin-header { padding: 15px 20px; height: auto; border-bottom: none; }
    .admin-body { padding: 20px; }
}

/* ====================================================== */
/* SHIELD CARDSWAP DECK SHOWCASE SYSTEM                  */
/* ====================================================== */

.showcase-split-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 50px;
    position: relative;
}

.showcase-left-panel {
    background: rgba(10, 15, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.showcase-menu-header {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.showcase-menu-header span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.showcase-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Scrollbar for Menu */
.showcase-menu::-webkit-scrollbar {
    width: 5px;
}
.showcase-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.showcase-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.25);
    border-radius: 4px;
    transition: background 0.3s;
}
.showcase-menu::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

.showcase-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.showcase-menu-item i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.showcase-menu-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.showcase-menu-item:hover i {
    color: var(--secondary);
}

.showcase-menu-item.active {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.25);
    color: var(--secondary);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.showcase-menu-item.active i {
    color: var(--secondary);
}

.showcase-right-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
    position: relative;
    overflow: visible;
    width: 100%;
}

/* CardSwap Deck Wrapper */
.card-swap-wrapper {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* CardSwap Component CSS with centering support */
.card-swap-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    perspective: 900px;
    overflow: visible;
}

.card-swap-container .service-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 330px;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0;
    transition: opacity 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0s !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.card-swap-container .service-card .service-title {
    color: #ffffff !important;
}

.card-swap-container .service-card .service-desc {
    color: #cbd5e1 !important;
}

.card-swap-container .service-card .tech-text {
    color: #00bcf2 !important;
}

.card-swap-container .service-card .service-icon {
    background: rgba(0, 188, 242, 0.08) !important;
    border: 1px solid rgba(0, 188, 242, 0.15) !important;
    color: #00bcf2 !important;
}

.card-swap-container .service-card-border {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .showcase-split-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 35px;
    }
    
    .showcase-left-panel {
        max-width: 100%;
        padding: 18px;
    }
    
    .showcase-menu {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
    }
    
    .showcase-menu::-webkit-scrollbar {
        height: 4px;
        display: block !important;
    }
    
    .showcase-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 245, 255, 0.45);
        border-radius: 4px;
    }
    
    .showcase-menu-item {
        width: auto;
        flex-shrink: 0;
        padding: 10px 18px;
    }
    
    .showcase-right-panel {
        min-height: 380px;
    }
    
    .card-swap-wrapper {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .card-swap-container {
        transform: scale(0.8) translate(-50%, -50%);
    }
    
    .showcase-right-panel {
        min-height: 380px;
    }
    
    .card-swap-wrapper {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .card-swap-container {
        transform: scale(0.6) translate(-50%, -50%);
    }
    
    .showcase-right-panel {
        min-height: 320px;
    }
    
    .card-swap-wrapper {
        height: 250px;
    }
}

/* ====================================================== */
/* 3D TECHNOLOGY LABORATORY SYSTEM                        */
/* ====================================================== */

/* Outer Section Layout & Background */
.tech-galaxy-section {
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.08), transparent 75%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06), transparent 70%),
                #050816;
    overflow: visible;
    padding: 100px 5%;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.tech-galaxy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.012) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* 3-Panel Main Layout Grid */
.tech-galaxy-layout {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

/* Left Panel: Category Buttons */
.tech-left-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(11, 17, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tech-category-btn:hover {
    color: #fff;
    background: rgba(11, 17, 32, 0.65);
    border-color: rgba(0, 245, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.03);
}

.tech-category-btn.active {
    color: #fff;
    background: rgba(0, 245, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15), inset 0 0 10px rgba(0, 245, 255, 0.05);
    animation: activeGlowPulse 3s infinite alternate;
}

/* Active Category pulse */
@keyframes activeGlowPulse {
    0% { border-color: rgba(0, 245, 255, 0.35); box-shadow: 0 0 20px rgba(0, 245, 255, 0.1), inset 0 0 10px rgba(0, 245, 255, 0.02); }
    100% { border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 30px rgba(59, 130, 246, 0.25), inset 0 0 15px rgba(59, 130, 246, 0.08); }
}

/* Floating light trail inside active button */
.tech-category-btn.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.2), transparent);
    animation: lightTrail 2s infinite linear;
}

@keyframes lightTrail {
    0% { left: -100%; }
    100% { left: 200%; }
}

.tech-category-btn-arrow {
    font-size: 0.9rem;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tech-category-btn:hover .tech-category-btn-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.tech-category-btn.active .tech-category-btn-arrow {
    opacity: 1;
    color: var(--secondary);
    transform: translateX(5px);
}

/* Center Panel: Technology Grid & Cards */
.tech-center-panel {
    min-height: 500px;
    transition: opacity 0.3s ease;
}

.tech-cards-grid-futuristic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 1400px) {
    .tech-cards-grid-futuristic {
        grid-template-columns: 1fr;
    }
}

.tech-card-futuristic {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    padding: 24px;
    background: rgba(11, 17, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 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),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tech-card-futuristic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 100px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 245, 255, 0.08), transparent 80%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tech-card-futuristic:hover::before {
    opacity: 1;
}

.tech-card-futuristic:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 245, 255, 0.25);
    background: rgba(11, 17, 32, 0.65);
    box-shadow: 0 15px 30px rgba(0, 245, 255, 0.06), inset 0 0 10px rgba(0, 245, 255, 0.02);
}

.tech-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    z-index: 2;
    transform: translateZ(10px);
}

.tech-card-logo-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.tech-card-futuristic:hover .tech-card-logo-wrapper {
    background: rgba(0, 245, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
    transform: translateZ(20px) rotateY(15deg) scale(1.05);
}

.tech-card-logo-wrapper i,
.tech-card-logo-wrapper svg {
    width: 24px;
    height: 24px;
    transition: all 0.4s ease;
}

.tech-card-info {
    flex: 1;
}

.tech-card-name-futuristic {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.tech-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.tech-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    z-index: 2;
    transform: translateZ(5px);
}

.tech-card-badge {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: var(--secondary);
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    padding: 4px 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tech-card-futuristic:hover .tech-card-badge {
    border-color: rgba(0, 245, 255, 0.25);
    background: rgba(0, 245, 255, 0.08);
}

.tech-card-projects {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: bold;
}

.tech-card-futuristic:hover .tech-card-projects {
    color: #fff;
}

/* Right Panel: 3D Slowly Rotating CSS Cube */
.tech-right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
}

.cube-area {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.cube-orbit-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cube-wrapper {
    perspective: 800px;
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.tech-cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.08), inset 0 0 10px rgba(0, 245, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.cube-face i, .cube-face svg {
    color: var(--secondary);
    width: 28px;
    height: 28px;
}

/* Face positions */
.cube-face.front  { transform: rotateY(0deg) translateZ(50px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(50px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(50px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(50px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(50px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

/* Glow effect around the cube */
.cube-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: pulseCubeGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseCubeGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

.cube-legend {
    text-align: center;
    margin-top: 10px;
}

.cube-legend-title {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cube-legend-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Technology Detail Drawer / Side Panel */
.tech-side-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: rgba(8, 12, 28, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.8), -5px 0 20px rgba(0, 245, 255, 0.05);
    z-index: 200000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 245, 255, 0.2) transparent;
}

.tech-side-panel.active {
    right: 0;
}

.tech-panel-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.tech-panel-close-btn:hover {
    color: var(--accent);
}

.tech-panel-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tech-panel-logo-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.tech-panel-logo-box i,
.tech-panel-logo-box svg {
    color: var(--secondary);
    width: 28px;
    height: 28px;
}

.tech-panel-title-info {
    flex: 1;
}

.tech-panel-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    font-family: var(--font-tech);
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-panel-tagline {
    font-size: 0.75rem;
    font-family: var(--font-tech);
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.tech-panel-overview {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.tech-panel-section-title {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 24px 0 12px 0;
}

.tech-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-panel-list li {
    font-size: 0.88rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-panel-list li i,
.tech-panel-list li svg {
    color: var(--secondary);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.tech-panel-project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
}

/* Side Drawer Chart / Progress Bars */
.tech-chart-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tech-bar-label {
    font-size: 0.75rem;
    font-family: var(--font-tech);
    color: var(--text-muted);
    width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.tech-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.tech-bar-val {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #fff;
    font-weight: bold;
    width: 38px;
    text-align: right;
}

@media (max-width: 768px) {
    .tech-side-panel {
        width: 100%;
        right: -100%;
        padding: 30px 24px;
    }
}

/* Bottom: Technology Impact Metrics Row */
.tech-impact-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.tech-metric-col {
    text-align: center;
}

.tech-metric-num {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.tech-metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width: 900px) {
    .tech-impact-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .tech-impact-metrics {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Bottom: Large Glowing CTA Card */
.tech-cta-card {
    background: rgba(11, 17, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 245, 255, 0.04);
    z-index: 2;
    text-align: center;
}

.tech-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle 350px at 50% 50%, rgba(0, 245, 255, 0.05), transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.tech-cta-card-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.tech-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-tech);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.tech-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 600px) {
    .tech-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .tech-cta-buttons .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Layout shift on body.tech-panel-active (similar to industries shifting) */
@media (min-width: 1200px) {
    body.tech-panel-active .tech-galaxy-section {
        padding-right: 440px;
    }
    .tech-galaxy-section {
        transition: padding-right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* Responsiveness adjustments for 3-Panel Layout */
@media (max-width: 1200px) {
    .tech-galaxy-layout {
        grid-template-columns: 240px 1fr;
    }
    .tech-right-panel {
        display: none; /* Hide 3D cube on smaller screens */
    }
}

@media (max-width: 900px) {
    .tech-galaxy-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-left-panel {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none; /* Hide scrollbars */
    }
    
    .tech-left-panel::-webkit-scrollbar {
        display: none;
    }
    
    .tech-category-btn {
        padding: 10px 18px;
        font-size: 0.75rem;
    }
    
    .tech-category-btn-arrow {
        display: none; /* Hide arrow in slider list */
    }
}

/* Glowing Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 242, 0.2), transparent);
    margin: 50px auto;
    width: 90%;
    position: relative;
    z-index: 10;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
}

/* Star Border Integration for Trust Section Box */
.trust-cards-container-box {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 1px; /* Star border thickness */
    margin-top: 40px;
    z-index: 5;
    background: transparent;
}

.trust-cards-container-box .border-gradient-bottom {
    position: absolute;
    width: 300%;
    height: 50%;
    opacity: 0.8;
    bottom: -12px;
    right: -250%;
    border-radius: 50%;
    animation: star-movement-bottom 6s linear infinite alternate;
    z-index: 0;
}

.trust-cards-container-box .border-gradient-top {
    position: absolute;
    opacity: 0.8;
    width: 300%;
    height: 50%;
    top: -12px;
    left: -250%;
    border-radius: 50%;
    animation: star-movement-top 6s linear infinite alternate;
    z-index: 0;
}

.trust-cards-container-box .inner-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 17, 32, 0.55);
    padding: 50px 45px;
    border-radius: 23px; /* Matches parent border-radius inset */
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 40px rgba(0, 188, 242, 0.015),
                0 20px 50px rgba(0, 0, 0, 0.3);
}

@keyframes star-movement-bottom {
    0% {
        transform: translate(0%, 0%);
        opacity: 1;
    }
    100% {
        transform: translate(-100%, 0%);
        opacity: 0;
    }
}

@keyframes star-movement-top {
    0% {
        transform: translate(0%, 0%);
        opacity: 1;
    }
    100% {
        transform: translate(100%, 0%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .trust-cards-container-box {
        margin-top: 30px;
    }
    .trust-cards-container-box .inner-content {
        padding: 30px 20px;
    }
}

/* Star Border Integration for Services Section Box */
.services-container-box {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 1px; /* Star border thickness */
    margin-top: 50px;
    z-index: 5;
    background: transparent;
}

.services-container-box .border-gradient-bottom {
    position: absolute;
    width: 300%;
    height: 50%;
    opacity: 0.8;
    bottom: -12px;
    right: -250%;
    border-radius: 50%;
    animation: star-movement-bottom 7s linear infinite alternate;
    z-index: 0;
}

.services-container-box .border-gradient-top {
    position: absolute;
    opacity: 0.8;
    width: 300%;
    height: 50%;
    top: -12px;
    left: -250%;
    border-radius: 50%;
    animation: star-movement-top 7s linear infinite alternate;
    z-index: 0;
}

.services-container-box .inner-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 17, 32, 0.55);
    padding: 60px 45px;
    border-radius: 23px; /* Matches parent border-radius inset */
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 40px rgba(0, 188, 242, 0.015),
                0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .services-container-box {
        margin-top: 30px;
    }
    .services-container-box .inner-content {
        padding: 30px 20px;
    }
}

/* Star Border Integration for Showcase Section Box */
.showcase-container-box {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 1px; /* Star border thickness */
    margin-top: 50px;
    z-index: 5;
    background: transparent;
}

.showcase-container-box .border-gradient-bottom {
    position: absolute;
    width: 300%;
    height: 50%;
    opacity: 0.8;
    bottom: -12px;
    right: -250%;
    border-radius: 50%;
    animation: star-movement-bottom 8s linear infinite alternate;
    z-index: 0;
}

.showcase-container-box .border-gradient-top {
    position: absolute;
    opacity: 0.8;
    width: 300%;
    height: 50%;
    top: -12px;
    left: -250%;
    border-radius: 50%;
    animation: star-movement-top 8s linear infinite alternate;
    z-index: 0;
}

.showcase-container-box .inner-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 17, 32, 0.55);
    padding: 60px 45px;
    border-radius: 23px; /* Matches parent border-radius inset */
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 40px rgba(0, 188, 242, 0.015),
                0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .showcase-container-box {
        margin-top: 30px;
    }
    .showcase-container-box .inner-content {
        padding: 30px 20px;
    }
}

/* Industries Category Filter Tabs */
.industries-tabs-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 35px;
    z-index: 10;
    position: relative;
}

.industries-tabs {
    display: flex;
    gap: 12px;
    padding: 8px;
    background: rgba(11, 17, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.industries-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.industries-tab-btn i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.industries-tab-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.industries-tab-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.industries-tab-btn.active {
    color: var(--secondary);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15),
                inset 0 0 8px rgba(0, 245, 255, 0.05);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.industries-tab-btn.active i {
    opacity: 1;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .industries-tabs {
        border-radius: 20px;
        gap: 6px;
        padding: 6px;
    }
    .industries-tab-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

/* Star Border Integration for Industries Section Box */
.industries-container-box {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 1px; /* Star border thickness */
    margin-top: 20px;
    z-index: 5;
    background: transparent;
}

.industries-container-box .border-gradient-bottom {
    position: absolute;
    width: 300%;
    height: 50%;
    opacity: 0.8;
    bottom: -12px;
    right: -250%;
    border-radius: 50%;
    animation: star-movement-bottom 9s linear infinite alternate;
    z-index: 0;
}

.industries-container-box .border-gradient-top {
    position: absolute;
    opacity: 0.8;
    width: 300%;
    height: 50%;
    top: -12px;
    left: -250%;
    border-radius: 50%;
    animation: star-movement-top 9s linear infinite alternate;
    z-index: 0;
}

.industries-container-box .inner-content {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 17, 32, 0.55);
    padding: 60px 45px;
    border-radius: 23px; /* Matches parent border-radius inset */
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 40px rgba(0, 188, 242, 0.015),
                0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .industries-container-box {
        margin-top: 30px;
    }
    .industries-container-box .inner-content {
        padding: 30px 20px;
    }
}

/* Industry Card Filter Transition Styles */
.industry-card {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease, 
                box-shadow 0.4s ease,
                background 0.4s ease !important;
}

.industry-card.fade-out {
    opacity: 0 !important;
    transform: scale(0.92) translateY(15px) !important;
    pointer-events: none;
}

.industry-card.filtered-out {
    display: none !important;
}

/* =========================================================================
   SCROLLSTACK TIMELINE SYSTEM (React Bits Port)
   ========================================================================= */

.process-timeline.scroll-stack-scroller {
    display: block !important;
    margin: 50px auto 0 !important;
    max-width: 1000px !important;
    overflow: visible !important;
    position: relative;
}

.scroll-stack-inner {
    padding-top: 2vh;
    padding-bottom: 50vh; /* Pushes the end element down for scrolling space */
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.scroll-stack-card-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 100px; /* distance between cards */
    box-sizing: border-box;
}

.scroll-stack-card-wrapper:last-of-type {
    margin-bottom: 0;
}

.scroll-stack-card {
    transform-origin: top center;
    will-change: transform, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 380px;
    height: auto;
    padding: 40px !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* Disable layout transitions for GPU animation performance, keep custom transitions */
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease !important;
}

.scroll-stack-card::after {
    display: none !important; /* Hide horizontal/vertical grid layout flow arrows */
}

/* Card inner layout */
.scroll-stack-card-content {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

.scroll-stack-card-left {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scroll-stack-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 40px;
}

/* Watermark styles */
.scroll-stack-watermark {
    position: absolute;
    bottom: -15px;
    right: 15px;
    opacity: 0.02;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--secondary);
    z-index: 1;
}

.scroll-stack-watermark svg {
    width: 120px;
    height: 120px;
}

.scroll-stack-card:hover .scroll-stack-watermark {
    opacity: 0.08;
    transform: scale(1.15) rotate(-12deg);
    color: var(--accent);
}

/* Telemetry bar styling */
.scroll-stack-telemetry {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 15px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.telemetry-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telemetry-val {
    font-size: 0.82rem;
    font-weight: bold;
    float: right;
}

.telemetry-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.telemetry-bar-fill {
    height: 100%;
    border-radius: 2px;
}

/* Checklist deliverables styling */
.scroll-stack-subheading {
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--secondary);
    letter-spacing: 1px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 700;
}

.scroll-stack-deliverables {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.scroll-stack-deliverables li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-stack-deliverables li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Tech tag styling */
.scroll-stack-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 0.72rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.scroll-stack-card:hover .tech-tag {
    background: rgba(var(--secondary-rgb), 0.05);
    border-color: rgba(var(--secondary-rgb), 0.2);
}

/* Spotlight cursor glow overlay */
.scroll-stack-card .card-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 245, 255, 0.045),
        transparent 45%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-stack-card:hover .card-spotlight {
    opacity: 1;
}

.scroll-stack-end {
    width: 100%;
    height: 1px;
    visibility: hidden;
    pointer-events: none;
}

/* Mobile responsive resets */
@media (max-width: 991px) {
    .scroll-stack-inner {
        padding-bottom: 5vh !important;
    }
    .scroll-stack-card-wrapper {
        margin-bottom: 45px !important;
    }
    .scroll-stack-card {
        min-height: auto !important;
        padding: 30px 20px !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .scroll-stack-card-content {
        flex-direction: column;
        gap: 25px;
    }
    .scroll-stack-card-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 25px;
    }
    .scroll-stack-watermark {
        bottom: 10px;
        right: 10px;
    }
    .scroll-stack-watermark svg {
        width: 80px;
        height: 80px;
    }
}

/* =========================================================================
   ROTATING TEXT BADGE SYSTEM (React Bits RotatingText component port)
   ========================================================================= */

.rotating-text-badge {
    padding: 6px 22px;
    border-radius: 12px;
    background: #FF7A00;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    font-family: var(--font-heading);
    min-width: 250px;
    height: 52px;
}

.char-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1.1;
}

.char-inner {
    display: inline-block;
    will-change: transform;
}

/* Vertical Connecting Timeline Line */
.scroll-stack-container {
    padding-left: 60px; /* Space for the timeline line */
}

.scroll-stack-timeline-line {
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: 250px; /* Aligns with bottom cards scroll bound */
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.scroll-stack-timeline-glow {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, transparent, #FF7A00 30%, #FF7A00 100%);
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.8);
    border-radius: 2px;
    transition: height 0.1s ease;
}

@media (max-width: 991px) {
    .scroll-stack-container {
        padding-left: 40px;
    }
    .scroll-stack-timeline-line {
        left: 15px;
        top: 20px;
        bottom: 50px;
    }
}

/* =========================================================================
   SCROLLFLOAT TYPOGRAPHY ANIMATION (React Bits Port)
   ========================================================================= */

.scroll-float,
.section-title.scroll-float {
    overflow: hidden;
    display: block;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

.scroll-float-text {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    text-align: inherit;
    line-height: inherit;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.char {
    display: inline-block;
    background: inherit;
    -webkit-background-clip: inherit;
    background-clip: inherit;
    -webkit-text-fill-color: inherit;
    will-change: transform, opacity;
}

/* =========================================================================
   SPLITTEXT TYPOGRAPHY ANIMATION (React Bits Port)
   ========================================================================= */

.split-parent {
    overflow: hidden;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    will-change: transform, opacity;
}

.split-char {
    display: inline-block;
    will-change: transform, opacity;
}

.dot-field-container {
  position: relative;
  width: 100%;
  height: 100%;
}





/* Star Border Gradient Backgrounds */
.border-gradient-bottom {
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
}
.border-gradient-top {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 60%);
}

/* AI Solutions Showcase Premium Container Border styling */
.premium-showcase-container {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(10, 15, 30, 0.4) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px !important;
    padding: 60px 45px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                inset 0 0 30px rgba(0, 188, 242, 0.02) !important;
    overflow: hidden;
    margin: 40px auto;
    max-width: 1400px;
    width: 95%;
}

@media (max-width: 768px) {
    .premium-showcase-container {
        padding: 30px 20px !important;
        width: 100%;
        border-radius: 16px !important;
    }
}

/* =========================================================================
   SCROLL-DRIVEN ENTRANCE BLOOM ANIMATIONS
   ========================================================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none !important;
    -webkit-filter: none !important;
}

/* Staggered Children */
.reveal-stagger-child {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-stagger-child.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Temporary neon scan pulse when card enters viewport */
.reveal-stagger-child.revealed .scanner-bar {
    animation: singleScan 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes singleScan {
    0% { top: -10%; opacity: 1; }
    50% { top: 110%; opacity: 0.8; }
    100% { top: 110%; opacity: 0; }
}

/* =========================================================================
   CYBERNETIC TELEMETRY TERMINAL STYLES
   ========================================================================= */
.cyber-terminal {
    background: rgba(6, 10, 20, 0.65) !important;
    border: 1px solid rgba(0, 229, 255, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.03) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    overflow: hidden;
}
.pulse-indicator {
    animation: textFlash 1.5s infinite alternate;
}
@keyframes textFlash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .tech-galaxy-section {
        display: none !important;
    }
}

/* ====================================================== */
/* STAGGERED MOBILE MENU SYSTEM (ReactBits Integration)  */
/* ====================================================== */
.staggered-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}

.staggered-menu-panel {
  pointer-events: auto;
}

.sm-toggle {
  display: none !important;
  pointer-events: auto;
}

.sm-prelayers {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(280px, 45vw, 420px);
  pointer-events: none;
  z-index: 998;
  opacity: 0;
}

.sm-prelayer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.staggered-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(280px, 45vw, 420px);
  height: 100%;
  background: #04060a; /* Premium dark navy matching body */
  border-left: 1px solid rgba(0, 245, 255, 0.15);
  display: flex;
  flex-direction: column;
  padding: 8em 2.5em 3em 2.5em;
  overflow-y: auto;
  z-index: 999;
  pointer-events: auto;
  opacity: 0;
}

.sm-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sm-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sm-panel-itemWrap {
  position: relative;
  overflow: hidden;
  line-height: 1;
}

.sm-panel-item {
  position: relative;
  color: #ffffff !important;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1.2;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  padding-right: 1.4em;
  transition: color 0.3s;
}

.sm-panel-itemLabel {
  display: inline-block;
  will-change: transform;
}

.sm-panel-item:hover {
  color: var(--secondary); /* Brand neon cyan */
}

/* Staggered Item Numbering */
.sm-panel-number {
  position: absolute;
  top: 0.15em;
  right: 0;
  font-size: 0.95rem;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Social links section */
.sm-socials {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sm-socials-title {
  margin: 0;
  font-size: 0.9rem;
  font-family: var(--font-tech);
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sm-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sm-socials-link {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

.sm-socials-link:hover {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .sm-prelayers,
  .staggered-menu-panel {
    width: 100%;
    max-width: 100%;
  }
  .header-actions {
    display: none !important;
  }
}

/* Staggered Submenu Classes */
.sm-panel-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.submenu-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s;
    outline: none;
}

.submenu-toggle-btn::before {
    content: '+';
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 400;
    transition: transform 0.3s;
    color: rgba(255, 255, 255, 0.7) !important;
}

.submenu-toggle-btn.active::before {
    content: '\u2212'; /* Unicode minus sign */
    color: var(--secondary) !important;
}

.submenu-toggle-btn:hover::before {
    color: var(--secondary) !important;
}

.sm-submenu-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin 0.4s, padding 0.4s;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-left: 1px solid rgba(0, 245, 255, 0.08);
}

.sm-submenu-list.active {
    max-height: 480px; /* Expand transition dynamic wrapper */
    margin-top: 0.75rem;
    padding-bottom: 0.5rem;
}

.sm-submenu-list li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    display: inline-block;
    padding: 3px 0;
}

.sm-submenu-list li a:hover {
    color: var(--secondary) !important;
}

@media (max-width: 768px) {
  .sm-toggle {
    display: inline-flex !important;
  }
}

/* Back Button inside Staggered Menu Panel */
.sm-panel-header {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 2rem;
}

.sm-panel-back-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    outline: none;
}

.sm-panel-back-btn:hover {
    color: var(--secondary);
    background: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(-3px);
}

.sm-back-icon {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-badge {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hero-3d-container {
        display: none !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .about-mission-vision {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .about-timeline-container {
        padding: 30px 20px !important;
    }
}

/* Services tab button indicator style on desktop (default hidden) */
.services-tab-btn .mobile-active-indicator {
    display: none;
}

@media (max-width: 768px) {

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    /* SERVICES ECOSYSTEM — MOBILE ONLY  */
    /* Horizontal Swipe Carousel          */
    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

    /* ── SECTION SPACING ── */
    .services-section {
        padding: 36px 0 28px !important;
        overflow: hidden !important;
    }

    .services-section .section-header {
        padding: 0 5% !important;
        margin-bottom: 16px !important;
    }

    .services-section .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .services-section .section-desc {
        font-size: 0.82rem !important;
        margin-bottom: 0 !important;
    }

    .services-section .section-subtitle {
        margin-bottom: 6px !important;
    }

    /* ── FILTER TABS — Ultra-Compressed Horizontal Scrollable Pill Bar ── */
    .services-tabs-wrapper {
        margin-bottom: 14px !important;
        padding: 0 !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        position: relative !important;
    }

    .services-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px 5% 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
    }

    .services-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .services-tabs button:nth-child(5) {
        grid-column: auto !important;
    }

    .services-tab-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        height: 38px !important;
        border-radius: 20px !important;
        background: rgba(10, 16, 30, 0.75) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(0, 200, 255, 0.15) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 0 15px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        white-space: nowrap !important;
        scroll-snap-align: center !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: relative !important;
        outline: none !important;
    }

    .services-tab-btn i,
    .services-tab-btn svg {
        font-size: 15px !important;
        width: 15px !important;
        height: 15px !important;
        color: var(--secondary) !important;
        transition: transform 0.25s ease, filter 0.25s ease !important;
    }

    .services-tab-btn.active {
        border-color: rgba(0, 245, 255, 0.8) !important;
        box-shadow: 0 0 18px rgba(0, 200, 255, 0.35) !important;
        background: linear-gradient(135deg, rgba(0, 188, 242, 0.25), rgba(12, 87, 196, 0.4)) !important;
        color: #ffffff !important;
    }

    .services-tab-btn.active i,
    .services-tab-btn.active svg {
        transform: scale(1.1) !important;
        filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.9)) !important;
    }

    .services-tab-btn .mobile-active-indicator {
        display: none !important;
    }

    .services-tab-btn:active {
        transform: scale(0.95) !important;
    }


    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    /* SERVICES GRID → HORIZONTAL CAROUSEL */
    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 16px !important;
        padding: 8px 5% 20px !important;
        margin: 0 !important;

        /* Scroll snap */
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;

        /* Hide scrollbar */
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;

        /* Reset grid */
        grid-template-columns: none !important;
    }

    .services-grid::-webkit-scrollbar {
        display: none !important;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    /* COMPRESSED SERVICE CARD     */
    /* 220-260px height target      */
    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .service-card {
        /* Carousel item sizing — 85vw = 15% peek of next */
        flex: 0 0 85vw !important;
        width: 85vw !important;
        max-width: 360px !important;
        scroll-snap-align: start !important;

        /* Height */
        height: auto !important;
        min-height: 220px !important;
        max-height: 260px !important;

        /* Padding */
        padding: 16px !important;

        /* Layout */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        gap: 0 !important;

        /* Card style */
        border-radius: 18px !important;
        border: 1px solid rgba(0, 200, 255, 0.12) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        box-shadow:
            0 6px 24px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(0, 200, 255, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
        background: linear-gradient(145deg, rgba(8, 16, 35, 0.88), rgba(12, 20, 40, 0.72)) !important;

        /* Left accent bar */
        border-left: 3px solid rgba(0, 188, 242, 0.5) !important;
    }

    .service-card-border {
        border-radius: 18px !important;
    }

    /* ── SERVICE BODY ── */
    .service-body {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        height: 100% !important;
        justify-content: flex-start !important;
    }

    /* ── ICON — 48×48 ── */
    .service-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        margin-bottom: 0 !important;
        background: rgba(0, 188, 242, 0.06) !important;
        border: 1px solid rgba(0, 188, 242, 0.18) !important;
        box-shadow: 0 0 12px rgba(0, 188, 242, 0.08) !important;
    }

    .service-icon i,
    .service-icon svg {
        font-size: 22px !important;
        width: 22px !important;
        height: 22px !important;
        color: var(--secondary) !important;
    }

    /* ── TITLE — 18px ── */
    .service-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-bottom: 0 !important;
        color: #fff !important;
    }

    /* ── DESCRIPTION — 14px, 3-line clamp with fade ── */
    .service-desc {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, 0.55) !important;
        /* Fade last line */
        -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, #000 60%, transparent 100%) !important;
    }

    /* ── FEATURE BULLETS — Compact, max 3 ── */
    .service-bullets {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 13px !important;
        list-style: none !important;
    }

    .service-bullets li {
        font-size: 13px !important;
        line-height: 1.3 !important;
        color: rgba(255, 255, 255, 0.5) !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .service-bullets li i,
    .service-bullets li svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
    }

    /* Hide bullets beyond 3rd */
    .service-bullets li:nth-child(n+4) {
        display: none !important;
    }

    /* ── BUTTON — 42px compact ── */
    .service-card .cta-button {
        height: 42px !important;
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        width: 100% !important;
        margin-top: 6px !important;
        letter-spacing: 0.03em !important;
    }

    /* ── HIDE EXTRAS ── */
    .service-watermark {
        display: none !important;
    }

    .services-dots-container {
        display: none !important;
    }

    /* ── ANIMATIONS — Shorter distance ── */
    .reveal-stagger-child {
        transform: translateY(15px) scale(0.98) !important;
        transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .reveal-stagger-child.revealed {
        transform: translateY(0) scale(1) !important;
    }
}

/* Ensure 600px breakpoint doesn't override carousel */
@media (max-width: 600px) {
    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 14px !important;
    }
    .industries-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

/* ============================== */
/* Industries Mobile 2-Column     */
/* ONLY for max-width: 768px      */
/* ============================== */
@media (max-width: 768px) {

    /* Reduce section padding for modern compact layout */
    .industries-section {
        padding: 32px 4% 20px !important;
    }

    /* ━━━━ INDUSTRIES SECTION — MOBILE HORIZONTAL SWIPE CAROUSEL ━━━━ */
    .industries-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 6px 5% 16px !important;
        margin-top: 14px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .industries-grid::-webkit-scrollbar {
        display: none !important;
    }

    .industry-card {
        flex: 0 0 78vw !important;
        width: 78vw !important;
        max-width: 310px !important;
        height: auto !important;
        min-height: 170px !important;
        scroll-snap-align: start !important;
        padding: 15px 14px !important;
        border-radius: 18px !important;
        gap: 6px !important;
        background: linear-gradient(145deg, rgba(8, 18, 40, 0.95), rgba(12, 24, 52, 0.85)) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        border: 1px solid rgba(0, 220, 255, 0.28) !important;
        box-shadow: 
            0 8px 28px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 0 18px rgba(0, 200, 255, 0.12) !important;
        position: relative !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease !important;
    }

    /* Ambient Holographic Aura Top Right */
    .industry-card::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 70px !important;
        height: 70px !important;
        background: radial-gradient(circle at top right, rgba(0, 245, 255, 0.2), transparent 70%) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .industry-card:active {
        transform: scale(0.96) !important;
        border-color: rgba(0, 245, 255, 0.9) !important;
        box-shadow: 0 0 24px rgba(0, 245, 255, 0.4) !important;
    }

    /* Cyber Corner Brackets */
    .industry-card .corner-bracket {
        display: block !important;
        position: absolute !important;
        width: 6px !important;
        height: 6px !important;
        border-color: rgba(0, 245, 255, 0.7) !important;
        border-style: solid !important;
        z-index: 3 !important;
    }
    .industry-card .corner-bracket.top-left { top: 4px !important; left: 4px !important; border-width: 1px 0 0 1px !important; }
    .industry-card .corner-bracket.top-right { top: 4px !important; right: 4px !important; border-width: 1px 1px 0 0 !important; }
    .industry-card .corner-bracket.bottom-left { bottom: 4px !important; left: 4px !important; border-width: 0 0 1px 1px !important; }
    .industry-card .corner-bracket.bottom-right { bottom: 4px !important; right: 4px !important; border-width: 0 1px 1px 0 !important; }

    /* Hide heavy desktop spotlights to optimize rendering */
    .industry-card .scanner-bar,
    .industry-card .industry-card-spotlight,
    .industry-card .industry-watermark {
        display: none !important;
    }

    /* Streamlined Electric Cyber Icon Badge */
    .industry-icon-wrapper {
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, rgba(0, 188, 242, 0.22), rgba(12, 87, 196, 0.38)) !important;
        border: 1px solid rgba(0, 245, 255, 0.4) !important;
        box-shadow: 0 0 12px rgba(0, 200, 255, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        animation: none !important;
        transform: none !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .industry-svg {
        width: 18px !important;
        height: 18px !important;
        stroke: #00f5ff !important;
        filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.9)) !important;
    }

    .industry-svg path,
    .industry-svg circle,
    .industry-svg rect,
    .industry-svg polygon {
        stroke: #00f5ff !important;
    }

    .industry-icon-wrapper i,
    .industry-icon-wrapper svg {
        width: 16px !important;
        height: 16px !important;
        color: #00f5ff !important;
        filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.9)) !important;
    }

    /* Compact Glowing Title & Tagline */
    .industry-info {
        transform: none !important;
        position: relative !important;
        z-index: 2 !important;
        margin: 2px 0 !important;
    }

    .industry-name {
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        margin: 0 0 2px 0 !important;
        color: #ffffff !important;
        text-shadow: 0 0 10px rgba(0, 200, 255, 0.3) !important;
    }

    .industry-tagline {
        font-size: 9.5px !important;
        color: rgba(255, 255, 255, 0.75) !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Streamlined Glowing Cyber Pill Badge */
    .industry-badge {
        font-size: 8px !important;
        font-weight: 700 !important;
        padding: 3px 7px !important;
        border-radius: 14px !important;
        margin-top: 3px !important;
        gap: 4px !important;
        transform: none !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
        background: rgba(0, 200, 255, 0.12) !important;
        border: 1px solid rgba(0, 245, 255, 0.35) !important;
        color: #00f5ff !important;
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.18) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .industry-badge span {
        color: #00f5ff !important;
        font-weight: 700 !important;
    }

    .industry-badge-arrow {
        width: 10px !important;
        height: 10px !important;
        color: #00f5ff !important;
        filter: drop-shadow(0 0 3px rgba(0, 245, 255, 0.9)) !important;
    }

    /* ━━━━ HIGH-DENSITY COMPACT MOBILE INDUSTRY CTA BANNER ━━━━ */
    .industry-cta-card {
        margin-top: 24px !important;
        padding: 20px 16px 16px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, rgba(8, 16, 35, 0.95), rgba(12, 24, 48, 0.88)) !important;
        border: 1px solid rgba(0, 220, 255, 0.3) !important;
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 24px rgba(0, 200, 255, 0.15) !important;
    }

    .cta-card-content {
        max-width: 100% !important;
    }

    .cta-card-title {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
    }

    .cta-card-text {
        font-size: 0.82rem !important;
        margin-bottom: 16px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.75) !important;
    }

    .cta-card-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
        width: 100% !important;
    }

    .cta-card-buttons .cta-button {
        flex: 1 1 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 0 8px !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
    }

    /* 4-Column Horizontal Stats Bar */
    .cta-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 4px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-top: 0 !important;
    }

    .cta-stat-col {
        text-align: center !important;
        padding: 0 2px !important;
    }

    .cta-stat-num {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #00f5ff !important;
        text-shadow: 0 0 8px rgba(0, 245, 255, 0.6) !important;
        line-height: 1 !important;
        margin-bottom: 4px !important;
    }

    .cta-stat-label {
        font-size: 8px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.65) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important;
        line-height: 1.15 !important;
    }

    /* ── INDUSTRIES FILTER TABS — Ultra-Compressed Horizontal Scrollable Pill Bar ── */
    .industries-tabs-container {
        margin-bottom: 14px !important;
        padding: 0 !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        position: relative !important;
    }

    .industries-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px 5% 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
    }

    .industries-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .industries-tab-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        height: 38px !important;
        border-radius: 20px !important;
        background: rgba(10, 16, 30, 0.75) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(0, 200, 255, 0.15) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 0 15px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        white-space: nowrap !important;
        scroll-snap-align: start !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: relative !important;
        outline: none !important;
    }

    .industries-tab-btn i,
    .industries-tab-btn svg {
        font-size: 15px !important;
        width: 15px !important;
        height: 15px !important;
        color: var(--secondary) !important;
        transition: transform 0.25s ease, filter 0.25s ease !important;
    }

    .industries-tab-btn.active {
        border-color: rgba(0, 245, 255, 0.8) !important;
        box-shadow: 0 0 18px rgba(0, 200, 255, 0.35) !important;
        background: linear-gradient(135deg, rgba(0, 188, 242, 0.25), rgba(12, 87, 196, 0.4)) !important;
        color: #ffffff !important;
    }

    .industries-tab-btn.active i,
    .industries-tab-btn.active svg {
        transform: scale(1.1) !important;
        filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.9)) !important;
    }

    .industries-tab-btn:active {
        transform: scale(0.95) !important;
    }
}

/* ====================================== */
/* AI Solutions Showcase — Mobile Only    */
/* Premium Horizontal Carousel Redesign   */
/* ONLY for max-width: 768px             */
/* ====================================== */
@media (max-width: 768px) {

    /* ── Section padding ── */
    .solutions-showcase-section,
    .premium-showcase-container {
        padding: 40px 0 30px !important;
        overflow: hidden !important;
    }

    .solutions-showcase-section .section-header {
        padding: 0 5% !important;
    }

    .solutions-showcase-section .section-title {
        font-size: 1.6rem !important;
    }

    .solutions-showcase-section .section-desc {
        font-size: 0.82rem !important;
        padding: 0 2% !important;
    }

    /* ── Hide all decorative bg layers ── */
    .showcase-aurora-bg,
    .showcase-grid-bg,
    .showcase-light-sweep,
    .showcase-particles,
    .showcase-cursor-glow {
        display: none !important;
    }

    /* ── Stack vertically ── */
    .showcase-split-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 16px !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    /* ━━━━ LEFT PANEL → Solution Selector Pill Bar on mobile ━━━━ */
    .showcase-left-panel {
        display: block !important;
        width: 100% !important;
        margin-bottom: 14px !important;
        border-right: none !important;
        padding: 0 !important;
    }

    .showcase-menu-header {
        display: none !important;
    }

    .showcase-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 4px 2px 8px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .showcase-menu::-webkit-scrollbar {
        display: none !important;
    }

    .showcase-menu-item {
        flex: 0 0 auto !important;
        height: 36px !important;
        padding: 0 14px !important;
        border-radius: 18px !important;
        background: rgba(10, 16, 30, 0.75) !important;
        border: 1px solid rgba(0, 200, 255, 0.15) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        transition: all 0.25s ease !important;
        outline: none !important;
    }

    .showcase-menu-item i,
    .showcase-menu-item svg {
        width: 14px !important;
        height: 14px !important;
        color: var(--secondary) !important;
    }

    .showcase-menu-item.active {
        background: linear-gradient(135deg, rgba(0, 188, 242, 0.3), rgba(12, 87, 196, 0.45)) !important;
        border-color: rgba(0, 245, 255, 0.8) !important;
        color: #ffffff !important;
        box-shadow: 0 0 16px rgba(0, 200, 255, 0.3) !important;
    }

    /* ━━━━ RIGHT PANEL → SINGLE CARD IN-PLACE DECK (ZERO HORIZONTAL SCROLL) ━━━━ */
    .showcase-right-panel {
        order: 2 !important;
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-swap-wrapper {
        position: relative !important;
        width: 100% !important;
        height: 220px !important;
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    .card-swap-wrapper::before,
    .card-swap-wrapper::after {
        display: none !important;
    }

    /* Single Card Deck Container */
    .card-swap-container {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        perspective: none !important;
        display: block !important;
        overflow: hidden !important; /* ZERO SCROLLING! */
        width: 100% !important;
        height: 220px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .card-swap-container::-webkit-scrollbar {
        display: none !important;
    }

    /* EACH CARD — Absolute stack in place, single card active */
    .card-swap-container .service-card {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: scale(0.96) !important;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex: none !important;
        border-radius: 18px !important;
        background: linear-gradient(145deg, rgba(8, 16, 35, 0.95), rgba(12, 20, 40, 0.85)) !important;
        border: 1px solid rgba(0, 200, 255, 0.18) !important;
        border-left: 3px solid rgba(0, 245, 255, 0.8) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 18px 16px !important;
        z-index: 1 !important;
    }

    /* Active Single Card */
    .card-swap-container .service-card.mobile-active-card {
        position: relative !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: scale(1) !important;
        z-index: 5 !important;
    }


    /* Hover / active glow pulse */
    .card-swap-container .service-card:active {
        border-color: rgba(0, 188, 242, 0.5) !important;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(0, 188, 242, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    /* ── Reset inner structure ── */
    .card-swap-container .service-card-inner {
        position: relative !important;
        transform: none !important;
        animation: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        height: 100% !important;
        justify-content: space-between !important;
    }

    /* ── Hide decorations ── */
    .card-swap-container .glass-reflection,
    .card-swap-container .service-card-border {
        display: none !important;
    }

    /* ━━━━ ICON — Premium circular glow ━━━━ */
    .card-swap-container .service-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        margin-bottom: 4px !important;
        background: rgba(0, 188, 242, 0.08) !important;
        border: 1px solid rgba(0, 188, 242, 0.2) !important;
        box-shadow: 0 0 16px rgba(0, 188, 242, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-swap-container .service-icon i,
    .card-swap-container .service-icon svg {
        width: 20px !important;
        height: 20px !important;
        color: var(--secondary) !important;
    }

    /* ━━━━ TITLE — Bold and prominent ━━━━ */
    .card-swap-container .service-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        color: #fff !important;
        letter-spacing: -0.01em !important;
    }

    /* ━━━━ DESCRIPTION — Readable 3-line clamp ━━━━ */
    .card-swap-container .service-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(255, 255, 255, 0.5) !important;
        margin-bottom: 8px !important;
    }

    /* ━━━━ INSPECT LINK — Glowing accent ━━━━ */
    .card-swap-container .service-body .tech-text {
        font-size: 10px !important;
        margin-top: auto !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        color: var(--secondary) !important;
        letter-spacing: 0.08em !important;
    }

    .card-swap-container .service-body .tech-text i,
    .card-swap-container .service-body .tech-text svg {
        width: 11px !important;
        height: 11px !important;
    }

    /* ━━━━ SCROLL FADE EDGES ━━━━ */
    .card-swap-wrapper {
        position: relative !important;
    }

    .card-swap-wrapper::before,
    .card-swap-wrapper::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 24px !important;
        z-index: 5 !important;
        pointer-events: none !important;
    }

    .card-swap-wrapper::before {
        left: 0 !important;
        background: linear-gradient(to right, rgba(5, 10, 20, 0.8), transparent) !important;
    }

    .card-swap-wrapper::after {
        right: 0 !important;
        background: linear-gradient(to left, rgba(5, 10, 20, 0.8), transparent) !important;
    }
}

/* ── Pulsing left-bar animation for mobile showcase cards ── */
@keyframes mobileCardPulse {
    0%, 100% { border-left-color: rgba(0, 188, 242, 0.6); }
    50% { border-left-color: rgba(0, 245, 255, 0.9); }
}

@media (max-width: 768px) {
    .card-swap-container .service-card:nth-child(odd) {
        animation: mobileCardPulse 4s ease-in-out infinite !important;
    }
    .card-swap-container .service-card:nth-child(even) {
        animation: mobileCardPulse 4s ease-in-out 2s infinite !important;
    }
}

/* ━━━━ Carousel Nav Bar ━━━━ */
/* Hidden on desktop/tablet */
.carousel-nav-bar {
    display: none;
}

@media (max-width: 768px) {
    .carousel-nav-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 18px !important;
        padding: 0 5% !important;
    }

    .carousel-nav-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(0, 188, 242, 0.35) !important;
        background: rgba(10, 15, 30, 0.7) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        color: var(--secondary) !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.4),
            0 0 12px rgba(0, 188, 242, 0.1) !important;
    }

    .carousel-nav-btn:active {
        transform: scale(0.9) !important;
        background: rgba(0, 188, 242, 0.2) !important;
        border-color: rgba(0, 188, 242, 0.7) !important;
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(0, 188, 242, 0.3) !important;
    }

    .carousel-nav-btn i,
    .carousel-nav-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .carousel-counter {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-family: var(--font-tech) !important;
        font-size: 13px !important;
        letter-spacing: 0.1em !important;
        color: rgba(255, 255, 255, 0.6) !important;
        min-width: 50px !important;
        justify-content: center !important;
    }

    .carousel-current {
        color: var(--secondary) !important;
        font-weight: 700 !important;
        font-size: 16px !important;
    }

    .carousel-divider {
        color: rgba(255, 255, 255, 0.25) !important;
        margin: 0 2px !important;
    }

    .carousel-total {
        color: rgba(255, 255, 255, 0.4) !important;
    }
}

/* ===================================================== */
/* COMPLETE MOBILE-FIRST REDESIGN (max-width: 768px)     */
/* ===================================================== */
@media (max-width: 768px) {
    /* ── GLOBAL MOBILE DESIGN SYSTEM ── */
    :root {
        --mobile-container: 94%;
    }

    /* Section Spacing Compression */
    section, 
    .services-section, 
    .solutions-showcase-section,
    .tech-galaxy-section,
    .industries-section,
    .trust-section,
    .process-section,
    .about-section,
    .our-identity-sec,
    .authority-section,
    .faq-section,
    .contact-section,
    .strategy-section {
        padding: 48px 4% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Typography Compression */
    h1 {
        font-size: 34px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em !important;
    }

    .section-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.01em !important;
    }

    .section-subtitle {
        font-size: 11px !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 8px !important;
    }

    .section-desc {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 24px !important;
    }

    h3, .card-title, .service-title, .industry-name {
        font-size: 18px !important;
    }

    p, .hero-desc, .service-desc, .industry-tagline {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    /* Buttons Compression */
    .cta-button {
        height: 44px !important;
        padding: 0 20px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
        box-shadow: 0 4px 12px rgba(0, 245, 255, 0.1) !important;
    }

    .cta-button:active {
        transform: scale(0.95) !important;
        box-shadow: 0 2px 6px rgba(0, 245, 255, 0.05) !important;
    }

    /* Cards Styling */
    .glass-panel, .glass-card, .service-card, .industry-card {
        border-radius: 18px !important;
        border: 1px solid rgba(0, 200, 255, 0.12) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 200, 255, 0.05) !important;
    }

    /* ── HEADER REDESIGN ── */
    header#navbar {
        height: 64px !important;
        background: rgba(4, 6, 10, 0.75) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: transform 0.3s ease-in-out !important;
        padding: 0 !important;
    }

    header#navbar.header-hidden {
        transform: translateY(-100%) !important;
    }

    header#navbar .nav-container {
        padding: 0 4% !important;
        height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        max-width: 100% !important;
    }

    header#navbar .nav-logo-img,
    header.scrolled .nav-logo-img {
        height: 38px !important;
    }

    header#navbar #nav-menu,
    header#navbar .header-actions {
        display: none !important;
    }

    header#navbar .sm-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* ── MOBILE MENU FULLSCREEN REDESIGN ── */
    .staggered-menu-wrapper {
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
    }

    .sm-prelayers {
        width: 100vw !important;
    }

    .staggered-menu-panel {
        width: 100vw !important;
        max-width: 100% !important;
        height: 100% !important;
        background: rgba(4, 6, 10, 0.85) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-left: none !important;
        padding: 5.5em 2em 2em 2em !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .mobile-menu-overlay {
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        background: rgba(2, 3, 6, 0.45) !important;
    }

    .sm-panel-inner {
        gap: 2rem !important;
    }

    .sm-panel-list {
        gap: 1.25rem !important;
    }

    .sm-panel-item {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
    }

    .sm-panel-number {
        font-size: 11px !important;
        color: var(--secondary) !important;
    }

    .sm-socials {
        margin-top: auto !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-top: 1.5rem !important;
    }

    /* ── HERO SECTION REDESIGN ── */
    .hero {
        padding-top: 96px !important;
        padding-bottom: 32px !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-badge {
        margin-bottom: 12px !important;
        font-size: 11px !important;
        padding: 6px 12px !important;
    }

    .hero-tagline {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }

    .hero-trust-points {
        justify-content: center !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }

    .hero-ctas {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .hero-ctas .cta-button {
        width: 100% !important;
    }

    .hero-3d-container {
        height: 240px !important;
        margin-top: 10px !important;
    }

    /* ── ABOUT SECTION REDESIGN ── */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .about-timeline-container {
        padding: 20px !important;
    }

    .company-timeline {
        padding-left: 15px !important;
    }

    .timeline-item {
        padding-left: 20px !important;
        padding-bottom: 20px !important;
    }

    .about-mission-vision {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .about-mv-box {
        padding: 16px !important;
    }

    .about-values-card {
        padding: 20px !important;
    }

    /* ── OUR IDENTITY SECTION REDESIGN ── */
    .our-identity-sec {
        padding: 48px 4% !important;
    }

    .our-identity-sec .grid-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-top: 24px !important;
    }

    .our-identity-sec .map-wrapper {
        padding: 15px !important;
    }

    .our-identity-sec .map-canvas-container {
        height: 220px !important;
    }

    .our-identity-sec .map-info-flow {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
        padding: 12px !important;
        text-align: center !important;
    }

    .our-identity-sec .map-info-node {
        text-align: center !important;
    }

    .our-identity-sec .map-info-node h4 {
        justify-content: center !important;
    }

    .our-identity-sec .map-info-connector {
        display: none !important;
    }

    .our-identity-sec .mid-connector {
        display: none !important;
    }

    .our-identity-sec .glass-card {
        padding: 20px !important;
    }

    .our-identity-sec .stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }

    .our-identity-sec .stat-box {
        padding: 16px !important;
    }

    .our-identity-sec .stat-num {
        font-size: 24px !important;
    }

    .our-identity-sec .timeline-cyber-outer {
        padding: 32px 0 !important;
    }

    .our-identity-sec .timeline-track-wrapper {
        padding: 16px 0 !important;
    }

    .our-identity-sec .mv-row {
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 24px !important;
    }

    .our-identity-sec .mv-card {
        padding: 20px !important;
    }

    .our-identity-sec .trust-badges-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }

    /* ── PROCESS SECTION REDESIGN ── */
    .process-timeline {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding-left: 20px !important;
        border-left: 2px solid rgba(0, 188, 242, 0.15) !important;
        position: relative !important;
        margin: 24px 0 0 10px !important;
    }

    /* Animated connector line running down the border */
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2px;
        width: 2px;
        height: 100%;
        background: linear-gradient(to bottom, var(--secondary), var(--accent), transparent);
        animation: timeline-line-flow 4s infinite linear;
    }

    @keyframes timeline-line-flow {
        0% { transform: scaleY(0); transform-origin: top; }
        50% { transform: scaleY(1); transform-origin: top; }
        50.1% { transform: scaleY(1); transform-origin: bottom; }
        100% { transform: scaleY(0); transform-origin: bottom; }
    }

    .process-step {
        width: 100% !important;
        padding: 16px !important;
        margin-bottom: 0 !important;
        border-radius: 14px !important;
        position: relative !important;
        background: rgba(10, 15, 25, 0.6) !important;
    }

    .process-icon-wrapper {
        position: absolute !important;
        left: -38px !important;
        top: 14px !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #04060a !important;
        border: 1px solid var(--secondary) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        margin-bottom: 0 !important;
    }

    .process-icon-wrapper i,
    .process-icon-wrapper svg {
        width: 14px !important;
        height: 14px !important;
    }

    .process-step .step-number {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .process-step h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    .process-step p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    /* Disable connector arrows on mobile since we use left vertical border */
    .process-step::after {
        display: none !important;
    }

    /* ── TECHNOLOGIES SECTION REDESIGN ── */
    .tech-left-panel,
    .tech-right-panel {
        display: none !important;
    }

    .tech-galaxy-layout {
        display: block !important;
    }

    .tech-center-panel {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Infinite Marquee Styles */
    .tech-marquee-wrapper {
        overflow: hidden !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }

    .tech-marquee-container {
        overflow: hidden !important;
        white-space: nowrap !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        position: relative !important;
    }

    .tech-marquee-track {
        display: inline-flex !important;
        gap: 12px !important;
        animation: techMarqueeLeft 30s linear infinite !important;
    }

    .track-reverse {
        animation: techMarqueeRight 30s linear infinite !important;
    }

    .tech-marquee-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        background: rgba(10, 15, 25, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        font-family: var(--font-tech) !important;
        font-size: 12px !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    @keyframes techMarqueeLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    @keyframes techMarqueeRight {
        0% { transform: translateX(-50%); }
        100% { transform: translateX(0); }
    }

    /* Bottom tech CTA card */
    .tech-cta-card {
        padding: 24px 16px !important;
        margin-top: 24px !important;
    }

    .tech-cta-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .tech-cta-desc {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }

    .tech-cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .tech-cta-buttons .cta-button {
        width: 100% !important;
    }

    /* ── TRUST SECTION COMPACT REDESIGN ── */
    .trust-section {
        padding: 30px 4% 20px !important;
    }

    /* Single-Row Ultra-Compressed Horizontal Scrollable Trust Pill Bar */
    .trust-badges {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        margin-top: 12px !important;
        padding: 4px 2px 8px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .trust-badges::-webkit-scrollbar {
        display: none !important;
    }

    .trust-badge {
        flex: 0 0 auto !important;
        height: 34px !important;
        padding: 0 14px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, rgba(0, 245, 255, 0.15), rgba(12, 87, 196, 0.25)) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(0, 245, 255, 0.4) !important;
        color: #00f5ff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        box-shadow: 0 0 14px rgba(0, 200, 255, 0.25) !important;
        letter-spacing: 0.02em !important;
    }

    .trust-badge i,
    .trust-badge svg {
        width: 14px !important;
        height: 14px !important;
        color: #00f5ff !important;
        filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.9)) !important;
    }

    .trust-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 18px !important;
    }

    .trust-card {
        padding: 16px 18px !important;
        border-radius: 16px !important;
    }

    /* ── FAQ SECTION REDESIGN ── */
    .faq-section {
        padding: 48px 4% !important;
    }

    .faq-container {
        gap: 12px !important;
    }

    .faq-item {
        border-radius: 14px !important;
    }

    .faq-trigger {
        padding: 16px !important;
    }

    .faq-trigger h4 {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .faq-panel {
        padding: 0 16px !important;
    }

    .faq-content {
        padding-bottom: 16px !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* ── LEAD MAGNET SECTION REDESIGN ── */
    .lead-magnet-section {
        flex-direction: column !important;
        padding: 24px 16px !important;
        margin: 24px auto !important;
        gap: 20px !important;
    }

    .lead-content h2 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .lead-content p {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }

    .lead-content ul {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    .lead-form-box {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* ── CONTACT SECTION REDESIGN ── */
    .contact-section {
        padding: 48px 4% !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .contact-info-panel {
        padding: 20px !important;
    }

    .contact-form-panel {
        padding: 20px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .form-group.full-width,
    .form-row .form-group {
        grid-column: span 1 !important;
    }

    .form-input {
        height: 44px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
    }

    textarea.form-input {
        height: 120px !important;
    }

    /* ── CTA / STRATEGY SECTION REDESIGN ── */
    .strategy-section {
        padding: 48px 4% !important;
    }

    .strategy-section h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

    .strategy-section p {
        font-size: 14px !important;
        margin-bottom: 24px !important;
    }

    .strategy-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        align-items: center !important;
    }

    .strategy-buttons .cta-button {
        width: 100% !important;
        max-width: 320px !important;
    }

    /* ── FOOTER REDESIGN ── */
    footer {
        padding: 40px 4% 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .footer-about {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-desc {
        text-align: center !important;
        font-size: 13px !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    /* ── FOOTER MOBILE ACCORDION ── */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .footer-about {
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .footer-desc {
        text-align: center !important;
        font-size: 13px !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    .footer-grid > div:not(.footer-about) {
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 8px !important;
    }

    .footer-grid > div:not(.footer-about) .footer-title {
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        padding: 8px 0 !important;
        color: #fff !important;
    }

    .footer-grid > div:not(.footer-about) .footer-title::after {
        content: '+' !important;
        font-size: 18px !important;
        color: var(--secondary) !important;
        font-family: monospace !important;
        transition: transform 0.3s ease !important;
    }

    .footer-grid > div:not(.footer-about).active .footer-title::after {
        content: '−' !important;
    }

    .footer-grid > div:not(.footer-about) .footer-links {
        display: none !important;
        margin-top: 8px !important;
        padding-left: 6px !important;
        align-items: flex-start !important;
    }

    .footer-grid > div:not(.footer-about).active .footer-links {
        display: flex !important;
        flex-direction: column !important;
    }

    .footer-links li {
        margin-bottom: 8px !important;
    }

    .footer-links a {
        font-size: 13px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        margin-top: 24px !important;
        padding-top: 16px !important;
    }

    /* ── COMPARISON TABLE MOBILE TOP-3 HIGHLIGHTS ── */
    .comparison-row:nth-child(n+4) {
        display: none !important;
    }

    .comparison-container.show-all .comparison-row:nth-child(n+4) {
        display: table-row !important;
    }

    .comp-expand-btn {
        display: inline-flex !important;
    }

    /* ── STICKY BOTTOM CTA BAR ── */
    .sticky-cta-bar {
        padding: 10px 16px !important;
        background: rgba(4, 6, 10, 0.88) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(0, 200, 255, 0.2) !important;
        z-index: 998 !important;
    }

    .sticky-cta-bar.active,
    .sticky-cta-bar.visible {
        bottom: 0 !important;
    }

    .sticky-cta-text h4 {
        font-size: 13px !important;
    }

    .sticky-cta-text p {
        font-size: 11px !important;
    }
}

