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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
    max-width: 650px;
}

.search-box {
    display: flex;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: none;
    outline: none;
    background: #fff;
}

.search-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #357abd, #2868a9);
}

.tools-section {
    width: 100%;
    max-width: 800px;
}

.tools-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.tool-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.tool-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.tool-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.tool-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.card-1 .tool-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.card-2 .tool-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 8px 20px rgba(56, 239, 125, 0.3);
}

.card-3 .tool-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
}

.card-4 .tool-icon {
    background: linear-gradient(135deg, #4285f4, #34a853);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.card-5 .tool-icon {
    background: linear-gradient(135deg, #10a37f, #0d7a5f);
    box-shadow: 0 8px 20px rgba(16, 163, 127, 0.3);
}

.card-6 .tool-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.card-7 .tool-icon {
    background: linear-gradient(135deg, #ff9a3d, #ff6b35);
    box-shadow: 0 8px 20px rgba(255, 154, 61, 0.3);
}

.card-8 .tool-icon {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.card-9 .tool-icon {
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}

.card-10 .tool-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.section-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .search-container {
        padding: 0 10px;
    }

    .tool-card {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .search-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .search-input {
        padding: 12px 16px;
        font-size: 14px;
    }
}