/* ServiZyPro Sales Page Styles */

:root {
    /* Colors matching App Theme (AI Studio-inspired) */
    --primary-color: #1A73E8;        /* AI Blue from app_theme.dart */
    --primary-light: #4285F4;
    --primary-dark: #1557B0;
    --primary-container: #E2EEFF;
    --on-primary-container: #001D36;
    
    --secondary-color: #5F6368;      /* Secondary from app */
    --accent-color: #1A73E8;
    --warning-color: #f59e0b;
    --danger-color: #B3261E;         /* Error from app */
    
    /* Neutral Colors - Matching App Background */
    --background: #E6EAEE;           /* _bg from app_theme.dart */
    --dark-color: #1F1F1F;           /* _onBg from app_theme.dart */
    --surface: #FFFFFF;              /* _surface from app */
    --surface-variant: #DDE3E8;      /* _surfaceVariant from app */
    
    --gray-900: #1F1F1F;
    --gray-800: #1F1F1F;
    --gray-700: #5F6368;
    --gray-600: #80868B;
    --gray-500: #9AA0A6;
    --gray-400: #CBD5E1;
    --gray-300: #DDE3E8;
    --gray-200: #E6EAEE;
    --gray-100: #F3F5F7;
    
    /* Outline colors from app */
    --outline: #CBD5E1;
    --outline-variant: #E5EAF0;
    
    /* Gradients - AI Blue theme */
    --gradient-primary: linear-gradient(135deg, #1A73E8 0%, #1557B0 100%);
    --gradient-secondary: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(230, 234, 238, 0.8) 100%);
    
    /* Shadows - Subtle and clean */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 20px;
    
    /* Border Radius - Matching app (14px) */
    --border-radius: 14px;
    --border-radius-sm: 8px;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Typography - Dreamflow Style */
.section-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.0rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

/* Navigation - Fixed & Clean Design */
.navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.4rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: var(--dark-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-brand svg {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 400;
    color: #525252 !important;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(59, 130, 246, 0.05);
}

.navbar-actions .btn {
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.navbar-actions .btn-outline-primary {
    border: 1px solid #d1d5db;
    color: #171717;
    background: #f9fafb;
}

.navbar-actions .btn-outline-primary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.navbar-actions .btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.15);
}

.navbar-actions .btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Navbar scrolled state - keep transparent */
.navbar.scrolled {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-section .row.min-vh-100 {
    min-height: auto;
}

@media (min-width: 992px) {
    .hero-section .row.min-vh-100 {
        min-height: auto;
        padding: 40px 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-cta {
    margin: 2rem 0;
}

.hero-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.feature-item i {
    font-size: 1.2rem;
}

/* Hero Phone Mockup */
.hero-image {
    position: relative;
    z-index: 2;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1F1F1F 0%, #000000 100%);
    border-radius: 28px;
    padding: 10px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: none;
}

/* Phone notch/camera */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #000000;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

/* Speaker grill */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    z-index: 11;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.app-interface {
    padding: 16px 0 0;
    height: 100%;
    background: var(--background);
    position: relative;
}

        .status-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 4px 20px;
            height: 36px;
            margin-bottom: 4px;
            font-size: 13px;
            font-weight: 600;
        }

        .status-bar .time {
            color: #1e293b;
            font-size: 14px;
            letter-spacing: -0.3px;
        }

        .status-icons {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .status-icons i {
            font-size: 11px;
            color: var(--dark-color);
        }

        /* App Header Main Container */
        .app-header-main {
            padding: 0 12px;
            margin-bottom: 10px;
            margin-top: 0;
        }

        /* App Header Top - Title and Filter Chips */
        .app-header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .app-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--dark-color);
            margin: 0;
            letter-spacing: -0.2px;
        }

        .filter-chips {
            display: flex;
            gap: 5px;
        }

        .filter-chip {
            display: flex;
            align-items: center;
            gap: 3px;
            padding: 4px 9px;
            border-radius: var(--border-radius-sm);
            background: var(--surface);
            border: 1px solid var(--outline);
            font-size: 10px;
            font-weight: 500;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .filter-chip i {
            font-size: 8px;
        }

        .filter-chip.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .filter-chip.active i {
            color: white;
        }

        .filter-chip:not(.active):hover {
            background: var(--primary-container);
            border-color: var(--outline);
        }

        /* App Header Search Row */
        .app-header-search {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
        }

        /* App Header - Search Bar (Legacy support) */
        .app-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: var(--surface);
            border-radius: var(--border-radius-sm);
            padding: 7px 10px;
            flex: 1;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
            border: 1px solid var(--outline-variant);
            transition: all 0.2s ease;
        }

        .search-bar:focus-within {
            box-shadow: 0 2px 4px rgba(26, 115, 232, 0.12);
            border-color: var(--primary-color);
        }

        .search-bar i {
            color: #94a3b8;
            margin-right: 5px;
            font-size: 11px;
        }

        .search-bar input {
            border: none;
            outline: none;
            background: transparent;
            font-size: 11px;
            color: #64748b;
            width: 100%;
            font-weight: 400;
        }

        .search-bar input::placeholder {
            color: #cbd5e1;
        }

        .filter-icon {
            width: 32px;
            height: 32px;
            background: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
            border: 1px solid #e2e8f0;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .filter-icon:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            transform: scale(1.03);
        }

        .filter-icon i {
            color: #64748b;
            font-size: 11px;
        }

        .header-title {
            font-weight: 700;
            font-size: 20px;
            color: var(--dark-color);
        }

        .header-icon {
            width: 30px;
            height: 30px;
            background: var(--primary-color);
            border-radius: 50%;
        }.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

        /* Work Order Cards - Flutter Mobile Style */
        .work-orders-list {
            padding: 0 0 80px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: 420px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* Custom scrollbar */
        .work-orders-list::-webkit-scrollbar {
            width: 4px;
        }

        .work-orders-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .work-orders-list::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 2px;
        }

        .work-orders-list::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        .wo-card {
            background: white;
            border-radius: 0;
            padding: 16px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            border: 1px solid #e2e8f0;
            transition: all 0.15s ease;
            position: relative;
        }

        .wo-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            border-color: #cbd5e1;
        }

        /* Service Header - Top row with service name and WO code */
        .wo-service-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
        }

        .service-name {
            font-size: 10px;
            color: #64748b;
            font-weight: 400;
            letter-spacing: 0.2px;
        }

        .wo-code {
            font-weight: 700;
            font-size: 11.5px;
            padding: 3px 8px;
            border-radius: 8px;
            letter-spacing: -0.3px;
            font-family: 'Courier New', monospace;
        }

        .wo-code.high {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #991b1b;
        }

        .wo-code.medium {
            background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
            color: #9a3412;
        }

        .wo-code.low {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #065f46;
        }

        /* Icon and Status Row */
        .wo-icon-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
        }

        .wo-icon-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .wo-icon-wrapper i {
            font-size: 16px;
            color: #64748b;
        }

        .wo-type-label {
            font-size: 12px;
            font-weight: 600;
            color: #1e293b;
        }

        .wo-status {
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 11px;
            font-weight: 600;
            line-height: 1.2;
            white-space: nowrap;
        }

        .wo-status.new {
            background: #dbeafe;
            color: #1e40af;
        }

        .wo-status.progress {
            background: #fef3c7;
            color: #92400e;
        }

        .wo-status.assigned {
            background: #dcfce7;
            color: #166534;
        }

        /* Title */
        .wo-title {
            font-weight: 700;
            font-size: 15px;
            color: #0f172a;
            margin-bottom: 14px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            line-clamp: 2;
            overflow: hidden;
        }

        /* Details Row */
        .wo-details {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .wo-detail-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #475569;
        }

        .wo-detail-item i {
            font-size: 11px;
            color: #94a3b8;
            width: 14px;
            text-align: center;
        }

        /* Floating Add Button */
        .floating-add-button {
            position: absolute;
            bottom: 16px;
            right: 16px;
            width: 52px;
            height: 52px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 4px 14px rgba(26, 115, 232, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 10;
        }

        .floating-add-button:hover {
            transform: scale(1.08) rotate(90deg);
            box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
        }

        .floating-add-button i {
            font-size: 18px;
            font-weight: 600;
        }

        .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-header .badge {
    font-size: 10px;
    padding: 3px 8px;
    background: var(--gray-300);
    color: var(--gray-800);
    border-radius: var(--border-radius);
}

.card-header .status {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--dark-color);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gray-600);
}

/* Floating Elements - Removed for cleaner look */

/* Problems Section */
.problems-section {
    padding: var(--section-padding);
    background: #ffffff;
}

.problem-step {
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.2s ease;
}

.problem-step:hover {
    transform: translateY(-2px);
}

.step-icon-wrapper {
    display: flex;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-200);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.problem-step:hover .step-icon {
    background: var(--gray-300);
    color: var(--dark-color);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

.problem-list {
    text-align: left;
}

.problem-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.problem-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background: var(--gray-200);
}

.features-list {
    margin-top: 4rem;
}

.feature-row {
    margin-bottom: 6rem;
    position: relative;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse .row {
    flex-direction: row-reverse;
}

.feature-content {
    position: relative;
    padding: 2rem 0;
}

.feature-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    margin-left: 50px;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    margin-left: 50px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-left: 50px;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.feature-list li strong {
    color: var(--dark-color);
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.visual-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--gray-300);
}

/* Calendar Widget */
.calendar-widget {
    text-align: center;
}

.calendar-header h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.calendar-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.calendar-day {
    width: 60px;
    height: 60px;
    background: var(--gray-200);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day.today {
    background: var(--primary-color);
    color: white;
}

.day-number {
    font-weight: 600;
    font-size: 1.2rem;
}

.pm-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 4px;
}

.pm-indicator.daily {
    background: var(--secondary-color);
}

.pm-indicator.weekly {
    background: var(--warning-color);
}

.pm-indicator.monthly {
    background: var(--danger-color);
}

/* PM Plan Card (Feature 3 - Maintenance Plans Detail inspired) */
/* PM Card - 2 Column Grid Layout */
.pm-mobile-card {
    background: var(--surface);
    border: 1px solid var(--outline-variant);
    border-radius: 0;
    padding: 12px;
}

/* Header Row - Title and Status */
.pm-header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--outline-variant);
}

.pm-header-left,
.pm-header-right {
    display: flex;
    align-items: center;
}

.pm-header-right {
    align-items: flex-end;
}

.pm-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-icon {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.pm-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
}

.pm-status-badge {
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 500;
    align-self: flex-end;
}

.pm-status-badge.active {
    background: rgba(34, 197, 94, 0.12);
    color: rgb(21, 128, 61);
}

/* Info Rows - 2 Column Grid */
.pm-info-row {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 6px;
    margin-bottom: 6px;
}

.pm-info-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--dark-color);
    text-align: left;
    justify-content: flex-start;
}

.pm-info-value i {
    font-size: 0.65rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pm-info-value.highlight {
    color: var(--primary-color);
    font-weight: 500;
}

/* Work Order Header (kept for compatibility) */
.wo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wo-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wo-icon {
    font-size: 1.125rem;
    color: var(--dark-color);
}

.wo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: 0.5px;
}

.wo-status-badge {
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
}

.wo-status-badge.daily {
    background: rgba(26, 115, 232, 0.12);
    color: rgb(23, 92, 211);
}

/* Work Order Details - Vertical List */
.wo-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Work Order Details - 2 Column Grid */
.wo-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.wo-details-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wo-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--dark-color);
}

.wo-detail-row i {
    font-size: 0.875rem;
    color: var(--primary-color);
    width: 18px;
    flex-shrink: 0;
}

.wo-detail-row.datetime {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--outline-variant);
}

/* Work Order Footer */
.wo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--outline-variant);
    font-size: 0.875rem;
    color: var(--dark-color);
}

.wo-footer i {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.wo-detail-text {
    font-weight: 500;
}

/* PM Card styles (kept for backward compatibility) */
.pm-card-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.pm-status-badge {
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pm-status-badge.active {
    background: rgba(34, 197, 94, 0.12);
    color: rgb(21, 128, 61);
}

.pm-frequency-badge {
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pm-frequency-badge.monthly {
    background: rgba(147, 51, 234, 0.12);
    color: rgb(107, 33, 168);
}

.pm-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pm-card-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.pm-card-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--gray-700);
}

.pm-card-item i {
    font-size: 0.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pm-card-divider {
    height: 1px;
    background: var(--outline-variant);
    margin: 10px 0;
}

.pm-card-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-field-label {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pm-field-value {
    font-size: 0.8125rem;
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pm-field-value.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.pm-field-value i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.pm-priority-badge {
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

.pm-priority-badge.high {
    background: rgba(249, 115, 22, 0.14);
    color: rgb(194, 65, 12);
}

.pm-card-footer {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--outline-variant);
}

.pm-footer-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray-700);
}

.pm-footer-stat i {
    font-size: 0.8125rem;
    color: var(--primary-color);
}

/* Old PM Plan Card styles (kept for backward compatibility) */
.pm-plan-card {
    background: var(--surface);
    border: 1px solid var(--outline-variant);
    border-radius: 0;
    padding: 16px;
}

.pm-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--outline-variant);
}

.pm-plan-title h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.pm-plan-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.pm-location {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-location i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.pm-plan-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.pm-schedule-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.pm-info-row {
    display: flex;
    gap: 16px;
}

.pm-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-info-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.pm-info-value {
    font-size: 0.875rem;
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-info-value.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.pm-info-value i {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.pm-quick-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--outline-variant);
}

.pm-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray-700);
}

.pm-stat i {
    font-size: 0.875rem;
    color: var(--primary-color);
}

/* Department Widget */
.department-widget {
    background: white;
    border-radius: var(--border-radius);
}

.department-header {
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.department-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.department-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.department-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s;
}

.department-item:hover {
    background: var(--surface-variant);
    transform: translateX(5px);
}

.department-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.department-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* Services Mobile List (Feature 1 Design) */
.services-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card {
    background: var(--surface);
    padding: 12px;
    border-radius: 0;
    border: 1px solid var(--outline-variant);
    transition: all 0.2s;
}

.service-card:hover {
    background: var(--surface-variant);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.1);
}

.service-name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.service-department {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.service-department i {
    font-size: 0.875rem;
    color: var(--primary-color);
}

.service-department span {
    font-size: 0.875rem;
    color: var(--dark-color);
}

.service-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Device Detail Widget (with Tabs) */
.device-detail-widget {
    background: var(--surface);
    border-radius: var(--border-radius);
}

.device-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.device-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.device-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.device-status-badge.operational {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.device-status-badge.maintenance {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.device-status-badge.offline {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

/* Tab Navigation */
.device-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.device-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.device-tab i {
    font-size: 0.9rem;
}

.device-tab:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.device-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Tab Content */
.device-tab-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Device Info Grid */
.device-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.device-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 0.85rem;
    color: #111827;
    font-weight: 600;
}

/* Work Orders List (Compact) */
.wo-list-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wo-item-compact {
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.wo-item-compact:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wo-code-mini {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.wo-status-mini {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.wo-status-mini.completed {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.wo-status-mini.progress {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
}

.wo-status-mini.assigned {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.wo-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.wo-item-footer {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

.wo-date-mini,
.wo-tech-mini {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wo-date-mini i,
.wo-tech-mini i {
    font-size: 0.7rem;
}

/* Workflow Diagram */
.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: center;
}

.workflow-step.active,
.workflow-step.current {
    color: var(--primary-color);
    font-weight: 500;
}

.step-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: white;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.workflow-step.active .step-circle,
.workflow-step.current .step-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.workflow-step.current .step-circle {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7);
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); 
    }
}

.workflow-arrow {
    width: 40px;
    height: 2px;
    background: var(--gray-300);
    position: relative;
    margin: 0 -5px;
    align-self: flex-start;
    margin-top: 25px;
}

.workflow-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--gray-300);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Inventory Widget */
.inventory-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inventory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.inventory-item.low-stock {
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.item-info h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.stock-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-bar {
    width: 80px;
    height: 6px;
    background: var(--gray-400);
    border-radius: 3px;
    overflow: hidden;
}

.stock-fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.inventory-item.low-stock .stock-fill {
    background: var(--danger-color);
}

.stock-text {
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 500;
}

.alert-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.7rem;
    font-weight: 600;
}

.qr-scanner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin-top: 1rem;
}

/* Analytics Dashboard */
.analytics-dashboard {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Status Summary Cards (4 cards in a row) */
.status-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.status-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #e5e7eb;
    transition: all 0.2s ease;
    height: 120px;
}

.status-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Colored top borders for each status */
.status-mini-card.new {
    border-top-color: #3b82f6;
}

.status-mini-card.assigned {
    border-top-color: #6366f1;
}

.status-mini-card.progress {
    border-top-color: #f59e0b;
}

.status-mini-card.onhold {
    border-top-color: #dc2626;
}

.status-mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.status-mini-card.new .status-mini-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-mini-card.assigned .status-mini-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.status-mini-card.progress .status-mini-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-mini-card.onhold .status-mini-icon {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.status-mini-icon i {
    font-size: 1.1rem;
}

.status-mini-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.status-mini-card.new .status-mini-value {
    color: #1e40af;
}

.status-mini-card.assigned .status-mini-value {
    color: #3730a3;
}

.status-mini-card.progress .status-mini-value {
    color: #c2410c;
}

.status-mini-card.onhold .status-mini-value {
    color: #991b1b;
}

/* Chart Section */
.chart-section {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

/* Stacked Bar Chart */
.stacked-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.stacked-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dept-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    min-width: 90px;
    text-align: left;
}

.stacked-bar-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stacked-bar-container {
    flex: 1;
    height: 32px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
}

.bar-segment {
    height: 100%;
    transition: width 0.6s ease;
}

.new-segment {
    background: #3b82f6;
}

.assigned-segment {
    background: #6366f1;
}

.progress-segment {
    background: #f59e0b;
}

.onhold-segment {
    background: #ef4444;
}

.dept-total {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    min-width: 20px;
    text-align: right;
}

/* Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.new-color {
    background: #3b82f6;
}

.assigned-color {
    background: #6366f1;
}

.progress-color {
    background: #f59e0b;
}

.onhold-color {
    background: #ef4444;
}

.legend-text {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .status-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .status-mini-card {
        padding: 12px 8px;
    }
    
    .status-mini-icon {
        width: 40px;
        height: 40px;
    }
    
    .status-mini-icon i {
        font-size: 1.1rem;
    }
    
    .status-mini-value {
        font-size: 1.5rem;
    }
    
    .dept-label {
        min-width: 70px;
        font-size: 0.75rem;
    }
    
    .stacked-bar-container {
        height: 28px;
    }
    
    /* Device Detail Widget Responsive */
    .device-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .device-name {
        font-size: 0.85rem;
    }
    
    .device-tabs {
        width: 100%;
    }
    
    .device-tab {
        flex: 1;
        justify-content: center;
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    
    .device-tab span {
        display: none;
    }
    
    .device-tab i {
        font-size: 1rem;
    }
    
    .device-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }
    
    .wo-item-compact {
        padding: 8px;
    }
    
    .wo-item-title {
        font-size: 0.8rem;
    }
    
    .wo-item-footer {
        flex-direction: column;
        gap: 4px;
    }
}

/* Removed old kpi-grid and chart-container styles */

/* Benefits Section */
.benefits-section {
    padding: var(--section-padding);
    background: #ffffff;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.benefit-card.cost-reduction::before {
    background: var(--secondary-color);
}

.benefit-card.efficiency::before {
    background: var(--warning-color);
}

.benefit-card.compliance::before {
    background: var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.cost-reduction .benefit-icon {
    background: var(--gradient-secondary);
}

.efficiency .benefit-icon {
    background: linear-gradient(135deg, var(--warning-color) 0%, #E6A445 100%);
}

.compliance .benefit-icon {
    background: var(--gradient-primary);
}

.benefit-stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-card h4 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.benefit-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.benefit-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Industries Section */
.industries-section {
    padding: var(--section-padding);
    background: white;
}

.industry-card {
    background: white;
    border: 2px solid var(--gray-300);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.industry-card h4 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.industry-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.industry-card ul li {
    padding: 0.4rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.2rem;
}

.industry-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background: var(--gray-200);
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    text-align: left;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: none;
}

.pricing-card.featured:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8rem;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.pricing-card p {
    color: var(--gray-700);
    font-size: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.amount.custom {
    font-size: 1.3rem;
    color: var(--dark-color);
    text-align: center;
}

.period {
    font-size: 1.2rem;
    color: var(--gray-700);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Trial/Download Section - Google AI Studio Minimal Design */
.trial-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.download-section-header {
    max-width: 700px;
    margin: 0 auto;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.download-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Download Cards - Clean Minimal */
.download-options {
    margin: 3rem 0;
}

.download-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--gray-900);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 180px;
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.12);
    transform: translateY(-2px);
}

.download-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.download-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.download-icon-wrapper.android {
    background: #E8F5E9;
}

.download-icon-wrapper.android i {
    color: #34A853;
}

.download-icon-wrapper.web {
    background: #F3E5F5;
}

.download-icon-wrapper.web i {
    color: #9C27B0;
}

.download-card:hover .download-icon-wrapper {
    transform: scale(1.05);
}

.download-info {
    flex: 1;
    text-align: left;
}

.download-platform {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.download-desc {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.4;
}

.download-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9375rem;
    padding-left: 1rem;
    transition: all 0.2s ease;
}

.download-card:hover .download-action {
    padding-left: 1.25rem;
}

.download-action i {
    transition: transform 0.2s ease;
}

.download-card:hover .download-action i {
    transform: translateX(4px);
}

/* Trial Guarantee - Refined */
.trial-guarantee {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--outline-variant);
}

.guarantee-text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.guarantee-text i {
    color: var(--primary-color);
}

.guarantee-text .divider {
    color: var(--gray-500);
    margin: 0 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .download-title {
        font-size: 2rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
    }
    
    .download-card {
        min-height: 160px;
    }
    
    .guarantee-text {
        font-size: 0.875rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .guarantee-text .divider {
        display: none;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: white;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-200);
    border-radius: var(--border-radius);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-card h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.office-info {
    background: var(--gray-200);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.office-info h4 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.office-details {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: linear-gradient(to bottom, #1a1f2e 0%, #0f1419 100%);
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #ffffff;
    margin-bottom: 0;
}

.footer-contact {
    color: var(--gray-500);
}

.footer-contact a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact i {
    color: var(--gray-500);
}

.footer-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-links a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links i {
    color: var(--gray-500);
}

.footer-cta p {
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

/* Button Styles - ServiZyPro inspired */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-opacity-10 {
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-row.reverse .row {
        flex-direction: column;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1030;
        background: var(--gradient-hero) !important;
        backdrop-filter: blur(10px);
        box-shadow: none;
        border-bottom: none;
    }
    
    /* Mobile menu background - white when expanded */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-actions {
        margin-top: 1rem;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-bottom: 1rem;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        color: var(--dark-color);
    }
    
    .navbar-nav .nav-link:hover {
        color: var(--primary-color);
        background-color: #f9fafb;
        border-radius: 6px;
    }
    
    .navbar-actions .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-content {
        padding: 1rem 0;
    }
    
    .feature-number {
        position: static;
        margin-bottom: 1rem;
    }
    
    .feature-content h3,
    .feature-content h4,
    .feature-list {
        margin-left: 0;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .mockup-container {
        height: 400px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Problems Section - Mobile */
    .problems-section {
        padding: 30px 0 25px !important;
    }
    
    .problems-section .text-center {
        margin-bottom: 1.5rem !important;
    }
    
    .problems-section .row.g-5 {
        gap: 1.25rem !important;
        margin-top: 0.5rem !important;
    }
    
    .problem-step {
        padding: 1rem 1rem;
    }
    
    .step-icon-wrapper {
        margin-bottom: 0.5rem !important;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem !important;
    }
    
    .problem-list {
        margin-top: 0 !important;
    }
    
    .problem-item {
        margin-bottom: 0.75rem !important;
    }
    
    .problem-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .problem-item:first-child {
        margin-top: 0 !important;
    }
    
    .problem-item h5 {
        font-size: 1rem;
        margin-bottom: 0.35rem !important;
    }
    
    .problem-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0 !important;
    }
    
    :root {
        --section-padding: 40px 0;
    }
    
    /* Footer - Mobile spacing */
    .footer-section {
        padding: 2rem 0 1.5rem !important;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-description {
        margin-bottom: 1.5rem !important;
    }
    
    .footer-contact {
        margin-top: 1.5rem !important;
        margin-bottom: 2rem;
    }
    
    .footer-contact p {
        margin-bottom: 0.75rem !important;
    }
    
    .footer-links {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }
    
    .footer-links p {
        margin-bottom: 0.75rem !important;
    }
    
    .footer-cta {
        margin-top: 2rem;
        text-align: center !important;
    }
    
    .footer-cta p {
        margin-bottom: 1rem !important;
    }
    
    .footer-section hr {
        margin: 2rem 0 1.5rem !important;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    .hero-features {
        margin-top: 2rem;
    }
    
    .hero-features .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-features .col-sm-4 {
        flex: 0 0 auto;
        width: auto;
    }
    
    .feature-item {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }
    
    .feature-item span {
        white-space: nowrap;
    }
    
    /* Phone mockup adjustments for mobile */
    .mockup-container {
        height: auto;
        padding: 1rem 0;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
        border-radius: 24px;
        padding: 8px;
    }
    
    .phone-mockup::before {
        width: 90px;
        height: 18px;
        top: 12px;
    }
    
    .screen {
        border-radius: var(--border-radius);
    }
    
    /* Reduce work order card sizes in mobile mockup */
    .wo-card {
        padding: 12px;
    }
    
    .wo-service-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .service-name {
        font-size: 10px;
    }
    
    .wo-code {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .wo-title {
        font-size: 13px;
        margin: 8px 0;
    }
    
    .wo-detail-item {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 3px solid rgba(49, 49, 255, 0.3);
    outline-offset: 2px;
}

/* ===================================
   Customers Section - Infinite Carousel
   =================================== */
.customers-section {
    background-color: #ffffff;
    overflow: hidden;
}

.customers-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.customers-carousel-wrapper::before,
.customers-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.customers-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.customers-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.customers-carousel {
    overflow: hidden;
    position: relative;
}

.customers-track {
    display: flex;
    gap: 3rem;
    animation: scroll 150s linear infinite;
    width: fit-content;
}

.customers-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.customer-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.customer-logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.customer-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.customer-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .customers-track {
        gap: 2rem;
        animation: scroll 100s linear infinite;
    }
    
    .customer-logo-item {
        width: 140px;
        height: 80px;
        padding: 1rem;
    }
    
    .customers-carousel-wrapper::before,
    .customers-carousel-wrapper::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .customers-track {
        gap: 1.5rem;
        animation: scroll 75s linear infinite;
    }
    
    .customer-logo-item {
        width: 120px;
        height: 70px;
        padding: 0.75rem;
    }
    
    .customers-carousel-wrapper::before,
    .customers-carousel-wrapper::after {
        width: 50px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-700: #000000;
        --gray-800: #000000;
    }
    
    .btn-outline-primary {
        border-width: 3px;
    }
}
