/* ============================================================
   VM MICRO GLOBAL CORPORATE DESIGN SYSTEM — V8 Edition
   Core stylesheet for the premium rebuilt website.
   ============================================================ */

/* --- 1. Imports --- */
/* System fonts used for instant loading performance */

/* --- 2. CSS Design Tokens --- */
:root {
    /* Brand Color Palette */
    --primary: #0554f5;
    --primary-hover: #0443c4;
    --primary-light: #eef2ff;
    --primary-glow: rgba(5, 84, 245, 0.15);
    
    /* Neutrals - Slate Family */
    --neutral-900: #0f172a; /* Slate 900 */
    --neutral-800: #1e293b; /* Slate 800 */
    --neutral-700: #334155; /* Slate 700 */
    --neutral-500: #64748b; /* Slate 500 */
    --neutral-400: #94a3b8; /* Slate 400 */
    --neutral-200: #e2e8f0; /* Slate 200 */
    --neutral-100: #f1f5f9; /* Slate 100 */
    --neutral-50: #f8fafc;  /* Slate 50 */
    
    /* Base Color Mapping */
    --bg-page: #ffffff;
    --bg-section-alt: var(--neutral-50);
    --bg-card: #ffffff;
    --border-color: var(--neutral-200);
    
    /* Text Color Mapping */
    --text-title: var(--neutral-900);
    --text-body: var(--neutral-700);
    --text-muted: var(--neutral-500);
    
    /* Typography */
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    --container-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 40px -15px rgba(5, 84, 245, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 3. Base Reset & Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-50);
}
::-webkit-scrollbar-thumb {
    background: var(--neutral-200);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-400);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-title);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

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

/* --- 4. Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding-top: var(--section-padding-mobile);
        padding-bottom: var(--section-padding-mobile);
    }
}

.section--alt {
    background-color: var(--bg-section-alt);
}

.section--dark {
    background-color: var(--neutral-900);
    color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #ffffff;
}

.section--dark p {
    color: var(--neutral-400);
}

.grid {
    display: grid;
    gap: 32px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

@media (max-width: 768px) {
    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Spacing and Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header.text-left {
    margin-left: 0;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(5, 84, 245, 0.1);
}

.section--dark .badge {
    background-color: rgba(5, 84, 245, 0.2);
    color: #ffffff;
    border-color: rgba(5, 84, 245, 0.2);
}

/* --- 5. Header Component --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--neutral-200);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition-base);
}

.site-header--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

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

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.logo img:hover {
    transform: scale(1.02);
}

/* Navigation Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin-left: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.nav-link i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link i {
    transform: translateY(2px);
}

/* Dropdown styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    width: 280px;
    padding: 12px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1010;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-top: 1px solid var(--neutral-200);
    border-left: 1px solid var(--neutral-200);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    margin-bottom: 4px;
}

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

.dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--neutral-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--neutral-50);
    color: var(--primary);
    padding-left: 18px;
}

/* Mobile Toggle menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.menu-toggle-box {
    width: 24px;
    height: 20px;
    position: relative;
}

.menu-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--neutral-900);
    position: absolute;
    border-radius: 4px;
    transition: transform var(--transition-base), top var(--transition-base), bottom var(--transition-base), opacity var(--transition-base);
}

.menu-toggle-line:nth-child(1) { top: 0; }
.menu-toggle-line:nth-child(2) { top: 9px; }
.menu-toggle-line:nth-child(3) { bottom: 0; }

/* Mobile nav active state */
.menu-open .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.menu-open .menu-toggle-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 40px 32px;
        transition: right var(--transition-base);
        z-index: 1005;
        overflow-y: auto;
    }
    
    .menu-open .nav-menu {
        right: 0;
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 8px 12px !important;
        background-color: var(--neutral-100) !important;
        border-radius: var(--radius-md) !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .dropdown-menu::before {
        display: none !important;
    }
    
    .nav-item--open .dropdown-menu {
        display: block !important;
    }

    .dropdown-item {
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .dropdown-link {
        font-size: 1rem !important;
        color: var(--neutral-900) !important;
        font-weight: 600 !important;
        padding: 12px 16px !important;
        line-height: 1.5 !important;
        border-left: 3px solid var(--neutral-300) !important;
        border-radius: 0 !important;
        display: block !important;
        transition: all var(--transition-fast) !important;
    }

    .dropdown-link:hover,
    .dropdown-link:active,
    .dropdown-link:focus {
        background-color: rgba(5, 84, 245, 0.05) !important;
        color: var(--primary) !important;
        border-left-color: var(--primary) !important;
        padding-left: 16px !important;
    }

    .nav-link i {
        transition: transform var(--transition-base) !important;
    }

    .nav-item--open .nav-link i {
        transform: rotate(180deg) !important;
    }
}

/* --- 6. Footer Component --- */
.site-footer {
    background-color: var(--neutral-900);
    color: var(--neutral-400);
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid var(--neutral-800);
}

.footer-top {
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--neutral-200);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--neutral-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--neutral-800);
    color: #ffffff;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--neutral-200);
    font-size: 0.875rem;
    margin: 0;
}

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

.footer-legal a {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

.footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal {
        justify-content: center;
    }
}

/* --- 7. Buttons Component --- */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(5, 84, 245, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 84, 245, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--neutral-900);
    border-color: var(--neutral-400);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
    background-color: var(--neutral-50);
    border-color: var(--neutral-600);
    color: var(--neutral-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 84, 245, 0.2);
}

.btn-white-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-white-outline:hover {
    background-color: #ffffff;
    color: var(--neutral-900);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-link i {
    transition: transform var(--transition-fast);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* --- 8. Cards & Structural Elements --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(5, 84, 245, 0.2);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 1.25rem;
    border: 1px solid rgba(5, 84, 245, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* --- 9. Section Layout Templates --- */

/* Hero Template */
.hero-layout {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(100% 100% at 50% 0%, rgba(5, 84, 245, 0.05) 0%, rgba(255, 255, 255, 0) 100%), #ffffff;
    border-bottom: 1px solid var(--neutral-100);
}

.hero-layout__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0) 80%);
    padding: 32px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-layout__title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-layout__lead {
    font-size: 1.25rem;
    color: var(--neutral-900);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-layout__support {
    font-size: 1rem;
    color: var(--neutral-800);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-layout .btn-group {
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-layout {
        padding-top: 120px;
        padding-bottom: 70px;
    }
    .hero-layout__title {
        font-size: 2.5rem;
    }
    .hero-layout__lead {
        font-size: 1.1rem;
    }
}

/* Page Intro Header Banner */
.page-intro {
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
}

.page-intro__title {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.page-intro__lead {
    font-size: 1.15rem;
    color: var(--neutral-800);
    font-weight: 500;
    max-width: 800px;
    margin-bottom: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* --- 10. Page-Specific Sub-components --- */

/* Proof Strip */
.proof-strip {
    background-color: var(--neutral-50);
    padding: 24px 0;
    border-bottom: 1px solid var(--neutral-200);
}

.proof-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.proof-strip__title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-500);
}

.proof-strip__items {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.proof-strip__item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.proof-strip__item i {
    color: var(--primary);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .proof-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .proof-strip__items {
        gap: 16px;
    }
}

/* Feature Rows (Alternating Layout) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-row__content {
    flex: 1;
}

.feature-row__visual {
    flex: 1;
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
}

/* Timeline / Framework Component */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--neutral-200);
}

.timeline-step {
    position: relative;
    padding-left: 54px;
    margin-bottom: 40px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 2px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(5, 84, 245, 0.25);
    border: 3px solid #ffffff;
}

.timeline-content {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 24px;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Horizontal Timeline for Desktop / Grid-styled */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--neutral-200);
    z-index: 1;
}

.timeline-node {
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-node__badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.timeline-node:hover .timeline-node__badge {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

.timeline-node__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-title);
}

.timeline-node__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .timeline-grid::before {
        display: none;
    }
    .timeline-node {
        text-align: left;
        display: flex;
        gap: 20px;
    }
    .timeline-node__badge {
        flex-shrink: 0;
        margin-bottom: 0;
    }
}

/* Stat Grid (Counter Highlights) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

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

/* Industry List Selector styles */
.selector-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}

.selector-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selector-btn {
    padding: 16px 24px;
    text-align: left;
    background: none;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.selector-btn:hover {
    background-color: var(--neutral-50);
}

.selector-btn.active {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(5, 84, 245, 0.2);
}

.selector-pane {
    display: none;
}

.selector-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

@media (max-width: 768px) {
    .selector-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Micro-Animations & Fade-In Reveal styles */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.role-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: 4px;
    margin-bottom: 12px;
}

.grid-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip-item {
    font-size: 0.85rem;
    padding: 6px 14px;
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 100px;
    color: var(--neutral-700);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.chip-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Contact box layout */
.contact-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* Simple 404 container */
.error-page-container {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.05em;
}

/* Utility to override color rules strictly */
.color-primary { color: var(--primary) !important; }
.color-white { color: #ffffff !important; }
.bg-dark { background-color: var(--neutral-900) !important; }
.bg-white { background-color: #ffffff !important; }

/* --- Success Story Video Cards Styles --- */
.card.card--has-video {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.card--has-video .card-body {
    padding: 24px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--neutral-900);
    overflow: hidden;
    cursor: pointer;
}

.card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.card-video:hover video {
    transform: scale(1.03);
}

/* Video Play Button Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(15, 23, 42, 0.25);
    transition: background-color var(--transition-base), opacity var(--transition-base);
    z-index: 2;
}

.video-play-btn {
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(5, 84, 245, 0.4);
    transition: all var(--transition-base);
    cursor: pointer;
    padding: 0;
    pointer-events: none; /* Let clicks pass through to container */
}

.video-play-btn i {
    transform: translateX(2px); /* Correct play icon centering */
}

.card-video:hover .video-play-btn {
    transform: scale(1.1);
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(5, 84, 245, 0.6);
}

/* Video Duration Badge */
.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 3;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

/* Playing State transitions */
.card-video.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.card-video.playing .video-duration {
    opacity: 0;
    pointer-events: none;
}

/* --- Page-Specific Hero Backgrounds with Light Readable Overlay --- */
.hero-bg-home {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-capabilities {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-delivery {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-success {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-vision {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1506784983877-45594efa4cbe?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-what-we-do {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-industry {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}

.hero-bg-function {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 246, 255, 0.80) 40%, rgba(219, 234, 254, 0.38) 100%), 
                url('https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover !important;
}


