/* ==============================================
   SYSARC US INC - CSS STYLESHEET
   Converted from React + Tailwind CSS
   ============================================== */

/* ============================================
   CSS VARIABLES (matching React theme)
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #165be9;
    --primary-dark: #1e3d7d;
    --primary-light: #4a75c9;
    --secondary: #0ea5e9;
    --secondary-light: #38bdf8;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: rgba(249, 250, 251, 0.5);
    --bg-dark: #060b17;
    --bg-dark-card: #0a1224;
    --bg-dark-secondary: #0a0f1c;
    --bg-dark-tertiary: #0f172a;
    --bg-dark-panel: #1e293b;
    --bg-dark-logo: #0b1120;

    /* Text Colors */
    --text-dark: #111827;
    --text-gray-900: #111827;
    --text-gray-800: #1f2937;
    --text-gray-700: #374151;
    --text-gray-600: #4b5563;
    --text-gray-500: #6b7280;
    --text-gray-400: #9ca3af;
    --text-white: #ffffff;
    --text-light: #f3f4f6;
    --text-dark-mode: #d1d5db;

    /* Border Colors */
    --border-light: #f3f4f6;
    --border-gray: #e5e7eb;
    --border-dark: #1f2937;
    --border-dark-light: rgba(31, 41, 55, 0.5);

    /* Feature Icon Colors */
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --indigo-100: #e0e7ff;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --teal-100: #ccfbf1;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --cyan-100: #cffafe;
    --cyan-500: #06b6d4;

    /* Other */
    --radius: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    --transition: 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-white);
    color: var(--text-gray-900);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

::selection {
    background: #3b28cc;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.dark-mode .navbar {
    background: rgba(10, 18, 36, 0.8);
    border-bottom-color: var(--border-dark);
}

.navbar-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .navbar-container {
        padding: 0 2rem;
    }
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    transition: all var(--transition);
}

.dark-mode .navbar-logo {
    filter: brightness(0) invert(1);
}

/* Desktop Menu */
.navbar-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
}

.nav-link {
    position: relative;
    color: var(--text-gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.dark-mode .nav-link {
    color: var(--text-dark-mode);
}

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

.dark-mode .nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-gray-600);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: none;
}

.dark-mode .theme-toggle {
    background: var(--bg-dark-panel);
    color: var(--text-dark-mode);
}

.theme-toggle:hover {
    background: var(--border-gray);
    transform: scale(1.05);
}

.dark-mode .theme-toggle:hover {
    background: var(--text-gray-700);
}

/* Sun Icon - visible in light mode */
.theme-toggle .sun-icon {
    position: absolute;
    font-size: 1.125rem;
    color: #f59e0b;
    opacity: 1;
    transform: translateY(0) rotate(0);
    transition: all 0.3s ease-in-out;
}

/* Moon Icon - hidden in light mode */
.theme-toggle .moon-icon {
    position: absolute;
    font-size: 1.125rem;
    color: #9ca3af;
    opacity: 0;
    transform: translateY(-30px) rotate(-90deg);
    transition: all 0.3s ease-in-out;
}

/* Dark Mode: Hide sun, show moon */
.dark-mode .theme-toggle .sun-icon {
    opacity: 0;
    transform: translateY(30px) rotate(90deg);
}

.dark-mode .theme-toggle .moon-icon {
    opacity: 1;
    transform: translateY(0) rotate(0);
    color: #e5e7eb;
}

/* Navbar Divider */
.navbar-divider {
    display: none;
    width: 1px;
    height: 1.5rem;
    background: var(--border-gray);
    margin: 0 0.5rem;
    transition: background var(--transition);
}

@media (min-width: 768px) {
    .navbar-divider {
        display: block;
    }
}

.dark-mode .navbar-divider {
    background: var(--text-gray-700);
}

/* Primary Button */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid transparent;
    transition: all var(--transition);
    box-shadow: 0 10px 15px -3px rgba(22, 91, 233, 0.2);
}

.dark-mode .btn-primary {
    border-color: rgba(74, 117, 201, 0.3);
}

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

.btn-primary:active {
    transform: scale(0.95);
}

/* Button text should be above shimmer */
.btn-primary span {
    position: relative;
    z-index: 10;
}

/* Shimmer animation for primary buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) skewX(-12deg);
    animation: btn-shimmer 2.5s infinite ease-in-out;
}

@keyframes btn-shimmer {
    0% {
        transform: translateX(-100%) skewX(-12deg);
    }

    50%,
    100% {
        transform: translateX(200%) skewX(-12deg);
    }
}

.btn-arrow {
    font-size: 1.125rem;
    line-height: 1;
    transition: transform var(--transition);
    display: inline-flex;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-demo {
    display: none;
}

@media (min-width: 768px) {
    .btn-demo {
        display: inline-flex;
    }
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    gap: 5px;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-gray-600);
    border-radius: 2px;
    transition: all var(--transition);
}

.dark-mode .bar {
    background: var(--text-dark-mode);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 0.5rem 1rem 1rem;
    gap: 0.25rem;
    animation: slideDown 0.3s ease-out;
}

.dark-mode .mobile-menu {
    background: var(--bg-dark-card);
    border-bottom-color: var(--border-dark);
}

.mobile-menu.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray-700);
    transition: all var(--transition);
}

.dark-mode .mobile-link {
    color: var(--text-dark-mode);
}

.mobile-link:hover {
    color: var(--text-gray-900);
    background: var(--bg-light);
}

.dark-mode .mobile-link:hover {
    background: var(--bg-dark-panel);
    color: var(--text-white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    background: var(--bg-white);
    position: relative;
    transition: background var(--transition);
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 10rem;
        padding-bottom: 8rem;
    }
}

.dark-mode .hero {
    background: var(--bg-dark);
}

/* Hero Orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    transition: all var(--transition);
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(22, 91, 233, 0.06) 0%, transparent 60%);
}

.dark-mode .orb-1 {
    background: radial-gradient(circle at center, rgba(22, 91, 233, 0.15) 0%, transparent 60%);
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(74, 117, 201, 0.06) 0%, transparent 60%);
}

.dark-mode .orb-2 {
    background: radial-gradient(circle at center, rgba(74, 117, 201, 0.15) 0%, transparent 60%);
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Hero Content */
.hero-content {
    max-width: 42rem;
}

/* Hero Left Column Animations */
.hero-animate-item {
    opacity: 0;
    transform: translateX(-30px);
    animation: heroFadeInLeft 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes heroFadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Visual (Dashboard) Animation */
.hero-visual-animate {
    opacity: 0;
    transform: translateX(50px);
    animation: heroFadeInRight 1s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes heroFadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dashboard Inner Element Animations */
.sidebar-animate {
    opacity: 0;
    transform: translateX(-10px);
    animation: sidebarFadeIn 0.4s ease-out forwards;
    animation-delay: var(--delay, 0.5s);
}

@keyframes sidebarFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-animate {
    opacity: 0;
    animation: dashboardFadeIn 0.4s ease-out forwards;
    animation-delay: var(--delay, 0.8s);
}

@keyframes dashboardFadeIn {
    to {
        opacity: 1;
    }
}

.stat-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: statFadeUp 0.5s ease-out forwards;
    animation-delay: var(--delay, 1s);
}

@keyframes statFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pipeline-animate {
    opacity: 0;
    animation: pipelineFadeIn 0.5s ease-out forwards;
    animation-delay: var(--delay, 1.3s);
}

@keyframes pipelineFadeIn {
    to {
        opacity: 1;
    }
}

.step-animate {
    opacity: 0;
    transform: scale(0);
    animation: stepPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--step-delay, 1.6s);
}

@keyframes stepPopIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Button Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer .btn-text {
    position: relative;
    z-index: 10;
    white-space: nowrap;
}

.btn-shimmer .btn-arrow {
    position: relative;
    z-index: 10;
}

.btn-shimmer-effect {
    position: absolute;
    top: 0;
    left: -200%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-12deg);
    animation: buttonShimmer 2.5s ease-in-out infinite 1s;
    z-index: 0;
}

@keyframes buttonShimmer {
    0% {
        left: -200%;
    }

    50%,
    100% {
        left: 300%;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(239, 246, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(219, 234, 254, 1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.dark-mode .hero-badge {
    background: rgba(30, 58, 138, 0.3);
    border-color: rgba(30, 64, 175, 0.5);
    color: #60a5fa;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    transition: color var(--transition);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
        /* 56px */
    }
}

.dark-mode .hero-title {
    color: var(--text-white);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray-600);
    line-height: 1.75;
    max-width: 36rem;
    margin-bottom: 2rem;
    transition: color var(--transition);
}

.dark-mode .hero-description {
    color: var(--text-gray-400);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
}

/* ============================================
   HERO DASHBOARD MOCKUP
   ============================================ */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-visual {
        max-width: none;
        margin-left: auto;
    }
}

.dashboard-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(8px);
    }
}

.dashboard-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 91, 233, 0.2), rgba(14, 165, 233, 0.2));
    border-radius: var(--radius-2xl);
    transform: rotate(3deg) scale(1.05);
    filter: blur(40px);
    transition: all var(--transition);
}

.dark-mode .dashboard-glow {
    background: linear-gradient(135deg, rgba(22, 91, 233, 0.3), rgba(14, 165, 233, 0.1));
}

.dashboard-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(243, 244, 246, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 450px;
    transition: all var(--transition);
    z-index: 10;
}

@media (min-width: 768px) {
    .dashboard-card {
        flex-direction: row;
        height: 450px;
        min-height: auto;
    }
}

.dark-mode .dashboard-card {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(31, 41, 55, 0.8);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 100%;
    background: rgba(249, 250, 251, 0.5);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .dashboard-sidebar {
        width: 33.333%;
        border-bottom: none;
        border-right: 1px solid var(--border-light);
    }
}

.dark-mode .dashboard-sidebar {
    background: rgba(10, 15, 28, 0.5);
    border-color: var(--border-dark);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    transition: all var(--transition);
}

.dark-mode .sidebar-logo img {
    filter: brightness(0) invert(1);
}

.sidebar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .sidebar-nav {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray-500);
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .sidebar-item {
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.dark-mode .sidebar-item {
    color: var(--text-gray-400);
}

.sidebar-item.active {
    background: rgba(219, 234, 254, 1);
    color: var(--primary);
}

.dark-mode .sidebar-item.active {
    background: var(--bg-dark-panel);
    color: var(--text-white);
}

.sidebar-item:hover:not(.active) {
    background: var(--bg-light);
}

.dark-mode .sidebar-item:hover:not(.active) {
    background: rgba(30, 41, 59, 0.5);
}

.sidebar-item i {
    font-size: 1rem;
}

/* Dashboard Main */
.dashboard-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .dashboard-main {
        padding: 2rem;
    }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-gray-900);
    transition: color var(--transition);
}

.dark-mode .dashboard-header h3 {
    color: var(--text-white);
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-bell {
    position: relative;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-500);
    transition: all var(--transition);
}

.dark-mode .notification-bell {
    background: var(--bg-dark-panel);
    color: var(--text-gray-400);
}

.notification-bell svg {
    width: 16px;
    height: 16px;
}

/* Pulsing notification dot (behind) */
.notification-dot-pulse {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: var(--radius-full);
    z-index: 10;
    animation: notification-pulse 2s infinite;
}

@keyframes notification-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Static notification dot (on top) */
.notification-dot-static {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: var(--radius-full);
    border: 1px solid var(--bg-white);
    z-index: 20;
}

.dark-mode .notification-dot-static {
    border-color: var(--bg-dark-panel);
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.stat-card {
    background: var(--bg-white);
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
}

.dark-mode .stat-card {
    background: var(--bg-dark-panel);
    border-color: rgba(55, 65, 81, 0.5);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray-500);
    margin-bottom: 0.25rem;
    transition: color var(--transition);
}

.dark-mode .stat-label {
    color: var(--text-gray-400);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-gray-900);
    transition: color var(--transition);
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
}

.dark-mode .stat-value {
    color: var(--text-white);
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    transition: color var(--transition);
}

.stat-trend.positive {
    color: #22c55e;
}

.dark-mode .stat-trend.positive {
    color: #34d399;
}

/* Pipeline */
.pipeline {
    margin-top: auto;
}

.pipeline h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-900);
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.dark-mode .pipeline h4 {
    color: var(--text-white);
}

.pipeline-container {
    position: relative;
    padding-top: 1.5rem;
}

.pipeline-track {
    position: absolute;
    top: 2rem;
    left: 1rem;
    right: 1rem;
    height: 4px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    transition: background var(--transition);
}

.dark-mode .pipeline-track {
    background: var(--text-gray-700);
}

.pipeline-progress {
    position: absolute;
    top: 2rem;
    left: 1rem;
    width: 65%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transform-origin: left;
    transform: scaleX(0);
    animation: progress-grow 1.5s ease-out 1.5s forwards;
}

@keyframes progress-grow {
    to {
        transform: scaleX(1);
    }
}

.pipeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 0.25rem;
}

@media (max-width: 767px) {
    .pipeline-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .pipeline-step {
        flex: 0 0 auto;
        min-width: 60px;
    }

    .floating-widget.widget-bottom.widget-animate {
        bottom: -40px;
        left: -10px;
    }

    .floating-widget.widget-top.widget-animate {

        right: -10px;
    }
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.step-dot {
    width: 1rem;
    height: 1rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-gray);
    background: var(--bg-white);
    position: relative;
    overflow: visible;
    transition: all var(--transition);
}

.dark-mode .step-dot {
    background: var(--bg-dark-tertiary);
    border-color: var(--text-gray-600);
}

.pipeline-step.active .step-dot {
    border-color: #4a75c9;
}

.dark-mode .pipeline-step.active .step-dot {
    border-color: #60a5fa;
}

.pipeline-step.current .step-dot .pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    background: #4a75c9;
    border-radius: 40%;
    animation: pulse-ring 2s infinite;
    pointer-events: none;
}

.dark-mode .pipeline-step.current .step-dot .pulse {
    background: #60a5fa;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        width: 50px;
        height: 60px;
    }
}

.step-label {
    font-size: 0.625rem;
    color: var(--text-gray-400);
    font-weight: 500;
    text-align: center;
    transition: color var(--transition);
}

.dark-mode .step-label {
    color: var(--text-gray-500);
}

.step-text {
    text-align: center;
}

.step-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray-700);
    transition: color var(--transition);
}

.dark-mode .step-value {
    color: var(--text-dark-mode);
}

/* Floating Widgets */
.floating-widget {
    position: absolute;
    background: var(--bg-white);
    padding: 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(22, 91, 233, 0.1);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
    pointer-events: none;
}

.dark-mode .floating-widget {
    background: var(--bg-dark-panel);
    border-color: rgba(55, 65, 81, 0.5);
}

/* Widget Pop Animation */
.widget-animate {
    opacity: 0;
    transform: scale(0.8) translateX(20px);
    animation: widgetPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--widget-delay, 2s);
}

.widget-bottom.widget-animate {
    transform: scale(0.8) translateX(-20px);
}

@keyframes widgetPopIn {
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.widget-top {
    top: -1.5rem;
    right: -1rem;
}

@media (min-width: 768px) {
    .widget-top {
        right: -2rem;
    }
}

.widget-bottom {
    bottom: -1.5rem;
    left: -1rem;
}

@media (min-width: 768px) {
    .widget-bottom {
        left: -2rem;
    }
}

.widget-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.widget-icon.green {
    background: rgba(209, 250, 229, 1);
    color: #059669;
}

.dark-mode .widget-icon.green {
    background: rgba(6, 95, 70, 0.3);
    color: #34d399;
}

.widget-icon.blue {
    background: rgba(219, 234, 254, 1);
    color: var(--primary);
}

.dark-mode .widget-icon.blue {
    background: rgba(30, 58, 138, 0.3);
    color: #60a5fa;
}

.widget-content {
    display: flex;
    flex-direction: column;
}

.widget-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.dark-mode .widget-label {
    color: var(--text-gray-400);
}

.widget-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-900);
    line-height: 1.2;
    transition: color var(--transition);
}

.dark-mode .widget-value {
    color: var(--text-white);
}

/* ============================================
   LOGO CLOUD
   ============================================ */
.logo-cloud {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
    overflow: hidden;
    transition: all var(--transition);
}

.dark-mode .logo-cloud {
    background: var(--bg-dark-logo);
    border-bottom-color: var(--border-dark);
}

.logo-cloud-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gray-400);
    margin-bottom: 2rem;
    transition: color var(--transition);
}

.dark-mode .logo-cloud-title {
    color: var(--text-gray-500);
}

.marquee {
    position: relative;
    display: flex;
    overflow: hidden;
}

.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6rem;
    z-index: 10;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.dark-mode .marquee-fade-left {
    background: linear-gradient(to right, var(--bg-dark-logo), transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.dark-mode .marquee-fade-right {
    background: linear-gradient(to left, var(--bg-dark-logo), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-left: 4rem;
    animation: marquee 20s linear infinite;
}

@media (min-width: 768px) {
    .marquee-track {
        gap: 6rem;
        padding-left: 6rem;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333333%);
    }
}

.marquee-logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    max-width: 150px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .marquee-logo {
        height: 3rem;
        max-width: 200px;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 0;
    background: rgba(249, 250, 251, 0.8);
    position: relative;
    overflow: visible;
    transition: background var(--transition);
}

.dark-mode .features {
    background: var(--bg-dark-secondary);
}

.features-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.features-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orb-pulse 8s ease-in-out infinite;
}

.features-orb-1 {
    top: 20%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: rgba(22, 91, 233, 0.1);
}

.dark-mode .features-orb-1 {
    background: rgba(22, 91, 233, 0.2);
}

.features-orb-2 {
    bottom: 10%;
    right: 5%;
    width: 35vw;
    height: 35vw;
    background: rgba(14, 165, 233, 0.1);
    animation-delay: 2s;
}

.dark-mode .features-orb-2 {
    background: rgba(14, 165, 233, 0.15);
}

@keyframes orb-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 10;
}

/* Section Header Left Aligned (for Testimonials) */
.section-header-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .section-header-left {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-header-left .header-content {
    max-width: 42rem;
}

.section-header-left .section-label {
    margin-bottom: 0.75rem;
}

.section-header-left .section-title {
    text-align: left;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-gray-900);
    letter-spacing: -0.025em;
    line-height: 1.2;
    transition: color var(--transition);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.dark-mode .section-title {
    color: var(--text-white);
}

.section-title-light {
    color: var(--text-white);
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

.dark-mode .section-label {
    color: #60a5fa;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray-600);
    line-height: 1.75;
    margin-top: 1.5rem;
    transition: color var(--transition);
}

.dark-mode .section-description {
    color: var(--text-gray-400);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray-900);
    transition: color var(--transition);
}

.dark-mode .section-subtitle {
    color: var(--text-white);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Feature Card */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: scale(1) translateY(0);
    transition: transform 0.9s ease !important;
    backface-visibility: hidden;
}

.dark-mode .feature-card {
    background: #111827;
    border-color: var(--border-dark);
    box-shadow: none;
}

.feature-card:hover {
    transform: scale(1.02) translateY(-5px) !important;
    z-index: 20;
}

/* Card shadow colors based on icon type */
.feature-card.card-blue {
    box-shadow: 0 20px 25px -5px rgba(22, 91, 233, 0.1);
}

.feature-card.card-sky {
    box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.1);
}

.feature-card.card-indigo {
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1);
}

.feature-card.card-teal {
    box-shadow: 0 20px 25px -5px rgba(20, 184, 166, 0.1);
}

/* Feature Icon */
.feature-icon {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all var(--transition);
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {

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

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

.feature-icon i {
    font-size: 1.75rem;
}

.icon-blue {
    background: #eff6ff;
    /* bg-blue-50 */
    color: #264d9d;
}

.dark-mode .icon-blue {
    background: rgba(30, 58, 138, 0.2);
    /* bg-blue-900/20 */
    color: #60a5fa;
}

.icon-sky {
    background: #f0f9ff;
    /* bg-sky-50 */
    color: #4a75c9;
}

.dark-mode .icon-sky {
    background: rgba(12, 74, 110, 0.2);
    /* bg-sky-900/20 */
    color: #7dd3fc;
}

.icon-indigo {
    background: #eef2ff;
    /* bg-indigo-50 */
    color: #4f46e5;
}

.dark-mode .icon-indigo {
    background: rgba(49, 46, 129, 0.2);
    /* bg-indigo-900/20 */
    color: #818cf8;
}

.icon-teal {
    background: var(--teal-100);
    color: var(--teal-600);
}

.dark-mode .icon-teal {
    background: rgba(19, 78, 74, 0.3);
    color: #2dd4bf;
}

.icon-cyan {
    background: #ecfeff;
    /* bg-cyan-50 */
    color: #0ea5e9;
}

.dark-mode .icon-cyan {
    background: rgba(22, 78, 99, 0.2);
    /* bg-cyan-900/20 */
    color: #38bdf8;
}

.icon-primary {
    background: rgba(22, 91, 233, 0.1);
    color: var(--primary);
}

.dark-mode .icon-primary {
    background: rgba(22, 91, 233, 0.2);
    color: #60a5fa;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-gray-900);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    transition: color var(--transition);
}

.dark-mode .feature-title {
    color: var(--text-white);
}

.feature-list {
    list-style: none;
    flex: 1;
    position: relative;
    z-index: 10;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-gray-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    cursor: default;
    transition: color var(--transition);
}

.dark-mode .feature-list li {
    color: var(--text-gray-400);
}

.feature-list li:hover {
    color: var(--text-gray-900);
}

.dark-mode .feature-list li:hover {
    color: var(--text-light);
}

/* Check icon styles - using SVG */
.feature-list li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: transform var(--transition);
}

/* Card-specific check colors */
.card-blue .feature-list li svg {
    color: #165be9;
}

.dark-mode .card-blue .feature-list li svg {
    color: #38bdf8;
}

.card-sky .feature-list li svg {
    color: #0ea5e9;
}

.dark-mode .card-sky .feature-list li svg {
    color: #38bdf8;
}

.card-indigo .feature-list li svg {
    color: #6366f1;
}

.dark-mode .card-indigo .feature-list li svg {
    color: #a5b4fc;
}

.card-teal .feature-list li svg {
    color: #14b8a6;
}

.dark-mode .card-teal .feature-list li svg {
    color: #5eead4;
}

.feature-list li:hover svg {
    transform: scale(1.25) rotate(-5deg) translateY(-1px);
}

/* ============================================
   USE CASES / PLATFORM INNOVATION
   ============================================ */
.usecases {
    padding: 6rem 0;
    background: rgba(249, 250, 251, 0.5);
    overflow: hidden;
    transition: background var(--transition);
}

.dark-mode .usecases {
    background: var(--bg-dark-secondary);
}

.usecases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .usecases-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.usecases-content {
    max-width: 36rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.badge-blue {
    background: rgba(239, 246, 255, 1);
    border: 1px solid rgba(219, 234, 254, 1);
    color: var(--primary);
}

.dark-mode .badge-blue {
    background: rgba(30, 58, 138, 0.3);
    border-color: rgba(30, 64, 175, 0.5);
    color: #60a5fa;
}

/* Innovations */
.innovations {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.innovation-connector {
    display: none;
    position: absolute;
    left: 2rem;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(191, 219, 254, 1), rgba(199, 210, 254, 1), transparent);
    z-index: 0;
}

@media (min-width: 640px) {
    .innovation-connector {
        display: block;
    }
}

.dark-mode .innovation-connector {
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.3), rgba(55, 48, 163, 0.3), transparent);
}

.innovation-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: default;
}

.innovation-item:hover {
    background: var(--bg-white);
    border-color: var(--border-light);
    box-shadow: 0 10px 15px -3px rgba(22, 91, 233, 0.05);
    transform: translateX(5px);
}

.dark-mode .innovation-item:hover {
    background: #111827;
    border-color: var(--border-dark);
    box-shadow: none;
}

.innovation-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.innovation-item:hover .innovation-icon {
    transform: scale(1.1);
}

.innovation-icon i {
    font-size: 1.5rem;
}

.innovation-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray-800);
    line-height: 1.5;
    transition: color var(--transition);
}

.dark-mode .innovation-item p {
    color: var(--text-light);
}

/* ============================================
   CAPABILITIES / METRICS
   ============================================ */
.capabilities {
    padding: 6rem 0;
    background: #0a1224;
    position: relative;
    overflow: hidden;
}

.capabilities-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.capabilities-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: linear-gradient(225deg, rgba(22, 91, 233, 0.4), rgba(30, 61, 125, 0.2), transparent);
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(33%, -25%);
}

.capabilities-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(74, 117, 201, 0.4), transparent);
    border-radius: 50%;
    filter: blur(80px);
    transform: translate(-25%, 25%);
}

.capabilities .section-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.capabilities .section-title {
    color: white;
}

.divider-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.divider-line {
    width: 0;
    height: 2px;
    background: #0ea5e9;
    opacity: 0;
    transition: width 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.divider-label.aos-animate .divider-line,
[data-aos].aos-animate .divider-line,
.aos-animate .divider-line {
    width: 2rem;
    opacity: 1;
}

.divider-text {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0ea5e9;
}

.gradient-text {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metrics Card - Always white background */
.metrics-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .metrics-card {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        padding: 2rem 1.5rem;
    }
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a1224;
    line-height: 1.2;
    margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
    .metric-value {
        font-size: 3rem;
    }
}

.metric-label {
    font-weight: 700;
    font-size: 1.125rem;
    color: #0a1224;
    margin-bottom: 0.25rem;
}

.metric-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.metric-highlight {
    color: #165be9;
    font-weight: 600;
}

.metric-divider {
    display: none;
    width: 1px;
    background: #e5e7eb;
    margin: 0;
}

@media (min-width: 768px) {
    .metric-divider {
        display: block;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: 6rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.dark-mode .products {
    background: var(--bg-dark);
    border-top-color: var(--border-dark);
}

.products-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at top right, rgba(38, 77, 157, 0.03) 0%, transparent 60%);
    pointer-events: none;
    transition: all var(--transition);
}

.dark-mode .products-bg {
    background: radial-gradient(circle at top right, rgba(38, 77, 157, 0.1) 0%, transparent 60%);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    border: 2px solid transparent;
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dark-mode .product-card {
    background: var(--bg-dark-panel);
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
}

.dark-mode .product-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.product-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.9;
    transition: opacity var(--transition);
}

.product-card:hover .product-accent {
    opacity: 1;
}

.product-glow {
    position: absolute;
    bottom: -6rem;
    right: -6rem;
    width: 14rem;
    height: 14rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    transition: all 0.5s ease;
}

.dark-mode .product-glow {
    background: rgba(96, 165, 250, 0.1);
}

.product-card:hover .product-glow {
    background: rgba(59, 130, 246, 0.2);
}

.product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
    position: relative;
    z-index: 10;
}

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

.product-icon i {
    font-size: 2rem;
}

.product-icon svg {
    width: 32px;
    height: 32px;
}

.product-icon.icon-blue {
    border-color: #dbeafe;
    /* border-blue-100 */
}

.dark-mode .product-icon.icon-blue {
    border-color: rgba(30, 64, 175, 0.5);
    /* border-blue-800/50 */
}

.product-icon.icon-sky {
    border-color: #e0f2fe;
    /* border-sky-100 */
}

.dark-mode .product-icon.icon-sky {
    border-color: rgba(7, 89, 133, 0.5);
    /* border-sky-800/50 */
}

.product-icon.icon-cyan {
    border-color: #cffafe;
    /* border-cyan-100 */
}

.dark-mode .product-icon.icon-cyan {
    border-color: rgba(21, 94, 117, 0.5);
    /* border-cyan-800/50 */
}

.product-icon.icon-indigo {
    border-color: #e0e7ff;
    /* border-indigo-100 */
}

.dark-mode .product-icon.icon-indigo {
    border-color: rgba(55, 48, 163, 0.5);
    /* border-indigo-800/50 */
}

.product-icon.icon-teal {
    border-color: rgba(153, 246, 228, 1);
}

.dark-mode .product-icon.icon-teal {
    border-color: rgba(17, 94, 89, 0.5);
}

.product-icon.icon-primary {
    border-color: #dbeafe;
}

.dark-mode .product-icon.icon-primary {
    border-color: rgba(30, 64, 175, 0.5);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 10;
    transition: color var(--transition);
}

.dark-mode .product-title {
    color: var(--text-white);
}

.product-description {
    font-size: 1rem;
    color: var(--text-gray-700);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    font-weight: 500;
    transition: color var(--transition);
}

.dark-mode .product-description {
    color: var(--text-dark-mode);
}

.product-outcome {
    background: rgba(239, 246, 255, 0.8);
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(191, 219, 254, 1);
    margin-top: auto;
    position: relative;
    z-index: 10;
    transition: all var(--transition);
}

.dark-mode .product-outcome {
    background: var(--bg-dark-tertiary);
    border-color: rgba(30, 58, 138, 0.5);
}

.product-card:hover .product-outcome {
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
    background: rgba(219, 234, 254, 0.5);
}

.dark-mode .product-card:hover .product-outcome {
    background: rgba(15, 23, 42, 0.8);
}

.outcome-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark-mode .outcome-label {
    color: #60a5fa;
}

.outcome-label i {
    font-size: 1rem;
}

.outcome-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.outcome-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-900);
    transition: color var(--transition);
}

.dark-mode .outcome-text {
    color: var(--text-light);
}

/* ============================================
   Continue in Part 2...
   ============================================ */

/* ============================================
   WORKFLOW ARCHITECTURE SECTION
   ============================================ */
.workflow {
    padding: 6rem 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
    transition: background var(--transition);
}

.dark-mode .workflow {
    background: #0a0f1c;
}

/* Background Pattern */
.workflow-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, gray 1px, transparent 0);
    background-size: 40px 40px;
}

.dark-mode .workflow-pattern {
    opacity: 0.05;
}

/* Section Header */
.workflow-header-section {
    max-width: 42rem;
    margin-bottom: 4rem;
}

.workflow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b284f;
    margin-bottom: 1rem;
}

.dark-mode .workflow-badge {
    color: #f43f5e;
}

.workflow-badge-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #8b284f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode .workflow-badge-dot {
    background: #f43f5e;
}

.workflow-badge-dot::after {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: white;
    border-radius: 50%;
}

.workflow-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-gray-900);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    transition: color var(--transition);
}

@media (min-width: 768px) {
    .workflow-main-title {
        font-size: 3rem;
    }
}

.dark-mode .workflow-main-title {
    color: var(--text-white);
}

.workflow-highlight {
    color: #264d9d;
}

.dark-mode .workflow-highlight {
    color: #60a5fa;
}

.workflow-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray-500);
    line-height: 1.75;
    max-width: 36rem;
    transition: color var(--transition);
}

.dark-mode .workflow-subtitle {
    color: var(--text-gray-400);
}

/* Cards Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .workflow-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Workflow Card */
.workflow-card {
    background: var(--bg-white);
    border-radius: 1rem;
    border: 1px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition);
}

.dark-mode .workflow-card {
    background: #060b17;
}

.workflow-blue {
    border-color: #dbeafe;
}

.dark-mode .workflow-blue {
    border-color: rgba(30, 58, 138, 0.3);
}

.workflow-rose {
    border-color: #fce7f3;
}

.dark-mode .workflow-rose {
    border-color: rgba(136, 19, 55, 0.3);
}

/* Card Header */
.wf-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid;
    transition: all var(--transition);
}

.workflow-blue .wf-card-header {
    background: rgba(219, 234, 254, 0.5);
    border-bottom-color: #dbeafe;
}

.dark-mode .workflow-blue .wf-card-header {
    background: rgba(30, 58, 138, 0.2);
    border-bottom-color: rgba(30, 58, 138, 0.3);
}

.workflow-rose .wf-card-header {
    background: rgba(252, 231, 243, 0.5);
    border-bottom-color: #fce7f3;
}

.dark-mode .workflow-rose .wf-card-header {
    background: rgba(136, 19, 55, 0.2);
    border-bottom-color: rgba(136, 19, 55, 0.3);
}

.wf-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.wf-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wf-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.wf-icon-blue {
    background: #0a1224;
}

.dark-mode .wf-icon-blue {
    background: #172554;
}

.wf-icon-rose {
    background: #8b284f;
}

.dark-mode .wf-icon-rose {
    background: #881337;
}

.wf-title-group h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-gray-900);
    transition: color var(--transition);
}

.dark-mode .wf-title-group h3 {
    color: var(--text-white);
}

.wf-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray-500);
    padding-left: 4rem;
    transition: color var(--transition);
}

.dark-mode .wf-subtitle {
    color: var(--text-gray-400);
}

/* Card Body */
.wf-card-body {
    padding: 1.5rem 2rem;
    flex-grow: 1;
}

/* Phase */
.wf-phase {
    margin-bottom: 2.5rem;
}

.wf-phase:last-child {
    margin-bottom: 0;
}

.wf-phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wf-phase-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.wf-phase-blue {
    color: #264d9d;
}

.dark-mode .wf-phase-blue {
    color: #60a5fa;
}

.wf-phase-rose {
    color: #8b284f;
}

.dark-mode .wf-phase-rose {
    color: #f43f5e;
}

.wf-phase-line {
    flex-grow: 1;
    height: 1px;
}

.wf-line-blue {
    background: #dbeafe;
}

.dark-mode .wf-line-blue {
    background: rgba(30, 58, 138, 0.3);
}

.wf-line-rose {
    background: #fce7f3;
}

.dark-mode .wf-line-rose {
    background: rgba(136, 19, 55, 0.3);
}

/* Timeline */
.wf-timeline {
    border-left: 1px solid;
    margin-left: 0.625rem;
    padding-left: 0;
}

.wf-timeline-blue {
    border-left-color: #dbeafe;
}

.dark-mode .wf-timeline-blue {
    border-left-color: rgba(30, 58, 138, 0.3);
}

.wf-timeline-rose {
    border-left-color: #fce7f3;
}

.dark-mode .wf-timeline-rose {
    border-left-color: rgba(136, 19, 55, 0.3);
}

.wf-timeline-item {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
}

.wf-timeline-item:last-child {
    padding-bottom: 0;
}

.wf-timeline-dot {
    position: absolute;
    left: -5px;
    top: 0.375rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: 2px solid;
    background: var(--bg-white);
    transition: all var(--transition);
}

.dark-mode .wf-timeline-dot {
    background: #060b17;
}

.wf-timeline-blue .wf-timeline-dot {
    border-color: #264d9d;
}

.dark-mode .wf-timeline-blue .wf-timeline-dot {
    border-color: #60a5fa;
}

.wf-timeline-rose .wf-timeline-dot {
    border-color: #8b284f;
}

.dark-mode .wf-timeline-rose .wf-timeline-dot {
    border-color: #f43f5e;
}

.wf-timeline-content h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-900);
    margin-bottom: 0.25rem;
    transition: color var(--transition);
}

.dark-mode .wf-timeline-content h5 {
    color: var(--text-white);
}

.wf-timeline-content p {
    font-size: 0.875rem;
    color: var(--text-gray-500);
    line-height: 1.5;
    transition: color var(--transition);
}

.dark-mode .wf-timeline-content p {
    color: var(--text-gray-400);
}

/* Card Footer */
.wf-card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all var(--transition);
}

.wf-footer-blue {
    background: rgba(249, 250, 251, 0.3);
    border-top-color: #dbeafe;
}

.dark-mode .wf-footer-blue {
    background: rgba(17, 24, 39, 0.2);
    border-top-color: rgba(30, 58, 138, 0.3);
}

.wf-footer-rose {
    background: rgba(249, 250, 251, 0.3);
    border-top-color: #fce7f3;
}

.dark-mode .wf-footer-rose {
    background: rgba(17, 24, 39, 0.2);
    border-top-color: rgba(136, 19, 55, 0.3);
}

.wf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wf-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all var(--transition);
}

.wf-tag-blue {
    background: rgba(219, 234, 254, 1);
    color: #264d9d;
}

.dark-mode .wf-tag-blue {
    background: rgba(30, 58, 138, 0.3);
    color: #60a5fa;
}

.wf-tag-rose {
    background: rgba(252, 231, 243, 1);
    color: #8b284f;
}

.dark-mode .wf-tag-rose {
    background: rgba(136, 19, 55, 0.3);
    color: #f43f5e;
}

.wf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

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

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

.wf-link-blue {
    color: #264d9d;
}

.dark-mode .wf-link-blue {
    color: #60a5fa;
}

.wf-link-blue:hover {
    opacity: 0.8;
}

.wf-link-rose {
    color: #8b284f;
}

.dark-mode .wf-link-rose {
    color: #f43f5e;
}

.wf-link-rose:hover {
    opacity: 0.8;
}

/* ============================================
   WHY SYSARC SECTION
   ============================================ */
.why-sysarc {
    padding: 6rem 0;
    background: #0a1224;
    position: relative;
    overflow: hidden;
}

/* Background Gradient Orbs */
.why-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.why-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.why-orb-1 {
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: linear-gradient(225deg, rgba(22, 91, 233, 0.4), rgba(30, 61, 125, 0.2), transparent);
    transform: translate(33%, -25%);
}

.why-orb-2 {
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(74, 117, 201, 0.4), transparent);
    filter: blur(80px);
    transform: translate(-25%, 25%);
}

/* Section containers */
.why-about-section,
.why-features-section {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 80rem;
    margin: 0 auto;
}

.why-about-section {
    margin-bottom: 8rem;
}

/* Headers */
.why-header {
    margin-bottom: 3rem;
}

.why-sysarc .divider-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.why-sysarc .divider-line {
    width: 0;
    height: 2px;
    background: #0ea5e9;
    opacity: 0;
    transition: width 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.why-sysarc .divider-label.aos-animate .divider-line,
.why-sysarc [data-aos].aos-animate .divider-line,
.why-sysarc .aos-animate .divider-line {
    width: 2rem;
    opacity: 1;
}

.why-sysarc .divider-text {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0ea5e9;
}

.why-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .why-main-title {
        font-size: 3rem;
    }
}

.why-sysarc .gradient-text {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-subtitle {
    font-size: 1.125rem;
    color: rgba(191, 219, 254, 0.7);
    line-height: 1.75;
    max-width: 56rem;
    margin: 1.5rem auto 0;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    text-align: left;
}

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

.about-block {
    display: flex;
    gap: 1.25rem;
}

.about-icon-box {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(22, 91, 233, 0.2);
    border: 1px solid rgba(22, 91, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.about-icon-box i {
    font-size: 1.25rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-text p {
    font-size: 1.125rem;
    color: rgba(191, 219, 254, 0.8);
    line-height: 1.75;
}

/* Divider */
.why-divider {
    width: 100%;
    max-width: 80rem;
    height: 1px;
    background: rgba(22, 91, 233, 0.2);
    margin: 0 auto 6rem;
    position: relative;
    z-index: 10;
}

/* Why Features Grid */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Cards */
.why-card {
    background: #0d172d;
    border: 1px solid rgba(22, 91, 233, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: scale(1) translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 91, 233, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.why-card:hover {
    background: #111d36;
    border-color: rgba(22, 91, 233, 0.6);
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(22, 91, 233, 0.15);
}

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

.why-card-wide {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .why-card-wide {
        grid-column: span 2;
    }
}

.why-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(22, 91, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    transform: scale(1) rotate(0deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.why-card-icon i {
    font-size: 1.5rem;
}

.why-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    transition: color 0.5s ease;
}

.why-card:hover h4 {
    color: #38bdf8;
}

.why-card p {
    font-size: 1rem;
    color: rgba(191, 219, 254, 0.7);
    line-height: 1.6;
    transition: color 0.5s ease;
}

.why-card:hover p {
    color: rgba(191, 219, 254, 0.9);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 6rem 0;
    background: rgba(249, 250, 251, 0.5);
    border-top: 1px solid #f3f4f6;
    transition: all var(--transition);
}

.dark-mode .testimonials {
    background: #060b17;
    border-top-color: #1f2937;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    border: 1px solid rgba(229, 231, 235, 0.6);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 2.5rem;
    }
}

.dark-mode .testimonial-card {
    background: #111827;
    border-color: #1f2937;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(22, 91, 233, 0.1);
}

.dark-mode .testimonial-card:hover {
    box-shadow: none;
}

/* Decorative Quote Icon - positioned absolute with low opacity */
.testimonial-quote {
    position: absolute;
    top: -1rem;
    right: -1rem;
    transition: all 0.5s ease;
    z-index: 0;
}

.testimonial-quote svg {
    fill: rgba(22, 91, 233, 0.03);
    transform: rotate(180deg);
    transition: all 0.5s ease;
}

.dark-mode .testimonial-quote svg {
    fill: rgba(96, 165, 250, 0.03);
}

.testimonial-card:hover .testimonial-quote svg {
    fill: rgba(22, 91, 233, 0.06);
    transform: rotate(180deg) scale(1.1) translateX(8px);
}

.dark-mode .testimonial-card:hover .testimonial-quote svg {
    fill: rgba(96, 165, 250, 0.06);
}

/* Testimonial Content - positioned relative to be above the quote */
.testimonial-headline {
    position: relative;
    z-index: 10;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-gray-900);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.dark-mode .testimonial-headline {
    color: var(--text-white);
}

.testimonial-content {
    position: relative;
    z-index: 10;
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
    font-weight: 500;
    flex-grow: 1;
    margin-bottom: 2rem;
    transition: color var(--transition);
}

.dark-mode .testimonial-content {
    color: #9ca3af;
}

/* Testimonial Footer with icon and source */
.testimonial-footer {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
    transition: border-color var(--transition);
}

.dark-mode .testimonial-footer {
    border-top-color: #1f2937;
}

.testimonial-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(22, 91, 233, 0.1);
    color: #165be9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.dark-mode .testimonial-icon {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.testimonial-source {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.dark-mode .testimonial-source {
    color: var(--text-white);
}

/* ============================================
   CTA SECTION (Contact/Demo Request)
   ============================================ */
.cta {
    padding: 6rem 0;
    background: var(--bg-white);
    transition: background var(--transition);
}

.dark-mode .cta {
    background: var(--bg-dark);
}

.cta-card {
    background: #0a1224;
    border-radius: 2.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #13264d, #0a1224);
    z-index: 0;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(38, 77, 157, 0.4), transparent 70%);
    z-index: 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 4rem;
    }
}

/* CTA Left Content */
.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(191, 219, 254, 0.8);
    line-height: 1.75;
    max-width: 28rem;
    margin-bottom: 2.5rem;
}

.cta-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #bfdbfe;
    font-weight: 500;
}

.cta-benefits .check-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(22, 91, 233, 0.5);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-benefits .check-icon svg {
    width: 12px;
    height: 12px;
}

/* CTA Form */
.cta-form-wrapper {
    background: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transition: background var(--transition);
}

.dark-mode .cta-form-wrapper {
    background: #111827;
}

.cta-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray-900);
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.dark-mode .cta-form h3 {
    color: var(--text-white);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-gray-900);
    transition: all var(--transition);
}

.dark-mode .cta-form input,
.dark-mode .cta-form select,
.dark-mode .cta-form textarea {
    background: #1e293b;
    border-color: #374151;
    color: var(--text-white);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 2.5rem;
    color: #6b7280;
}

.dark-mode .select-wrapper select {
    color: #9ca3af;
}

.select-arrow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-right: 1rem;
    pointer-events: none;
    color: #9ca3af;
}

.dark-mode .select-arrow {
    color: #6b7280;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: var(--text-gray-400);
}

.dark-mode .cta-form input::placeholder,
.dark-mode .cta-form textarea::placeholder {
    color: var(--text-gray-500);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 91, 233, 0.15);
}

.dark-mode .cta-form input:focus,
.dark-mode .cta-form select:focus,
.dark-mode .cta-form textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

.cta-form textarea {
    resize: none;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(22, 91, 233, 0.25);
}

.dark-mode .btn-submit {
    background: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-submit:hover {
    background: #1e3d7d;
    transform: scale(1.02);
}

.dark-mode .btn-submit:hover {
    background: #2563eb;
}

.btn-submit .btn-arrow {
    transition: transform var(--transition);
}

.btn-submit:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-submit svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Shimmer effect */
.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) skewX(-12deg);
    animation: shimmer 2.5s infinite ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-12deg);
    }

    100% {
        transform: translateX(200%) skewX(-12deg);
    }
}

.form-privacy {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-gray-400);
    margin-top: 1rem;
    transition: color var(--transition);
}

.dark-mode .form-privacy {
    color: var(--text-gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    background: #f9fafb;
    padding: 5rem 0 2rem;
    border-top: 1px solid #f3f4f6;
    overflow: hidden;
    transition: all var(--transition);
}

.dark-mode .footer {
    background: #060b17;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(186, 230, 253, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: footerPulse 10s ease-in-out infinite;
}

.dark-mode .footer-orb {
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

@keyframes footerPulse {

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

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 4fr 3fr 2fr 3fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        gap: 4rem;
    }
}

.footer-brand {
    padding-right: 0;
}

@media (min-width: 1024px) {
    .footer-brand {
        padding-right: 1rem;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    transition: color var(--transition);
}

.dark-mode .footer-brand h3 {
    color: white;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: color var(--transition);
}

.dark-mode .footer-brand p {
    color: #9ca3af;
}

.footer-note {
    font-style: italic;
    margin-bottom: 2rem !important;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
}

.dark-mode .social-link {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.dark-mode .social-link:hover {
    color: white;
    border-color: #6b7280;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.dark-mode .footer-links h4,
.dark-mode .footer-contact h4 {
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.dark-mode .footer-links a {
    color: #9ca3af;
}

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

.dark-mode .footer-links a:hover {
    color: white;
}

.footer-contact {
    padding-left: 0;
}

@media (min-width: 768px) {
    .footer-contact {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .footer-contact {
        grid-column: span 1;
        padding-left: 0;
    }
}

@media (min-width: 1024px) {
    .footer-contact {
        padding-left: 2rem;
    }
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition);
}

.dark-mode .contact-item {
    color: #9ca3af;
}

.contact-item:hover {
    color: var(--primary);
}

.dark-mode .contact-item:hover {
    color: white;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: all var(--transition);
}

.dark-mode .contact-icon {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.contact-item:hover .contact-icon {
    border-color: var(--primary);
    color: var(--primary);
}

.dark-mode .contact-item:hover .contact-icon {
    border-color: #6b7280;
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    z-index: 10;
}

.dark-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

.dark-mode .copyright {
    color: #6b7280;
}

.footer-regions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.footer-regions span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.region-highlight {
    color: #3b82f6;
}

.region-highlight.green {
    color: #22c55e;
}

.region-highlight svg {
    color: inherit;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .features-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 7rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .dashboard-mockup {
        display: none;
    }

    .cta-text h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS (AOS-like)
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Allow hover transforms on feature cards after AOS animation */
.feature-card[data-aos].aos-animate {
    transform: scale(1) translateY(0);
}

.feature-card[data-aos].aos-animate:hover {
    transform: scale(1.05) translateY(-5px) !important;
}

/* Allow hover transforms on innovation items after AOS animation */
.innovation-item[data-aos].aos-animate {
    transform: translateY(0) translateX(0);
}

.innovation-item[data-aos].aos-animate:hover {
    transform: translateY(0) translateX(5px) !important;
}

/* Allow hover transforms on product cards after AOS animation */
.product-card[data-aos].aos-animate {
    transform: scale(1) translateY(0);
}

.product-card[data-aos].aos-animate:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-in"] {
    transform: none;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Staggered delays */
[data-aos-delay="0"] {
    transition-delay: 0s;
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="150"] {
    transition-delay: 0.15s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="250"] {
    transition-delay: 0.25s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

[data-aos-delay="500"] {
    transition-delay: 0.5s;
}

/* ============================================
   PULSE & GLOW ANIMATIONS
   ============================================ */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(22, 91, 233, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(22, 91, 233, 0.6);
    }
}

@keyframes float {

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

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

.floating {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   ACTIVE NAV LINK STATE
   ============================================ */
.nav-link.active,
.mobile-nav-link.active {
    color: var(--primary);
}

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

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.dark-mode ::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--text-gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray-500);
}

.dark-mode ::-webkit-scrollbar-thumb {
    background: var(--text-gray-600);
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray-500);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: var(--primary);
    color: white;
}

.dark-mode ::selection {
    background: var(--primary-light);
}

/* ============================================
   FOCUS STYLES
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .navbar,
    .mobile-menu,
    .theme-toggle,
    .neural-canvas,
    .cta {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero {
        padding-top: 2rem !important;
    }
}

/* ============================================
   FLOATING ACTION BUTTONS (WhatsApp, Bot, Scroll Top)
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.floating-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab svg {
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.fab-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.fab:hover .fab-overlay {
    opacity: 1;
}

.fab:hover {
    transform: scale(1.1) translateY(-4px);
}

.fab:active {
    transform: scale(0.9);
}

/* AI Bot Button */
.fab-bot {
    background: #165be9;
    box-shadow: 0 10px 25px -5px rgba(22, 91, 233, 0.3);
}

.fab-bot:hover {
    background: #1e3d7d;
}

.dark-mode .fab-bot {
    background: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

.dark-mode .fab-bot:hover {
    background: #2563eb;
}

/* WhatsApp Button */
.fab-whatsapp {
    background: #25D366;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3);
}

.fab-whatsapp:hover {
    background: #128C7E;
}

/* Scroll to Top Button */
.fab-scroll-top {
    background: #264d9d;
    box-shadow: 0 10px 25px -5px rgba(38, 77, 157, 0.3);
}

.fab-scroll-top:hover {
    background: #1e3d7d;
}

.fab-scroll-top:hover svg {
    transform: translateY(-4px);
}

.dark-mode .fab-scroll-top {
    background: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

.dark-mode .fab-scroll-top:hover {
    background: #2563eb;
}

/* ============================================
   CHAT WINDOW
   ============================================ */
.chat-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    max-height: calc(100vh - 8rem);
    height: 450px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 99999;
    transform-origin: bottom right;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dark-mode .chat-window {
    background: #0a1224;
    border-color: #1f2937;
}

/* Chat Header */
.chat-header {
    background: #165be9;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-header-text h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.chat-status {
    color: #bfdbfe;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #4ade80;
}

.chat-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.375rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Chat Body */
.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: rgba(249, 250, 251, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dark-mode .chat-body {
    background: rgba(6, 11, 23, 0.5);
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.chat-message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #165be9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0.25rem;
}

.chat-message-bubble {
    background: white;
    border: 1px solid #f3f4f6;
    padding: 0.75rem;
    border-radius: 1rem;
    border-top-left-radius: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-width: 85%;
}

.dark-mode .chat-message-bubble {
    background: #111827;
    border-color: #1f2937;
    color: #d1d5db;
}

/* Chat Footer */
.chat-footer {
    padding: 0.75rem;
    background: white;
    border-top: 1px solid #f3f4f6;
}

.dark-mode .chat-footer {
    background: #0a1224;
    border-top-color: #1f2937;
}

.chat-form {
    position: relative;
    display: flex;
    align-items: center;
}

.chat-input {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.625rem 3rem 0.625rem 1rem;
    font-size: 0.875rem;
    color: #111827;
    transition: all 0.3s ease;
}

.chat-input::placeholder {
    color: #9ca3af;
}

.chat-input:focus {
    outline: none;
    border-color: #165be9;
    box-shadow: 0 0 0 3px rgba(22, 91, 233, 0.15);
}

.dark-mode .chat-input {
    background: #111827;
    border-color: #374151;
    color: white;
}

.dark-mode .chat-input::placeholder {
    color: #6b7280;
}

.dark-mode .chat-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.chat-send {
    position: absolute;
    right: 0.375rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #165be9;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.chat-send:hover {
    background: #1e3d7d;
}

.dark-mode .chat-send {
    background: #3b82f6;
}

.dark-mode .chat-send:hover {
    background: #2563eb;
}

/* Responsive adjustments for chat window */
@media (max-width: 640px) {
    .chat-window {
        width: calc(100vw - 3rem);
        max-width: 350px;
        height: auto;
        max-height: calc(100vh - 7rem);
        bottom: 5rem;
        right: 1.5rem;
    }

    .chat-body {
        min-height: 200px;
        max-height: 300px;
    }
}

/* Responsive adjustments for floating buttons */
@media (max-width: 640px) {
    .floating-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .fab {
        width: 3rem;
        height: 3rem;
    }

    .fab svg {
        width: 20px;
        height: 20px;
    }
}