/* Global Styles */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap'); */

:root {
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-surface: #FFFFFF;

    /* Tech Blue Palette */
    --primary: #0F172A;
    /* Slate 900 */
    --secondary: #334155;
    /* Slate 700 */
    --accent: #3B82F6;
    /* Blue 500 (Brighter for dark mode) */
    --accent-hover: #2563EB;
    /* Blue 600 */
    --accent-glow: #60A5FA;
    /* Blue 400 */
    --accent-light: #EFF6FF;
    /* Blue 50 */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-glow: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 70%);

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Shadows - Neumorphic / Soft UI */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-float: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    --shadow-neon: 0 0 10px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.3);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    perspective: 1200px;
    overflow: hidden;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#intro-video.closing {
    transform-origin: 50% 100%;
    animation: pageFlipExit 700ms ease-in forwards;
    will-change: transform, opacity, filter;
}

@keyframes pageFlipExit {
    0% {
        transform: perspective(1200px) rotateX(0deg) translateY(0);
        opacity: 1;
        filter: none;
    }
    50% {
        transform: perspective(1200px) rotateX(45deg) translateY(-2%);
        opacity: 0.6;
        filter: blur(2px) saturate(0.95);
    }
    100% {
        transform: perspective(1200px) rotateX(85deg) translateY(-6%);
        opacity: 0;
        filter: blur(6px) saturate(0.9);
    }
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Slight fade for brand vibe */
}


/* Fallback Content */
.splash-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation: pulse-logo 2s infinite;
}

.splash-fallback h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFF, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.splash-fallback p {
    color: #64748B;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#skip-intro {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#skip-intro:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

@keyframes pulse-logo {

    0%,
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Body base — dark background for hero pages */
body {
    background-color: #0F172A;
}

body.loaded {
    overflow: auto;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Tech font fallback */
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    /* overflow: hidden; Removed to fix internal page scrolling if content overflows */
}

/* Background Patterns */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 4rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: white;
    border: 1px solid #E2E8F0;
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Navigation - Transparent to Solid */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    overflow: visible;
    /* Allow mobile nav menu to overflow */
    background: #fff;
    /* NO backdrop-filter here — it creates a containing block and traps fixed children */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
    height: 90px;
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    /* Solid enough — no backdrop-filter to avoid fixed child containment */
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    height: 70px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    /* White initially */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    /* Tech glow */
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: #0F172A;
    /* Dark Slate for contrast */
    text-shadow: none;
}

.logo i {
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent));
    /* Stronger glow */
    transition: filter 0.3s ease;
}

header.scrolled .logo i {
    filter: none;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

header.scrolled .nav-link {
    color: #334155;
    /* Slate 700 - WCAG AA Compliant on white */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
    color: var(--accent);
    /* Blue on hover in light mode */
    text-shadow: none;
}

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

/* Mobile Toggle Color Change */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

header.scrolled .mobile-toggle {
    color: #0F172A;
}

/* Header Actions (Desktop) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}

.header-phone {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

header.scrolled .header-phone {
    color: #334155;
}

.header-phone:hover {
    color: var(--accent);
}

/* Inner Page Header Styles (Non-Fixed / Static Headers) */
header:not(.fixed) {
    background: white;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    z-index: 50;
}

header:not(.fixed) .logo {
    color: var(--primary);
    text-shadow: none;
}

header:not(.fixed) .logo i {
    filter: none;
}

header:not(.fixed) .nav-link {
    color: var(--secondary);
}

header:not(.fixed) .nav-link:hover,
header:not(.fixed) .nav-link.active {
    color: var(--accent);
    text-shadow: none;
}

header:not(.fixed) .header-phone {
    color: var(--secondary);
}

header:not(.fixed) .header-phone:hover {
    color: var(--accent);
}

header:not(.fixed) .mobile-toggle {
    color: var(--primary);
}

/* Mobile Actions (Hidden by default) */
.mobile-menu-actions {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    gap: 1rem;
}

.nav-phone {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-phone i {
    color: var(--accent);
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
        /* Hide desktop actions on mobile */
    }

    .mobile-menu-actions {
        display: flex;
        /* Show mobile actions inside drawer */
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.modal-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-desc {
    color: #94A3B8;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #CBD5E1;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.modal-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Staggered delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ============================================
   HERO SECTION — Full Redesign
   ============================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #0d1f3c 0%, #070d1a 60%, #020408 100%);
}

/* Mesh grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 75%);
    z-index: 1;
    pointer-events: none;
}

/* Ambient glow orbs */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(120px);
}

.orb-top {
    width: 70vw;
    height: 60vw;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    animation: orb-breathe 8s ease-in-out infinite alternate;
}

.orb-bottom {
    width: 50vw;
    height: 40vw;
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
    animation: orb-breathe 12s ease-in-out infinite alternate-reverse;
}

@keyframes orb-breathe {
    0% {
        opacity: 0.6;
        transform: translateX(-50%) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

/* Neural canvas */
#neural-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.45;
    pointer-events: none;
}

/* Vignette edge overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(2, 4, 12, 0.75) 100%);
    z-index: 4;
    pointer-events: none;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: white;
    max-width: 860px;
    padding-bottom: 2rem;
}

/* Eyebrow pill */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 0.45rem 1.1rem;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #93C5FD;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3B82F6;
    box-shadow: 0 0 8px #3B82F6;
    animation: dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px #3B82F6;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 14px #3B82F6;
    }
}

/* Main headline */
.hero-headline {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    color: #FFFFFF;
    margin-bottom: 1.8rem;
}

/* Accent gradient on keyword */
.hero-headline-accent {
    background: linear-gradient(135deg, #60A5FA 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Sub copy */
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.75;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.br-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .br-desktop {
        display: none;
    }
}

/* CTA button group */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Primary CTA — gradient pill with shimmer */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: #FFFFFF;
    padding: 0.9rem 2.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4),
        0 8px 32px rgba(37, 99, 235, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.6),
        0 12px 40px rgba(37, 99, 235, 0.5);
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary svg {
    transition: transform 0.25s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(3px);
}

/* Outline secondary CTA */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.9rem 2.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Trust signals row */
.hero-trust-signals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.trust-item i {
    color: rgba(96, 165, 250, 0.7);
    font-size: 0.9rem;
}

.trust-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
}



.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-tech {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-tech:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #60A5FA;
    color: #60A5FA;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

/* Transition to next section */
.section-transition {
    position: relative;
    z-index: 5;
    margin-top: 0;
    /* Reset */
    padding-top: 8rem;
    /* Space for the hero overlap */
}

/* Tech Decoration Lines - Adjusted for Light Mode */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
}

.line {
    background: rgba(148, 163, 184, 0.2);
    /* Lighter grey lines */
}

.line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
}

.line-2 {
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 1px;
}

/* Slider Controls Removed */
.slider-controls {
    display: none;
}

/* Refined Glass Card (Brand Story) */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 2rem;
    /* Softer corners */
    padding: 5rem;
    position: relative;
    z-index: 2;
    color: var(--text-main);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow:
        0 20px 60px -15px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
}

/* Tech Accent Line on Card */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.glass-card h2 {
    color: var(--primary);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.glass-card p {
    font-size: 1.15rem;
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.glass-quote {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
    margin-top: 2rem;
    display: block;
    font-family: 'Plus Jakarta Sans', serif;
}

.glass-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* Reduced from 5rem for better fitting of cards */
    align-items: start;
    /* Changed from center to align cards */
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 768px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Tech Cards - Clean & Modern */

.tech-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(59, 130, 246, 0.1);
    border-color: var(--accent-light);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover .icon-box {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.1);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

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

/* Service Capability Strip (Top Layer of Ecosystem) */
.service-strip-item {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.service-strip-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.strip-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.strip-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.strip-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Ecosystem Connector */
.ecosystem-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 3rem;
    gap: 1rem;
    opacity: 0.6;
}

.connector-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    width: 100px;
}

.connector-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    background: white;
    padding: 0.25rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Product Matrix (Refactored) */
.product-matrix {
    display: flex;
    gap: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    min-height: 500px;
}

.matrix-nav {
    width: 35%;
    background: #F8FAFC;
    border-right: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.matrix-item {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.matrix-item:last-child {
    border-bottom: none;
}

.matrix-item:hover {
    background: white;
}

.matrix-item.active {
    background: white;
}

.matrix-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
}

.matrix-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.matrix-item.active .matrix-icon {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.matrix-info {
    flex: 1;
}

.matrix-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.matrix-item.active .matrix-info h3 {
    color: var(--accent);
}

.matrix-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.matrix-arrow {
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.matrix-item.active .matrix-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.matrix-display {
    width: 65%;
    padding: 4rem;
    position: relative;
    display: flex;
    align-items: center;
}

.matrix-content {
    position: absolute;
    inset: 0;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.matrix-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1;
}

.matrix-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse-glow 4s infinite alternate;
}

.glow-purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
}

.glow-cyan {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
}

.glow-orange {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%);
}

.matrix-big-icon {
    font-size: 20rem;
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

.matrix-text {
    position: relative;
    z-index: 1;
    max-width: 80%;
}

.matrix-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.matrix-text p {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@media (max-width: 992px) {
    .product-matrix {
        flex-direction: column;
    }

    .matrix-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .matrix-item {
        min-width: 250px;
        padding: 1.5rem;
        border-bottom: none;
        border-right: 1px solid #E2E8F0;
    }

    .matrix-item.active::before {
        width: 100%;
        height: 4px;
        top: auto;
        bottom: 0;
    }

    .matrix-display {
        width: 100%;
        padding: 2rem;
        min-height: 400px;
    }

    .matrix-content {
        padding: 2rem;
    }

    .matrix-text {
        max-width: 100%;
    }

    .matrix-visual {
        right: 0;
        opacity: 0.05;
    }
}

/* Stats */
.stat-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* CTA Section - Advanced Glassmorphism */
.cta-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--radius-lg);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 150%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% -50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    z-index: 0;
}

/* Animated Grid Background */
.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    animation: pan-grid 20s linear infinite;
}

@keyframes pan-grid {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(40px);
    }
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.cta-section p {
    color: #94A3B8;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Floating Elements Decoration */
.cta-float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.float-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.float-3 {
    top: 15%;
    right: 20%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.btn-glow {
    background: white;
    color: var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-glow:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid #F1F5F9;
    color: var(--secondary);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #F1F5F9;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Internal Page Styles */
.page-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Page Specifics */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 2px solid #E2E8F0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px #EFF6FF;
}

.timeline-item h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Solution & Product Details */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 8rem;
    align-items: center;
}

.solution-detail:nth-child(even) {
    direction: rtl;
}

.solution-detail:nth-child(even) .solution-text {
    direction: ltr;
}

.solution-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.solution-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    transition: transform 0.5s ease;
}

.solution-detail:hover .solution-image img {
    transform: scale(1.02);
}

/* --- Brand Marketing Solutions Section (Bento Grid) --- */
.solutions-marketing-section {
    background: #F5F5F7;
    /* Apple iPhone light gray background */
    color: #1D1D1F;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.marketing-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, transparent, #F5F5F7);
    background-size: 40px 40px, 100% 100%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.marketing-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    top: -200px;
    left: -200px;
}

.orb-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.marketing-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.marketing-tag {
    display: inline-block;
    color: #1D1D1F;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    font-size: 0.85rem;
}

.marketing-title {
    font-size: 4rem;
    font-weight: 800;
    color: #1D1D1F;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #1D1D1F 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-desc {
    font-size: 1.1rem;
    color: #86868B;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.solutions-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 12-column grid */
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Card Sizes */
.bento-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #FFFFFF;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.12);
    height: 100%;
    background: #1E293B;
    /* Fallback */
}

.bento-card.large {
    grid-column: span 4;
    height: 520px;
}

.bento-card.medium {
    grid-column: span 3;
    height: 380px;
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
    filter: grayscale(40%) brightness(0.85);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0.15) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.bento-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-glow);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.bento-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.bento-card.medium h3 {
    font-size: 1.5rem;
}

.bento-card p {
    color: #424245;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
    line-height: 1.5;
    max-width: 90%;
}

.bento-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.6;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
    z-index: 3;
}

/* Hover Effects */
.bento-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
}

.bento-card:hover .bento-bg {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.97) 0%, rgba(30, 58, 138, 0.7) 100%);
}

/* Overlay turns dark on hover — switch text to white */
.bento-card:hover h3 {
    color: #FFFFFF;
}

.bento-card:hover p {
    color: rgba(203, 213, 225, 0.9);
}

.bento-card:hover .bento-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.bento-card:hover .bento-arrow {
    opacity: 1;
    background: white;
    color: var(--primary);
    transform: rotate(0) scale(1.1);
}

.marketing-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .marketing-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .bento-card.large {
        grid-column: span 6;
        height: 420px;
    }

    .bento-card.medium {
        grid-column: span 6;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .marketing-title {
        font-size: 2.5rem;
    }

    .bento-card.large,
    .bento-card.medium {
        grid-column: span 12;
        height: 380px;
    }

    .solutions-bento-grid {
        gap: 1rem;
    }
}


/* Metrics Grid Layout - 8pt Grid */
.metrics-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    justify-content: flex-start;
    /* Align left */
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* 8pt grid */
}

/* Glassmorphism Button - Tech Style */
.btn-glass-tech {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* 8px spacing */
    min-height: 44px;
    /* Touch target */
    min-width: 44px;
    padding: 12px 24px;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    /* 10-20% opacity base */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Border & Glow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        /* Inner highlight */
        0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 99px;
    /* Pill shape */

    /* Typography */
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;

    /* Transition */
    transition: all 200ms ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Brand Gradient Text/Icon on Hover */
.btn-glass-tech i {
    transition: transform 200ms ease-out;
}

/* Hover State */
.btn-glass-tech:hover {
    background: rgba(255, 255, 255, 0.18);
    /* +8% brightness approx */
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 15px rgba(59, 130, 246, 0.3);
    /* Tech glow */
    transform: translateY(-1px);
}

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

/* Active State */
.btn-glass-tech:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

/* Disabled State */
.btn-glass-tech.disabled,
.btn-glass-tech:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Tech Accent Line Animation */
.btn-glass-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-glass-tech:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .metrics-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }
}

.case-card-stack {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.glass-card-dark {
    background: rgba(30, 41, 59, 0.6);
    /* Slate 800 with opacity */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card-dark.active {
    z-index: 3;
    transform: translateY(0) scale(1);
    background: rgba(30, 41, 59, 0.8);
}

.glass-card-dark.stack-1 {
    z-index: 2;
    transform: translateY(20px) scale(0.95);
    opacity: 0.6;
}

.glass-card-dark.stack-2 {
    z-index: 1;
    transform: translateY(40px) scale(0.9);
    opacity: 0.3;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.company-logo {
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-logo i {
    color: var(--accent);
}

.case-year {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    color: #94A3B8;
}

.case-tags {
    display: flex;
    gap: 0.75rem;
}

.case-tags span {
    background: rgba(37, 99, 235, 0.2);
    color: var(--accent-glow);
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Contact layout: info left, form right */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Add pattern to contact info panel */
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.contact-info h3 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.text-light-alpha {
    color: rgba(255, 255, 255, 0.7);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.info-item i {
    color: #60A5FA;
    /* Lighter blue for dark background */
    font-size: 1.5rem;
    margin-top: 0.25rem;
    width: 24px;
    text-align: center;
}

.info-item h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-item p {
    color: #CBD5E1;
    /* Slate 300 */
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.contact-form-box {
    padding: 4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.map-container {
    height: 450px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #E2E8F0;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: all 0.2s;
    background: #F8FAFC;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Feature Card (Cases) */
.feature-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 1rem;
}

.feature-link:hover {
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-showcase {
        order: -1;
    }

    /* Image first on mobile */
    .about-content,
    .solution-detail,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .solution-detail:nth-child(even) {
        direction: ltr;
    }

    .contact-info {
        padding: 3rem;
    }

    .contact-form-box {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        /* Match header initial height */
        left: 0;
        right: 0;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid #F1F5F9;
        z-index: 200;
        overflow-y: auto;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
    }

    .nav-menu .nav-link {
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid #F1F5F9;
        color: #1e293b;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-detail {
        margin-bottom: 4rem;
        gap: 2rem;
    }

    /* Mobile drawer: ensure dark text on white background */
    .nav-menu .nav-link {
        color: #2563EB;
    }

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

/* About Page Styles */
.page-about .about-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #F1F5F9;
    height: 100%;
}

.page-about .stat-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Modern Timeline */
.page-about .timeline-container {
    position: relative;
    padding: 2rem 0;
}

.page-about .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--accent) 15%, var(--accent) 85%, transparent 100%);
    transform: translateX(-50%);
}

.page-about .timeline-row {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
}

.page-about .timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #F1F5F9;
    position: relative;
    transition: all 0.3s ease;
}

.page-about .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.page-about .timeline-row:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.page-about .timeline-row:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.page-about .timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px #EFF6FF;
}

.page-about .timeline-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
}

.page-about .timeline-row:nth-child(odd) .timeline-date {
    right: -120%;
}

.page-about .timeline-row:nth-child(even) .timeline-date {
    left: -120%;
}

@media (max-width: 768px) {
    .page-about .timeline-line {
        left: 20px;
    }

    .page-about .timeline-row {
        justify-content: flex-start;
    }

    .page-about .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }

    .page-about .timeline-dot {
        left: 20px;
    }

    .page-about .timeline-date {
        position: static;
        opacity: 1;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        display: block;
    }
}

/* Cases Page Styles */
.page-cases .case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-cases .case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.page-cases .case-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.page-cases .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-cases .case-card:hover .case-image img {
    transform: scale(1.05);
}

.page-cases .case-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-cases .case-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.page-cases .case-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-cases .case-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #F1F5F9;
}

.page-cases .metric-item div:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-cases .metric-item div:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* News Page Styles */
/* Shared Filter Styles */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-full);
    background: white;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-news .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.page-news .news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news .news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.page-news .news-date {
    padding: 1.5rem 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.page-news .news-date i {
    color: var(--accent);
}

.page-news .news-content {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-news .news-tag {
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
    font-weight: 700;
}

.page-news .news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary);
    transition: color 0.2s;
}

.page-news .news-card:hover .news-title {
    color: var(--accent);
}

.page-news .news-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.page-news .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.page-news .read-more:hover {
    color: var(--accent);
    gap: 0.75rem;
}

/* Featured News */
.page-news .featured-news {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: white;
    margin-bottom: 4rem;
}

.page-news .featured-image {
    position: relative;
    min-height: 300px;
}

.page-news .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-news .featured-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-news .featured-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

@media (max-width: 992px) {
    .page-news .featured-news {
        grid-template-columns: 1fr;
    }

    .page-news .featured-image {
        height: 250px;
    }

    .page-news .featured-content {
        padding: 2rem;
    }
}

/* Products Page Styles */
/* Shared Sticky Sub-Navigation */
.page-products .product-nav,
.page-solutions .solution-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #F1F5F9;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.page-products .product-nav ul,
.page-solutions .solution-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-products .product-nav a,
.page-solutions .solution-nav a {
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.page-products .product-nav a:hover,
.page-solutions .solution-nav a:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.page-products .product-nav a.active,
.page-solutions .solution-nav a.active {
    color: white;
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border-color: var(--accent);
}

.page-products .product-section {
    padding: 8rem 0;
    scroll-margin-top: 130px;
    /* Adjusted for sticky nav + header */
    border-bottom: 1px solid #F8FAFC;
    position: relative;
    overflow: hidden;
}

.page-products .product-section:nth-child(even) {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.page-products .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-products .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.page-products .feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.page-products .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.1);
    border-color: var(--accent);
    background: white;
}

.page-products .feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--accent);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.page-products .feature-card:hover .feature-icon-wrapper {
    background: var(--accent);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.page-products .feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 700;
}

.page-products .feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tech Decoration Elements */
.page-products .tech-bg-element {
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.page-products .bg-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-products .bg-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 20px 20px;
    right: 5%;
    top: 10%;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-products .product-section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .page-products .product-nav {
        padding: 0.75rem 0;
        top: 70px;
    }

    .page-products .product-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem;
        padding-bottom: 0.5rem;
        /* Scrollbar space */
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }

    .page-products .product-nav a {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Hide scrollbar */
    .page-products .product-nav ul::-webkit-scrollbar {
        height: 4px;
    }

    .page-products .product-nav ul::-webkit-scrollbar-thumb {
        background: #E2E8F0;
        border-radius: 4px;
    }
}

/* Solutions Page Styles */

.page-solutions .solution-section {
    padding: 6rem 0;
    scroll-margin-top: 140px;
    border-bottom: 1px solid #F8FAFC;
}

.page-solutions .solution-section:last-child {
    border-bottom: none;
}

.page-solutions .solution-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid #E2E8F0;
}

.page-solutions .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.page-solutions .feature-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.page-solutions .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.page-solutions .feature-box i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page-solutions .feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.page-solutions .feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}



/* Shared Sticky Sub-Navigation Responsive */
@media (max-width: 768px) {

    .page-products .product-nav,
    .page-solutions .solution-nav {
        top: 70px;
        /* Header height on mobile */
        padding: 0.75rem 0;
    }

    .page-products .product-nav ul,
    .page-solutions .solution-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .page-products .product-nav a,
    .page-solutions .solution-nav a {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Hide scrollbar */
    .page-products .product-nav ul::-webkit-scrollbar,
    .page-solutions .solution-nav ul::-webkit-scrollbar {
        height: 4px;
    }

    .page-products .product-nav ul::-webkit-scrollbar-thumb,
    .page-solutions .solution-nav ul::-webkit-scrollbar-thumb {
        background: #E2E8F0;
        border-radius: 4px;
    }
}

/* Enhanced Cases Page Styles */

/* Brand Power Box */
.brand-power-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin-top: -4rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.brand-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F1F5F9;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.brand-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-mini {
    text-align: center;
}

.stat-mini strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-mini span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Featured Case */
.featured-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #E2E8F0;
    align-items: center;
}

.featured-content {
    padding: 4rem;
}

.featured-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.featured-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-metrics {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.f-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.f-metric i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.f-metric .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.f-metric .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-quote {
    background: #F8FAFC;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    margin-top: 2rem;
}

.featured-quote i {
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.featured-quote p {
    font-style: italic;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.featured-quote .author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

.featured-image {
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-case:hover .featured-image img {
    transform: scale(1.05);
}

.tech-stack-float {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
}

.tech-stack-float span {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Case Card Enhancements */
.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-year {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Adjustments for Cases */
@media (max-width: 992px) {
    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 300px;
        order: -1;
        /* Image top */
    }

    .featured-content {
        padding: 2rem;
    }

    .brand-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .brand-grid {
        justify-content: center;
    }
}

/* --- Cases Page Specific Styles (Enhanced for Brand & Marketing) --- */

/* Brand Power Box */
.brand-power-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: -6rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.brand-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F1F5F9;
}

.brand-item {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}

.brand-stats {
    display: flex;
    justify-content: space-around;
}

.stat-mini {
    text-align: center;
}

.stat-mini strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-mini span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Case */
.featured-case {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 2rem;
}

.featured-content {
    padding: 4rem;
}

.featured-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.f-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.f-metric i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.f-metric .num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.f-metric .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-quote {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-glow);
}

.featured-quote i {
    display: none;
    /* Hide icon for cleaner look */
}

.featured-quote p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.featured-quote .author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.featured-image {
    height: 100%;
    min-height: 500px;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-stack-float {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-stack-float span {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
}

/* Updated Case Card Styles */
.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-year {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    background: var(--bg-light);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Responsive Adjustments for Cases Page */
@media (max-width: 992px) {
    .brand-power-box {
        margin-top: 0;
    }

    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 300px;
        order: -1;
    }

    .brand-grid {
        justify-content: center;
    }
}

/* Trust Bar & Testimonials Removed to match HTML changes */

/* CTA Form Override */
.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Floating Controls & Contact Window --- */
.floating-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.float-btn:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border-color: var(--accent-light);
}

.float-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.floating-window {
    position: fixed;
    bottom: 6rem;
    /* Above controls */
    right: 2rem;
    width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.window-header {
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-header h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.window-close:hover {
    color: white;
}

.window-body {
    padding: 1.5rem;
}

.form-group-sm {
    margin-bottom: 1rem;
}

.form-group-sm input,
.form-group-sm textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-group-sm input:focus,
.form-group-sm textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit-sm {
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit-sm:hover {
    opacity: 0.9;
}

.window-footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.window-footer a {
    color: var(--accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.window-footer a:hover {
    color: white;
}