/* ============================================
   ADVANCE WEB SOFTWARE - THEME SYSTEM
   Premium Dark/Light Mode with CSS Variables
   ============================================ */

/* ---------- Light Theme (Default) ---------- */
:root,
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f7fb;
    --bg-tertiary: #e8edf5;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-hero: linear-gradient(135deg, #0a1628 0%, #1a2d50 40%, #0f3460 100%);
    --bg-hero-overlay: rgba(10, 22, 40, 0.85);
    --bg-dark-section: #0a1628;
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-navbar-scrolled: rgba(255, 255, 255, 0.98);
    --bg-footer: #0a1628;

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: #a0b4cc;

    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-secondary: #f97316;
    --accent-secondary-hover: #ea580c;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --accent-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    --accent-teal: #06b6d4;
    --accent-green: #10b981;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #1c2333;
    --bg-card: #161b22;
    --bg-card-hover: #1c2333;
    --bg-hero: linear-gradient(135deg, #0d1117 0%, #1a1f36 40%, #0f1d35 100%);
    --bg-hero-overlay: rgba(13, 17, 23, 0.9);
    --bg-dark-section: #0d1117;
    --bg-navbar: rgba(13, 17, 23, 0.95);
    --bg-navbar-scrolled: rgba(13, 17, 23, 0.98);
    --bg-footer: #0a0e14;

    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-on-dark: #e6edf3;
    --text-on-dark-muted: #8b949e;

    --accent-primary: #58a6ff;
    --accent-primary-hover: #79b8ff;
    --accent-secondary: #fb923c;
    --accent-secondary-hover: #f97316;
    --accent-gradient: linear-gradient(135deg, #58a6ff 0%, #a78bfa 100%);
    --accent-gradient-hover: linear-gradient(135deg, #79b8ff 0%, #c4b5fd 100%);
    --accent-teal: #22d3ee;
    --accent-green: #34d399;

    --border-color: #30363d;
    --border-light: #21262d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.4);

}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 40%, #0f3460 100%);
    padding: 2rem;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Logo with glow */
.loader-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: loaderLogoFadeIn 0.8s ease-out;
}

.loader-logo-img {
    width: 300px;
    max-width: 80vw;
    height: auto;
    position: relative;
    z-index: 1;
    filter: brightness(1.15);
}

.loader-logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: loaderGlow 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes loaderLogoFadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Tagline */
.loader-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    animation: loaderFadeIn 1s ease-out 0.3s both;
}

@keyframes loaderFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.loader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    animation: loaderFadeIn 1s ease-out 0.5s both;
}

.loader-progress {
    height: 100%;
    width: 40%;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 4px;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* Loading dots */
.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    animation: loaderFadeIn 1s ease-out 0.7s both;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: loaderDotBounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderDotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.2); opacity: 1; background: #7c3aed; }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-aws {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-aws.scrolled {
    background: var(--bg-navbar-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-aws .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

[data-theme="dark"] .navbar-aws .brand-logo {
    filter: brightness(1.15);
}

.navbar-aws .navbar-brand .brand-advance {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-aws .navbar-brand .brand-web {
    color: var(--text-primary);
}

.navbar-aws.scrolled .navbar-brand .brand-web {
    color: var(--text-primary);
}

.navbar-aws .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-aws.scrolled .nav-link {
    color: var(--text-secondary) !important;
}

.navbar-aws .nav-link:hover,
.navbar-aws .nav-link.active {
    color: var(--accent-primary) !important;
}

.navbar-aws.scrolled .nav-link:hover,
.navbar-aws.scrolled .nav-link.active {
    color: var(--accent-primary) !important;
}

.navbar-aws .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-aws .nav-link:hover::after,
.navbar-aws .nav-link.active::after {
    width: 60%;
}

.btn-get-quote {
    background: var(--accent-gradient) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-get-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4) !important;
}

.theme-toggle {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.navbar-aws.scrolled .theme-toggle {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(15deg);
}

/* Mobile Toggle */
.navbar-toggler-aws {
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 0.25rem;
}

.navbar-aws.scrolled .navbar-toggler-aws {
    color: var(--text-primary);
}

/* ============================================
   MEGA MENU — Premium Glass Morphism Design
   ============================================ */

/* --- Wrapper & Trigger --- */
.mega-menu-wrapper {
    position: relative;
}

.mega-menu-wrapper > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.mega-chevron {
    font-size: 0.55rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.7;
}

.mega-menu-wrapper:hover .mega-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* --- Dropdown Panel --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.3s;
    z-index: 1001;
    padding-top: 1rem;
}

/* Delay before hiding so user can move mouse to the menu */
.mega-menu-wrapper:hover .mega-menu,
.mega-menu-wrapper .mega-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0s;
}

/* Top arrow / triangle pointing at nav link */
.mega-menu::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-radius: 2px;
    z-index: 1;
}

/* --- Glass Morphism Inner Panel --- */
.mega-menu-inner {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 1.75rem 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    min-width: 760px;
    overflow: hidden;
}

/* Subtle gradient glow at the top */
.mega-menu-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.7;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* --- Compact variant (Company menu — 3 columns) --- */
.mega-menu-compact {
    grid-template-columns: repeat(3, 1fr);
    min-width: 560px;
    padding: 1.5rem;
}

/* --- Column Headings with gradient icon circle --- */
.mega-menu-col h6.mega-menu-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mega-menu-col h6.mega-menu-heading i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    flex-shrink: 0;
}

/* --- Link List --- */
.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-col ul li a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    border-left: 2.5px solid transparent;
    color: var(--text-secondary) !important;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mega-menu-col ul li a i {
    font-size: 0.82rem;
    transition: color 0.2s ease, transform 0.2s ease;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
}

/* Hover: indent + left accent + bg + color change */
.mega-menu-col ul li a:hover {
    background: var(--bg-secondary);
    border-left-color: var(--accent-primary);
    color: var(--accent-primary) !important;
    padding-left: 0.85rem;
}

.mega-menu-col ul li a:hover i {
    color: var(--accent-primary);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Bottom CTA Bar (Services mega menu) --- */
.mega-menu-cta {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 1.15rem;
    margin-top: 0.5rem;
}

.mega-menu-cta-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    border-left: 3px solid transparent;
    border-image: var(--accent-gradient) 1;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient shimmer on CTA bar */
.mega-menu-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
    pointer-events: none;
}

.mega-menu-cta-inner:hover {
    background: var(--bg-card);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

.mega-menu-cta-inner > i {
    font-size: 1.4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.mega-menu-cta-inner p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.mega-menu-cta-inner strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mega-menu-cta-inner .btn {
    margin-left: auto;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.4rem 1.1rem !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Dark Mode Mega Menu --- */
[data-theme="dark"] .mega-menu-inner {
    background: var(--bg-card);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mega-menu::before {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mega-menu-inner::before {
    opacity: 0.9;
}

[data-theme="dark"] .mega-menu-col h6.mega-menu-heading i {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .mega-menu-col ul li a:hover {
    background: rgba(88, 166, 255, 0.08);
}

[data-theme="dark"] .mega-menu-cta-inner {
    background: rgba(255, 255, 255, 0.03);
    border-image: linear-gradient(to bottom, #58a6ff, #a78bfa) 1;
}

[data-theme="dark"] .mega-menu-cta-inner::before {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.05), rgba(167, 139, 250, 0.05));
}

[data-theme="dark"] .mega-menu-cta-inner:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 16px rgba(88, 166, 255, 0.12);
}

/* --- Mobile Technologies Labels --- */
.mobile-mega-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    padding: 0.5rem 0.75rem 0.15rem;
    opacity: 0.7;
}

.mobile-mega-label:first-child {
    padding-top: 0.25rem;
}

/* --- Mobile Mega Menu Accordion --- */
.mobile-accordion-toggle {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-accordion-toggle .mega-chevron {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-mega-submenu {
    display: flex;
    flex-direction: column;
    padding-left: 1.15rem;
    border-left: 2.5px solid transparent;
    border-image: var(--accent-gradient) 1;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
    gap: 1px;
}

.mobile-mega-submenu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.mobile-mega-submenu .nav-link:hover {
    background: var(--bg-secondary);
    padding-left: 1rem !important;
    border-left-color: var(--accent-primary);
}

.mobile-mega-submenu .nav-link i {
    font-size: 0.82rem;
    width: 1rem;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-section {
    min-height: 100vh;
    background: var(--bg-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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: 60px 60px;
    pointer-events: none;
}

/* Slider */
.hero-slider {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    border: none;
    outline: none;
    box-shadow: none;
}

.hero-headline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-on-dark-muted);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-3px);
}

/* Slide Icon Visual */
.hero-slide-icon {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide-icon::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.15);
    animation: spin-slow 20s linear infinite;
}

.hero-slide-icon::after {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px dashed rgba(124, 58, 237, 0.1);
    animation: spin-slow 30s linear infinite reverse;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-slide-icon i {
    font-size: 6rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Agent Workflow Visual */
.hero-agent-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 320px;
}

.hero-agent-flow .haf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.7);
}

.hero-agent-flow .haf-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #58a6ff;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.hero-agent-flow .haf-icon.small {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1rem;
}

.hero-agent-flow .haf-node span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}

/* Lines */
.hero-agent-flow .haf-line {
    width: 2px;
    height: 24px;
    background: rgba(88, 166, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-agent-flow .haf-line-v {
    width: 2px;
    height: 18px;
    background: rgba(88, 166, 255, 0.2);
    opacity: 0;
}

/* Split / Parallel branches */
.hero-agent-flow .haf-split {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.hero-agent-flow .haf-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
}

/* Nodes inside branches should be visible (branch itself handles the animation) */
.hero-agent-flow .haf-branch .haf-node {
    opacity: 1;
    transform: scale(1);
}

/* Vertical lines inside branches visible by default (branch animates them in) */
.hero-agent-flow .haf-branch .haf-line-v {
    opacity: 1;
    background: rgba(88, 166, 255, 0.3);
}

/* Animation when slide is active */
.hero-agent-flow.animate .haf-n1 {
    animation: hafNodeIn 0.4s 0.3s forwards;
}
.hero-agent-flow.animate .haf-l1 {
    animation: hafLineIn 0.3s 0.6s forwards;
}
.hero-agent-flow.animate .haf-n2 {
    animation: hafNodeIn 0.4s 0.8s forwards;
}
.hero-agent-flow.animate .haf-l2 {
    animation: hafLineIn 0.3s 1.1s forwards;
}
.hero-agent-flow.animate .haf-branch:nth-child(1) {
    animation: hafNodeIn 0.5s 1.3s forwards;
}
.hero-agent-flow.animate .haf-branch:nth-child(2) {
    animation: hafNodeIn 0.5s 1.5s forwards;
}
.hero-agent-flow.animate .haf-branch:nth-child(3) {
    animation: hafNodeIn 0.5s 1.7s forwards;
}
.hero-agent-flow.animate .haf-lv1,
.hero-agent-flow.animate .haf-lv2,
.hero-agent-flow.animate .haf-lv3 {
    animation: hafLineIn 0.3s 1.3s forwards;
}
.hero-agent-flow.animate .haf-l3 {
    animation: hafLineIn 0.3s 2.0s forwards;
}
.hero-agent-flow.animate .haf-n4 {
    animation: hafNodeIn 0.4s 2.2s forwards;
}
.hero-agent-flow.animate .haf-l4 {
    animation: hafLineIn 0.3s 2.5s forwards;
}
.hero-agent-flow.animate .haf-n5 {
    animation: hafNodeIn 0.4s 2.7s forwards;
}

/* Active glow on AI Agent node */
.hero-agent-flow.animate .haf-n2 .haf-icon {
    animation: hafNodeIn 0.4s 0.8s forwards, hafGlow 2s 1.2s ease-in-out infinite;
}

@keyframes hafNodeIn {
    to { opacity: 1; transform: scale(1); }
}

@keyframes hafLineIn {
    to { opacity: 1; background: rgba(88, 166, 255, 0.4); }
}

@keyframes hafGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(88, 166, 255, 0); border-color: rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 20px rgba(88, 166, 255, 0.3); border-color: #58a6ff; }
}

/* Colorize different nodes */
.hero-agent-flow.animate .haf-n1 .haf-icon { color: #a78bfa; }
.hero-agent-flow.animate .haf-n2 .haf-icon { color: #58a6ff; }
.hero-agent-flow.animate .haf-n3a .haf-icon { color: #34d399; }
.hero-agent-flow.animate .haf-n3b .haf-icon { color: #fb923c; }
.hero-agent-flow.animate .haf-n3c .haf-icon { color: #f472b6; }
.hero-agent-flow.animate .haf-n4 .haf-icon { color: #fbbf24; }
.hero-agent-flow.animate .haf-n5 .haf-icon { color: #34d399; }

.hero-agent-flow.animate .haf-n5 .haf-icon {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.1);
}

/* ===== SHARED HERO VISUAL BASE ===== */
.hero-visual {
    width: 100%;
    max-width: 340px;
}
.hero-visual.hero-ai-apps {
    max-width: 420px;
}

/* ===== SLIDE 1: CODE EDITOR ===== */
.hero-code-editor {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hce-titlebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hce-dots { display: flex; gap: 6px; }
.hce-dot { width: 10px; height: 10px; border-radius: 50%; }
.hce-dot.red { background: #ff5f57; }
.hce-dot.yellow { background: #febc2e; }
.hce-dot.green { background: #28c840; }
.hce-filename { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-left: auto; }
.hce-body { padding: 1rem; font-size: 0.7rem; line-height: 1.8; }
.hce-line { opacity: 0; transform: translateX(-10px); white-space: nowrap; color: rgba(255,255,255,0.7); }
.hce-kw { color: #ff7b72; }
.hce-fn { color: #d2a8ff; }
.hce-br { color: #ffa657; }
.hce-num { color: #79c0ff; }
.hce-ai-suggest { border-left: 2px solid rgba(88, 166, 255, 0.5); padding-left: 0.5rem; background: rgba(88, 166, 255, 0.05); }
.hce-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.5rem 1rem 0.75rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    opacity: 0;
}

/* Code editor animations */
.hero-code-editor.animate .hce-l1 { animation: hceLineIn 0.3s 0.3s forwards; }
.hero-code-editor.animate .hce-l2 { animation: hceLineIn 0.3s 0.5s forwards; }
.hero-code-editor.animate .hce-l3 { animation: hceLineIn 0.3s 0.9s forwards; }
.hero-code-editor.animate .hce-l4 { animation: hceLineIn 0.3s 1.1s forwards; }
.hero-code-editor.animate .hce-l5 { animation: hceLineIn 0.3s 1.3s forwards; }
.hero-code-editor.animate .hce-l6 { animation: hceLineIn 0.3s 1.5s forwards; }
.hero-code-editor.animate .hce-l7 { animation: hceLineIn 0.3s 1.7s forwards; }
.hero-code-editor.animate .hce-ai-badge { animation: hceBadgeIn 0.4s 1.9s forwards; }

@keyframes hceLineIn {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes hceBadgeIn {
    to { opacity: 1; }
}

/* ===== SLIDE 2: SMART APP ===== */
.hero-smart-app {
    position: relative;
    display: flex;
    justify-content: center;
}
.hsa-phone {
    width: 220px;
    background: rgba(13, 17, 23, 0.95);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}
.hsa-notch {
    width: 80px;
    height: 20px;
    background: #000;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
}
.hsa-screen { padding: 0.75rem; }
.hsa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}
.hsa-header span { font-weight: 700; color: #e6edf3; font-size: 0.8rem; }
.hsa-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.6rem;
    opacity: 0;
    transform: translateY(8px);
}
.hsa-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-bottom: 0.45rem;
    opacity: 0;
    transform: translateY(8px);
}
.hsa-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    flex-shrink: 0;
}
.hsa-card-icon.rec { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.hsa-card-icon.auto { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.hsa-card-text { display: flex; flex-direction: column; }
.hsa-label { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.hsa-value { font-size: 0.55rem; color: rgba(255,255,255,0.35); }

.hsa-float-badge {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.5);
}
.hsa-float-badge.fb1 {
    top: 10%;
    right: 5%;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
}
.hsa-float-badge.fb2 {
    bottom: 15%;
    left: 5%;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Smart app animations */
.hero-smart-app.animate .hsa-el1 { animation: hsaCardIn 0.4s 0.4s forwards; }
.hero-smart-app.animate .hsa-el2 { animation: hsaCardIn 0.4s 0.7s forwards; }
.hero-smart-app.animate .hsa-el3 { animation: hsaCardIn 0.4s 1.0s forwards; }
.hero-smart-app.animate .hsa-el4 { animation: hsaCardIn 0.4s 1.3s forwards; }
.hero-smart-app.animate .fb1 { animation: hsaFloatIn 0.5s 1.5s forwards; }
.hero-smart-app.animate .fb2 { animation: hsaFloatIn 0.5s 1.8s forwards; }

@keyframes hsaCardIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hsaFloatIn {
    to { opacity: 1; transform: scale(1); }
}

/* ===== SLIDE 2B: AI-POWERED APPS SHOWCASE ===== */
.hero-ai-apps {
    position: relative;
    width: 420px;
    height: 420px;
    max-width: none;
}

/* Central AI Core */
.haa-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.haa-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58a6ff 0%, #a78bfa 50%, #f472b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.5), 0 0 60px rgba(167, 139, 250, 0.2);
    animation: haaPulse 3s ease-in-out infinite;
}
.haa-core-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
}
.haa-pulse {
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(88, 166, 255, 0.3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: haaRing 3s ease-out infinite;
}
.haa-pulse.p2 { animation-delay: 1.5s; }

@keyframes haaRing {
    0% { width: 80px; height: 80px; opacity: 0.5; }
    100% { width: 200px; height: 200px; opacity: 0; }
}
@keyframes haaPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(88, 166, 255, 0.5), 0 0 60px rgba(167, 139, 250, 0.2); }
    50% { box-shadow: 0 0 45px rgba(88, 166, 255, 0.7), 0 0 90px rgba(167, 139, 250, 0.35); }
}

/* SVG Connection Lines */
.haa-lines {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.haa-line {
    stroke: rgba(88, 166, 255, 0.25);
    stroke-width: 1;
    stroke-dasharray: 6 4;
    opacity: 1;
}
.hero-ai-apps.animate .hl1 { animation: haaLineIn 0.6s 0.3s forwards; }
.hero-ai-apps.animate .hl2 { animation: haaLineIn 0.6s 0.5s forwards; }
.hero-ai-apps.animate .hl3 { animation: haaLineIn 0.6s 0.7s forwards; }
.hero-ai-apps.animate .hl4 { animation: haaLineIn 0.6s 0.9s forwards; }
@keyframes haaLineIn { to { opacity: 1; } }

/* App Cards - shared */
.haa-app {
    position: absolute;
    z-index: 3;
    opacity: 1;
    transform: scale(1) translateY(0);
}
.haa-app-label {
    display: block;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-top: 0.4rem;
}

/* === Web App (top-left) === */
.haa-web { top: 0; left: 0; }
.haa-app-frame {
    width: 155px;
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.haa-browser-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.haa-dot { width: 6px; height: 6px; border-radius: 50%; }
.haa-dot.r { background: #ff5f57; }
.haa-dot.y { background: #febc2e; }
.haa-dot.g { background: #28c840; }
.haa-url { margin-left: 6px; font-size: 0.5rem; color: rgba(255,255,255,0.35); }
.haa-screen-content { padding: 8px; }
.haa-line-block {
    height: 5px; border-radius: 3px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 4px; width: 80%;
}
.haa-line-block.short { width: 50%; margin-bottom: 6px; }
.haa-ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.45rem;
    font-weight: 700;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    padding: 2px 6px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.haa-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
}
.haa-bar {
    width: 14px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, #58a6ff, #a78bfa);
}
.haa-bar.b1 { height: 40%; }
.haa-bar.b2 { height: 65%; }
.haa-bar.b3 { height: 85%; }
.haa-bar.b4 { height: 55%; }

/* Bar animation */
.hero-ai-apps.animate .haa-bar {
    animation: haaBarGrow 0.6s 1.2s backwards;
}
.hero-ai-apps.animate .haa-bar.b1 { animation-delay: 1.2s; }
.hero-ai-apps.animate .haa-bar.b2 { animation-delay: 1.35s; }
.hero-ai-apps.animate .haa-bar.b3 { animation-delay: 1.5s; }
.hero-ai-apps.animate .haa-bar.b4 { animation-delay: 1.65s; }
@keyframes haaBarGrow {
    from { height: 0; }
}

/* === Mobile App (top-right) === */
.haa-mobile { top: 0; right: 0; }
.haa-phone-frame {
    width: 100px;
    background: rgba(13, 17, 23, 0.9);
    border: 1.5px solid rgba(88, 166, 255, 0.2);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.haa-phone-notch {
    width: 40px; height: 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 0 0 8px 8px;
    margin: 0 auto 6px;
}
.haa-phone-content {
    padding: 4px 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.haa-card-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid rgba(88, 166, 255, 0.15);
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
    color: #58a6ff;
}
.haa-card-mini i { font-size: 0.55rem; }
.haa-card-mini.purple { background: rgba(167, 139, 250, 0.08); border-color: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.haa-card-mini.green { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.15); color: #34d399; }

/* === Dashboard (bottom-right) === */
.haa-dashboard { bottom: 10px; right: 0; }
.haa-app-frame.dash {
    width: 145px;
    padding: 8px;
}
.haa-dash-header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.haa-dash-header i { color: #58a6ff; font-size: 0.6rem; }
.haa-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.haa-metric {
    text-align: center;
    padding: 6px 4px;
    background: rgba(88, 166, 255, 0.06);
    border-radius: 6px;
    border: 1px solid rgba(88, 166, 255, 0.1);
}
.haa-metric-val {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #58a6ff;
    line-height: 1;
}
.haa-metric-lbl {
    font-size: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
}

/* === AI API (bottom-left) === */
.haa-api { bottom: 10px; left: 0; }
.haa-app-frame.api {
    width: 145px;
    padding: 8px;
    font-family: 'JetBrains Mono', monospace;
}
.haa-api-line {
    font-size: 0.48rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}
.haa-method {
    font-weight: 700;
    color: #34d399;
    margin-right: 3px;
}
.haa-api-resp {
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 4px;
    padding: 4px 6px;
    margin-bottom: 4px;
}
.haa-json {
    font-size: 0.5rem;
    color: #34d399;
}
.haa-api-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.45rem;
    color: rgba(255,255,255,0.4);
}
.haa-status-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}

/* Entrance animations */
.hero-ai-apps.animate .haa-web { animation: haaAppIn 0.6s 0.2s forwards; }
.hero-ai-apps.animate .haa-mobile { animation: haaAppIn 0.6s 0.5s forwards; }
.hero-ai-apps.animate .haa-dashboard { animation: haaAppIn 0.6s 0.8s forwards; }
.hero-ai-apps.animate .haa-api { animation: haaAppIn 0.6s 1.1s forwards; }

@keyframes haaAppIn {
    0% { opacity: 0; transform: scale(0.7) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== SLIDE 3: LLM PIPELINE ===== */
.hero-llm-pipe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 320px;
}
.hlp-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.7);
}
.hlp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #58a6ff;
    backdrop-filter: blur(8px);
}
.hlp-icon.small {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1rem;
}
.hlp-node span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.hlp-large .hlp-icon {
    width: 62px;
    height: 62px;
    font-size: 1.5rem;
    border-radius: 16px;
}
.hlp-arrow {
    color: rgba(88, 166, 255, 0.3);
    font-size: 0.9rem;
    padding: 0.2rem 0;
    opacity: 0;
}
.hlp-branch-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.hlp-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
}
.hlp-branch .hlp-node { opacity: 1; transform: scale(1); }
.hlp-branch .hlp-arrow { opacity: 1; }

/* LLM pipeline animations */
.hero-llm-pipe.animate .hlp-n1 { animation: hafNodeIn 0.4s 0.3s forwards; }
.hero-llm-pipe.animate .hlp-a1 { animation: hlpArrowIn 0.3s 0.6s forwards; }
.hero-llm-pipe.animate .hlp-n2 { animation: hafNodeIn 0.4s 0.8s forwards; }
.hero-llm-pipe.animate .hlp-b1 { animation: hafNodeIn 0.5s 1.2s forwards; }
.hero-llm-pipe.animate .hlp-b2 { animation: hafNodeIn 0.5s 1.4s forwards; }
.hero-llm-pipe.animate .hlp-b3 { animation: hafNodeIn 0.5s 1.6s forwards; }
.hero-llm-pipe.animate .hlp-a3 { animation: hlpArrowIn 0.3s 2.0s forwards; }
.hero-llm-pipe.animate .hlp-n4 { animation: hafNodeIn 0.4s 2.2s forwards; }

/* LLM pipeline node colors */
.hero-llm-pipe.animate .hlp-n1 .hlp-icon { color: #a78bfa; }
.hero-llm-pipe.animate .hlp-n2 .hlp-icon { color: #58a6ff; animation: hafGlow 2s 1.2s ease-in-out infinite; }
.hero-llm-pipe.animate .hlp-b1 .hlp-icon { color: #f472b6; }
.hero-llm-pipe.animate .hlp-b2 .hlp-icon { color: #34d399; }
.hero-llm-pipe.animate .hlp-b3 .hlp-icon { color: #fbbf24; }
.hero-llm-pipe.animate .hlp-n4 .hlp-icon { color: #34d399; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1); }

@keyframes hlpArrowIn {
    to { opacity: 1; }
}

/* ===== SLIDE 5: CLOUD INFRA ===== */
.hero-cloud-infra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 320px;
}
.hci-cloud-row, .hci-service-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.hci-provider, .hci-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.7);
}
.hci-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #58a6ff;
}

.hci-brand-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.hci-svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.hci-provider span, .hci-service span, .hci-hub span {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.hci-connectors {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0.15rem 0;
}
.hci-line {
    width: 2px;
    height: 20px;
    background: rgba(88, 166, 255, 0.2);
    opacity: 0;
}
.hci-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.7);
}
.hci-hub-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(88, 166, 255, 0.1);
    border: 1.5px solid rgba(88, 166, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #58a6ff;
}

.hci-hub-icon .hci-brand-img {
    width: 32px;
    height: 32px;
}
.hci-scale-bar {
    margin-top: 0.75rem;
    width: 80%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    opacity: 0;
}
.hci-scale-bar span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}
.hci-scale-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #58a6ff, #34d399);
    border-radius: 3px;
}

/* Cloud infra animations */
.hero-cloud-infra.animate .hci-p1 { animation: hafNodeIn 0.4s 0.3s forwards; }
.hero-cloud-infra.animate .hci-p2 { animation: hafNodeIn 0.4s 0.5s forwards; }
.hero-cloud-infra.animate .hci-p3 { animation: hafNodeIn 0.4s 0.7s forwards; }
.hero-cloud-infra.animate .hci-cl1,
.hero-cloud-infra.animate .hci-cl2,
.hero-cloud-infra.animate .hci-cl3 { animation: hafLineIn 0.3s 0.9s forwards; }
.hero-cloud-infra.animate .hci-h1 { animation: hafNodeIn 0.4s 1.1s forwards; }
.hero-cloud-infra.animate .hci-h1 .hci-hub-icon { animation: hafGlow 2s 1.5s ease-in-out infinite; }
.hero-cloud-infra.animate .hci-sl1,
.hero-cloud-infra.animate .hci-sl2,
.hero-cloud-infra.animate .hci-sl3 { animation: hafLineIn 0.3s 1.5s forwards; }
.hero-cloud-infra.animate .hci-s1 { animation: hafNodeIn 0.4s 1.7s forwards; }
.hero-cloud-infra.animate .hci-s2 { animation: hafNodeIn 0.4s 1.9s forwards; }
.hero-cloud-infra.animate .hci-s3 { animation: hafNodeIn 0.4s 2.1s forwards; }
.hero-cloud-infra.animate .hci-sb { animation: hciBarIn 0.4s 2.4s forwards; }
.hero-cloud-infra.animate .hci-scale-fill { animation: hciScaleFill 1.5s 2.6s forwards; }

/* Cloud infra node colors */
.hero-cloud-infra.animate .hci-p1 .hci-icon { color: #fb923c; }
.hero-cloud-infra.animate .hci-p2 .hci-icon { color: #58a6ff; }
.hero-cloud-infra.animate .hci-p3 .hci-icon { color: #34d399; }
.hero-cloud-infra.animate .hci-s1 .hci-svc-icon { color: #a78bfa; }
.hero-cloud-infra.animate .hci-s2 .hci-svc-icon { color: #f472b6; }
.hero-cloud-infra.animate .hci-s3 .hci-svc-icon { color: #fbbf24; }

@keyframes hciBarIn {
    to { opacity: 1; }
}
@keyframes hciScaleFill {
    to { width: 100%; }
}

/* ===== SLIDE 6: TEAM GRID ===== */
.hero-team-grid {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 340px;
}
.htg-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: scale(0.8);
}
.htg-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.htg-avatars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.htg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
}
.htg-your .htg-avatar { color: #58a6ff; border-color: rgba(88, 166, 255, 0.3); }
.htg-our .htg-avatar { color: #34d399; border-color: rgba(52, 211, 153, 0.3); }

.htg-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    gap: 0.4rem;
    opacity: 0;
}
.htg-bridge-line {
    width: 2px;
    height: 18px;
    background: rgba(88, 166, 255, 0.2);
}
.htg-bridge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.1);
    border: 1.5px solid rgba(88, 166, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #58a6ff;
}
.htg-tools-row {
    display: flex;
    gap: 0.4rem;
}
.htg-tool {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    opacity: 0;
    transform: translateY(5px);
}

.htg-tool-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Team grid animations */
.hero-team-grid.animate .htg-your { animation: hafNodeIn 0.5s 0.3s forwards; }
.hero-team-grid.animate .htg-bridge { animation: htgBridgeIn 0.5s 0.8s forwards; }
.hero-team-grid.animate .htg-our { animation: hafNodeIn 0.5s 1.3s forwards; }
.hero-team-grid.animate .htg-t1 { animation: hsaCardIn 0.3s 1.6s forwards; }
.hero-team-grid.animate .htg-t2 { animation: hsaCardIn 0.3s 1.8s forwards; }
.hero-team-grid.animate .htg-t3 { animation: hsaCardIn 0.3s 2.0s forwards; }
.hero-team-grid.animate .htg-bridge-icon { animation: hafGlow 2s 1.5s ease-in-out infinite; }

@keyframes htgBridgeIn {
    to { opacity: 1; }
}

/* Slider Controls */
.hero-slider-controls {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem 1.5rem;
}

.hero-slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero-dot {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hero-dot .dot-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
}

.hero-dot .dot-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 100.53;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke 0.3s ease;
}

.hero-dot.active .dot-fill {
    stroke: #58a6ff;
    animation: dot-progress 6s linear forwards;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-dot.active::after {
    background: #58a6ff;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.5);
}

@keyframes dot-progress {
    from { stroke-dashoffset: 100.53; }
    to { stroke-dashoffset: 0; }
}

.hero-slider-arrows {
    display: flex;
    gap: 0.5rem;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.hero-arrow:hover {
    background: rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.5);
}

/* Stats Bar at Bottom */
.hero-stats-bar {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    background: var(--bg-secondary);
    padding: 3rem 0 2.75rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.trust-bar-top-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

.trust-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-label strong {
    color: var(--text-primary);
    font-weight: 700;
}

.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: trustPulse 2s ease-in-out infinite;
}

@keyframes trustPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}

/* Marquee animation */
.trust-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trust-marquee-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.trust-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-client-logo {
    height: 34px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.trust-client-logo:hover {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15));
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section-padding {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--accent-primary), #7c3aed, var(--accent-primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: var(--bg-dark-section);
    padding: 1.75rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================
   STATS + TECH MARQUEE (Combined)
   ============================================ */
/* stats-tech-section no longer used as standalone */
.stats-tech-section {
    display: none;
}

/* Floating background particles - unused */
.stats-bg-particles {
    display: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.04;
    animation: particleFloat 20s infinite ease-in-out;
}
.particle.p1 { width: 200px; height: 200px; top: -60px; left: -40px; animation-duration: 22s; }
.particle.p2 { width: 140px; height: 140px; top: 50%; right: -30px; animation-duration: 18s; animation-delay: -5s; }
.particle.p3 { width: 100px; height: 100px; bottom: -20px; left: 30%; animation-duration: 25s; animation-delay: -10s; }
.particle.p4 { width: 70px; height: 70px; top: 20%; left: 60%; animation-duration: 20s; animation-delay: -3s; }
.particle.p5 { width: 50px; height: 50px; bottom: 20%; right: 20%; animation-duration: 16s; animation-delay: -8s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 1.25rem 0.5rem;
}

.stat-card-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition-delay: var(--delay, 0s);
}

.stat-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.stat-card-box.animate-in::before {
    transform: scaleX(1);
}

/* Glow effect behind card on hover */
.stat-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.stat-card-box:hover .stat-card-glow {
    opacity: 0.15;
}

.stat-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: var(--accent-primary);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-card-box:hover .stat-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

/* Animated counter */
.stat-counter {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.15rem;
    font-variant-numeric: tabular-nums;
}

.stat-card-box .stat-value {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.stat-card-box .stat-label {
    font-size: 0.72rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Tech Stack section header */
/* ============================================
   TECH STACK - Premium Tab + Detail Layout
   ============================================ */
.tech-stack-section {
    padding: 2.5rem 0 2rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.tech-stack-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tech-stack-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: techOrb1 16s ease-in-out infinite;
}

.tech-stack-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    bottom: -15%;
    right: -8%;
    animation: techOrb2 18s ease-in-out infinite;
}

@keyframes techOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(80px, 50px) scale(1.2); opacity: 1; }
}

@keyframes techOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-60px, -40px) scale(1.15); opacity: 1; }
}

.tech-stack-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    mask-image: linear-gradient(180deg, black 0%, transparent 40%, transparent 60%, black 100%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 40%, transparent 60%, black 100%);
    animation: techGridPulse 8s ease-in-out infinite alternate;
}

@keyframes techGridPulse {
    0% { opacity: 0.15; }
    100% { opacity: 0.3; }
}

/* Unified Tech Panel */
.tech-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.tech-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

/* Tab Navigation — inside panel */
.tech-nav {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.25rem 1.75rem 0;
}

.tech-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tech-nav-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.04);
}

.tech-nav-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.tech-nav-icon {
    font-size: 1rem;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.tech-nav-btn.active .tech-nav-icon {
    color: #fff;
}

.tech-nav-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tech-nav-btn.active .tech-nav-text {
    color: #fff;
}

/* Showcase Content — inside panel */
.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 1.5rem 1.75rem 1.75rem;
}

/* Left side */
.tech-showcase-left {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tech-showcase-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.tech-showcase-left h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.tech-showcase-left p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.tech-showcase-checks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.tech-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
}

.tech-check i {
    color: var(--accent-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Learn More link */
.tech-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-primary) !important;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.tech-learn-more:hover {
    gap: 0.7rem;
}

/* Right side - Tech Tiles */
.tech-showcase-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    align-content: center;
}

.tech-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tile:hover {
    border-color: var(--brand-color, var(--accent-primary));
    transform: translateY(-4px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--brand-color, var(--accent-primary)) 22%, transparent);
    background: var(--bg-card);
}

.tech-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.tech-tile-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%) opacity(0.88);
}

.tech-tile:hover .tech-tile-icon img {
    filter: grayscale(0%) opacity(1) drop-shadow(0 2px 8px color-mix(in srgb, var(--brand-color, var(--accent-primary)) 40%, transparent));
    transform: scale(1.15);
}

.tech-tile-icon i {
    font-size: 1.6rem;
    transition: all 0.3s ease;
    opacity: 0.82;
}

.tech-tile:hover .tech-tile-icon i {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--brand-color, var(--accent-primary)) 40%, transparent));
}

.tech-tile span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

/* Stats Cards - Themed boxes */
.stats-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stats-card {
    position: relative;
    border-radius: 20px;
    padding: 2px;
    background: var(--border-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--card-accent), transparent 50%, color-mix(in srgb, var(--card-accent) 40%, transparent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--card-accent) 15%, transparent);
}

.stats-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--card-accent) 6%, transparent) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.stats-card:hover .stats-card-glow {
    opacity: 1;
}

.stats-card-inner {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stats-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 12%, transparent), color-mix(in srgb, var(--card-accent) 5%, transparent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--card-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.stats-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--card-accent), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.stats-card:hover .stats-card-icon {
    background: linear-gradient(135deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 70%, #7c3aed));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--card-accent) 35%, transparent);
}

.stats-card:hover .stats-card-icon::after {
    opacity: 0.4;
}

.stats-card-data {
    flex: 1;
    min-width: 0;
}

.stats-card-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--card-accent);
    line-height: 1.1;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-card-number {
    letter-spacing: -0.5px;
}

.stats-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.stats-card:hover .stats-card-label {
    color: var(--text-secondary);
}

.stats-card-ring {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--card-accent) 8%, transparent);
    transition: all 0.5s ease;
    pointer-events: none;
}

.stats-card:hover .stats-card-ring {
    border-color: color-mix(in srgb, var(--card-accent) 20%, transparent);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 991px) {
    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .tech-showcase-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .stats-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .stats-card-inner {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .tech-stack-section {
        padding: 3rem 0 2.5rem;
    }
    .tech-nav {
        gap: 0.35rem;
    }
    .tech-nav-btn {
        padding: 0.5rem 0.85rem;
    }
    .tech-nav-text {
        font-size: 0.72rem;
    }
    .tech-panel {
        border-radius: 12px;
    }
    .tech-nav {
        padding: 1rem 1rem 0;
    }
    .tech-showcase {
        padding: 1rem;
    }
    .tech-showcase-right {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-card-number {
        font-size: 1.75rem;
    }
    .stats-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    .stats-card-inner {
        padding: 1.1rem 0.85rem;
        gap: 0.75rem;
    }
    .stats-card-ring {
        display: none;
    }
}

@media (max-width: 575px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-value { font-size: 1.85rem; }
    .stat-label { font-size: 0.72rem; }
    /* tech responsive handled in tech section */
    .stat-counter { font-size: 1.6rem; }
    .stat-card-box .stat-value { font-size: 1.6rem; }
    .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ============================================
   SERVICE TABS
   ============================================ */

/* Services section wrapper */
/* ============================================
   SECTION SEPARATORS — gradient accent lines
   ============================================ */
.tech-stack-section::before,
.why-us-section::before,
.hire-section::before,
.case-studies-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.15;
    border-radius: 2px;
    z-index: 2;
}

.services-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.services-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.services-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.services-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    opacity: 0.06;
    top: -10%;
    left: -5%;
    animation: servicesFloat1 12s ease-in-out infinite;
}

.services-orb-2 {
    width: 350px;
    height: 350px;
    background: #7c3aed;
    opacity: 0.05;
    bottom: -10%;
    right: -5%;
    animation: servicesFloat2 14s ease-in-out infinite;
}

.services-mesh {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.4;
    mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

@keyframes servicesFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.15); }
    66% { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes servicesFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -30px) scale(1.2); }
}

@keyframes serviceGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-30px, -20px) scale(1.2); opacity: 1; }
}

.service-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-tab-btn {
    padding: 0.65rem 1.5rem;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.service-tab-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.06), transparent);
    transition: left 0.5s ease;
}

.service-tab-btn:hover::after {
    left: 100%;
}

.service-tab-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.service-tab-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.service-tab-btn.active i {
    animation: tabIconPulse 2s ease-in-out infinite;
}

@keyframes tabIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Service cards grid with staggered animation */
.service-cards-grid {
    position: relative;
    z-index: 1;
}

.service-card-wrap {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: var(--card-delay, 0s);
}

.service-card-wrap.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer effect on card */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.03), transparent);
    transition: left 0.7s ease;
}

.service-card:hover::after {
    left: 150%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-brand-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.service-card:hover .service-brand-img {
    filter: brightness(0) invert(1);
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--accent-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-us-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.why-us-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.why-us-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.why-us-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.06;
}

.why-us-glow.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
    animation: whyGlow 8s ease-in-out infinite alternate;
}

.why-us-glow.glow-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -80px;
    left: -80px;
    animation: whyGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes whyGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.04; }
    100% { transform: translate(30px, -20px) scale(1.15); opacity: 0.08; }
}

/* Cards grid */
.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

/* Individual card */
.why-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: var(--delay, 0s);
    text-align: left;
}

.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

/* Top accent line with animated reveal */
.why-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #7c3aed));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.why-card-v2.animate-in::before {
    transform: scaleX(1);
}

/* Shimmer on hover */
.why-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
}

.why-card-v2:hover::after {
    left: 120%;
}

.why-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--accent, var(--accent-primary));
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
}

/* Step number */
.why-card-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.why-card-v2:hover .why-card-number {
    opacity: 0.2;
}

/* Icon */
.why-card-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.4s ease;
}

.why-card-icon-wrap.blue { background: rgba(37, 99, 235, 0.1); color: var(--accent-primary); }
.why-card-icon-wrap.orange { background: rgba(249, 115, 22, 0.1); color: var(--accent-secondary); }
.why-card-icon-wrap.teal { background: rgba(6, 182, 212, 0.1); color: var(--accent-teal); }
.why-card-icon-wrap.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }

/* Pulsing ring behind icon */
.why-icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid currentColor;
    opacity: 0;
    animation: none;
}

.why-card-v2:hover .why-icon-ring {
    animation: iconRingPulse 1.5s ease-out infinite;
}

.why-card-v2:hover .why-card-icon-wrap {
    transform: scale(1.1);
}

.why-card-v2:hover .why-card-icon-wrap.blue { background: var(--accent-primary); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3); }
.why-card-v2:hover .why-card-icon-wrap.orange { background: var(--accent-secondary); color: #fff; box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3); }
.why-card-v2:hover .why-card-icon-wrap.teal { background: var(--accent-teal); color: #fff; box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3); }
.why-card-v2:hover .why-card-icon-wrap.green { background: var(--accent-green); color: #fff; box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3); }

@keyframes iconRingPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Card title */
.why-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

/* Card description */
.why-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Footer tag */
.why-card-footer {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.why-card-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent, var(--accent-primary));
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.why-card-tag i {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 767px) {
    .why-cards-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .why-card-v2 { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ============================================
   TECHNOLOGY STACK
   ============================================ */

.bg-alt {
    background: var(--bg-secondary);
}

/* ---- Hire / Engagement Section ---- */
.hire-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.hire-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hire-grid-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    animation: hireDotsFade 6s ease-in-out infinite alternate;
}

@keyframes hireDotsFade {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.hire-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hire-orb-1 {
    width: 450px;
    height: 450px;
    background: #f97316;
    opacity: 0.05;
    top: -15%;
    right: -10%;
    animation: hireOrb1 14s ease-in-out infinite;
}

.hire-orb-2 {
    width: 350px;
    height: 350px;
    background: #06b6d4;
    opacity: 0.04;
    bottom: -15%;
    left: -8%;
    animation: hireOrb2 16s ease-in-out infinite;
}

@keyframes hireOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.15); }
}

@keyframes hireOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.1); }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.tech-item i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.tech-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================
   AI & AGENTIC SECTION
   ============================================ */

.ai-section {
    background: var(--bg-dark-section);
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.ai-feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.ai-feature-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.ai-feature-card p {
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   ENGAGEMENT MODELS
   ============================================ */

.engagement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.engagement-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.03), transparent);
    transition: left 0.7s ease;
}

.engagement-card:hover::before {
    transform: scaleX(1);
}

.engagement-card:hover::after {
    left: 150%;
}

.engagement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.engagement-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.engagement-icon.blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.engagement-icon.purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.engagement-icon.teal { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.engagement-icon.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.engagement-card:hover .engagement-icon { transform: scale(1.1) rotate(-5deg); }
.engagement-card:hover .engagement-icon.blue { background: #2563eb; color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
.engagement-card:hover .engagement-icon.purple { background: #7c3aed; color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3); }
.engagement-card:hover .engagement-icon.teal { background: #06b6d4; color: #fff; box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3); }
.engagement-card:hover .engagement-icon.orange { background: #f97316; color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3); }

.engagement-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.engagement-card:hover h4 {
    color: var(--accent-primary);
}

.engagement-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.engagement-card .best-for {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}

/* ============================================
   AI AGENT CHAT DEMO
   ============================================ */
.ai-demo-section {
    background: var(--bg-secondary);
}

.ai-chat-demo {
    max-width: 720px;
    margin: 0 auto;
}

/* Chat Window */
.ai-chat-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ai-chat-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.ai-chat-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ai-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: aiDotPulse 2s ease infinite;
}

@keyframes aiDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-model-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: color-mix(in srgb, var(--accent-primary) 12%, transparent);
    color: var(--accent-primary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.ai-chat-topbar-right {
    color: var(--text-muted);
}

/* Messages */
.ai-chat-messages {
    padding: 1.25rem;
    min-height: 320px;
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ai-chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 280px;
    color: var(--text-muted);
    gap: 0.75rem;
}

.ai-chat-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.ai-chat-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* Message Rows */
.ai-msg-row {
    display: flex;
    gap: 0.6rem;
    animation: aiMsgIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-msg-row.user-row {
    justify-content: flex-end;
}

.ai-msg-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1.2rem;
}

.ai-msg-icon.user-icon {
    background: var(--accent-gradient);
    color: #fff;
}

.ai-msg-icon.agent-icon {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
}

.ai-msg-content {
    max-width: 85%;
}

.ai-msg-name {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.ai-msg-box {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.6;
}

.ai-msg-box.user-msg {
    background: var(--accent-gradient);
    color: #fff;
    border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
}

.ai-msg-box.agent-msg {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
}

.ai-msg-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ai-msg-meta i {
    color: var(--accent-green);
}

/* Agent Step Indicators */
.ai-step-indicator {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    background: color-mix(in srgb, var(--accent-primary) 8%, transparent);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    animation: aiPulse 1.5s ease infinite;
}

@keyframes aiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tool Call Block */
.ai-tool-call {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-secondary);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
}

.ai-tool-header {
    font-size: 0.72rem;
    color: var(--accent-secondary);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ai-tool-call code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    word-break: break-all;
}

/* Data Block */
.ai-data-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-teal);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
}

.ai-data-header {
    font-size: 0.72rem;
    color: var(--accent-teal);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ai-data-badge {
    font-size: 0.6rem;
    background: color-mix(in srgb, var(--accent-teal) 15%, transparent);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: auto;
    font-weight: 700;
}

.ai-data-preview {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Reasoning Block */
.ai-reasoning {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    background: color-mix(in srgb, #8b5cf6 6%, transparent);
    border-left: 3px solid #8b5cf6;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.ai-reasoning i {
    color: #8b5cf6;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Input Bar */
.ai-chat-inputbar {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

.ai-input-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ai-input-placeholder i {
    color: var(--accent-primary);
}

/* Question Chips */
.ai-question-chips {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ai-chip {
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.ai-chip:hover:not(:disabled) {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ai-chip.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

.ai-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ai-chip i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 575px) {
    .ai-chat-messages { padding: 0.85rem; min-height: 260px; }
    .ai-msg-content { max-width: 90%; }
    .ai-msg-box { font-size: 0.82rem; padding: 0.6rem 0.85rem; }
    .ai-chip { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
    .ai-question-chips { gap: 0.35rem; }
}

/* ============================================
   CASE STUDIES — THEME-AWARE SLIDER
   ============================================ */

.case-studies-section {
    position: relative;
    background: var(--bg-primary);
    padding: 2.5rem 0 2rem;
    overflow: hidden;
}

.case-studies-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.case-studies-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: caseOrb1 15s ease-in-out infinite;
}

.case-studies-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    bottom: -15%;
    left: -8%;
    animation: caseOrb2 18s ease-in-out infinite;
}

@keyframes caseOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 40px) scale(1.2); }
}

@keyframes caseOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -35px) scale(1.15); }
}

.case-studies-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        var(--border-color) 40px,
        var(--border-color) 41px
    );
    opacity: 0.15;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Section Header */
.case-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.case-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.case-section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Thumbnail Navigation */
.case-thumb-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.case-thumb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: left;
}

.case-thumb-item:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
}

.case-thumb-item.active {
    border-color: var(--accent-blue);
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15), var(--shadow-card);
}

.case-thumb-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.3;
}

.case-thumb-item.active .case-thumb-num {
    color: var(--accent-blue);
    opacity: 1;
}

.case-thumb-label {
    font-weight: 700;
    font-size: 0.92rem;
}

.case-thumb-type {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.case-thumb-item.active .case-thumb-type {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

/* Slider */
.case-slider {
    position: relative;
    min-height: 520px;
}

.case-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.97) translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    visibility: hidden;
}

.case-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    visibility: visible;
}

/* Slide Layout */
.case-slide-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Visual Column */
.case-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-slide.active .case-visual {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.case-slide-number {
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.05;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* Browser Frame */
.case-browser {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.case-slide.active .case-browser {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.case-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.case-browser-dots {
    display: flex;
    gap: 5px;
}

.case-browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.case-browser-dots span:nth-child(1) { background: #ff5f57; }
.case-browser-dots span:nth-child(2) { background: #febc2e; }
.case-browser-dots span:nth-child(3) { background: #28c840; }

.case-browser-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-primary);
    padding: 4px 10px;
    border-radius: 6px;
    flex: 1;
}

.case-browser-url i {
    font-size: 0.6rem;
    color: #28c840;
}

.case-browser-body img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}

/* Phone Mockup */
.case-phone {
    width: 150px;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    z-index: 2;
    border: 3px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-phone-overlap {
    position: absolute;
    right: -15px;
    bottom: -15px;
}

.case-slide.active .case-phone-overlap {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.case-phone-center {
    width: 240px;
    height: 480px;
    border-radius: 32px;
    border-width: 4px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.case-slide.active .case-phone-center {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Multi-phone fan layout for app showcases */
.case-phone-fan {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 420px;
    width: 100%;
}

.case-fan-phone {
    width: 140px;
    height: 280px;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    border: 3px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-fan-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.case-fan-phone:nth-child(1) {
    transform: rotate(-8deg) translateY(10px);
    z-index: 1;
    margin-right: -20px;
}

.case-fan-phone:nth-child(2) {
    transform: rotate(-3deg) translateY(-5px);
    z-index: 2;
    margin-right: -15px;
}

.case-fan-phone:nth-child(3) {
    width: 160px;
    height: 320px;
    border-radius: 26px;
    z-index: 5;
    border-color: var(--accent-blue);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.case-fan-phone:nth-child(4) {
    transform: rotate(3deg) translateY(-5px);
    z-index: 2;
    margin-left: -15px;
}

.case-fan-phone:nth-child(5) {
    transform: rotate(8deg) translateY(10px);
    z-index: 1;
    margin-left: -20px;
}

.case-fan-phone:hover {
    transform: translateY(-15px) rotate(0deg) !important;
    z-index: 10 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.case-slide.active .case-fan-phone:nth-child(1) { animation: caseFanIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.case-slide.active .case-fan-phone:nth-child(2) { animation: caseFanIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.case-slide.active .case-fan-phone:nth-child(3) { animation: caseFanIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.case-slide.active .case-fan-phone:nth-child(4) { animation: caseFanIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.case-slide.active .case-fan-phone:nth-child(5) { animation: caseFanIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }

@keyframes caseFanIn {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; }
}

/* ---- Dashboard Mockup (Loan Manager) ---- */
.case-dash-browser {
    max-width: 520px;
}

.case-dash-wrapper {
    display: flex;
    min-height: 310px;
    overflow: hidden;
}

/* Sidebar */
.case-dash-sidebar {
    width: 38px;
    background: linear-gradient(180deg, #00897B 0%, #00695C 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 6px;
    gap: 2px;
    flex-shrink: 0;
}

.case-dash-sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.case-dash-sidebar-logo span {
    font-size: 0.35rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}

.case-dash-logo-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.5rem;
}

.case-dash-nav-item {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.55rem;
    cursor: default;
    transition: background 0.2s;
}

.case-dash-nav-item.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Main body */
.case-dash-body {
    flex: 1;
    padding: 0;
    background: #f0f4f8;
    overflow: hidden;
    min-width: 0;
}

[data-theme="dark"] .case-dash-body {
    background: #0d1117;
}

/* Top bar */
.case-dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .case-dash-topbar {
    background: #161b22;
    border-bottom-color: #30363d;
}

.case-dash-page-title {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 3px;
}

.case-dash-page-title i {
    color: #00897B;
    font-size: 0.45rem;
}

.case-dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-dash-search {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4rem;
    color: var(--text-secondary);
}

.case-dash-date-badge {
    font-size: 0.35rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.case-dash-date-badge i {
    font-size: 0.35rem;
}

.case-dash-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00897B, #26a69a);
    color: #fff;
    font-size: 0.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stat cards */
.case-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 6px 6px 4px;
}

.case-dash-stat {
    background: #fff;
    border-radius: 6px;
    padding: 6px 5px;
    border-left: 3px solid var(--stat-color, #2563eb);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .case-dash-stat {
    background: #161b22;
}

.case-dash-stat-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--stat-color, #2563eb) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stat-color, #2563eb);
    font-size: 0.45rem;
    flex-shrink: 0;
}

.case-dash-stat-info {
    min-width: 0;
}

.case-dash-stat-label {
    font-size: 0.3rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

[data-theme="dark"] .case-dash-stat-label {
    color: #8b949e;
}

.case-dash-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Chart panels */
.case-dash-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 4px 6px;
}

.case-dash-chart-panel {
    background: #fff;
    border-radius: 6px;
    padding: 6px 6px 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

[data-theme="dark"] .case-dash-chart-panel {
    background: #161b22;
}

.case-dash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.case-dash-chart-title {
    font-size: 0.35rem;
    font-weight: 600;
    color: var(--text-primary);
}

.case-dash-chart-legend {
    display: flex;
    gap: 3px;
}

.case-dash-legend-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

/* Bar chart */
.case-dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    padding: 0 2px;
}

.case-dash-bar-group {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 100%;
}

.case-dash-bar {
    flex: 1;
    height: var(--bar-h, 50%);
    background: var(--bar-color, #f59e0b);
    border-radius: 2px 2px 0 0;
    transform: scaleY(0);
    transform-origin: bottom;
}

.case-slide.active .case-dash-bar {
    animation: dashBarGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.case-slide.active .case-dash-bar-group:nth-child(1) .case-dash-bar { animation-delay: 0.3s; }
.case-slide.active .case-dash-bar-group:nth-child(2) .case-dash-bar { animation-delay: 0.4s; }
.case-slide.active .case-dash-bar-group:nth-child(3) .case-dash-bar { animation-delay: 0.5s; }
.case-slide.active .case-dash-bar-group:nth-child(4) .case-dash-bar { animation-delay: 0.6s; }
.case-slide.active .case-dash-bar-group:nth-child(5) .case-dash-bar { animation-delay: 0.7s; }
.case-slide.active .case-dash-bar-group:nth-child(6) .case-dash-bar { animation-delay: 0.8s; }

@keyframes dashBarGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.case-dash-axis {
    display: flex;
    justify-content: space-around;
    padding-top: 3px;
    border-top: 1px solid #e2e8f0;
    margin-top: 2px;
}

[data-theme="dark"] .case-dash-axis {
    border-top-color: #30363d;
}

.case-dash-axis span {
    font-size: 0.28rem;
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
}

/* Table */
.case-dash-table {
    margin: 4px 6px 6px;
    background: #fff;
    border-radius: 6px;
    padding: 5px 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

[data-theme="dark"] .case-dash-table {
    background: #161b22;
}

.case-dash-table-title {
    font-size: 0.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.case-dash-table-header,
.case-dash-table-row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.8fr 0.7fr;
    gap: 4px;
    padding: 2.5px 0;
    align-items: center;
}

.case-dash-table-header {
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .case-dash-table-header {
    border-bottom-color: #30363d;
}

.case-dash-table-header span {
    font-size: 0.3rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

[data-theme="dark"] .case-dash-table-header span {
    color: #8b949e;
}

.case-dash-table-row {
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .case-dash-table-row {
    border-bottom-color: #21262d;
}

.case-dash-table-row span {
    font-size: 0.3rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.case-dash-status-badge {
    font-size: 0.25rem !important;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
    text-align: center;
    font-family: 'Inter', sans-serif !important;
}

.case-dash-status-badge.active {
    background: #dcfce7;
    color: #16a34a;
}

.case-dash-status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

[data-theme="dark"] .case-dash-status-badge.active {
    background: rgba(22, 163, 106, 0.15);
}

[data-theme="dark"] .case-dash-status-badge.pending {
    background: rgba(217, 119, 6, 0.15);
}

/* Floating Login Card */
.case-dash-login {
    position: absolute;
    bottom: -20px;
    right: -25px;
    z-index: 3;
    width: 155px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.case-slide.active .case-dash-login {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.case-dash-login-inner {
    background: linear-gradient(145deg, #00897B 0%, #00695C 50%, #004D40 100%);
    padding: 16px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.case-dash-login-inner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.case-dash-login-inner::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.case-dash-login-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    position: relative;
    z-index: 1;
}

.case-dash-login-brand {
    font-size: 0.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.case-dash-login-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 2px;
}

.case-dash-login-field {
    width: 100%;
    height: 14px;
    border-radius: 4px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 5px;
    position: relative;
    z-index: 1;
}

.case-dash-login-field i {
    font-size: 0.35rem;
    color: rgba(255,255,255,0.5);
}

.case-dash-login-field span {
    font-size: 0.3rem;
    color: rgba(255,255,255,0.4);
    font-family: 'JetBrains Mono', monospace;
}

.case-dash-login-btn {
    width: 100%;
    height: 16px;
    border-radius: 4px;
    background: #fff;
    color: #00897B;
    font-size: 0.45rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 3px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.case-dash-login-btn i {
    font-size: 0.4rem;
}

/* ---- App Mockup (ECNL) ---- */

/* Phone frame */
.case-app-phone {
    width: 220px;
    height: 440px;
    border-radius: 30px;
    background: #000;
    padding: 6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #333;
}

.case-slide.active .case-app-phone {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.case-app-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.case-app-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    position: relative;
}

[data-theme="dark"] .case-app-screen {
    background: #1a1f2e;
}

/* Status bar */
.case-app-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px 2px;
    background: #00897B;
    font-size: 0.4rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 11;
}

.case-app-statusbar-right {
    display: flex;
    gap: 3px;
    font-size: 0.35rem;
}

/* Teal header */
.case-app-header {
    background: #00897B;
    padding: 6px 12px 14px;
    border-radius: 0 0 18px 18px;
}

.case-app-welcome-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.case-app-user-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-app-avatar-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    border: 1.5px solid rgba(255,255,255,0.5);
}

.case-app-username {
    font-size: 0.38rem;
    color: rgba(255,255,255,0.85);
    flex: 1;
}

.case-app-ecnl-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Menu */
.case-app-menu-label {
    font-size: 0.38rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 12px 3px;
}

.case-app-menu-row {
    padding: 0 10px;
}

.case-app-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 3px 10px;
}

.case-app-menu-item {
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #eef2f6;
}

[data-theme="dark"] .case-app-menu-item {
    background: #161b22;
    border-color: #30363d;
}

.case-app-menu-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--icon-color, #2563eb) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color, #2563eb);
    font-size: 0.45rem;
    flex-shrink: 0;
}

.case-app-menu-item span {
    font-size: 0.32rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Bottom nav */
.case-app-bottom-nav {
    margin-top: auto;
    display: flex;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    padding: 4px 0 6px;
}

[data-theme="dark"] .case-app-bottom-nav {
    background: #161b22;
    border-top-color: #30363d;
}

.case-app-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 0.45rem;
    color: #94a3b8;
}

.case-app-nav-tab span {
    font-size: 0.28rem;
    font-weight: 500;
}

.case-app-nav-tab.active {
    color: #00897B;
}

/* Floating Live Game Card */
.case-app-live-card {
    position: absolute;
    top: 30px;
    right: -30px;
    z-index: 4;
    width: 160px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateX(20px) scale(0.95);
}

[data-theme="dark"] .case-app-live-card {
    background: #161b22;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

.case-slide.active .case-app-live-card {
    animation: caseSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.case-app-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.35rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .case-app-live-badge {
    background: rgba(220, 38, 38, 0.15);
}

.case-app-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dc2626;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.case-app-live-title {
    font-size: 0.35rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.case-app-live-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.case-app-live-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.case-app-team-crest {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--crest-color, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
}

.case-app-live-team span {
    font-size: 0.3rem;
    font-weight: 500;
    color: var(--text-primary);
}

.case-app-live-score {
    display: flex;
    align-items: center;
    gap: 4px;
}

.case-app-score-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
}

.case-app-score-vs {
    font-size: 0.5rem;
    color: var(--text-secondary);
}

.case-app-live-time {
    text-align: center;
    font-size: 0.3rem;
    color: #16a34a;
    font-weight: 600;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #f1f5f9;
}

[data-theme="dark"] .case-app-live-time {
    border-top-color: #30363d;
}

/* Floating Standings Card */
.case-app-standings-card {
    position: absolute;
    bottom: 10px;
    left: -35px;
    z-index: 3;
    width: 140px;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
}

[data-theme="dark"] .case-app-standings-card {
    background: #161b22;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.06);
}

.case-slide.active .case-app-standings-card {
    animation: caseFanIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.case-app-standings-title {
    font-size: 0.4rem;
    font-weight: 700;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 5px;
}

.case-app-standings-title i {
    font-size: 0.4rem;
}

.case-app-standings-row {
    display: grid;
    grid-template-columns: 14px 1fr 28px;
    gap: 4px;
    padding: 2.5px 0;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .case-app-standings-row {
    border-bottom-color: #21262d;
}

.case-app-standings-row.header {
    border-bottom-color: #e2e8f0;
}

[data-theme="dark"] .case-app-standings-row.header {
    border-bottom-color: #30363d;
}

.case-app-standings-row.header span {
    font-size: 0.28rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.case-app-standings-row span {
    font-size: 0.3rem;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.case-app-standings-row span:nth-child(2) {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-app-rank {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.28rem !important;
    font-weight: 700;
    color: #00897B !important;
}

[data-theme="dark"] .case-app-rank {
    background: #21262d;
}

/* Story Column */
.case-story {
    flex: 1;
    max-width: 520px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-slide.active .case-story {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

/* Staggered animation for story child elements */
.case-story > * {
    opacity: 0;
    transform: translateY(18px);
}

.case-slide.active .case-story > .case-meta {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.case-slide.active .case-story > .case-title {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.case-slide.active .case-story > .case-tagline {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}
.case-slide.active .case-story > :nth-child(4) {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both;
}
.case-slide.active .case-story > :nth-child(5) {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}
.case-slide.active .case-story > .case-metrics {
    animation: caseStoryItemIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.case-slide.active .case-story > .case-tech-row {
    animation: caseStoryItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}
.case-slide.active .case-story > .case-actions {
    animation: caseStoryItemIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.76s both;
}

@keyframes caseStoryItemIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.case-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.case-industry {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 600;
}

.case-client {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.case-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.case-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Story Blocks */
.case-block {
    margin-bottom: 1.25rem;
}

.case-block-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.case-block-label i {
    font-size: 0.75rem;
}

.case-block:first-of-type .case-block-label i { color: #f59e0b; }
.case-block:nth-of-type(2) .case-block-label i { color: #10b981; }

.case-block p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Impact Metrics */
.case-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-metric {
    text-align: center;
}

.case-metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1.2;
}

.case-metric-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Tech Tags */
.case-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.case-tech-tag {
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Action Buttons */
.case-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.case-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.case-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.case-btn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-card);
}

.case-btn-store:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Slider Controls */
.case-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.case-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.case-arrow:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
}

.case-progress {
    width: 120px;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.case-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

/* Animations */
@keyframes caseSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
    .case-section-title { font-size: 2rem; }

    .case-slide-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .case-visual {
        min-height: auto;
        transform: translateY(-30px);
    }
    .case-slide.active .case-visual {
        transform: translateY(0);
    }
    .case-story {
        transform: translateY(30px);
    }
    .case-slide.active .case-story {
        transform: translateY(0);
    }
    .case-browser { max-width: 400px; }

    .case-phone-overlap {
        right: 0;
        width: 120px;
        height: 240px;
    }

    .case-phone-center {
        width: 200px;
        height: 400px;
    }

    .case-story {
        max-width: 100%;
        text-align: center;
    }

    .case-meta { justify-content: center; }
    .case-block { text-align: left; }
    .case-metrics { grid-template-columns: repeat(2, 1fr); }
    .case-tech-row { justify-content: center; }
    .case-actions { justify-content: center; }
    .case-slide-number { display: none; }
    .case-thumb-nav { flex-wrap: wrap; }

    .case-fan-phone { width: 110px; height: 220px; border-radius: 18px; }
    .case-fan-phone:nth-child(3) { width: 130px; height: 260px; border-radius: 20px; }
    .case-phone-fan { min-height: 300px; }

    .case-dash-browser { max-width: 420px; }
    .case-dash-sidebar { width: 32px; }
    .case-dash-logo-circle { width: 18px; height: 18px; font-size: 0.4rem; }
    .case-dash-nav-item { width: 22px; height: 22px; font-size: 0.45rem; }
    .case-dash-login { width: 130px; right: -10px; bottom: -10px; }

    .case-app-phone { width: 190px; height: 380px; border-radius: 26px; }
    .case-app-live-card { width: 140px; right: -15px; top: 20px; }
    .case-app-standings-card { width: 120px; left: -20px; }
}

@media (max-width: 575px) {
    .case-studies-section { padding: 1.5rem 0 1.25rem; }
    .case-section-title { font-size: 1.6rem; }
    .case-browser { max-width: 100%; }

    .case-phone-overlap {
        width: 90px; height: 180px;
        right: -5px; bottom: -5px;
        border-radius: 18px;
    }

    .case-phone-center { width: 170px; height: 340px; }
    .case-title { font-size: 1.5rem; }
    .case-metrics { grid-template-columns: repeat(2, 1fr); padding: 1rem; }
    .case-metric-value { font-size: 1.1rem; }
    .case-slider { min-height: auto; }
    .case-thumb-nav { gap: 0.5rem; }

    .case-thumb-item {
        padding: 0.5rem 1rem;
        flex: 1; min-width: 0;
        justify-content: center;
    }

    .case-thumb-num { display: none; }
    .case-thumb-type { display: none; }

    .case-fan-phone { width: 80px; height: 160px; border-radius: 14px; }
    .case-fan-phone:nth-child(3) { width: 95px; height: 190px; border-radius: 16px; }
    .case-fan-phone:nth-child(1) { margin-right: -12px; }
    .case-fan-phone:nth-child(5) { margin-left: -12px; }
    .case-phone-fan { min-height: 220px; }

    .case-dash-browser { max-width: 100%; }
    .case-dash-sidebar { display: none; }
    .case-dash-stats { grid-template-columns: repeat(2, 1fr); }
    .case-dash-bars { height: 35px; }
    .case-dash-date-badge { display: none; }
    .case-dash-login { width: 110px; right: -5px; bottom: -5px; border-radius: 10px; }
    .case-dash-login-inner { padding: 10px 8px 8px; }
    .case-dash-login-brand { display: none; }

    .case-app-phone { width: 160px; height: 320px; border-radius: 22px; padding: 4px; }
    .case-app-notch { width: 60px; height: 16px; border-radius: 0 0 10px 10px; }
    .case-app-screen { border-radius: 18px; }
    .case-app-header { padding: 4px 8px 10px; }
    .case-app-welcome-text { font-size: 0.5rem; }
    .case-app-live-card { width: 120px; right: -10px; top: 10px; padding: 6px; }
    .case-app-team-crest { width: 18px; height: 18px; font-size: 0.4rem; }
    .case-app-score-num { font-size: 0.65rem; }
    .case-app-standings-card { width: 110px; left: -10px; bottom: 5px; padding: 5px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    opacity: 0.3;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   INDUSTRIES
   ============================================ */

.industry-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-primary);
}

.industry-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.industry-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.industry-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--bg-dark-section);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-on-dark-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--bg-secondary);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

/* Floating background circles */
.contact-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}

.contact-bg-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: -100px;
    right: -100px;
    animation: contactBgFloat 10s ease-in-out infinite;
}

.contact-bg-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    bottom: -80px;
    left: -60px;
    animation: contactBgFloat 12s ease-in-out infinite reverse;
}

.contact-bg-circle-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: contactBgPulse 8s ease-in-out infinite;
}

@keyframes contactBgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

@keyframes contactBgPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.08; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.15; }
}

.contact-bg-honeycomb {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.3;
    mask-image: linear-gradient(135deg, black 0%, transparent 40%, transparent 60%, black 100%);
    -webkit-mask-image: linear-gradient(135deg, black 0%, transparent 40%, transparent 60%, black 100%);
}

/* Glow Cards */
.contact-glow-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-glow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
}

.contact-glow-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, var(--accent-blue), transparent 40%, transparent 60%, var(--accent-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-glow-card:hover .contact-glow-border {
    opacity: 1;
}

.contact-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: border-color 0.4s ease;
}

.contact-glow-card:hover .contact-card-inner {
    border-color: transparent;
}

/* CTA Card special styling */
.contact-cta-card .contact-card-inner {
    text-align: center;
}

/* Animated icon with ring */
.contact-card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

.contact-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    opacity: 0.3;
    animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0; }
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-response-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* Checklist with staggered animation */
.contact-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.contact-checklist li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: checklistSlideIn 0.4s ease forwards;
    animation-delay: var(--item-delay, 0s);
}

.contact-checklist li i {
    color: #22c55e;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.contact-checklist li:hover i {
    transform: scale(1.3);
}

@keyframes checklistSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

/* CTA Button with shine effect */
.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 2rem;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.contact-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.contact-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Contact detail items with stagger */
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: detailFadeUp 0.5s ease forwards;
    animation-delay: var(--item-delay, 0s);
}

@keyframes detailFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.contact-detail-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-detail-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
}

a.contact-detail-value:hover {
    color: var(--accent-blue);
}

@media (max-width: 575.98px) {
    .contact-card-inner {
        padding: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-footer);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 56px;
    width: auto;
    filter: brightness(1.15);
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: var(--text-on-dark-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    transform: translateY(-2px);
}

.footer h6 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-on-dark-muted);
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-on-dark-muted);
    font-size: 0.88rem;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(4px);
}

.footer-contact-item i {
    color: var(--accent-primary);
    font-size: 1rem;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.footer-contact-item:hover i {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-on-dark-muted);
    font-size: 0.82rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

/* ============================================
   COMPANY INNER PAGES
   Page Hero, About, Blog, Careers
   ============================================ */

/* ---------- Page Hero (Reusable) ---------- */
.page-hero {
    background: var(--bg-hero);
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-on-dark-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--text-on-dark);
}

.breadcrumb-nav i {
    font-size: 0.7rem;
    color: var(--text-on-dark-muted);
    opacity: 0.5;
}

.breadcrumb-nav span {
    color: var(--text-on-dark);
    font-weight: 500;
}

/* ---------- Page Stats Section ---------- */
.page-stats-section {
    background: var(--bg-dark-section);
    padding: 4rem 0;
}

.page-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.page-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-stat-label {
    font-size: 0.95rem;
    color: var(--text-on-dark-muted);
}

/* ---------- Page CTA Section ---------- */
.page-cta-section {
    background: var(--bg-dark-section);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.page-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.page-cta-section h2 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-cta-section p {
    color: var(--text-on-dark-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.page-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-page-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-page-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.btn-page-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-page-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-on-dark);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Story Text */
.about-story-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Story Visual Cards */
.about-story-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.about-story-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-story-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.about-story-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.about-story-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.mission-vision-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mission-vision-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Value Cards */
.about-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: center;
}

.about-value-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.value-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent, var(--accent-primary)) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent, var(--accent-primary));
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.about-value-card:hover .value-card-icon {
    background: var(--accent-gradient);
    color: #fff;
}

.about-value-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-value-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: #fff;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

/* Office Cards */
.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.office-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.office-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.office-flag i {
    font-size: 1rem;
}

.office-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.office-address {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.office-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.office-details span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.office-details i {
    color: var(--accent-primary);
    font-size: 0.85rem;
}

.office-desc {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   BLOG PAGE
   ============================================ */

/* Category Navigation */
.blog-categories-section {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.blog-category-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-category-nav::-webkit-scrollbar {
    display: none;
}

.blog-cat-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-cat-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.blog-cat-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

/* Blog Grid */
.blog-grid-section {
    background: var(--bg-primary);
}

/* Blog Card */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.blog-card-thumbnail {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-thumb-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb-icon {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

.blog-card-author span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.6rem;
    color: var(--accent-primary-hover);
}

/* ============================================
   CAREERS PAGE
   ============================================ */

/* Benefit Cards */
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent, var(--accent-primary)) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent, var(--accent-primary));
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--accent-gradient);
    color: #fff;
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Culture Section */
.culture-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.culture-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.culture-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.culture-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.culture-item > i {
    font-size: 1.3rem;
    color: var(--accent-primary);
    margin-top: 0.15rem;
}

.culture-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.culture-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-listing {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.job-listing:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-primary);
}

.job-listing-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.job-listing-info {
    flex: 1;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

.job-tag i {
    font-size: 0.75rem;
}

.job-tag.experience {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: color-mix(in srgb, var(--accent-primary) 8%, transparent);
}

.job-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.job-listing-action {
    flex-shrink: 0;
}

.btn-job-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-job-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: #fff;
}

/* Section subtitle shared */
.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   COMPANY PAGES - RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 8rem 0 3rem;
    }

    .page-hero-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    .job-listing-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .job-listing-action {
        width: 100%;
    }

    .btn-job-apply {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 7rem 0 2.5rem;
    }

    .page-stat-number {
        font-size: 2rem;
    }

    .blog-card-thumbnail {
        height: 160px;
    }

    .office-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-navbar-scrolled);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .navbar-aws .nav-link {
        color: var(--text-primary) !important;
        padding: 0.75rem 1rem !important;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-slide-icon {
        width: 200px;
        height: 200px;
    }

    .hero-slide-icon i {
        font-size: 4rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn-hero-primary,
    .hero-cta-group .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .hero-slider-controls {
        padding: 0 1rem 1rem;
    }

    .hero-slider-arrows {
        display: none;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .service-tabs-nav {
        gap: 0.3rem;
    }

    .service-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITY
   ============================================ */

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark-section {
    background: var(--bg-dark-section);
}

/* Blazor error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */

/* ---------- Service Page Hero ---------- */
.service-page-hero {
    background: var(--bg-hero);
    position: relative;
    padding: 10rem 0 5rem;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.service-page-hero .hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.service-page-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-on-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.service-page-hero-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-page-hero-subtitle {
    color: var(--text-on-dark-muted);
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 2rem;
}

.service-hero-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    animation: service-hero-pulse 3s ease-in-out infinite;
}

@keyframes service-hero-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

/* ---------- Breadcrumb ---------- */
.service-page-breadcrumb {
    margin-bottom: 2rem;
}

.service-page-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.service-page-breadcrumb li {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
}

.service-page-breadcrumb li a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.service-page-breadcrumb li a:hover {
    color: var(--text-on-dark);
}

.service-page-breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--text-on-dark-muted);
    opacity: 0.5;
}

.service-page-breadcrumb li.active {
    color: var(--text-on-dark);
    font-weight: 500;
}

/* ---------- Overview Stats ---------- */
.service-overview-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-overview-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-overview-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.35rem;
}

.service-overview-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- Service Detail Card ---------- */
.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-primary);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.service-detail-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-detail-card-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ---------- Tech Badge Grid ---------- */
.tech-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.tech-badge i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    position: relative;
}

.process-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Service Page CTA ---------- */
.service-page-cta {
    background: var(--bg-dark-section);
    padding: 5rem 0;
    position: relative;
}

.service-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.08), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.08), transparent 60%);
    pointer-events: none;
}

/* ========== TECHNOLOGY PAGE HERO (Redesigned) ========== */

/* Per-technology accent colors */
/* Technology page accents */
.tech-hero--frontend { --tech-accent: #3b82f6; --tech-accent-rgb: 59, 130, 246; --tech-glow: #60a5fa; }
.tech-hero--backend { --tech-accent: #10b981; --tech-accent-rgb: 16, 185, 129; --tech-glow: #34d399; }
.tech-hero--mobile { --tech-accent: #f59e0b; --tech-accent-rgb: 245, 158, 11; --tech-glow: #fbbf24; }
.tech-hero--cloud { --tech-accent: #6366f1; --tech-accent-rgb: 99, 102, 241; --tech-glow: #818cf8; }
.tech-hero--ai { --tech-accent: #ec4899; --tech-accent-rgb: 236, 72, 153; --tech-glow: #f472b6; }
.tech-hero--database { --tech-accent: #14b8a6; --tech-accent-rgb: 20, 184, 166; --tech-glow: #2dd4bf; }

/* Service page accents */
.tech-hero--ai-native { --tech-accent: #8b5cf6; --tech-accent-rgb: 139, 92, 246; --tech-glow: #a78bfa; }
.tech-hero--product-eng { --tech-accent: #f97316; --tech-accent-rgb: 249, 115, 22; --tech-glow: #fb923c; }
.tech-hero--automation { --tech-accent: #06b6d4; --tech-accent-rgb: 6, 182, 212; --tech-glow: #22d3ee; }
.tech-hero--cloud-arch { --tech-accent: #2563eb; --tech-accent-rgb: 37, 99, 235; --tech-glow: #60a5fa; }

/* Override the accent gradient per tech */
.service-page-hero[class*="tech-hero--"] .service-page-hero-title .highlight {
    background: linear-gradient(135deg, var(--tech-accent), var(--tech-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-page-hero[class*="tech-hero--"] .hero-badge {
    background: rgba(var(--tech-accent-rgb), 0.15);
    border-color: rgba(var(--tech-accent-rgb), 0.25);
    color: var(--tech-glow);
}

/* Accent line under hero */
.service-page-hero[class*="tech-hero--"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--tech-accent), var(--tech-glow), transparent);
    opacity: 0.6;
}

/* Glowing orb background */
.tech-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--tech-accent-rgb), 0.12) 0%, transparent 70%);
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    pointer-events: none;
    animation: tech-glow-pulse 4s ease-in-out infinite;
}

@keyframes tech-glow-pulse {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}

/* Hero stats row inside hero */
.tech-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tech-hero-stat {
    display: flex;
    flex-direction: column;
}

.tech-hero-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tech-glow);
    line-height: 1.2;
}

.tech-hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-on-dark-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* Floating tech pills panel on right */
.tech-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.tech-hero-orbit {
    position: relative;
    width: 280px;
    height: 280px;
}

/* Center icon */
.tech-hero-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(var(--tech-accent-rgb), 0.1);
    border: 1.5px solid rgba(var(--tech-accent-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.tech-hero-center-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--tech-accent), var(--tech-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Orbit ring */
.tech-hero-orbit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(var(--tech-accent-rgb), 0.15);
    animation: tech-orbit-spin 30s linear infinite;
}

@keyframes tech-orbit-spin {
    to { transform: rotate(360deg); }
}

/* Floating tech pills */
.tech-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    color: var(--text-on-dark);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    animation: tech-pill-float 6s ease-in-out infinite;
    z-index: 3;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: rgba(var(--tech-accent-rgb), 0.15);
    border-color: rgba(var(--tech-accent-rgb), 0.35);
    transform: scale(1.08);
}

.tech-pill i {
    font-size: 1rem;
    color: var(--tech-glow);
}

.tech-pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Positioning for pills around the orbit */
.tech-pill:nth-child(1) { top: -8%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.tech-pill:nth-child(2) { top: 15%; right: -25%; animation-delay: 0.8s; }
.tech-pill:nth-child(3) { top: 50%; right: -30%; transform: translateY(-50%); animation-delay: 1.6s; }
.tech-pill:nth-child(4) { bottom: 15%; right: -20%; animation-delay: 2.4s; }
.tech-pill:nth-child(5) { bottom: -8%; left: 50%; transform: translateX(-50%); animation-delay: 3.2s; }
.tech-pill:nth-child(6) { top: 50%; left: -25%; transform: translateY(-50%); animation-delay: 4s; }
.tech-pill:nth-child(7) { top: 15%; left: -20%; animation-delay: 4.8s; }

@keyframes tech-pill-float {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; transform: translateY(-6px); }
}

/* Override the nth-child transforms on hover */
.tech-pill:nth-child(n):hover {
    transform: scale(1.08) !important;
}

/* Connector lines (subtle) */
.tech-hero-orbit::after {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(var(--tech-accent-rgb), 0.06);
}

/* Code snippet decoration */
.tech-hero-code-decor {
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(var(--tech-accent-rgb), 0.35);
    line-height: 1.6;
    pointer-events: none;
    z-index: 1;
}

/* ---------- Service/Tech Pages Responsive ---------- */
@media (max-width: 991.98px) {
    .service-page-hero {
        padding: 8rem 0 3.5rem;
        min-height: auto;
    }

    .service-page-hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .tech-hero-visual {
        display: none;
    }

    .tech-hero-glow {
        width: 300px;
        height: 300px;
        right: -10%;
        opacity: 0.5;
    }

    .tech-hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .service-page-hero {
        padding: 7rem 0 2.5rem;
    }

    .tech-hero-stats {
        gap: 1rem;
    }

    .tech-hero-stat-number {
        font-size: 1.3rem;
    }

    .tech-hero-stat-label {
        font-size: 0.7rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-card {
        padding: 1.5rem 1.25rem;
    }

    .service-overview-stat .stat-number {
        font-size: 1.6rem;
    }
}

/* ============================================
   COMPANY PAGES (About, Blog, Careers)
   ============================================ */

/* Page Hero (shared for all inner pages) */
.page-hero {
    background: var(--bg-hero);
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--accent-primary);
}

.breadcrumb-nav i {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.9);
}

/* Page Stats Section */
.page-stats-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-stat {
    text-align: center;
    padding: 1rem;
}

.page-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.page-stat-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Page CTA Section */
.page-cta-section {
    background: var(--bg-dark-section);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.page-cta-section h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.page-cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.page-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-page-cta-primary {
    background: var(--accent-gradient) !important;
    color: #fff !important;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-page-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-page-cta-secondary {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-page-cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* ---- ABOUT PAGE ---- */

.about-story-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.about-story-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.about-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-story-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.about-story-card h4 {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-story-card p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.mission-vision-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-vision-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.mission-vision-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* About Value Cards */
.about-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-value-card:hover::before {
    transform: scaleX(1);
}

.value-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about-value-card:hover .value-card-icon {
    background: var(--accent-gradient);
    color: #fff;
}

.about-value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.team-social a:hover {
    background: var(--accent-gradient);
    color: #fff;
}

/* Office Cards */
.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.office-flag {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.office-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.office-address,
.office-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.office-address i,
.office-desc i {
    color: var(--accent-primary);
    margin-top: 0.2rem;
}

/* ---- BLOG PAGE ---- */

.blog-categories-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.blog-category-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-cat-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-cat-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.blog-cat-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

.blog-grid-section {
    padding: 3rem 0 6rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card-thumbnail {
    height: 180px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 100%);
}

.blog-card-thumb-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
}

.blog-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.blog-card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.blog-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}

.blog-read-more:hover {
    gap: 0.5rem;
}

/* ---- CAREERS PAGE ---- */

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--bg-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--accent-gradient);
    color: #fff;
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Culture Section */
.culture-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.culture-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.culture-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.culture-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-listing {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.job-listing:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.job-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.job-tag.cat {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
}

.job-tag.experience {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-secondary);
}

.job-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.job-listing-info {
    flex: 1;
}

.job-listing-action {
    flex-shrink: 0;
}

.btn-job-apply {
    background: var(--accent-gradient);
    color: #fff !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-job-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* ---- COMPANY PAGES RESPONSIVE ---- */

@media (max-width: 991.98px) {
    .page-hero {
        padding: 8rem 0 3rem;
    }

    .job-listing {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-story-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .page-hero {
        padding: 7rem 0 2.5rem;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }

    .about-story-visual {
        grid-template-columns: 1fr;
    }

    .blog-category-nav {
        justify-content: flex-start;
    }

    .page-stat-number {
        font-size: 2rem;
    }
}
