/* Theme Variables */
:root {
    /* Global Gradients */
    --main-gradient: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    --secondary-gradient: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.95));
    --accent-gradient: linear-gradient(to right, #60a5fa, #34d399);
    
    /* Features Section */
    --feature-bg: var(--main-gradient);
    --feature-card-bg: var(--secondary-gradient);
    --feature-hover-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
    --feature-icon-color: #38bdf8;
    --feature-border: rgba(255, 255, 255, 0.1);
    
    /* Why Choose Section */
    --benefits-bg: linear-gradient(135deg, #1e3a8a, #0f172a);
    --benefits-card-bg: rgba(30, 58, 138, 0.9);
    --benefits-hover-shadow: 0 15px 25px -12px rgba(0, 0, 0, 0.3);
    --benefits-icon-color: #60a5fa;
    --primary-blue: #38bdf8;
    --card-bg: rgba(30, 58, 138, 0.9);
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --text-color: #e2e8f0;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.4);
    --premium-gradient: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(30, 58, 138, 0.02));
    --bg-primary: #0f172a;
    --bg-secondary: #1e3a8a;
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.1);
    --input-bg: #1e3a8a;
    --input-text: #e2e8f0;
    --input-placeholder: #718096;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-bg: rgba(30, 58, 138, 0.9);
    
    /* Category Colors */
    --text-category: #14b8a6;
    --image-category: #ec4899;
    --seo-category: #f59e0b;
    --security-category: #ef4444;
    --developer-category: #3b82f6;
    --data-category: #10b981;
    --social-category: #6366f1;
    --calculator-category: #a855f7;
    --converter-category: #06b6d4;
    --misc-category: #64748b;
}



/* General Styles */
body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -font-smoothing: antialiased;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.85rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

p, .body-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
}

.tool-card .card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tool-card .card-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Top Ribbon */
.top-ribbon {
    background: var(--secondary-gradient);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s ease;
}

.brand-name:hover {
    transform: scale(1.05);
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -text-fill-color: transparent;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* Search Container */
.search-container {
    position: relative;
    width: 300px;
}

.search-input {
    width: 300px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--input-text);
    padding: 0.875rem 2.5rem 0.875rem 1.25rem;
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.search-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.95);
}

.search-input::placeholder {
    color: rgba(148, 163, 184, 0.8);
    transition: color 0.3s ease;
}

.search-input:focus::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.search-container:hover .search-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Category Scroll Bar */
.category-scroll-container {
    background: var(--secondary-gradient);
    position: sticky;
    top: 72px;
    z-index: 999;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.category-scroll-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 3rem;
}

.category-scroll-content {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}

.category-scroll-content::-webkit-scrollbar {
    display: none;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.scroll-indicator:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    color: white;
}

[data-category="text"] .scroll-indicator { background: linear-gradient(135deg, var(--text-category), #14b8a6); color: white; }
[data-category="image"] .scroll-indicator { background: linear-gradient(135deg, var(--image-category), #ec4899); color: white; }
[data-category="seo"] .scroll-indicator { background: linear-gradient(135deg, var(--seo-category), #f59e0b); color: white; }
[data-category="security"] .scroll-indicator { background: linear-gradient(135deg, var(--security-category), #ef4444); color: white; }
[data-category="developer"] .scroll-indicator { background: linear-gradient(135deg, var(--developer-category), #3b82f6); color: white; }
[data-category="data"] .scroll-indicator { background: linear-gradient(135deg, var(--data-category), #10b981); color: white; }
[data-category="social"] .scroll-indicator { background: linear-gradient(135deg, var(--social-category), #6366f1); color: white; }
[data-category="calculators"] .scroll-indicator { background: linear-gradient(135deg, var(--calculator-category), #a855f7); color: white; }
[data-category="converters"] .scroll-indicator { background: linear-gradient(135deg, var(--converter-category), #06b6d4); color: white; }
[data-category="misc"] .scroll-indicator { background: linear-gradient(135deg, var(--misc-category), #64748b); color: white; }

[data-category="text"] .scroll-indicator:hover { background: linear-gradient(135deg, #14b8a6, var(--text-category)); transform: translateY(-50%) scale(1.1); }
[data-category="image"] .scroll-indicator:hover { background: linear-gradient(135deg, #ec4899, var(--image-category)); transform: translateY(-50%) scale(1.1); }
[data-category="seo"] .scroll-indicator:hover { background: linear-gradient(135deg, #f59e0b, var(--seo-category)); transform: translateY(-50%) scale(1.1); }
[data-category="security"] .scroll-indicator:hover { background: linear-gradient(135deg, #ef4444, var(--security-category)); transform: translateY(-50%) scale(1.1); }
[data-category="developer"] .scroll-indicator:hover { background: linear-gradient(135deg, #3b82f6, var(--developer-category)); transform: translateY(-50%) scale(1.1); }
[data-category="data"] .scroll-indicator:hover { background: linear-gradient(135deg, #10b981, var(--data-category)); transform: translateY(-50%) scale(1.1); }
[data-category="social"] .scroll-indicator:hover { background: linear-gradient(135deg, #6366f1, var(--social-category)); transform: translateY(-50%) scale(1.1); }
[data-category="calculators"] .scroll-indicator:hover { background: linear-gradient(135deg, #a855f7, var(--calculator-category)); transform: translateY(-50%) scale(1.1); }
[data-category="converters"] .scroll-indicator:hover { background: linear-gradient(135deg, #06b6d4, var(--converter-category)); transform: translateY(-50%) scale(1.1); }
[data-category="misc"] .scroll-indicator:hover { background: linear-gradient(135deg, #64748b, var(--misc-category)); transform: translateY(-50%) scale(1.1); }

.scroll-indicator.left {
    left: 0.5rem;
}

.scroll-indicator.right {
    right: 0.5rem;
}

.scroll-indicator i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover i {
    transform: scale(1.1);
}

/* Category Buttons */
.category-button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.625rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.category-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.category-button.active {
    background-color: #3b82f6;
    border-color: #60a5fa;
}

.category-button i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.category-button:hover i {
    transform: scale(1.1);
}

/* Category Dropdowns */
.category-dropdown {
    display: none;
    margin: 1rem auto 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    max-width: 1200px;
}

.category-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.category-dropdown .tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.category-dropdown .tool-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-dropdown .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-dropdown .tool-card:hover::before {
    opacity: 1;
}

.category-dropdown .view-all-tools {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    color: var(--text-primary);
    border: none;
    transition: all 0.3s ease;
}

.category-dropdown .view-all-tools:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}
.category-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-button[data-category="text"] { background: linear-gradient(135deg, var(--text-category), #14b8a6); color: white; }
.category-button[data-category="image"] { background: linear-gradient(135deg, var(--image-category), #ec4899); color: white; }
.category-button[data-category="seo"] { background: linear-gradient(135deg, var(--seo-category), #f59e0b); color: white; }
.category-button[data-category="security"] { background: linear-gradient(135deg, var(--security-category), #ef4444); color: white; }
.category-button[data-category="developer"] { background: linear-gradient(135deg, var(--developer-category), #3b82f6); color: white; }
.category-button[data-category="data"] { background: linear-gradient(135deg, var(--data-category), #10b981); color: white; }
.category-button[data-category="social"] { background: linear-gradient(135deg, var(--social-category), #6366f1); color: white; }
.category-button[data-category="calculators"] { background: linear-gradient(135deg, var(--calculator-category), #a855f7); color: white; }
.category-button[data-category="converters"] { background: linear-gradient(135deg, var(--converter-category), #06b6d4); color: white; }
.category-button[data-category="misc"] { background: linear-gradient(135deg, var(--misc-category), #64748b); color: white; }

.category-button[data-category="text"]:hover { background: linear-gradient(135deg, #14b8a6, var(--text-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3); }
.category-button[data-category="image"]:hover { background: linear-gradient(135deg, #ec4899, var(--image-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3); }
.category-button[data-category="seo"]:hover { background: linear-gradient(135deg, #f59e0b, var(--seo-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.category-button[data-category="security"]:hover { background: linear-gradient(135deg, #ef4444, var(--security-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }
.category-button[data-category="developer"]:hover { background: linear-gradient(135deg, #3b82f6, var(--developer-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
.category-button[data-category="data"]:hover { background: linear-gradient(135deg, #10b981, var(--data-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.category-button[data-category="social"]:hover { background: linear-gradient(135deg, #6366f1, var(--social-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
.category-button[data-category="calculators"]:hover { background: linear-gradient(135deg, #a855f7, var(--calculator-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3); }
.category-button[data-category="converters"]:hover { background: linear-gradient(135deg, #06b6d4, var(--converter-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.category-button[data-category="misc"]:hover { background: linear-gradient(135deg, #64748b, var(--misc-category)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3); }

/* Category Dropdowns */
.category-dropdowns {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 90;
}

.category-dropdown {
    display: none;
    margin-bottom: 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.category-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Dark mode overrides */


/* Tool Grid */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
    max-height: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.view-all-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all-tools:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

/* Tool card */
.tool-card {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.4), rgba(30, 58, 138, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.5), rgba(30, 58, 138, 0.8));
}

.tool-card:hover i {
    transform: scale(1.1);
}

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

.tool-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.tool-card:hover i {
    transform: scale(1.1);
}

.tool-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* View all tools button */
.view-all-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.view-all-tools i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-all-tools:hover i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--feature-bg);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--feature-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--feature-hover-shadow);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% -50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.7), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e879f9, #86198f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 1));
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--feature-icon-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.2));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: var(--feature-bg);
}

.why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--benefits-card-bg);
    border: 1px solid var(--feature-border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--benefits-hover-shadow);
    border-color: var(--primary-color);
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--benefits-icon-color);
    transition: transform 0.3s ease;
}

.benefits-list li:hover i {
    transform: scale(1.2);
}

.benefits-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tools-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.illustration-icon {
    font-size: 15rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Tool Grid Styles */
.tool-grid::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    transform: scale(2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content .lead {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto;
}

/* Ad Spaces */
.ad-space {
    display: none;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ad-space.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.horizontal-ad {
    height: 90px;
}

.vertical-ad {
    width: 160px;
    height: 600px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-ad.left {
    left: 1rem;
}

.vertical-ad.right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vertical-ad {
        display: none;
    }
}

@media (max-width: 1200px) {
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-container {
        width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Category-specific card backgrounds */
[data-category="text"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent); }
[data-category="image"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), transparent); }
[data-category="seo"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); }
[data-category="security"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent); }
[data-category="developer"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent); }
[data-category="data"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); }
[data-category="social"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); }
[data-category="calculators"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent); }
[data-category="converters"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent); }
[data-category="misc"] .category-dropdown .tool-card { background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), transparent); }

[data-category="text"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--text-category), #55efc4); }
[data-category="image"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--image-category), #fd79a8); }
[data-category="seo"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--seo-category), #ffeaa7); }
[data-category="security"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--security-category), #ff7675); }
[data-category="developer"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--developer-category), #74b9ff); }
[data-category="data"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--data-category), #55efc4); }
[data-category="social"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--social-category), #a29bfe); }
[data-category="calculators"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--calculator-category), #ffeaa7); }
[data-category="converters"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--converter-category), #81ecec); }
[data-category="misc"] .category-dropdown .view-all-tools { background: linear-gradient(135deg, var(--misc-category), #b2bec3); }

.view-all-tools:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}
