/* Modern Documentation CMS Styles - v1.1 */

:root {
    /* Professional Enterprise Color Palette */
    --primary-color: #2563eb;
    --primary-hover: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #0ea5e9;

    /* Sophisticated Backgrounds */
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --sidebar-bg: #1e293b;
    --content-bg: #ffffff;
    --card-bg: #1e293b;
    --card-bg-hover: #334155;

    /* Professional Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    /* Refined Borders */
    --border-color: #334155;
    --border-light: #475569;

    /* Status Colors */
    --hover-bg: #334155;
    --enterprise-badge: #f59e0b;
    --admin-badge: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;

    /* Professional Shadows */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --glow-blue: 0 0 20px rgba(37, 99, 235, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--darker-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 20s ease-in-out infinite;
}

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

/* Floating Particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200% 200%;
    animation: floatingParticles 30s linear infinite;
}

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

/* Ensure content is above background */
.header,
.container,
.main-content,
.sidebar {
    position: relative;
    z-index: 1;
}

/* Header - Professional */
.header {
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.8;
}

.logo svg {
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search */
.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    width: 320px;
    font-size: 0.875rem;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.2s;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.1);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1001;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
}

.search-result-item:hover {
    background: var(--hover-bg);
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.search-result-category {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.search-result-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.badge-enterprise {
    background: var(--enterprise-badge);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-admin {
    background: var(--admin-badge);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: white;
    font-weight: 500;
}

/* Container */
.container {
    display: flex;
    max-width: 100%;
    margin: 0;
    min-height: calc(100vh - 60px);
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--sidebar-bg);
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    left: 0;
    top: 60px;
    height: calc(100vh - 60px);
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: none; /* Hidden by default on landing page */
    z-index: 900;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
}

/* Show sidebar on docs pages */
.sidebar.visible {
    display: block;
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 1) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.nav {
    padding: 1.25rem 0;
    flex: 1;
    overflow-y: auto;
}

.nav-loading {
    padding: 3rem 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.nav-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

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

.nav-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-category:last-child {
    border-bottom: none;
}

.nav-category-title {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.75rem;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-category-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    margin-left: 0.75rem;
}

/* Subcategories */
.nav-subcategory {
    margin-top: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.nav-subcategory-title {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-subcategory .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.nav-item {
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    border: 1px solid transparent;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-light);
    border-radius: 0 2px 2px 0;
    transition: height 0.25s ease;
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    transform: translateX(2px);
    border-color: rgba(255,255,255,0.05);
}

.nav-item:hover::before {
    height: 60%;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: var(--primary-light);
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.4);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.nav-item.active::before {
    height: 80%;
}

.empty-sidebar {
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.empty-sidebar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.empty-sidebar-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-light);
}

.empty-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.empty-sidebar p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 220px;
}

.empty-sidebar .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sidebar-bg);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    background: var(--darker-bg);
    min-height: calc(100vh - 60px);
    width: 100%;
    transition: margin-left 0.3s ease;
}

/* Adjust main content when sidebar is visible */
.main-content.with-sidebar {
    margin-left: 280px;
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
}

/* Landing Page - Full Width */
.landing-page {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--darker-bg);
    min-height: 100vh;
}

/* Override content-area max-width for landing page */
.content-area:has(.landing-page) {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Hero Section - Professional Design */
.hero-section {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    pointer-events: none;
    animation: gradientShift 20s ease infinite;
}

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

/* Animated background particles */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: stars 20s linear infinite;
    pointer-events: none;
}

@keyframes stars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 4s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-search {
    position: relative;
    display: flex;
    align-items: stretch;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-search:focus-within {
    box-shadow:
        0 20px 25px -5px rgba(37, 99, 235, 0.15),
        0 10px 10px -5px rgba(37, 99, 235, 0.1),
        0 0 0 2px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(30, 41, 59, 0.8);
}

.hero-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

.hero-search-input {
    flex: 1;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border: none;
    font-size: 1.05rem;
    outline: none;
    background: transparent;
    color: white;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero-search-btn {
    padding: 1.25rem 2.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.hero-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.hero-search-btn:hover::before {
    left: 100%;
}

.hero-search-btn:hover {
    transform: translateX(4px);
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s both;
}

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

.hero-image svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-logo-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 20px 60px rgba(59, 130, 246, 0.4))
        drop-shadow(0 0 80px rgba(139, 92, 246, 0.3));
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes glow {
    0% {
        filter:
            drop-shadow(0 20px 60px rgba(59, 130, 246, 0.4))
            drop-shadow(0 0 80px rgba(139, 92, 246, 0.3));
    }
    100% {
        filter:
            drop-shadow(0 20px 60px rgba(139, 92, 246, 0.5))
            drop-shadow(0 0 100px rgba(59, 130, 246, 0.4));
    }
}

/* Products Section - Professional */
.products-section {
    padding: 6rem 3rem;
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
    position: relative;
}

.products-section > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-align: center;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.product-card-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
}

.product-card-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

.product-card-loading h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.product-card-loading p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-light);
    background: var(--card-bg-hover);
}

.product-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-card-icon {
    transform: scale(1.05);
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.product-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.product-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.product-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1rem;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    position: relative;
    z-index: 1;
}

.product-card-arrow {
    margin-left: auto;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.product-card:hover .product-card-arrow {
    transform: translateX(6px);
}

/* Quick Links Section - Professional */
.quick-links-section {
    padding: 6rem 3rem;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    position: relative;
}

.quick-links-section > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-link-card:hover::before {
    opacity: 1;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-light);
    background: var(--card-bg-hover);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transition: all 0.3s;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.quick-link-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-light);
}

.quick-link-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.quick-link-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

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

/* Document View */
.document-view {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    color: var(--text-primary);
}

.document-view > h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Welcome Screen */
.welcome-screen {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.welcome-screen h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.welcome-screen > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.welcome-tip {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.welcome-tip h3 {
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-tip p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-actions .btn {
    width: auto;
    padding: 0.875rem 1.75rem;
}

@media (max-width: 768px) {
    .welcome-screen {
        padding: 2rem 1.5rem;
    }

    .welcome-screen h1 {
        font-size: 2rem;
    }

    .welcome-screen > p {
        font-size: 1rem;
    }

    .welcome-actions {
        flex-direction: column;
    }

    .welcome-actions .btn {
        width: 100%;
    }
}

/* Content Styles */
.content-area h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content-area h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-area h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-area p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.doc-content {
    background: transparent;
    color: var(--text-primary) !important;
    line-height: 1.8;
    padding: 0;
    margin: 0;
}

.doc-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary) !important;
    font-weight: 700;
}

.doc-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary) !important;
}

.doc-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary) !important;
}

.doc-content h4,
.doc-content h5,
.doc-content h6 {
    color: var(--text-primary) !important;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.doc-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary) !important;
}

.doc-content ul,
.doc-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: var(--text-secondary) !important;
}

.doc-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary) !important;
}

.doc-content a {
    color: var(--primary-light);
    text-decoration: none;
}

.doc-content a:hover {
    text-decoration: underline;
}

.doc-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.doc-content em {
    color: var(--text-secondary);
    font-style: italic;
}

.doc-content code {
    background: rgba(110, 118, 129, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875em;
    color: #60a5fa !important;
    border: 1px solid rgba(110, 118, 129, 0.3);
}

.doc-content pre {
    background: #0d1117;
    color: #c9d1d9;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #30363d;
}

.doc-content pre code {
    background: none !important;
    padding: 0;
    color: inherit !important;
    border: none !important;
}

.doc-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.doc-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.doc-content th,
.doc-content td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
    color: var(--text-secondary);
}

.doc-content th {
    background: var(--card-bg);
    color: var(--text-primary);
    font-weight: 600;
}

.doc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.content-area code {
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875em;
    color: #e01e5a;
    border: 1px solid #e5e5e5;
}

.content-area pre {
    background: #0d1117;
    color: #c9d1d9;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #30363d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-area pre code {
    background: none;
    padding: 0;
    color: inherit;
    border: none;
}

/* Empty Content Notice */
.empty-content-notice {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-content-notice svg {
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-content-notice h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-content-notice p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.empty-content-notice a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.empty-content-notice a:hover {
    text-decoration: underline;
}

/* Enterprise Preview - Clean MSN Style */
.enterprise-preview {
    position: relative;
    min-height: 500px;
}

/* Content wrapper with fade */
.enterprise-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(2, 6, 23, 0.5) 30%,
        rgba(2, 6, 23, 0.9) 70%,
        var(--darker-bg) 100%
    );
    pointer-events: none;
}

.preview-fade-overlay {
    display: none; /* Not needed with ::after */
}

.preview-cta {
    position: relative;
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: -150px;
    z-index: 10;
}

.preview-cta-content {
    display: inline-block;
}

.preview-lock-icon {
    display: none;
}

.preview-cta-content h3 {
    display: none;
}

.preview-cta-content > p:first-of-type {
    display: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
    white-space: nowrap;
}

.btn-large:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-large svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.btn-large:hover svg {
    transform: translateX(3px);
}

.preview-signup-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted) !important;
}

.preview-signup-text a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.preview-signup-text a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Old preview notice (kept for backward compatibility) */
.preview-notice {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--enterprise-badge);
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.preview-notice h3 {
    margin-top: 0;
    color: var(--text-primary);
}

/* Professional Modal System */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 1;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transform: scale(0.9) translateY(20px);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden;
}

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

.modal-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

.modal-content h2 {
    color: var(--text-primary) !important;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.close:hover {
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.close:active {
    transform: rotate(90deg) scale(0.95);
}

.auth-form {
    color: var(--text-primary) !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-primary) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-group input:hover {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.8) !important;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.6);
    background: rgba(15, 23, 42, 0.9) !important;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.auth-form .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.auth-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.auth-form .btn:hover::before {
    left: 100%;
}

.form-switch {
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.form-switch a {
    color: var(--primary-light) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.form-switch a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.form-switch a:hover {
    color: var(--primary-color) !important;
}

.form-switch a:hover::after {
    width: 100%;
}

/* Modal Messages */
.modal-message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: messageSlideIn 0.3s ease-out;
}

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

.modal-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.modal-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.modal-message::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
}

.modal-message.success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

.modal-message.error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

/* Dark mode support for enterprise preview */
@media (prefers-color-scheme: dark) {
    .preview-fade-overlay {
        background: linear-gradient(
            to bottom,
            rgba(17, 24, 39, 0) 0%,
            rgba(17, 24, 39, 0.8) 30%,
            rgba(17, 24, 39, 0.95) 60%,
            rgba(17, 24, 39, 1) 100%
        );
    }

    .preview-cta-content {
        background: var(--card-bg);
        border-color: var(--border-color);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 4px 0 16px rgba(0,0,0,0.3);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

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

    .main-content {
        padding: 2rem;
        margin-left: 0 !important;
    }

    .main-content.with-sidebar {
        margin-left: 0 !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image svg,
    .hero-logo-image {
        max-width: 300px;
        height: auto;
    }

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

    .product-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .search-input {
        width: 180px;
        font-size: 0.8125rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .hero-section {
        padding: 2rem 1.5rem;
    }

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

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

    .hero-search {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-search-input {
        padding: 0.875rem 1rem;
    }

    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        display: none;
    }

    .search-container {
        flex: 1;
    }

    .search-input {
        width: 100%;
    }
}

