:root {
            --primary: #0A0E27;
            --secondary: #FF6B35;
            --accent: #004E89;
            --light: #F7F7FF;
            --muted: #6C757D;
            --border: #E0E0E8;
            --success: #06D6A0;
            --card-bg: #FFFFFF;
            --gradient-start: #667EEA;
            --gradient-end: #764BA2;
            --feature-bg: #FFF9F0;
            --feature-border: #FFD699;
        }

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

        body {
            font-family: 'Work Sans', sans-serif;
            background: var(--light);
            color: var(--primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: var(--primary);
            color: var(--light);
            padding: 2rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

        .logo {
            font-family: 'DM Serif Display', serif;
            font-size: 2rem;
            font-weight: 400;
            letter-spacing: -0.5px;
            cursor: pointer;
        }

        .logo span {
            color: var(--secondary);
        }

        .header-nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            cursor: pointer;
        }

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

        .nav-link.active {
            color: var(--secondary);
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.2rem;
        }

        /* Search Bar */
        .search-container {
            flex: 1;
            max-width: 600px;
            position: relative;
        }

        .search-wrapper {
            position: relative;
        }

        #searchInput {
            width: 100%;
            padding: 0.9rem 1.2rem 0.9rem 3rem;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--light);
            font-size: 1rem;
            font-family: 'Work Sans', sans-serif;
            transition: all 0.3s ease;
        }

        #searchInput::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        #searchInput:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--secondary);
        }

        .search-icon {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.6);
        }

        .stats {
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }

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

        .stat-number {
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--secondary);
            display: block;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Page Container */
        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        /* Main Content */
        main {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            padding: 2rem 0;
            min-height: calc(100vh - 200px);
        }

        /* Filters Sidebar */
        .filters {
            background: var(--card-bg);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            height: fit-content;
            position: sticky;
            top: 150px;
        }

        .filter-section {
            margin-bottom: 2rem;
        }

        .filter-section:last-child {
            margin-bottom: 0;
        }

        .filter-title {
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.5rem 0;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .filter-option:hover {
            color: var(--secondary);
        }

        .filter-option input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--secondary);
        }

        .filter-option label {
            cursor: pointer;
            flex: 1;
            font-size: 0.9rem;
        }

        .filter-count {
            font-size: 0.75rem;
            color: var(--muted);
            background: var(--light);
            padding: 0.1rem 0.5rem;
            border-radius: 10px;
        }

        .clear-filters {
            width: 100%;
            padding: 0.7rem;
            background: transparent;
            border: 2px solid var(--border);
            border-radius: 8px;
            color: var(--muted);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1.5rem;
        }

        .clear-filters:hover {
            border-color: var(--secondary);
            color: var(--secondary);
        }

        /* Tools Grid */
        .tools-section {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

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

        .results-count {
            font-size: 1.1rem;
            font-weight: 500;
        }

        .sort-select {
            padding: 0.6rem 1rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
            background: white;
        }

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

        /* Tool Card */
        .tool-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 1.8rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .tool-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

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

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

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

        .tool-icon {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            flex-shrink: 0;
        }

        .tool-title-group {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .tool-badges {
            display: flex;
            gap: 0.4rem;
            flex-wrap: wrap;
        }

        .badge {
            padding: 0.3rem 0.7rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .badge.featured {
            background: var(--secondary);
            color: white;
        }

        .badge.new {
            background: var(--success);
            color: white;
        }

        .badge.free {
            background: var(--accent);
            color: white;
        }

        .tool-name {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
            color: var(--primary);
            line-height: 1.2;
        }

        .tool-company {
            font-size: 0.85rem;
            color: var(--muted);
            font-weight: 500;
            margin: 0;
        }

        .tool-description {
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        /* New Features Section */
        .tool-new-features {
            background: var(--feature-bg);
            border: 1px solid var(--feature-border);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .new-features-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .new-features-icon {
            font-size: 1rem;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 150px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* Custom scrollbar styling */
        .feature-list::-webkit-scrollbar {
            width: 6px;
        }

        .feature-list::-webkit-scrollbar-track {
            background: rgba(255, 214, 153, 0.2);
            border-radius: 3px;
        }

        .feature-list::-webkit-scrollbar-thumb {
            background: var(--secondary);
            border-radius: 3px;
        }

        .feature-list::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .feature-item {
            font-size: 0.85rem;
            color: var(--primary);
            padding: 0.5rem 0;
            display: flex;
            align-items: start;
            gap: 0.5rem;
            border-bottom: 1px solid rgba(255, 214, 153, 0.3);
        }

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

        .feature-text {
            flex: 1;
            display: flex;
            align-items: start;
            gap: 0.5rem;
            line-height: 1.5;
        }

        .feature-text::before {
            content: '✨';
            font-size: 0.9rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .feature-link {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 600;
            margin-left: 0.3rem;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .feature-link:hover {
            text-decoration: underline;
            color: var(--primary);
        }

        .feature-link.video {
            color: var(--secondary);
        }

        .feature-link.website {
            color: var(--accent);
        }

        .feature-actions {
            display: none;
        }

        .feature-action-btn {
            display: none;
        }

        .tool-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-bottom: 1rem;
        }

        .tag {
            padding: 0.3rem 0.7rem;
            background: var(--light);
            border-radius: 6px;
            font-size: 0.75rem;
            color: var(--primary);
        }

        .tool-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
            gap: 1rem;
        }

        .tool-footer-left {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            flex: 1;
        }

        .tool-pricing {
            font-weight: 600;
            color: var(--accent);
            font-size: 1.05rem;
        }

        .tool-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .stars {
            color: #FFC107;
        }

        .rating-count {
            font-size: 0.8rem;
            color: var(--muted);
        }

        .signup-btn {
            padding: 0.7rem 1.5rem;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }

        .signup-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        /* Category Pills */
        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2rem;
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }

        .category-pill {
            padding: 0.7rem 1.3rem;
            background: var(--light);
            border: 2px solid var(--border);
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-pill:hover,
        .category-pill.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* New Features Page */
        .features-page-header {
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            padding: 4rem 2rem;
            border-radius: 20px;
            margin-bottom: 3rem;
            text-align: center;
        }

        .features-page-header h1 {
            font-family: 'DM Serif Display', serif;
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .features-page-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .feature-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .feature-card-header {
            display: flex;
            align-items: start;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid var(--border);
        }

        .feature-tool-icon {
            width: 70px;
            height: 70px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
            flex-shrink: 0;
        }

        .feature-tool-info h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.3rem;
        }

        .feature-tool-company {
            font-size: 1rem;
            color: var(--muted);
            font-weight: 500;
        }

        .feature-release-date {
            font-size: 0.85rem;
            color: var(--secondary);
            font-weight: 600;
            margin-top: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .feature-details {
            padding-left: 0;
        }

        .feature-details h4 {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .feature-details ul {
            list-style: none;
            padding: 0;
            max-height: 300px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* Custom scrollbar for feature details */
        .feature-details ul::-webkit-scrollbar {
            width: 6px;
        }

        .feature-details ul::-webkit-scrollbar-track {
            background: var(--light);
            border-radius: 3px;
        }

        .feature-details ul::-webkit-scrollbar-thumb {
            background: var(--secondary);
            border-radius: 3px;
        }

        .feature-details ul::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .feature-details li {
            padding: 0.6rem 0;
            font-size: 1rem;
            color: var(--primary);
            display: flex;
            align-items: start;
            gap: 0.8rem;
            line-height: 1.6;
        }

        .feature-details li::before {
            content: '✨';
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 4rem;
            color: var(--muted);
        }

        .no-results {
            text-align: center;
            padding: 4rem;
            color: var(--muted);
        }

        .no-results h3 {
            font-family: 'DM Serif Display', serif;
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

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

        .tool-card {
            animation: fadeIn 0.5s ease forwards;
        }

        /* Video Modal */
        .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 14, 39, 0.95);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
        }

        .video-modal.active {
            display: flex;
        }

        .video-modal-content {
            background: var(--card-bg);
            border-radius: 20px;
            width: 90%;
            max-width: 1200px;
            max-height: 90vh;
            overflow: hidden;
            box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .video-modal-header {
            padding: 1.5rem 2rem;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .video-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .video-modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .video-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .video-modal-body {
            padding: 0;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

        .video-container iframe,
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .video-links {
            padding: 2rem;
            background: var(--light);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .video-link-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem;
            background: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: 12px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .video-link-btn:hover {
            border-color: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .video-link-icon {
            font-size: 1.5rem;
        }

        /* Action Buttons */
        .tool-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .action-btn {
            flex: 1;
            padding: 0.6rem 1rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            background: var(--card-bg);
            color: var(--primary);
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .action-btn.video-btn {
            border-color: var(--secondary);
            color: var(--secondary);
        }

        .action-btn.video-btn:hover {
            background: var(--secondary);
            color: white;
        }

        .action-btn.website-btn {
            border-color: var(--accent);
            color: var(--accent);
        }

        .action-btn.website-btn:hover {
            background: var(--accent);
            color: white;
        }

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

        /* Responsive */
        @media (max-width: 1024px) {
            main {
                grid-template-columns: 1fr;
            }

            .filters {
                position: static;
            }

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

            .video-modal-content {
                width: 95%;
                max-height: 95vh;
            }

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

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }

            .header-nav {
                gap: 1rem;
            }

            .search-container {
                max-width: 100%;
            }

            .stats {
                justify-content: center;
                width: 100%;
            }

            .category-pills {
                overflow-x: auto;
                flex-wrap: nowrap;
            }

            .features-page-header h1 {
                font-size: 2rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .tool-header-left {
                flex-wrap: wrap;
            }

            .tool-footer {
                flex-direction: column;
                align-items: stretch;
            }

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