/* ============================================
   JitQ.tech - Modern SaaS Website
   Design System & Variables
   ============================================ */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --dark-bg: #0F172A;
    --dark-surface: #1E293B;
    --accent-purple: #7C3AED;
    --accent-cyan: #06B6D4;
    --light-bg: #F8FAFC;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --gradient-primary: linear-gradient(135deg, #2563EB, #7C3AED);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Open Sans', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utilities
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Floating CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 0.6s ease forwards;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.2);
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-cta .btn {
    padding: 10px 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(124, 58, 237, 0.2), transparent),
        radial-gradient(ellipse 40% 30% at 0% 80%, rgba(6, 182, 212, 0.15), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    bottom: 20%;
    left: -50px;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-cyan);
    top: 50%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Preview Illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition);
}

.dashboard-preview:hover {
    transform: translateY(-5px);
}

.dash-header {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.dash-dot:nth-child(1) { background: #EF4444; }
.dash-dot:nth-child(2) { background: #F59E0B; }
.dash-dot:nth-child(3) { background: #22C55E; }

.dash-title {
    margin-left: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.dash-live-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #22C55E;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.dash-body {
    padding: 24px;
}

.dash-chart {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.dash-chart-2 {
    height: 60px;
    width: 70%;
}

.chart-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--fill);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(124, 58, 237, 0.4));
    border-radius: var(--radius-sm);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-chart .chart-fill {
    animation: chartShimmer 3s ease-in-out infinite;
}

@keyframes chartShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.dash-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.dash-stat {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    text-align: center;
}

.dash-stat .stat-value {
    display: block;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 18px;
}

.dash-stat span:last-child {
    font-size: 12px;
    color: var(--text-muted);
}

.dash-activity {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 60px;
}

.activity-bar {
    flex: 1;
    min-height: 12px;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-bar:nth-child(1) { animation: barGlow 2.5s ease-in-out infinite; }
.activity-bar:nth-child(2) { animation: barGlow 2.5s ease-in-out 0.3s infinite; }
.activity-bar:nth-child(3) { animation: barGlow 2.5s ease-in-out 0.6s infinite; }
.activity-bar:nth-child(4) { animation: barGlow 2.5s ease-in-out 0.9s infinite; }
.activity-bar:nth-child(5) { animation: barGlow 2.5s ease-in-out 1.2s infinite; }

@keyframes barGlow {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-desc {
    margin-top: 12px;
    color: var(--text-muted);
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Expertise Section
   ============================================ */
.expertise-section {
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.expertise-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.expertise-card .card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.expertise-card .card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    background: var(--dark-bg);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    margin-bottom: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    position: relative;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.product-glow:hover {
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.15);
}

.product-card.reverse .product-content {
    order: 2;
}

.product-card.reverse .product-visual {
    order: 1;
}

.product-badge {
    position: absolute;
    top: 24px;
    left: 48px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-new .product-content {
    padding-top: 20px;
}

.product-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-tagline {
    font-size: 16px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.product-ctas {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* Product Visuals */
.product-visual {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dash-analytics, .dash-workforce, .dash-support, .dash-vista, .dash-qlink {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    width: 100%;
}

.dash-analytics {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

/* QSenseGo Payment Analytics Live Dashboard */
.qsg-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qsg-dash-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qsg-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.qsg-live-badge .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qsg-dash-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qsg-chart-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qsg-progress-chart {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.qsg-chart-sm {
    height: 24px;
    width: 75%;
}

.qsg-chart-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--fill);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.6), rgba(124, 58, 237, 0.5));
    border-radius: 6px;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.qsg-stats {
    display: flex;
    gap: 12px;
}

.qsg-stat {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.qsg-stat-value {
    display: block;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 14px;
}

.qsg-stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

.qsg-line-chart {
    height: 52px;
    min-height: 52px;
}

.qsg-line-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.qsg-area, .qsg-line {
    transition: d 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.qsg-line {
    animation: lineGlow 2.5s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.mini-chart {
    height: 100px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.4), transparent);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.mini-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 60px;
}

.mini-bars span {
    flex: 1;
    height: var(--h);
    min-height: 20px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: barPulse 2s ease-in-out infinite;
}

.mini-bars span:nth-child(2) { animation-delay: 0.2s; }
.mini-bars span:nth-child(3) { animation-delay: 0.4s; }
.mini-bars span:nth-child(4) { animation-delay: 0.6s; }
.mini-bars span:nth-child(5) { animation-delay: 0.8s; }

.mini-metric {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: #22C55E;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* QWorkforce HRMS Live Dashboard */
.dash-workforce {
    min-height: 260px;
}

.qwf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qwf-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qwf-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.qwf-live-badge .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qwf-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qwf-stats {
    display: flex;
    gap: 10px;
}

.qwf-stat {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.qwf-value {
    display: block;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 15px;
}

.qwf-label {
    font-size: 10px;
    color: var(--text-muted);
}

.qwf-attendance-methods {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.qwf-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 10px;
    color: var(--text-muted);
}

.qwf-method svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    animation: methodPulse 2s ease-in-out infinite;
}

.qwf-method:nth-child(2) svg { animation-delay: 0.3s; }
.qwf-method:nth-child(3) svg { animation-delay: 0.6s; }

@keyframes methodPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.qwf-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qwf-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.qwf-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.qwf-activity-dot.present {
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qwf-activity-dot.remote {
    background: var(--accent-cyan);
    animation: livePulse 1.5s ease-in-out 0.5s infinite;
}

.qwf-activity-dot.qr {
    background: var(--primary);
    animation: livePulse 1.5s ease-in-out 1s infinite;
}

.qwf-activity-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workforce-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wf-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.wf-status {
    margin-top: 16px;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* QSupport Live Dashboard */
.dash-support {
    min-height: 260px;
}

.qsp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qsp-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qsp-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.qsp-live-badge .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qsp-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qsp-stats {
    display: flex;
    gap: 10px;
}

.qsp-stat {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.qsp-value {
    display: block;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 15px;
}

.qsp-label {
    font-size: 10px;
    color: var(--text-muted);
}

.qsp-tickets {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qsp-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 11px;
}

.qsp-ticket-id {
    color: var(--text-secondary);
    font-weight: 500;
}

.qsp-ticket-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
}

.qsp-ticket-status.new {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.2);
}

.qsp-ticket-status.in-progress {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.2);
}

.qsp-ticket-status.resolved {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.2);
}

.qsp-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qsp-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.qsp-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.qsp-activity-dot.resolved {
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qsp-activity-dot.in-progress {
    background: var(--accent-cyan);
    animation: livePulse 1.5s ease-in-out 0.5s infinite;
}

.qsp-activity-dot.new {
    background: #F59E0B;
    animation: livePulse 1.5s ease-in-out 1s infinite;
}

.support-tickets .ticket {
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.support-tickets .ticket:nth-child(2) { width: 80%; }
.support-tickets .ticket:nth-child(3) { width: 60%; }

.support-badge {
    margin-top: 12px;
    color: #22C55E;
    font-size: 14px;
}

/* QVista BI Live Dashboard */
.dash-vista {
    min-height: 260px;
}

.qvt-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qvt-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qvt-ai-badge {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.qvt-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.qvt-live-badge .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qvt-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qvt-stats {
    display: flex;
    gap: 10px;
}

.qvt-stat {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.qvt-value {
    display: block;
    font-weight: 700;
    color: var(--accent-purple);
    font-size: 15px;
}

.qvt-label {
    font-size: 10px;
    color: var(--text-muted);
}

.qvt-insights {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qvt-insight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.qvt-insight-icon {
    font-size: 12px;
}

.qvt-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qvt-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.qvt-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
    flex-shrink: 0;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qvt-activity-item:nth-child(2) .qvt-activity-dot { animation-delay: 0.4s; }
.qvt-activity-item:nth-child(3) .qvt-activity-dot { animation-delay: 0.8s; }

.vista-graph {
    height: 120px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(37, 99, 235, 0.2));
    border-radius: var(--radius-sm);
}

.vista-ai {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

/* QLink Live Dashboard */
.dash-qlink {
    min-height: 320px;
}

.qlink-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qlink-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qlink-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.qlink-live-badge .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22C55E;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qlink-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qlink-network {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.qlink-network .node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.qlink-network .node.center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
}

.qlink-network .node.n1 { left: 10%; top: 10%; animation-delay: 0s; }
.qlink-network .node.n2 { right: 10%; top: 10%; animation-delay: 0.2s; }
.qlink-network .node.n3 { left: 10%; bottom: 10%; animation-delay: 0.4s; }
.qlink-network .node.n4 { right: 10%; bottom: 10%; animation-delay: 0.6s; }

.qlink-lines {
    position: absolute;
    inset: 0;
    stroke: rgba(37, 99, 235, 0.3);
    stroke-width: 1;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.qlink-stats {
    display: flex;
    gap: 10px;
}

.qlink-stat {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.qlink-value {
    display: block;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 14px;
}

.qlink-label {
    font-size: 10px;
    color: var(--text-muted);
}

.qlink-realtime {
    display: block;
    font-weight: 600;
    color: var(--accent-cyan);
    font-size: 12px;
}

.realtime-badge {
    color: var(--accent-cyan);
    font-weight: 600;
}

.qlink-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qlink-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.qlink-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    flex-shrink: 0;
    animation: livePulse 1.5s ease-in-out infinite;
}

.qlink-activity-item:nth-child(2) .qlink-activity-dot { animation-delay: 0.4s; }
.qlink-activity-item:nth-child(3) .qlink-activity-dot { animation-delay: 0.8s; }

/* ============================================
   Platforms Section
   ============================================ */
.platforms-section {
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05));
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.3);
}

.platform-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
}

.platform-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.platform-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   Growth Section
   ============================================ */
.growth-section {
    background: var(--dark-surface);
}

.growth-content {
    max-width: 700px;
    margin-bottom: 48px;
}

.growth-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.growth-list {
    list-style: none;
    margin-top: 24px;
}

.growth-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.growth-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.stat-card .counter {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--dark-bg);
}

.about-content {
    max-width: 800px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ============================================
   Why Section
   ============================================ */
.why-section {
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.2);
}

.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.why-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Careers Section
   ============================================ */
.careers-section {
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03));
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.career-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transition: all var(--transition);
}

.career-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.career-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.career-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.career-experience {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 15px;
}

.career-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.career-requirements {
    list-style: none;
    margin-bottom: 28px;
}

.career-requirements li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.career-requirements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--dark-surface);
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-option {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-direct h3,
.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-direct p,
.contact-form-wrap > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.contact-form-wrap .form-group:first-of-type {
    margin-top: 0;
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 15px;
    transition: color var(--transition);
}

.contact-direct-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.contact-direct-item:hover {
    color: var(--accent-cyan);
}

.contact-form {
    max-width: 100%;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--dark-surface);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Legal Pages */
.legal-page {
    padding: 140px 0 100px;
    min-height: 100vh;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.legal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.legal-link-card {
    display: block;
    padding: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.legal-link-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.legal-link-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.legal-link-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.legal-content-page .legal-title {
    margin-bottom: 8px;
}

.legal-back {
    display: inline-block;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.legal-back:hover {
    color: var(--primary);
}

.legal-updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-body {
    max-width: 720px;
}

.legal-body section {
    margin-bottom: 32px;
}

.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.legal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-body ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-body li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-body a {
    color: var(--accent-cyan);
}

.legal-body a:hover {
    text-decoration: underline;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    padding-top: 24px;
}

.footer-bottom p {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-card.reverse .product-content,
    .product-card.reverse .product-visual {
        order: unset;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right var(--transition);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .product-card {
        padding: 32px 24px;
    }

    .product-badge {
        left: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-direct {
        order: 1;
    }

    .contact-form-wrap {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .product-ctas {
        flex-direction: column;
    }
}
