.preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-8);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__logo {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-white);
    letter-spacing: var(--tracking-tight);
}

.preloader__logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-3) 0;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition-base), padding var(--transition-base);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color-light);
}

[data-theme="dark"] .navbar {
    background: rgba(20, 12, 34, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color-light);
    padding: var(--space-3) 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(20, 12, 34, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar--force-dark:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
}

.navbar__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: var(--weight-extrabold);
    font-size: var(--text-2xl);
    color: var(--color-gray-900);
    text-decoration: none;
    letter-spacing: -0.02em;
    padding: 6px 14px;
    border: 1.5px solid rgba(120, 81, 169, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-base);
}

.navbar__logo:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(120, 81, 169, 0.2);
}

.navbar__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

[data-theme="dark"] .navbar__logo {
    background: #ffffff !important;
    border-color: rgba(120, 81, 169, 0.25) !important;
}

[data-theme="dark"] .navbar__logo-img {
    filter: none !important;
}

.navbar.scrolled .navbar__logo {
    color: var(--text-primary);
}

[data-theme="dark"] .navbar:not(.scrolled) .navbar__link {
    color: var(--color-white);
}

[data-theme="dark"] .navbar.scrolled .navbar__link {
    color: var(--color-white);
}

[data-theme="dark"] .navbar__link:hover,
[data-theme="dark"] .navbar__link.active {
    color: var(--color-white);
    background: transparent;
}

[data-theme="dark"] .navbar__link:hover::before,
[data-theme="dark"] .navbar__link.active::before {
    background: var(--color-white);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.navbar__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: var(--weight-extrabold);
    font-size: var(--text-lg);
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.navbar__link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    position: relative;
    background: transparent !important;
}

.navbar__link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-accent);
}

.navbar__link:hover::before,
.navbar__link.active::before {
    background: var(--color-accent);
}

.navbar.scrolled .navbar__link {
    color: var(--text-primary);
}

.navbar.scrolled .navbar__link:hover,
.navbar.scrolled .navbar__link.active {
    color: var(--color-accent);
}

[data-theme="dark"] .navbar.scrolled .navbar__link {
    color: var(--text-on-dark-muted);
}

[data-theme="dark"] .navbar.scrolled .navbar__link:hover,
[data-theme="dark"] .navbar.scrolled .navbar__link.active {
    color: var(--color-accent);
}

.navbar__link--has-dropdown::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: var(--space-2);
    transition: transform var(--transition-fast);
}

.navbar__link--has-dropdown.open::after {
    transform: rotate(-135deg) translateY(-2px);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    z-index: 10;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-lg);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.navbar.scrolled .theme-toggle {
    background: var(--surface-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.navbar.scrolled .theme-toggle:hover {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

[data-theme="dark"] .navbar.scrolled .theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark-muted);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: inline;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

.navbar__cta {
    padding: var(--space-2) var(--space-5);
    background: linear-gradient(to bottom, #281657 0%, #46228F 100%);
    color: var(--color-white) !important;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.navbar__cta:hover {
    background: linear-gradient(to bottom, #2e1a63 0%, #5127a3 100%);
    box-shadow: 0 6px 20px rgba(70, 34, 143, 0.6);
    transform: translateY(-1px);
    color: var(--color-white) !important;
}

.navbar__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1110;
}

.navbar__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-900);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .navbar__mobile-toggle span {
    background: var(--color-white);
}

.navbar.scrolled .navbar__mobile-toggle span {
    background: var(--text-primary);
}

.navbar__mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--surface-primary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    display: block;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--color-secondary);
    border-color: rgba(255, 255, 255, 0.05);
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-5);
    color: var(--text-primary);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3.5px;
    height: 70%;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    border-radius: 0 4px 4px 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover::before,
.dropdown-item.active::before {
    transform: translateY(-50%) scaleY(1);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #7c3aed !important;
    font-weight: 600;
}

.submenu .dropdown-item:hover,
.submenu .dropdown-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.dropdown-item:hover .submenu-icon,
.dropdown-item.active .submenu-icon {
    color: #7c3aed !important;
}

.submenu .dropdown-item:hover .submenu-icon,
.submenu .dropdown-item.active .submenu-icon {
    color: #ffffff !important;
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-on-dark);
}

[data-theme="dark"] .dropdown-item::before {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item.active {
    background: rgba(124, 58, 237, 0.25) !important;
    color: #c084fc !important;
}

[data-theme="dark"] .submenu .dropdown-item:hover,
[data-theme="dark"] .submenu .dropdown-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .dropdown-item:hover .submenu-icon,
[data-theme="dark"] .dropdown-item.active .submenu-icon {
    color: #c084fc !important;
}

.dropdown-item span {
    flex: 1;
}

.submenu-icon {
    font-size: 10px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.submenu {
    position: absolute;
    top: -1px;
    left: 100%;
    min-width: 250px;
    background: var(--surface-primary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-base);
    z-index: calc(var(--z-sticky) + 1);
}

[data-theme="dark"] .submenu {
    background: var(--color-secondary);
    border-color: rgba(255, 255, 255, 0.05);
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero {
    position: relative;
    background: var(--color-white);
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 30%,
            rgba(255, 255, 255, 0.8) 45%,
            rgba(255, 255, 255, 0) 65%);
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: flex-start;
    flex: 1;
}

.hero__content {
    max-width: 620px;
    padding: 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 16px;
    background: var(--color-white);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-size: 0.82rem;
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-5);
    letter-spacing: 0.02em;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3vw + 1rem, 3.75rem);
    font-weight: var(--weight-extrabold);
    color: var(--color-gray-900);
    line-height: 1.15;
    margin-bottom: var(--space-5);
    letter-spacing: -0.025em;
}

.hero__title-accent {
    color: var(--color-text-accent);
    position: relative;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn--dark {
    background: var(--color-gray-900);
    color: var(--color-white);
    border: 2px solid var(--color-gray-900);
    padding: var(--space-4) var(--space-8);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
}

.btn--dark:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
}

.btn--dark i {
    margin-right: var(--space-2);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-gray-900);
    border: 2px solid var(--color-gray-300);
    padding: var(--space-4) var(--space-8);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
}

.btn--outline-dark:hover {
    border-color: var(--color-gray-900);
    background: var(--color-gray-50);
    transform: translateY(-2px);
}

.hero__bg {
    background: #faf8fc;
}

.analytics-dashboard-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.03);
}

@keyframes mvPartnerFadePulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    }
    50% {
        opacity: 0.82;
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(124, 58, 237, 0.15);
    }
}

.hero-partner-badge {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-partner-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.25);
    border-color: rgba(167, 139, 250, 0.4);
}

.dashboard-stat-val {
    color: #0f172a;
    transition: color 0.3s ease;
}

@media (max-width: 767.98px) {
    .hero-partner-badge {
        width: 270px;
        max-width: 92%;
        min-height: 48px;
        justify-content: center;
    }
}

.hero-partner-badge-text {
    font-weight: 800;
    color: #1e1b2e;
}

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

.hero__glass-dashboard {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg) translateY(0);
    animation: float-slow 6s ease-in-out infinite;
}

.hero__glass-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.hero__glass-dots span:nth-child(1) {
    background: #EF4444;
}

.hero__glass-dots span:nth-child(2) {
    background: #F59E0B;
}

.hero__glass-dots span:nth-child(3) {
    background: #10B981;
}

.hero__glass-title {
    font-size: var(--text-xs);
    color: var(--color-gray-800);
    font-weight: var(--weight-bold);
}

.hero__glass-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero__glass-metric {
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero__glass-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-gray-600);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.hero__glass-value {
    font-size: var(--text-2xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-gray-900);
}

.hero__glass-trend.up {
    color: var(--color-success);
    font-size: 11px;
    font-weight: bold;
    margin-top: 4px;
}

.hero__glass-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding-top: var(--space-4);
}

.hero__glass-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(79, 70, 229, 0.8), rgba(6, 182, 212, 0.8));
    border-radius: 4px 4px 0 0;
}

.hero__glass-card {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 5s ease-in-out infinite reverse;
}

.hero__glass-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__glass-text {
    font-weight: var(--weight-bold);
    color: var(--color-gray-900);
    font-size: var(--text-sm);
}

.hero__glass-sub {
    font-size: 11px;
    color: var(--color-gray-600);
}

.hero-testimonial-slider {
    width: 100%;
    max-width: 750px;
    padding: 40px 0;
    margin: -40px 0;
}

.hero-testimonial-slider .swiper-slide {
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero__testimonial-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 700px;
    cursor: pointer;
}

.hero__testimonial-image {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-right: -40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero__testimonial-content {
    background: white;
    border-radius: 30px;
    padding: 50px 40px 40px 70px;
    box-shadow: 0 20px 50px rgba(62, 24, 122, 0.15);
    border: 2px solid #3e187a;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__testimonial-wrapper:hover .hero__testimonial-content {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.3), 0 0 30px rgba(167, 139, 250, 0.15);
    border-color: rgba(124, 58, 237, 0.7);
}

.hero__testimonial-wrapper:hover .hero__testimonial-image {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.35);
}

.hero__testimonial-wrapper:active .hero__testimonial-content {
    transform: translateY(-2px) scale(0.985);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

.hero__testimonial-wrapper:active .hero__testimonial-image {
    transform: translateY(-2px) scale(0.98);
}

.hero__testimonial-content::before {
    content: '★★★★★';
    position: absolute;
    top: 25px;
    right: 40px;
    color: #FBBF24;
    font-size: 22px;
    letter-spacing: 3px;
    z-index: 1;
}

.hero__testimonial-header {
    margin-bottom: var(--space-3);
    text-align: center;
}

.hero__testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.hero__testimonial-role {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 600;
}

.hero__testimonial-text {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.7;
    text-align: center;
    font-style: normal;
}

.hero__stats-bar {
    position: relative;
    z-index: 2;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: 10px 0;
    margin-top: 0;
    transform: translateY(-35px);
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 65px;
    transform: none;
}

.hero__stat {
    text-align: center;
    padding: 0 32px;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__stat:hover {
    transform: translateY(-2px);
    border: none;
    box-shadow: none;
    background: transparent;
}

.hero__stat:hover .hero__stat-value {
    transform: scale(1.05);
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: var(--weight-extrabold);
    color: var(--color-accent);
    display: block;
    line-height: 1.1;
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__stat:active {
    transform: translateY(-1px) scale(0.97);
    box-shadow: none;
}

.hero__stat-label {
    font-size: 0.65rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: var(--weight-medium);
    margin-top: 0;
    display: block;
    line-height: 1.1;
}

.hero__stat-divider {
    width: 1px;
    height: 24px;
    background: var(--color-gray-200);
}

.hero__wave {
    position: relative;
    z-index: 1;
    margin-top: -1px;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 40px;
    display: block;
}


.trusted-by {
    padding: var(--space-16) 0;
    background: var(--surface-primary);
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

[data-theme="dark"] .trusted-by {
    background: var(--color-primary);
    border-color: rgba(255, 255, 255, 0.05);
}

.trusted-by__label {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-8);
}

.trusted-by__carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.trusted-by__track {
    display: flex;
    gap: var(--space-16);
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.trusted-by__track:hover {
    animation-play-state: paused;
}

.trusted-by__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    cursor: default;
}

.trusted-by__logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trusted-by__logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.trusted-by__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--text-muted);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.trusted-by__logo:hover .trusted-by__logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .trusted-by__logo-text {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .trusted-by__logo:hover .trusted-by__logo-text {
    color: var(--color-white);
}

.services__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    background: var(--surface-secondary);
    padding: var(--space-1) var(--space-1);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color-light);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    flex-wrap: wrap;
    margin: 0 auto;
}

.services__filter-btn {
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.services__filter-btn.active {
    background: var(--color-white);
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

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

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

.services__grid .card {
    opacity: 1;
    visibility: visible;
}

.counters {
    background: var(--gradient-hero);
    padding: var(--space-8) 0;
    position: relative;
    overflow: hidden;
}

.counters::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-radial);
    pointer-events: none;
}

.counters__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 2;
}

.counter {
    text-align: center;
}

.counter__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.15);
    color: var(--color-accent-secondary);
    border-radius: var(--radius-lg);
    font-size: var(--text-xl);
    margin: 0 auto var(--space-5);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.counter__value {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.counter__label {
    font-size: var(--text-sm);
    color: var(--text-on-dark-muted);
    font-weight: var(--weight-medium);
}

@media (max-width: 767.98px) {
    .counters__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-10);
    }
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: var(--space-4) var(--space-6);
}

.timeline__item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: var(--space-6);
}

.timeline__item:nth-child(even) {
    left: 50%;
    padding-left: var(--space-6);
}

.timeline__dot {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-base);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.timeline__item:nth-child(odd) .timeline__dot {
    right: -20px;
}

.timeline__item:nth-child(even) .timeline__dot {
    left: -20px;
}

.timeline__item:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 50%;
    width: 6px;
    background: #1b0a33;
    z-index: 1;
}

.timeline__item:first-child:nth-child(odd)::before {
    right: -3px;
}

.timeline__item:first-child:nth-child(even)::before {
    left: -3px;
}

.timeline__item:last-child::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: 0;
    width: 6px;
    background: #1b0a33;
    z-index: 1;
}

.timeline__item:last-child:nth-child(odd)::after {
    right: -3px;
}

.timeline__item:last-child:nth-child(even)::after {
    left: -3px;
}

.timeline__content {
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    transition: all var(--transition-base);
}

.timeline__content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.timeline__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--leading-relaxed);
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 20px;
    }

    .timeline__item,
    .timeline__item:nth-child(odd),
    .timeline__item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline__item:nth-child(odd) .timeline__dot,
    .timeline__item:nth-child(even) .timeline__dot {
        left: -4px;
        right: auto;
    }
}

.section--why-us {
    background-color: #1F163D;
    position: relative;
    overflow: hidden;
}

.section--why-us .section__title,
.section--why-us .section__subtitle,
.section--why-us .section__badge {
    color: var(--color-white);
}

.why-us-bg-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
}

.why-us-bg-shape-1 {
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 600px;
    height: 400px;
    background-color: #37266E;
    border-radius: 80px;
    transform: rotate(-10deg);
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
    box-shadow: 0 0 100px rgba(55, 38, 110, 0.5);
}

.why-us-bg-shape-2 {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(55, 38, 110, 0.6) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.section--why-us .container {
    position: relative;
    z-index: 2;
}

/* Service Card Hover Reveal */
.service-card-reveal {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
}

.service-card-reveal .service-card-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.service-card-reveal:hover .service-card-detail,
.service-card-reveal.active .service-card-detail {
    max-height: 220px;
    opacity: 1;
    margin-top: 14px;
}

.service-card-reveal:hover,
.service-card-reveal.active {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.12) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}

/* 3D Glassmorphic & Claymorphic Icon Styling */
.icon-3d-box {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 600px;
    transition: all 0.4s ease;
    box-shadow:
        0 14px 28px -4px rgba(0, 0, 0, 0.22),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -4px 8px rgba(0, 0, 0, 0.3) !important;
}

.icon-3d-box i {
    font-size: 1.55rem;
    color: #ffffff;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.35s ease;
}

.card:hover .icon-3d-box,
.service-card-reveal:hover .icon-3d-box {
    transform: translateY(-8px) rotateX(12deg) rotateY(-12deg) scale(1.08);
    box-shadow:
        -12px 20px 35px -5px rgba(124, 58, 237, 0.35),
        inset 0 4px 8px rgba(255, 255, 255, 0.7),
        inset 0 -4px 10px rgba(0, 0, 0, 0.4) !important;
}

.card:hover .icon-3d-box i,
.service-card-reveal:hover .icon-3d-box i {
    transform: translateZ(25px) scale(1.1);
}

.case-studies__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
}

.case-studies__grid > * {
    min-width: 0;
}

.case-study-card__title,
.case-study-card__challenge {
    overflow-wrap: anywhere;
}

.case-study-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}

.case-study-card__image {
    position: relative;
    height: 165px;
    overflow: hidden;
}

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

.case-study-card:hover .case-study-card__image img {
    transform: scale(1.06);
}

.case-study-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 12px 16px;
}

.case-study-card__badge {
    display: inline-flex;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.case-study-card__body {
    padding: 18px 20px;
}

.case-study-card .case-study-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary) !important;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.case-study-card:hover .case-study-card__title {
    color: var(--color-primary) !important;
}

.case-study-card .case-study-card__challenge {
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    margin-bottom: 0;
    line-height: 1.6;
}

.case-study-card__results {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-color-light);
}

.case-study-card__result {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.case-study-card__result-value {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-success);
}

.case-study-card__result-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

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

@media (max-width: 1024px) {
    .case-studies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .case-studies__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.testimonial-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    transition: all var(--transition-base);
    height: auto;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

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

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-5);
    color: #F59E0B;
    font-size: var(--text-sm);
}

.testimonial-card__quote {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    font-style: italic;
    position: relative;
}

[data-theme="dark"] .testimonial-card__quote {
    color: var(--text-on-dark);
}

.testimonial-card__quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -5px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-color-light);
}

[data-theme="dark"] .testimonial-card__author {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    padding: 2px;
    background: var(--surface-primary);
}

.testimonial-card__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
}

[data-theme="dark"] .testimonial-card__name {
    color: var(--text-on-dark);
}

.testimonial-card__role {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tech-stack__row {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    margin-bottom: var(--space-6);
}

.tech-stack__track {
    display: flex;
    gap: var(--space-8);
    width: max-content;
}

.tech-stack__track--left {
    animation: scroll-left 25s linear infinite;
}

.tech-stack__track--right {
    animation: scroll-right 25s linear infinite;
}

.tech-stack__row:hover .tech-stack__track {
    animation-play-state: paused;
}

.tech-stack__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--surface-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.tech-stack__item:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

[data-theme="dark"] .tech-stack__item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.tech-stack__item-icon {
    font-size: var(--text-xl);
    color: var(--color-accent);
}

.tech-stack__item-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
}

[data-theme="dark"] .tech-stack__item-name {
    color: var(--text-on-dark);
}

.resources__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

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

    .newsletter-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px !important;
    }

    .newsletter-banner form {
        max-width: 100% !important;
    }
}

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

.blog-card {
    display: block;
    text-decoration: none;
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.blog-card__image {
    height: 200px;
    overflow: hidden;
}

.blog-card--featured .blog-card__image {
    height: 300px;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: var(--space-6);
}

.blog-card__category {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
}

.blog-card__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

[data-theme="dark"] .blog-card__title {
    color: var(--text-on-dark);
}

.blog-card__meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.resources__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.blog-card--small .blog-card__image {
    height: 120px;
}

.blog-card--small .blog-card__body {
    padding: var(--space-4);
}

.blog-card--small .blog-card__title {
    font-size: var(--text-base);
}

.newsletter-box {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    color: var(--color-white);
}

.newsletter-box__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
    color: var(--color-white);
}

.newsletter-box__text {
    font-size: var(--text-sm);
    color: var(--text-on-dark-muted);
    margin-bottom: var(--space-5);
}

.newsletter-box__form {
    display: flex;
    gap: var(--space-3);
}

.newsletter-box__input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-box__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-box__input:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-box__count {
    font-size: var(--text-xs);
    color: var(--text-on-dark-muted);
    margin-top: var(--space-3);
}

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

.founder__grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-16);
    align-items: center;
}

.founder__image-wrapper {
    position: relative;
}

.founder__image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.founder__image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.founder__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.founder__image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.founder__content-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}

.founder__name {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    margin-bottom: var(--space-2);
}

.founder__title-text {
    font-size: var(--text-lg);
    color: var(--color-accent);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-6);
}

.founder__mission,
.founder__vision {
    margin-bottom: var(--space-6);
}

.founder__label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.founder__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.founder__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    color: var(--color-gray-900);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.founder__social-link:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .founder__grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .founder__image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact__form-wrapper {
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

[data-theme="dark"] .contact__form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.contact__form-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.contact__form-subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.contact__info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact__info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--surface-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.contact__info-card:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

[data-theme="dark"] .contact__info-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.contact__info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.contact__info-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-1);
}

.contact__info-value {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
}

.contact__info-value a {
    color: var(--text-primary);
    text-decoration: none;
}

.contact__info-value a:hover {
    color: var(--color-accent);
}

[data-theme="dark"] .contact__info-value,
[data-theme="dark"] .contact__info-value a {
    color: var(--text-on-dark);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    background: var(--surface-tertiary);
    border: 1px solid var(--border-color-light);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

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

    .contact__form-row {
        grid-template-columns: 1fr;
    }
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border: none;
    border-radius: 0;
    margin-bottom: var(--space-3);
    overflow: hidden;
    background: #ebebeb;
    transition: all var(--transition-fast);
    position: relative;
}

.faq__item:hover {
    background: #e2e2e2;
}

.faq__item.active {
    background: #e2e2e2;
}

[data-theme="dark"] .faq__item {
    background: #2a2a2a;
}

[data-theme="dark"] .faq__item:hover,
[data-theme="dark"] .faq__item.active {
    background: #333333;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5) var(--space-4) 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    transition: all var(--transition-fast);
    position: relative;
}

.faq__question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 24px;
    background: #d4d4d4;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

[data-theme="dark"] .faq__question::before {
    background: #444;
}

[data-theme="dark"] .faq__question {
    color: var(--text-on-dark);
}

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

.faq__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    font-size: var(--text-md);
    color: #1a1a1a;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

[data-theme="dark"] .faq__icon {
    color: var(--text-on-dark);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq__answer-inner {
    padding: 0 var(--space-5) var(--space-4) 40px;
}

.faq__answer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

.footer {
    background: linear-gradient(90deg, #1b0c3f 0%, #621f5f 100%);
    color: #e2e8f0;
    padding: 40px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "MetricVibes";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-family: var(--font-heading);
}

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

.footer .navbar__logo {
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.footer .navbar__logo:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
}

.footer .navbar__logo-img {
    filter: brightness(0) invert(1);
    opacity: 1;
    height: 38px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.5fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 14px;
    max-width: 320px;
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer__social-link:nth-child(1) {
    background: linear-gradient(135deg, #14171A, #000000);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social-link:nth-child(2) {
    background: linear-gradient(135deg, #0077B5, #005E93);
    border: 1px solid #0077B5;
}

.footer__social-link:nth-child(3) {
    background: linear-gradient(135deg, #EA4335, #C5221F);
    border: 1px solid #EA4335;
}

.footer__social-link:nth-child(4) {
    background: linear-gradient(135deg, #34A853, #188038);
    border: 1px solid #34A853;
}

.footer__social-link:hover {
    transform: translateY(-4px) scale(1.05);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.15);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer__link {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.footer__link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer__newsletter-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer__newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer__newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.footer__newsletter-input::placeholder {
    color: #64748b;
}

.footer__newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.footer__newsletter-form .btn {
    border-radius: var(--radius-md);
    background: #ffffff !important;
    color: #0B1121 !important;
    border: none;
    padding: 0 1.25rem;
    transition: all 0.2s ease;
}

.footer__newsletter-form .btn:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.footer__bottom {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__copyright {
    font-size: 0.875rem;
    color: #64748b;
}

.footer__bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer__bottom-link {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__bottom-link:hover {
    color: #e2e8f0;
}

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

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-6);
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-3);
}

.whatsapp-float__btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    animation: pulse-glow 2s ease-in-out infinite;
}

.whatsapp-float__btn:hover {
    transform: scale(1.1);
    color: var(--color-white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__tooltip {
    background: var(--surface-card);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-6);
    z-index: var(--z-overlay);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: var(--text-base);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    bottom: calc(var(--space-8) + 70px);
}

.back-to-top:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

[data-theme="dark"] .back-to-top {
    background: var(--color-secondary);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark-muted);
}

.cookie-consent {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    right: var(--space-6);
    max-width: 480px;
    z-index: var(--z-toast);
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-2xl);
    transform: translateY(120%);
    transition: transform var(--transition-slow);
}

.cookie-consent.show {
    transform: translateY(0);
}

[data-theme="dark"] .cookie-consent {
    background: var(--color-secondary);
    border-color: rgba(255, 255, 255, 0.05);
}

.cookie-consent__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.cookie-consent__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.cookie-consent__buttons {
    display: flex;
    gap: var(--space-3);
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-fast);
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

@media (hover: none) {
    .cursor-glow {
        display: none !important;
    }
}

.form-message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    margin-bottom: var(--space-5);
    display: none;
}

.form-message.show {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.form-message--success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 991.98px) {
    .navbar__mobile-toggle {
        display: flex;
    }

    .navbar__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--surface-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px var(--space-6) var(--space-6);
        gap: var(--space-1);
        transition: right var(--transition-slow);
        box-shadow: var(--shadow-2xl);
        overflow-y: auto;
    }

    [data-theme="dark"] .navbar__nav {
        background: var(--color-primary);
    }

    .navbar__nav.open,
    .navbar__nav.active {
        right: 0;
        z-index: 1100;
    }

    .navbar__link {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        color: var(--text-primary);
        font-size: var(--text-base);
    }

    [data-theme="dark"] .navbar__link {
        color: var(--text-on-dark);
    }

    .navbar__link:hover,
    .navbar__link.active {
        background: transparent !important;
        color: var(--color-accent);
    }

    .navbar__link:hover::before,
    .navbar__link.active::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--color-accent);
    }

    .navbar__cta {
        width: 100%;
        text-align: center;
        margin-top: var(--space-4);
        padding: var(--space-4) var(--space-5);
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-slow);
    }

    .mega-menu.open {
        transform: none;
        max-height: 1000px;
    }

    .mega-menu__container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: var(--space-4) var(--space-2);
    }

    .mega-menu__featured {
        display: none;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-bottom: var(--space-8);
        gap: var(--space-6);
    }

    .hero__content {
        max-width: 100%;
        padding: var(--space-2) 0;
    }

    .hero__subtitle {
        margin: 0 auto var(--space-8);
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual {
        justify-content: center;
        margin-top: var(--space-4);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero__image-wrapper {
        max-width: 500px;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .hero__stat-divider {
        display: none;
    }

    .hero__bg-overlay {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0.95) 50%,
                rgba(255, 255, 255, 0.8) 65%,
                rgba(255, 255, 255, 0.2) 100%);
    }
}

@media (max-width: 767.98px) {
    .hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 4px;
    }

    .hero-testimonial-slider {
        max-width: 100%;
        padding: 10px 0;
        margin: 0;
    }

    .hero__testimonial-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 0 8px;
    }

    .hero__testimonial-image {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin-right: 0;
        margin-bottom: -30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .hero__testimonial-content {
        padding: 45px 16px 24px 16px;
        border-radius: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero__testimonial-content::before {
        top: 14px;
        right: 16px;
        font-size: 16px;
        letter-spacing: 2px;
    }

    .hero__testimonial-header {
        text-align: center;
    }

    .hero__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 8px;
    }

    .hero__stat-value {
        font-size: 1.5rem;
    }

    .hero__stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .hero__buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero__buttons .btn--brand-pill,
    .hero__buttons .btn--white-pill {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
}

.why-choose-card {
    background: var(--surface-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: left;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.navbar--force-dark:not(.scrolled) .navbar__logo-img {
    filter: none !important;
}

.navbar--force-dark:not(.scrolled) .navbar__logo {
    color: var(--color-white);
}

.navbar--force-dark:not(.scrolled) .navbar__link {
    color: var(--color-white);
}

.navbar--force-dark:not(.scrolled) .navbar__link:hover,
.navbar--force-dark:not(.scrolled) .navbar__link.active {
    background: transparent;
    color: var(--color-white);
}

.navbar--force-dark:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.about-content-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    max-width: 900px;
    margin: 0 auto;
}

.about-content-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-10);
    align-items: flex-start;
}

.about-content-header {
    position: sticky;
    top: 120px;
}

.about-content-header .icon-box {
    width: 64px;
    height: 64px;
    background: var(--surface-card);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-accent);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.about-content-block:hover .icon-box {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-content-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.about-content-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.about-content-body .highlight-box {
    background: var(--surface-tertiary);
    border-left: 4px solid var(--color-accent);
    padding: var(--space-6);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: var(--space-6) 0;
}

.about-content-body .highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about-content-body .highlight-box.accent {
    background: rgba(99, 102, 241, 0.05);
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.custom-list li {
    position: relative;
    padding-left: var(--space-8);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.custom-list li strong {
    color: var(--text-primary);
}

.custom-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-accent);
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .about-content-block {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .about-content-header {
        position: static;
    }
}

.faq-section-modern {
    background: #f8f9fa;
    padding: 80px 0;
}

.faq-modern-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.faq-container-modern {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item-modern {
    background: transparent;
}

.faq-header-modern {
    position: relative;
    background: #e5e5e5;
    color: #111827;
    padding: 14px 24px 14px 50px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-header-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32px;
    background: #d4d4d4;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition: background 0.3s ease;
}

.faq-header-modern:hover {
    background: #dedede;
}

.faq-header-modern.active {
    background: var(--color-accent);
    color: white;
}

.faq-header-modern.active::before {
    background: rgba(0, 0, 0, 0.2);
}

.faq-body-modern {
    display: none;
    padding: 24px 48px;
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid #e5e5e5;
    border-top: none;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* Announcement Bar */
:root {
    --announcement-height: 48px;
}

.announcement-bar {
    background: linear-gradient(90deg, #7c3aed 0%, #581c87 30%, #2e1065 65%, #0f0728 100%);
    border-bottom: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--color-white);
    font-size: var(--text-sm);
    padding: var(--space-2) 0;
    display: flex;
    align-items: center;
    min-height: var(--announcement-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.announcement-bar__inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: nowrap;
}

.announcement-bar__content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
    justify-content: flex-start;
    min-width: 0;
}

.announcement-bar__badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: var(--weight-bold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.announcement-bar__text {
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-bar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-shrink: 0;
}

.announcement-bar__btn {
    background: var(--color-white);
    color: var(--color-gray-900);
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.announcement-bar__btn:hover {
    background: var(--color-gray-100);
    transform: translateY(-1px);
}

.announcement-bar__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    position: absolute;
    right: var(--space-6);
}

.announcement-bar__close:hover {
    color: var(--color-white);
}

/* Adjust navbar position when announcement is active */
body.has-announcement .navbar {
    top: var(--announcement-height);
}

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

    .announcement-bar__content {
        justify-content: flex-start;
    }

    body.has-announcement .navbar {
        top: var(--announcement-height);
    }

    .hero {
        padding-top: 120px;
    }

    body.has-announcement .hero {
        padding-top: 145px;
    }

    .hero__content {
        padding-top: 5px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding-top: 115px;
    }

    body.has-announcement .hero {
        padding-top: 140px;
    }

    .hero__badge {
        font-size: 0.78rem;
        padding: 5px 14px;
    }
}

/* Careers Jobs */
.job-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-badge--engineering {
    background: #e0e7ff;
    color: #4f46e5;
}

.job-badge--analytics {
    background: #dcfce7;
    color: #16a34a;
}

.job-badge--marketing {
    background: #fef3c7;
    color: #d97706;
}

.job-location {
    color: #64748b;
    font-size: 0.9rem;
}

.job-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.job-card__desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.job-card__btn {
    width: 100%;
    text-align: center;
}

/* Animated Colorful Icons & Cards */
.card-hover-animated {
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease !important;
}

.card-hover-animated:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.card-hover-animated:hover .icon-pulse-hover {
    transform: scale(1.15) rotate(6deg) !important;
}

.card-hover-animated:hover .icon-pulse-hover i {
    animation: iconBounce 0.6s ease infinite alternate;
}

.img-hover-float:hover {
    transform: translateY(-10px) scale(1.05) !important;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

/* Contact Page Responsive Grid Styles */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.contact__info-card,
.contact__form-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.contact__icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact__link-text {
    word-break: break-word;
    overflow-wrap: anywhere;
    color: #7c3aed;
}

.contact__block-title {
    color: #0f172a;
}

.contact__block-text {
    color: #334155;
}

.contact__also-title {
    color: #0f172a;
}

.contact__section-block {
    margin-top: 80px;
    padding: 42px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 247, 255, 0.85) 100%);
    border: 1px solid rgba(124, 58, 237, 0.14);
    box-shadow: 0 15px 40px rgba(38, 14, 82, 0.04);
}

.contact__section-grid-1 {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: center;
}

.contact__section-grid-2 {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact__also-check {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(79, 70, 229, 0.06) 100%);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 18px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.03);
}

@media (max-width: 991.98px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact__info-card,
    .contact__form-card {
        padding: 24px 18px;
    }

    .contact__section-block {
        margin-top: 40px;
        padding: 28px 20px;
    }

    .contact__section-grid-1,
    .contact__section-grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact__also-check {
        margin-top: 36px;
        padding: 20px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact__also-check a {
        width: 100%;
        justify-content: center;
    }
}

/* Featured Role Card Layout */
.featured-role-card {
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 15px 40px rgba(38, 14, 82, 0.04);
}

.featured-role-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.featured-role-badge {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(124, 58, 237, 0.09);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.featured-role-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.featured-role-desc {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 780px;
}

.featured-subcards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.featured-subcard {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 16px;
    padding: 22px 20px;
}

.featured-subcard-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.featured-subcard-text {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.featured-role-sidebar {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-apply-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.featured-apply-email {
    font-size: 1.4rem;
    font-weight: 800;
    color: #260e52;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 24px;
    word-break: break-all;
    transition: color 0.2s;
}

.featured-apply-email:hover {
    color: #7c3aed;
}

.featured-sidebar-note {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .featured-role-card {
        padding: 28px 22px;
    }

    .featured-role-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .featured-role-sidebar {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .audit-cta-section>div>div {
        padding: 40px 24px !important;
        text-align: center;
        justify-content: center;
    }
}

/* Service Detail Page Base Formatting */
.service-detail-section {
    background: #ffffff;
    padding: 80px 0;
}

.service-detail-title {
    color: #0f172a;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.service-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.service-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12), 0 0 20px rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.3);
}

.service-feature-title {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-feature-desc {
    color: #475569;
    line-height: 1.65;
    font-size: 0.93rem;
}

.service-process-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.service-process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Responsive Grid Helper Classes for Subpages */
.responsive-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.responsive-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: relative;
}

.responsive-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .responsive-why-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .responsive-feature-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 575.98px) {
    .responsive-bento-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .responsive-bento-overlay {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 12px !important;
    }
}

/* Case Study Detail & Partnership Responsive Grids */
.case-study-detail-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

.case-study-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.partnership-hero-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .case-study-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .partnership-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 575.98px) {
    .case-study-metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* ---- UI audit fixes ---- */

/* Search bars: keep the submit control inside the viewport, icon-only on phones */
.search-submit-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .search-submit-btn {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .search-submit-btn__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Mobile header: slimmer announcement bar + navbar to give content more room */
@media (max-width: 768px) {
    :root {
        --announcement-height: 38px;
    }

    .announcement-bar {
        padding: 3px 0;
    }

    .announcement-bar__inner {
        padding: 0 var(--space-4);
    }

    body.has-announcement .navbar,
    .navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar__logo {
        padding: 3px 10px;
    }

    .navbar__logo-img {
        height: 30px;
    }

    body.has-announcement .hero {
        padding-top: 125px;
    }
}

@media (max-width: 575.98px) {
    body.has-announcement .hero {
        padding-top: 120px;
    }
}

/* Mobile drawer: close button, CTA, backdrop, full-height fit */
.navbar__close,
.navbar__backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar__nav {
        height: 100vh;
        height: 100dvh;
        padding-top: 72px;
        overflow-x: hidden;
    }

    body.has-announcement .navbar__nav {
        height: calc(100vh - var(--announcement-height));
        height: calc(100dvh - var(--announcement-height));
    }

    .navbar__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: rgba(124, 58, 237, 0.12);
        color: var(--text-primary);
        font-size: 1.1rem;
        cursor: pointer;
    }

    [data-theme="dark"] .navbar__close {
        color: var(--text-on-dark);
        background: rgba(255, 255, 255, 0.12);
    }

    .navbar__backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 6, 24, 0.5);
        z-index: 1090;
        border: 0;
        padding: 0;
    }

    .navbar__nav-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin-top: var(--space-4);
    }
}

@media (min-width: 992px) {
    .navbar__nav-cta {
        display: none !important;
    }
}

.search-submit-btn__icon {
    display: none;
}

@media (max-width: 575.98px) {
    .search-submit-btn__icon {
        display: inline-block;
    }
}

/* Larger touch targets for footer / legal links on phones */
@media (max-width: 767.98px) {
    .footer__link,
    .footer__bottom-link {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    .footer__social-link {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Keep floating buttons from stacking on top of each other */
.back-to-top {
    bottom: 90px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-accent, #7c3aed);
    outline-offset: 2px;
}

/* ---- Brand logo images ---- */
.hero-partner-logo {
    height: 26px;
    width: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-partner-logo--wide {
    width: 60px;
    height: 24px;
}

.tool-logo {
    color: #475569;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.tool-logo__img {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

[data-theme="dark"] .tool-logo {
    color: #e2e8f0;
}

[data-theme="dark"] .tool-logo__img--invert-dark {
    filter: invert(1);
}

.tech-stack__item-logo {
    height: 24px;
    width: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ---- Plainer styling pass: solid accent text, restrained shadows ---- */
.tools-title-gradient,
.partners-title-gradient,
.our-clients-gradient {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    color: #4c238c !important;
}

.btn--primary,
.navbar__cta,
.audit-cta-btn {
    box-shadow: 0 1px 2px rgba(15, 10, 31, 0.18) !important;
}

.btn--primary:hover,
.navbar__cta:hover,
.audit-cta-btn:hover {
    box-shadow: 0 2px 6px rgba(15, 10, 31, 0.22) !important;
    transform: none !important;
}

/* Logo: no box, border or shadow around it */
.navbar__logo,
.navbar__logo:hover,
.footer .navbar__logo,
.footer .navbar__logo:hover,
[data-theme="dark"] .navbar__logo {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding-left: 0;
    padding-right: 0;
}

/* Match the Services disclosure to adjacent navigation links. */
.navbar__services-toggle {
    appearance: none;
    border: 0;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    text-align: left;
}
.navbar__services-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}
