        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --secondary: #7c3aed;
            --dark: #1e293b;
            --darker: #0f172a;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --radius: 0.5rem;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            color: var(--dark);
            line-height: 1.5;
            background-color: #f9fafb;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 90vh;
            display: flex;
            align-items: center;
            padding: 6rem 0;
            overflow: hidden;
            background: linear-gradient(135deg, #eef2ff 0%, #93c5fd 25%, #60a5fa 50%, #3b82f6 75%, #0a539b 100%);


        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
            z-index: 0;
        }

        .hero-content-container {
            display: flex;
            width: 100%;
            gap: 3rem;
            align-items: flex-start;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 600px;
            flex: 1;
        }

        .hero-results {
            position: relative;
            flex: 1;
            max-height: 70vh;
            overflow: hidden;
            display: none;
        }
/* Add these styles to your existing CSS */

/* Results Container with Scroll */
.hero-results {
    max-height: 60vh; /* Adjust this value as needed */
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 10px; /* Prevents content from touching scrollbar */
}

/* Custom scrollbar styling */
.hero-results::-webkit-scrollbar {
    width: 8px;
}

.hero-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.hero-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.hero-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ensure the search box stays fixed */
.search-box {
    position: relative;
    z-index: 1;
}

/* Adjust the results container */
.results-container {
    padding-bottom: 20px; /* Space at bottom when scrolling */
}

/* Keep the header sticky */
.results-header {
    position: sticky;
    top: 0;
    background: white;
    padding-top: 15px;
    padding-bottom: 15px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--darker);
            background: linear-gradient(90deg, var(--darker) 0%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--dark);
            margin-bottom: 2.5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
        }
/* Search Box */
.search-box {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.search-container {
    position: relative;
    max-width: 700px;
    width: 100%;
}

#searchInput {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #d1d5db; /* More visible border */
    border-radius: var(--radius);
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    outline: none;
    color: #1f2937; /* Darker text for better contrast */
}

#searchInput:focus {
    border-color: #3b82f6; /* Bright blue focus border */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#searchInput::placeholder {
    color: #6b7280; /* Medium gray placeholder */
}

.search-container button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.search-container button:hover {
    background-color: rgba(59, 130, 246, 0.1); /* Light blue hover */
}

.search-container button svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #4b5563; /* Darker icon */
}

.search-container button:hover svg {
    fill: #3b82f6; /* Blue icon on hover */
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: white; /* Solid white background */
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 100;
    display: none;
    border: 1px solid #e5e7eb;
    border-top: none;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    color: #1f2937; /* Dark text for better readability */
}

.suggestion-item:hover, 
.suggestion-item.highlighted {
    background-color: #f3f4f6; /* Light gray hover background */
    color: #111827; /* Even darker text on hover */
}
        /* Buttons */
        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 1.75rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius);
            transition: var(--transition);
            text-decoration: none;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.1);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
        }

        .btn-outline:hover {
            background-color: rgba(37, 99, 235, 0.05);
            transform: translateY(-1px);
        }

        /* Results Section */
        .search-results-container {
            background-color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .results-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--gray-light);
        }

        .results-count {
            color: var(--gray);
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }

        .results-tabs {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .tab {
            padding: 0.5rem 1rem;
            background: none;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            color: var(--gray);
            cursor: pointer;
            transition: var(--transition);
        }

        .tab:hover {
            color: var(--primary);
            background-color: rgba(37, 99, 235, 0.05);
        }

        .tab.active {
            color: var(--primary);
            background-color: rgba(37, 99, 235, 0.1);
            font-weight: 500;
        }

        .results-content {
            flex: 1;
            overflow-y: auto;
            padding: 0 1.5rem;
        }

        .results-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 1.5rem 0;
        }

        .result-card {
            background-color: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            border: 1px solid var(--gray-light);
            transition: var(--transition);
        }

        .result-card:hover {
            box-shadow: var(--shadow);
            transform: translateY(-2px);
            border-color: var(--primary-light);
        }

        .result-card .title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
        }

        .result-card .title:hover {
            text-decoration: underline;
        }

        .result-card .url {
            font-size: 0.875rem;
            color: var(--success);
            display: block;
            margin-bottom: 0.75rem;
        }

        .result-card .description {
            color: var(--dark);
            line-height: 1.6;
        }

        .highlight {
            background-color: rgba(255, 235, 59, 0.3);
            padding: 0 2px;
            border-radius: 2px;
            font-weight: 500;
        }

        .featured-badge {
            display: inline-block;
            margin-top: 0.75rem;
            padding: 0.25rem 0.75rem;
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
            border-radius: 1rem;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .loading {
            padding: 2rem;
            text-align: center;
            color: var(--gray);
        }

        .no-results {
            text-align: center;
            padding: 3rem 0;
        }

        .no-results h3 {
            margin-bottom: 1rem;
            color: var(--darker);
        }

        .no-results p {
            color: var(--gray);
        }

        /* Quick Answer */
        .quick-answer {
            background-color: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary);
        }

        .quick-answer .title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--darker);
            margin-bottom: 1rem;
        }

        .quick-answer .content {
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .quick-answer .source {
            font-size: 0.875rem;
            color: var(--gray);
        }

        .quick-answer .source a {
            color: var(--primary);
            text-decoration: none;
        }

        .quick-answer .source a:hover {
            text-decoration: underline;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            padding: 1.5rem;
            border-top: 1px solid var(--gray-light);
        }

        .page-btn {
            padding: 0.5rem 0.75rem;
            background: none;
            border: 1px solid var(--gray-light);
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
        }

        .page-btn:hover {
            background-color: var(--gray-light);
        }

        .page-btn.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0% {
                transform: translateY(-50%) translateX(0) rotate(0deg);
            }
            50% {
                transform: translateY(-50%) translateX(-20px) rotate(2deg);
            }
            100% {
                transform: translateY(-50%) translateX(0) rotate(0deg);
            }
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .hero-title {
                font-size: 2.75rem;
            }
            
            .hero-content-container {
                flex-direction: column;
            }
            
            .hero-results {
                width: 100%;
                max-height: 400px;
                margin-top: 2rem;
            }
        }

        @media (max-width: 768px) {
            .hero {
                min-height: auto;
                padding: 4rem 0;
            }
            
            .hero-title {
                font-size: 2.25rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 1.75rem;
            }
            
            .results-tabs {
                overflow-x: auto;
                padding-bottom: 0.5rem;
            }
        }

        /* App Launcher Styles - Updated for top-left position */
.app-launcher-wrapper {
    position: fixed;
    top: 100px;
    left: 10px;
    z-index: 1000;
}

/* 3x3 Dots Icon - Updated for Microsoft-like style with mixed colors */
.dot-grid {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-gap: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.dot-grid:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.dot-grid span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

/* Apply mixed colors to each dot */
.dot-grid span:nth-child(1) { background-color: #333; }
.dot-grid span:nth-child(2) { background-color: #e81123; } /* Microsoft red */
.dot-grid span:nth-child(3) { background-color: #333; }
.dot-grid span:nth-child(4) { background-color: #0078d7; } /* Microsoft blue */
.dot-grid span:nth-child(5) { background-color: #e81123; } /* Microsoft red */
.dot-grid span:nth-child(6) { background-color: #0078d7; } /* Microsoft blue */
.dot-grid span:nth-child(7) { background-color: #0078d7; } /* Microsoft blue */
.dot-grid span:nth-child(8) { background-color: #e81123; } /* Microsoft red */
.dot-grid span:nth-child(9) { background-color: #333; }

/* App Menu Popup - Updated for Microsoft-like style */
.app-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 300px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.app-launcher-wrapper:hover .app-menu {
    opacity: 1;
    visibility: visible;
}

.app-menu a {
    text-decoration: none;
    color: #333;
    text-align: center;
    font-size: 12px;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.app-menu img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

/* Close button styles */
.close-results {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    z-index: 11; /* Above other content */
    transition: color 0.2s ease;
}

.close-results:hover {
    color: #1f2937;
}

/* Adjust results header to account for close button */
.results-header {
    padding-right: 40px; /* Make space for close button */
}
