/* ToolXP Premium Light Theme (iLovePDF Style) */
:root {
    --primary: #e62020; /* Brand Red */
    --primary-hover: #cf1d1d;
    --bg-body: #f4f4f4;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-body);
    font-family: var(--font-stack);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    height: 70px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    margin-left: 20px;
}
nav a:hover { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: var(--primary-hover); }

/* Tool Cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.tool-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.05);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tool-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-light);
}
