:root {
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-color: #111827;
    --text-muted: #6b7280;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --card-border: rgba(229, 231, 235, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;

    background-image:
        radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.8) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.8) 0px, transparent 50%);
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 25s infinite ease-in-out;
}

.bg-orb-1 {
    top: -10%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: rgba(229, 231, 235, 0.8);
    animation-delay: 0s;
}

.bg-orb-2 {
    bottom: -5%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background: rgba(209, 213, 219, 0.6);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -20px);
    }
}

header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 600px;
    position: relative;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(0, 0, 0, 0.05);
    z-index: -1;
    transform: skew(-10deg);
}

header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1100px;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 64px;
    height: 64px;
    background: #f9fafb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tool-card:hover .tool-icon {
    background: #111827;
    color: #ffffff;
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tool-info h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.tool-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.tool-card.placeholder {
    background: transparent;
    border: 2px dashed #d1d5db;
    box-shadow: none;
    opacity: 0.7;
}

.tool-card.placeholder:hover {
    transform: none;
    border-color: #9ca3af;
    background: rgba(255, 255, 255, 0.5);
}

.tool-card.placeholder .tool-icon {
    background: transparent;
    color: #9ca3af;
    border: none;
}

footer {
    margin-top: auto;
    padding-top: 5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}