/* Modern Xeboki Website - Advanced Level */

/* CSS Custom Properties */
:root {
    /* Authentic Xeboki Colors */
    --primary-blue: #2563eb;
    --primary-container: #eff6ff;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --surface-white: #ffffff;
    --surface-container: #f9fafb;
    --background-gray: #F0F4F8;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-light: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.08);
    --shadow-strong: rgba(15, 23, 42, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-blue: #60a5fa;
    --primary-container: #1e3a8a;
    --success-green: #34d399;
    --warning-orange: #fbbf24;
    --error-red: #f87171;
    --surface-white: #1f2937;
    --surface-container: #111827;
    --background-gray: #0f172a;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border-light: #374151;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-success: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-card: linear-gradient(145deg, #1f2937 0%, #111827 100%);
}

/* ===== MODERN HERO SECTION ===== */
/* Hero Section Modern */
.hero-section-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366f1 100%);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: floatAround 20s infinite linear;
}

.floating-shape.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-shape.shape-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.floating-shape.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.floating-shape.shape-5 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    animation-delay: -8s;
    animation-duration: 22s;
}

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, -60px) rotate(180deg); }
    75% { transform: translate(-40px, 20px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Hero Container */
.hero-container-modern {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4em 2rem;
    padding-bottom: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 90vh;
}

/* Hero Content */
.hero-content-modern {
    color: white;
}

/* Status Badge */
.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 60px;
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(34, 197, 94, 0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.status-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.status-count {
    font-weight: 800;
    font-size: 1.1rem;
    color: #22c55e;
}

/* Hero Heading */
.hero-heading {
    margin-bottom: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-title-modern {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    letter-spacing: -0.02em;
}

.title-line-1, .title-line-2 {
    opacity: 0.95;
    color: white;
}

.title-line-3 {
    /* Fallback color for browsers that don't support gradient text */
    color: #fbbf24;
    background: linear-gradient(45deg, #fbbf24 0%, #f59e0b 25%, #eab308 50%, #f59e0b 75%, #fbbf24 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    background-position: 0% 50%;
    position: relative;
}

/* Fallback for older browsers */
.title-line-3:not(.gradient-supported) {
    background: none;
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24 !important;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle-modern {
    font-size: 1.3rem;
    line-height: 1.7;
    opacity: 0.95;
    font-weight: 400;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

/* Interactive Stats */
.hero-stats-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

.stat-card-modern[data-delay="0"] { animation-delay: 0.4s; animation-fill-mode: both; }
.stat-card-modern[data-delay="200"] { animation-delay: 0.6s; animation-fill-mode: both; }
.stat-card-modern[data-delay="400"] { animation-delay: 0.8s; animation-fill-mode: both; }

.stat-card-modern:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-size: 1.1rem;
}

.stat-content {
    flex: 1;
}

.stat-number-modern {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.stat-label-modern {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

/* Action Buttons */
.hero-actions-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: slideInUp 0.8s ease-out 1s both;
}

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-primary-modern {
    background: linear-gradient(45deg, #f59e0b 0%, #eab308 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    border-radius: inherit;
}

.btn-primary-modern:hover .btn-glow {
    transform: translateX(100%);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Trust Section */
.trust-section-modern {
    animation: slideInUp 0.8s ease-out 1.2s both;
}

.trust-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-logos-modern {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.trust-item {
    opacity: 0.7;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.trust-item:hover {
    opacity: 1;
}

/* Hero Visual */
.hero-visual-modern {
    position: relative;
    height: 600px;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.dashboard-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dashboard-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: floatIn 0.8s ease-out;
}

.dashboard-card[data-float-delay="0"] { animation-delay: 0.6s; animation-fill-mode: both; }
.dashboard-card[data-float-delay="200"] { animation-delay: 0.8s; animation-fill-mode: both; }
.dashboard-card[data-float-delay="400"] { animation-delay: 1s; animation-fill-mode: both; }
.dashboard-card[data-float-delay="600"] { animation-delay: 1.2s; animation-fill-mode: both; }

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Revenue Card */
.revenue-card {
    top: 20px;
    left: 20px;
    width: 280px;
    z-index: 4;
}

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

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.card-icon.revenue {
    background: linear-gradient(45deg, #10b981, #059669);
}

.card-icon.transactions {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
}

.card-icon.analytics {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
}

.card-icon.inventory {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.card-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.card-trend.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.card-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6b7280;
}

.card-value .counter {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.card-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-chart {
    height: 60px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 2px;
    min-height: 8px;
    animation: growBar 1s ease-out;
    animation-delay: 1.5s;
    animation-fill-mode: both;
    transform: scaleY(0);
}

@keyframes growBar {
    to { transform: scaleY(1); }
}

/* Transaction Card */
.transaction-card {
    top: 150px;
    right: 60px;
    width: 260px;
    z-index: 3;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #059669;
    font-weight: 600;
}

.pulse-dot-small {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.transaction-list {
    margin: 1rem 0;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.transaction-icon {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.transaction-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    font-weight: 500;
    color: #111827;
}

.item-price {
    font-weight: 600;
    color: #059669;
}

.transaction-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    font-weight: 600;
}

.total-amount {
    color: #059669;
    font-size: 1.1rem;
}

/* Analytics Card */
.analytics-card {
    bottom: 120px;
    left: 40px;
    width: 240px;
    z-index: 2;
}

.time-period {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.analytics-content {
    margin: 1rem 0;
}

.analytics-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.metric-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.metric-value {
    font-weight: 700;
    color: #111827;
}

.trend-chart {
    height: 50px;
    margin-top: 1rem;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

/* Inventory Card */
.inventory-card {
    bottom: 40px;
    right: 20px;
    width: 220px;
    z-index: 1;
}

.alert-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #d97706;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.inventory-content {
    margin-top: 1rem;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.stock-level {
    font-weight: 600;
}

.stock-level.low {
    color: #d97706;
}

.stock-status {
    font-size: 0.8rem;
    color: #059669;
    font-weight: 500;
}

.total-items {
    margin-top: 1rem;
    text-align: center;
}

.total-items .counter {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    display: block;
}

.items-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* Background Elements */
.dashboard-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatSlow 15s infinite ease-in-out;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -7s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Animation */
.counter {
    display: inline-block;
    transition: all 0.5s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container-modern {
        max-width: 1200px;
        gap: 3rem;
    }
    
    .floating-cards .dashboard-card {
        transform: scale(0.9);
    }
}

@media (max-width: 968px) {
    .hero-container-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual-modern {
        height: 500px;
        order: -1;
    }
    
    .hero-stats-modern {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-actions-modern {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .floating-cards {
        position: relative;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
        padding: 2rem;
    }
    
    .dashboard-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-container-modern {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.1rem;
    }
    
    .hero-stats-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .trust-logos-modern {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .floating-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Advanced Interactive Styles */
.morph-card {
    transition: transform var(--transition-normal);
    transform-style: preserve-3d;
}


/* Smooth theme transitions */
* {
    transition: background-color var(--transition-normal), 
                color var(--transition-normal), 
                border-color var(--transition-normal),
                box-shadow var(--transition-normal);
}

/* Advanced animations */
@keyframes slideIn {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes morphFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.8); }
}

/* Real-time update animations */
[data-realtime] {
    position: relative;
}

[data-realtime]::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

/* Keyboard navigation support */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    box-sizing: border-box;
}

/* Section spacing fix */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    height: 80px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    box-sizing: border-box;
}

.nav-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-blue);
    white-space: nowrap;
}

.brand-badge {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.dropdown-link:last-child {
    margin-bottom: 0;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), #8b5cf6);
    color: white;
    transform: translateX(5px);
}

.dropdown-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.dropdown-link div {
    display: flex;
    flex-direction: column;
}

.dropdown-link strong {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.dropdown-link small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: nowrap;
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    animation: btnGlow 0.6s ease-in-out;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    transition: transform var(--transition-fast);
}

.btn-secondary {
    background: var(--surface-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-strong);
    animation: btnBounce 0.4s ease-out;
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    transition: transform var(--transition-fast);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

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

.btn-large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    z-index: 10;
    position: relative;
}

.hero-content * {
    color: white !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-2xl);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    animation: fadeInUp 0.8s ease 0s both;
}

.hero-badge i {
    color: #fbbf24 !important;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease 0s both;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, #34d399, #fbbf24, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s both;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-xl) 0 var(--space-2xl) 0;
    animation: fadeInUp 1s ease 0.4s both;
    justify-content: flex-start;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: white !important;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: var(--space-xs);
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions .btn {
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
}

.hero-trust {
    animation: fadeInUp 1s ease 0.8s both;
}

.trust-text {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.7) !important;
}

.trust-logos {
    display: flex;
    gap: var(--space-xl);
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    color: rgba(255, 255, 255, 0.7) !important;
}

.trust-logo span {
    color: rgba(255, 255, 255, 0.7) !important;
}

.trust-logo:hover {
    opacity: 1;
}

/* Hero Visual - Screenshots Container */
.hero-visual {
    animation: fadeInRight 1s ease 0.5s both;
    padding: var(--space-lg);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshots-container {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot {
    position: absolute;
    transition: all var(--transition-slow);
}

.main-screenshot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.floating-screenshot {
    z-index: 2;
    opacity: 0.95;
}

.pos-screenshot {
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.inventory-screenshot {
    bottom: 25%;
    left: 5%;
    animation: float 6s ease-in-out infinite 2s;
}

.analytics-screenshot {
    bottom: 5%;
    right: 10%;
    animation: float 6s ease-in-out infinite 4s;
}

/* Screenshot Window Styles */
.screenshot-window {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 580px;
    max-width: 90vw;
    border: 1px solid var(--border-light);
}

.window-header {
    background: #f8fafc;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.window-controls {
    display: flex;
    gap: var(--space-sm);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.window-title {
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.window-content {
    background: var(--background-gray);
}

/* App Interface Styles */
.app-header {
    background: var(--surface-white);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.app-nav {
    display: flex;
    gap: var(--space-lg);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-item.active {
    background: var(--primary-container);
    color: var(--primary-blue);
}

.nav-item:hover:not(.active) {
    background: var(--surface-container);
}

.app-user {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

/* Dashboard Content */
.dashboard-content {
    padding: var(--space-xl);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.metric-card {
    background: var(--surface-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

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

.metric-card.revenue .metric-icon {
    background: var(--gradient-primary);
}

.metric-card.transactions .metric-icon {
    background: var(--gradient-success);
}

.metric-card.customers .metric-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.metric-card.inventory .metric-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.metric-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.metric-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
}

.metric-value {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.metric-chart {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 40px;
    margin-top: var(--space-lg);
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
}

.metric-progress {
    width: 100%;
    height: 4px;
    background: var(--surface-container);
    border-radius: 2px;
    margin-top: var(--space-lg);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-success);
    transition: width 1s ease;
}

/* Recent Activity */
.recent-activity {
    background: var(--surface-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.recent-activity h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.activity-icon.sale {
    background: var(--gradient-success);
}

.activity-icon.customer {
    background: var(--gradient-primary);
}

.activity-icon.inventory {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.activity-title {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Screenshot Styles */
.mini-window {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 280px;
    border: 1px solid var(--border-light);
}

.mini-header {
    background: var(--primary-blue);
    color: white;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

/* POS Interface */
.pos-interface {
    padding: var(--space-lg);
}

.pos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pos-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--surface-container);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    text-align: center;
}

.pos-item img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.pos-total {
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

/* Inventory Table */
.inventory-table {
    padding: var(--space-lg);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 50px 60px;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    align-items: center;
    font-size: 0.85rem;
}

.table-row.header {
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.status-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    text-align: center;
}

.status-badge.good {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.status-badge.low {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
}

/* Analytics Chart */
.analytics-chart {
    padding: var(--space-lg);
}

.chart-container {
    position: relative;
}

.line-chart {
    width: 100%;
    height: 80px;
}

.chart-stats {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-md);
}

.chart-stats .stat {
    text-align: center;
}

.chart-stats .value {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.chart-stats .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.chart-stats .trend {
    color: var(--success-green);
    font-weight: var(--font-weight-semibold);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary-container);
    color: var(--primary-blue);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-2xl);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: var(--space-3xl) 0;
    background: var(--surface-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.feature-card {
    background: var(--gradient-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

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

.feature-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.feature-card.featured::before {
    opacity: 0;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-container);
    color: var(--primary-blue);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
}

.feature-card p {
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: var(--font-weight-bold);
}

.feature-card.featured .feature-list li::before {
    color: rgba(255, 255, 255, 0.8);
}

.feature-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-stats .stat-item {
    text-align: center;
}

.feature-stats .number {
    font-size: 1.8rem;
    font-weight: var(--font-weight-extrabold);
    display: block;
}

.feature-stats .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.security-badges {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.badge {
    background: var(--primary-container);
    color: var(--primary-blue);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
}

/* Modern Features Section */
.modern-features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.modern-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.pulse-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gradient-text-animated {
    background: linear-gradient(45deg, #2563eb, #10b981, #f59e0b, #ef4444);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-features-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
    max-height: 600px;
}

.modern-feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.modern-feature-card.in-view {
    transform: translateY(0);
    opacity: 1;
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.primary-card {
    grid-row: span 3;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    position: relative;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatShapes 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 40%;
    animation-delay: 4s;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(5px) rotate(240deg); }
}

.feature-content {
    position: relative;
    z-index: 1;
}

.modern-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.rocket-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.ai-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.security-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.platform-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.offline-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.modern-feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: inherit;
    line-height: 1.3;
}

.feature-description {
    color: inherit;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    flex-grow: 1;
}

.feature-metrics {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: var(--font-weight-black);
    color: white;
    display: block;
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.counter {
    transition: all 0.5s ease;
}

.ai-features {
    margin-top: auto;
    padding-top: var(--space-md);
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
}

.ai-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
    animation: pulse 2s infinite;
}

.modern-badges {
    display: flex;
    gap: var(--space-xs);
    margin-top: auto;
    padding-top: var(--space-md);
}

.security-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-badge.pci {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
}

.security-badge.iso {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.security-badge.gdpr {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.platform-showcase {
    display: flex;
    gap: var(--space-xs);
    margin-top: auto;
    padding-top: var(--space-md);
}

.platform-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.platform-item:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.offline-features {
    margin-top: auto;
    padding-top: var(--space-md);
}

.offline-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
}

.offline-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8b5cf6;
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--space-md);
    }
    
    .primary-card {
        grid-row: span 1;
    }
    
    .feature-metrics {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .metric-divider {
        width: 40px;
        height: 1px;
    }
}

/* Modules Section */
.modules-section {
    padding: var(--space-2xl) 0;
    background: var(--background-gray);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    background: var(--surface-white);
    border-radius: var(--radius-2xl);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-normal);
    overflow: visible;
    cursor: pointer;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-strong);
    border-color: var(--primary-blue);
}

.module-card.active {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.module-header {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.module-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.module-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
}

.module-info h3 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}

.module-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.2;
}

.module-preview {
    padding: 0 var(--space-xl);
    margin-bottom: var(--space-lg);
}

.preview-content {
    background: var(--background-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.pos-preview {
    text-align: center;
}

.cart-items {
    margin-bottom: var(--space-lg);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.cart-total {
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.checkout-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.checkout-btn:hover {
    transform: scale(1.05);
}

/* Module Preview Styles */
.module-preview {
    flex: 1;
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-sm);
    overflow: visible;
}

.preview-content {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    border: 1px solid #e2e8f0;
    height: 100%;
    min-height: 200px;
}

/* Inventory Preview Styles - Realistic Interface */
.inventory-search {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.inventory-search input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    background: var(--surface-white);
}

.search-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.inventory-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.inventory-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.inventory-item.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.inventory-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item-info {
    flex: 1;
}

.item-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    margin-bottom: 2px;
}

.item-sku {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.item-stock {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.stock-number {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    color: var(--text-primary);
}

.item-stock.low .stock-number {
    color: #ef4444;
}

.stock-label {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

.item-price {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.reorder-btn, .edit-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.edit-btn {
    background: var(--text-secondary);
}

.reorder-btn:hover, .edit-btn:hover {
    transform: translateY(-1px);
}

/* Customer Preview Styles - Realistic Interface */
.customer-header {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.customer-search {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    background: var(--surface-white);
}

.add-customer-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
}

.customer-list {
    display: flex;
    flex-direction: column;
}

.customer-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.customer-row.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.customer-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.customer-avatar {
    font-size: 32px;
    color: var(--primary-blue);
}

.customer-details {
    flex: 1;
}

.customer-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    margin-bottom: 2px;
}

.customer-email {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: 1px;
}

.customer-phone {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.customer-metrics {
    display: flex;
    gap: var(--space-lg);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-label {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    margin-bottom: 2px;
}

.metric-value {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.customers-preview .customer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

.loyalty-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.view-btn {
    background: var(--text-secondary);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    cursor: pointer;
}

/* Analytics Preview Styles */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.analytics-header h4 {
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    margin: 0;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

.trend-indicator.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.analytics-chart {
    height: 60px;
    display: flex;
    align-items: end;
    gap: 4px;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.analytics-bar {
    flex: 1;
    background: rgba(37, 99, 235, 0.3);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.analytics-bar.active {
    background: var(--primary-blue);
}

.analytics-metrics {
    display: flex;
    justify-content: space-between;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.metric-label {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.metric-value {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.metric-value.success {
    color: #10b981;
}

/* Staff Preview Styles */
.staff-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.staff-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-number {
    color: var(--primary-blue);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.count-label {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.shift-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.online {
    background: #10b981;
}

.staff-member {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.staff-avatar {
    font-size: 20px;
    color: var(--primary-blue);
}

.staff-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.staff-role {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.work-hours {
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.performance-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin: var(--space-xs) 0;
}

.progress {
    background: var(--gradient-primary);
    height: 100%;
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.performance-score {
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    text-align: right;
}

/* Accounting Preview Styles */
.financial-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.summary-item.profit {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10b981;
}

.summary-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.summary-amount {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

.summary-amount.expense {
    color: #f59e0b;
}

.summary-item.profit .summary-amount {
    color: #10b981;
}

.tax-summary {
    padding: var(--space-sm);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid #ef4444;
    margin-bottom: var(--space-md);
}

.tax-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tax-info i {
    color: #ef4444;
    font-size: var(--font-size-lg);
}

.tax-label {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.tax-amount {
    color: #ef4444;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
}

.tax-date {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.sync-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    color: #10b981;
    font-size: var(--font-size-xs);
}

.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Multi-Location Preview Styles */
.locations-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
}

.location-count, .total-revenue {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.revenue-amount {
    color: var(--primary-blue);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.revenue-label {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.location-item.best-performer {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10b981;
}

.location-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.location-status {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.performance-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator.success {
    background: #10b981;
}

.indicator.warning {
    background: #f59e0b;
}

.indicator-text {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

/* Supplier Preview Styles */
.supplier-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.order-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.order-header i {
    color: var(--primary-blue);
    font-size: var(--font-size-lg);
}

.order-title {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.order-status {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.order-value {
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
}

.supplier-alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    color: #ef4444;
    font-size: var(--font-size-xs);
    border-left: 3px solid #ef4444;
}

/* E-commerce Preview Styles */
.channel-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.channel-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.channel-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-lg);
}

.channel-icon.shopify {
    background: rgba(149, 196, 61, 0.1);
    color: #95c43d;
}

.channel-icon.amazon {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
}

.channel-data {
    flex: 1;
}

.channel-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.channel-sales {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.sync-status.active {
    color: #10b981;
}

.sync-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sync-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.sync-progress {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.progress-text {
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xs);
    min-width: 30px;
}

.module-features {
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.feature-tag {
    background: var(--surface-container);
    color: var(--text-secondary);
    padding: 4px 6px;
    border-radius: var(--radius-lg);
    font-size: 0.7rem;
    font-weight: var(--font-weight-medium);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-3xl) 0;
    background: var(--surface-white);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.toggle-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-light);
    transition: var(--transition-normal);
    border-radius: 16px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-normal);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.discount-badge {
    background: var(--gradient-success);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    margin-left: var(--space-sm);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

.pricing-card {
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--border-light);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-success);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-2xl);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.plan-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-lg);
}

.pricing-card.featured .plan-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-card.featured .plan-description {
    color: rgba(255, 255, 255, 0.8);
}

.plan-pricing {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.currency {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
}

.amount {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    margin: 0 var(--space-xs);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.8);
}

.yearly-savings {
    color: var(--success-green);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

.plan-features {
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

.feature-item i {
    color: var(--success-green);
    font-size: 0.9rem;
}

.pricing-card.featured .feature-item i {
    color: rgba(255, 255, 255, 0.8);
}

.plan-button {
    width: 100%;
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pricing-features {
    text-align: center;
    margin-top: var(--space-3xl);
}

.pricing-features h3 {
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.included-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.included-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-secondary);
}

.included-item i {
    color: var(--success-green);
    font-size: 1.1rem;
}

/* Demo Section */
.demo-section {
    padding: var(--space-3xl) 0;
    background: var(--background-gray);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.demo-text h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.demo-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.demo-benefits {
    margin-bottom: var(--space-xl);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    font-size: 1.05rem;
}

.benefit-item i {
    color: white;
    width:16px;
    font-size: 1.1rem;
}

.demo-actions {
    display: flex;
    gap: var(--space-lg);
}

.video-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.video-thumbnail {
    background: var(--gradient-hero);
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.video-info {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    color: white;
}

.video-duration {
    background: rgba(0, 0, 0, 0.7);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.video-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
}

/* Contact Section */
.contact-section {
    padding: var(--space-3xl) 0;
    background: var(--surface-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: transform var(--transition-fast);
}

.contact-method:hover {
    transform: translateX(8px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.method-info h4 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.method-info p {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.availability {
    color: var(--success-green);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.contact-form-container {
    background: var(--gradient-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px var(--shadow-color);
}

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

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    background: var(--surface-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
}

.form-checkbox label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.1rem;
    margin-top: var(--space-lg);
}

.form-footer {
    text-align: center;
    margin-top: var(--space-lg);
}

.form-footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.brand-section {
    max-width: 300px;
}

.footer-brand .brand-logo {
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.legal-links {
    display: flex;
    gap: var(--space-xl);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: white;
}

.footer-certifications {
    display: flex;
    gap: var(--space-lg);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Advanced Responsive Design with Modern Techniques */

/* Container queries for better responsive components */
@container (max-width: 600px) {
    .feature-card {
        text-align: center;
    }
}

/* Large screens - Enhanced layouts */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.1;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .screenshots-container {
        height: 700px;
    }
}

/* Desktop tablets */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .screenshots-container {
        height: 450px;
        margin-top: var(--space-2xl);
        overflow: visible;
    }
    
    .hero-visual {
        padding: var(--space-md);
        min-height: 450px;
    }
    
    .demo-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

/* Tablets and mobile navigation */
@media (max-width: 768px) {
    /* Hide desktop navigation, show mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transition: left var(--transition-normal);
        z-index: 1001;
        box-shadow: 2px 0 10px var(--shadow-color);
        padding-top: 80px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    /* Enhanced mobile hero section */
    .hero-section {
        min-height: calc(100vh - 80px);
        padding: var(--space-xl) 0;
    }
    
    .hero-container {
        padding: var(--space-lg);
        gap: var(--space-xl);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-lg);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        width: 100%;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
    }
    
    /* Mobile-optimized sections */
    .features-section,
    .pricing-section,
    .demo-section,
    .contact-section {
        padding: var(--space-2xl) 0;
    }
    
    /* Mobile-optimized grids */
    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-md);
    }
    
    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    /* Mobile forms */
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Mobile footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    /* Mobile dashboard mockup */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Mobile chat modal - Removed conflicting styles */
    
    /* Mobile screenshots */
    .screenshots-container {
        height: 300px;
        padding: var(--space-lg);
        overflow: visible;
    }
    
    .hero-visual {
        padding: var(--space-sm);
        min-height: 300px;
    }
    
    .screenshot-window {
        width: 100%;
        max-width: 320px;
    }
    
    .floating-screenshot {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        margin: var(--space-md) auto;
        display: block;
    }
    
    
    /* Mobile floating buttons */
    .floating-actions {
        right: 10px;
        gap: var(--space-sm);
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    /* Ultra-compact mobile styles */
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav {
        padding: var(--space-lg);
    }
    
    .hero-container {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .screenshot-window {
        width: 100%;
        max-width: 350px;
    }
    
    .floating-screenshot .mini-window {
        width: 200px;
    }
    
    /* Stack footer items on very small screens */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    /* Ultra-compact chat modal - Removed conflicting styles */
    
    /* Smaller buttons on mobile */
    .btn {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
    }
    
    .btn-large {
        font-size: 1rem;
        padding: var(--space-md) var(--space-lg);
    }
}

/* Modern responsive utilities */
.show-mobile { display: none; }
.hide-mobile { display: block; }

@media (max-width: 768px) {
    .show-mobile { display: block; }
    .hide-mobile { display: none; }
}

/* Fluid typography using clamp() */
.responsive-text-lg {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.responsive-text-xl {
    font-size: clamp(2rem, 6vw, 3rem);
}

.responsive-text-2xl {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

/* Modern aspect ratios */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Modern gap utilities for better spacing */
.gap-responsive {
    gap: clamp(1rem, 3vw, 2rem);
}

.gap-responsive-lg {
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* Layout validation and fixes */
* {
    max-width: 100%;
    box-sizing: border-box;
}

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

/* Prevent any element from causing horizontal overflow */
*:not(.screenshots-container):not(.floating-screenshot) {
    overflow-wrap: break-word;
}

/* Ensure all interactive elements are properly sized */
button, input, textarea, select {
    max-width: 100%;
}

/* End of modern responsive layout enhancements */

/* Advanced Modern Animations */

/* Button Animations */
@keyframes btnGlow {
    0% { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6), 0 0 20px rgba(37, 99, 235, 0.3); }
    100% { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); }
}

@keyframes btnBounce {
    0% { transform: translateY(-2px) scale(1.02); }
    50% { transform: translateY(-4px) scale(1.04); }
    100% { transform: translateY(-2px) scale(1.02); }
}

/* Card Hover Effects */
@keyframes cardLift {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.02); }
}

@keyframes cardGlow {
    0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
    100% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(37, 99, 235, 0.1); }
}

/* Gradient Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0, 0, 0); }
    40%, 43% { transform: translate3d(0, -30px, 0); }
    70% { transform: translate3d(0, -15px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

/* Reveal Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typing Animation */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from { border-right-color: rgba(37, 99, 235, 0.8); }
    to { border-right-color: transparent; }
}

/* Parallax Effects */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Interactive Feature Classes */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    animation: cardLift 0.3s ease-out forwards, cardGlow 0.3s ease-out forwards;
}

.gradient-bg {
    background: linear-gradient(-45deg, #2563eb, #3b82f6, #1e40af, #2563eb);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.gradient-text-animated {
    background: linear-gradient(-45deg, #2563eb, #3b82f6, #10b981, #2563eb);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease infinite;
}

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

.floating-element:nth-child(2) {
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    animation-delay: 4s;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid rgba(37, 99, 235, 0.8);
    white-space: nowrap;
    animation: typewriter 4s steps(40, end), blink 1s step-end infinite;
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
}

/* Modern CSS Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.neon-glow {
    box-shadow: 
        0 0 5px rgba(37, 99, 235, 0.5),
        0 0 10px rgba(37, 99, 235, 0.5),
        0 0 15px rgba(37, 99, 235, 0.5),
        0 0 20px rgba(37, 99, 235, 0.5);
}

.text-shadow-glow {
    text-shadow: 
        0 0 5px rgba(37, 99, 235, 0.5),
        0 0 10px rgba(37, 99, 235, 0.5),
        0 0 15px rgba(37, 99, 235, 0.5);
}

/* Micro-interactions */
.micro-bounce:hover {
    animation: bounce 0.8s ease-in-out;
}

.micro-pulse:hover {
    animation: glowPulse 1s ease-in-out;
}

.micro-shake:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* ================================
   NEW BUSINESS FEATURES SECTION
   ================================ */

.business-features-section {
    padding:3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.business-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* Impact Dashboard */
.impact-dashboard {
    background: var(--surface-white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    margin: 3rem 0 4rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.impact-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-header h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--success-green);
    font-weight: var(--font-weight-medium);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
    align-items: start;
}

.impact-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    flex: 1;
    min-height: 200px;
    justify-content: space-between;
    align-self: start;
    margin: 0;
}

.impact-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-icon.revenue {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: var(--success-green);
}

.metric-icon.transactions {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary-blue);
}

.metric-icon.uptime {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: var(--warning-orange);
}

.metric-icon.savings {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    color: #8b5cf6;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-value .currency,
.metric-value .suffix {
    font-size: 1.5rem;
    opacity: 0.7;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.metric-trend {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    margin-top: auto;
}

.metric-trend.positive {
    background: #dcfce7;
    color: var(--success-green);
}

.metric-trend.neutral {
    background: var(--surface-container);
    color: var(--text-secondary);
}

/* Feature Showcase */
.feature-showcase {
    background: var(--surface-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.feature-tabs {
    display: flex;
    background: var(--surface-container);
    padding: 0.5rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    gap: 0.5rem;
    overflow-x: auto;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    white-space: nowrap;
    min-width: 140px;
}

.feature-tab:hover {
    background: rgba(37, 99, 235, 0.05);
}

.feature-tab.active {
    background: var(--surface-white);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}

.tab-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-container);
    color: var(--primary-blue);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.feature-tab.active .tab-icon {
    background: var(--primary-blue);
    color: white;
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tab-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.tab-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tab-content-area {
    position: relative;
    min-height: 600px;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 3rem;
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.panel-text h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-headline {
    font-size: 1.125rem;
    color: var(--primary-blue);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-container);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--surface-white);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

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

.benefit-text strong {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.benefit-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.benefit-metric {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--success-green);
    background: #dcfce7;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.roi-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
}

.roi-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roi-text {
    font-weight: var(--font-weight-medium);
}

/* Panel Visuals */
.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Performance Demo */
.performance-demo {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.demo-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.demo-status {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
}

.demo-status.online {
    background: #dcfce7;
    color: var(--success-green);
}

.demo-status.learning {
    background: #dbeafe;
    color: var(--primary-blue);
}

.demo-status.secure {
    background: #fef3c7;
    color: var(--warning-orange);
}

.demo-status.syncing {
    background: #f3e8ff;
    color: #8b5cf6;
}

.performance-meters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meter-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.meter-bar {
    height: 8px;
    background: var(--surface-container);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    border-radius: var(--radius-md);
    transition: width 2s ease;
    position: relative;
}

.meter-fill.performance-speed {
    background: linear-gradient(90deg, var(--success-green), #16a34a);
    width: 0;
    animation: fillMeter 2s ease forwards;
    animation-delay: 0.5s;
}

.meter-fill.performance-load {
    background: linear-gradient(90deg, var(--warning-orange), #ea580c);
    width: 0;
    animation: fillMeter 2s ease forwards;
    animation-delay: 1s;
}

.meter-fill.performance-response {
    background: linear-gradient(90deg, var(--primary-blue), #1d4ed8);
    width: 0;
    animation: fillMeter 2s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fillMeter {
    to {
        width: var(--target-width, 75%);
    }
}

.meter-value {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: right;
}

.live-transactions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--surface-container);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    animation: slideIn 0.5s ease;
}

.transaction-time,
.transaction-speed {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.transaction-desc {
    color: var(--text-primary);
}

/* Intelligence Demo */
.intelligence-demo {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.ai-predictions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prediction-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid;
}

.prediction-card.hot {
    background: #fef2f2;
    border-color: var(--error-red);
}

.prediction-card.warning {
    background: #fffbeb;
    border-color: var(--warning-orange);
}

.prediction-card.opportunity {
    background: #f0fdf4;
    border-color: var(--success-green);
}

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

.prediction-type {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.prediction-confidence {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.prediction-content strong {
    color: var(--text-primary);
}

.prediction-action {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Security Demo */
.security-demo {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.security-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-container);
    border-radius: var(--radius-lg);
}

.security-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--success-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.security-details strong {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.security-details span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.security-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.security-indicator.secure {
    background: var(--success-green);
}

.compliance-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--surface-container);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

/* Mobility Demo */
.mobility-demo {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.device-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.device-screen {
    width: 80px;
    height: 120px;
    background: var(--surface-container);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--border-light);
}

.device.tablet .device-screen {
    width: 100px;
    height: 80px;
}

.device.desktop .device-screen {
    width: 120px;
    height: 80px;
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.transaction-preview,
.dashboard-preview,
.analytics-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.625rem;
}

.device-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.sync-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.sync-line {
    width: 1px;
    height: 20px;
    background: var(--border-light);
}

.sync-icon {
    font-size: 0.875rem;
    color: var(--primary-blue);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.platform-support {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--surface-container);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.platform-item i {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

/* Counter Animation */
.counter {
    display: inline-block;
    animation: counterFadeIn 0.5s ease-in-out;
}

@keyframes counterFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animate counter on load - fallback for JS */
.impact-dashboard .counter {
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .impact-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        align-items: start;
    }
}

@media (max-width: 1024px) {
    .panel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-metrics {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .business-features-section {
        padding: 4rem 0;
    }
    
    .impact-dashboard {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .impact-metrics {
        grid-template-columns: 1fr;
        width: 100%;
        align-items: start;
    }
    
    .feature-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .feature-tab {
        justify-content: flex-start;
        min-width: auto;
    }
    
    .tab-panel {
        padding: 2rem 1.5rem;
    }
    
    .panel-text h3 {
        font-size: 1.5rem;
    }
    
    .benefit-list {
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .device-showcase {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .sync-indicator {
        transform: rotate(90deg);
    }
    
    .sync-line {
        width: 20px;
        height: 1px;
    }
}

/* Animation for meter fills */
.performance-demo .meter-fill.performance-speed {
    --target-width: 95%;
}

.performance-demo .meter-fill.performance-load {
    --target-width: 35%;
}

.performance-demo .meter-fill.performance-response {
    --target-width: 98%;
}

/* ================================
   NEW HERO IMPACT BADGE
   ================================ */

.hero-impact-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    animation: slideInDown 0.8s ease-out;
}

.hero-impact-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 99, 235, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.impact-indicator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.hero-impact-badge .pulse-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--success-green);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
    opacity: 0.6;
}

.hero-impact-badge .pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--success-green);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.impact-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.impact-label {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impact-metrics {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.impact-amount {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1;
}

.live-counter {
    color: var(--success-green);
}

.impact-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.impact-trend {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--success-green);
    flex-shrink: 0;
}

.impact-trend i {
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

/* Responsive Design for Hero Impact Badge */
@media (max-width: 768px) {
    .hero-impact-badge {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .impact-indicator {
        width: 28px;
        height: 28px;
    }
    
    .hero-impact-badge .pulse-ring {
        width: 20px;
        height: 20px;
    }
    
    .hero-impact-badge .pulse-dot {
        width: 10px;
        height: 10px;
    }
    
    .impact-amount {
        font-size: 1rem;
    }
    
    .impact-desc {
        font-size: 0.75rem;
    }
    
    .impact-trend {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-impact-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .impact-metrics {
        flex-direction: column;
        gap: 0.125rem;
    }
    
    .impact-trend {
        align-self: flex-end;
    }
}

/* ==========================================
   CHAT MODAL INTEGRATION STYLES - UPDATED
   Cache Refresh: 2025-01-15 23:15
   ========================================== */

/* Chat Modal Overlay */
        width: calc(100vw - 40px);
        right: 20px;
    }
    
    .chat-modal.open {
        height: calc(100vh - 120px);
    }
    
    .chat-container {
        border-radius: 16px;
        border: 1px solid #e5e7eb;
    }
    
    .chat-header {
        border-radius: 16px 16px 0 0;
    }
    
    .message-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .chat-modal {
        width: calc(100vw - 20px);
        right: 10px;
    }
    
    .chat-modal.open {
        height: calc(100vh - 80px);
    }
    
    .quick-suggestions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .suggestion-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Enhanced animations for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.modal-container {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    position: relative;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 0.25rem 0;
    color: white;
}

.modal-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.95rem;
    font-weight: var(--font-weight-normal);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.demo-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.required {
    color: var(--error-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: var(--error-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background-color: var(--surface-container);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.form-footer .btn {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.form-disclaimer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .modal-header h3 {
        font-size: 1.35rem;
    }
    
    .modal-header p {
        font-size: 0.9rem;
    }
}

/* Modal Animation Keyframes */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Legal Document Modal Styles */
.legal-modal .modal-container {
    max-width: 900px;
    max-height: 85vh;
}

.legal-modal .modal-header {
    background: var(--gradient-primary);
    padding: 1.25rem 2rem;
}

.legal-modal .modal-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: white;
}

.legal-modal .modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.legal-content {
    padding: 2rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-content h2 {
    color: var(--primary-blue);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.legal-content h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content .highlight-box {
    background: var(--primary-container);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.legal-content .highlight-box p {
    margin: 0;
}

.legal-content .highlight-box strong {
    color: var(--primary-blue);
}

/* Mobile styles for legal modal */
@media (max-width: 768px) {
    .legal-modal .modal-container {
        width: 98%;
        max-height: 90vh;
    }
    
    .legal-content {
        padding: 1.5rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .legal-content h2 {
        font-size: 1.1rem;
    }
    
    .legal-content h3 {
        font-size: 0.95rem;
    }
}