:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #e11d48;
    --bg-body: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER --- */
.main-header {
    background: white;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}

.main-header .container {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}

.logo { 
    font-size: 22px; font-weight: 800; color: var(--text-dark); 
    text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo i { color: var(--secondary); font-size: 28px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { 
    text-decoration: none; color: var(--text-dark); 
    font-weight: 600; font-size: 15px; transition: 0.2s;
}
.nav-links a:hover { color: var(--secondary); }

/* --- HERO --- */
.hero {
    text-align: center; padding: 80px 20px; background: white;
    border-bottom: 1px solid #e2e8f0;
}
.hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 20px; color: #0f172a; line-height: 1.2; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 19px; color: var(--text-gray); max-width: 800px; margin: 0 auto 35px; line-height: 1.6; }

.trust-badges { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f1f5f9; padding: 12px 24px; border-radius: 50px;
    border: 1px solid #e2e8f0; font-weight: 600; font-size: 14px;
}
.badge i { color: #10b981; }

/* --- TOOLS GRID --- */
.tools-grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 25px; max-width: 1200px; margin: 0 auto; padding: 50px 20px; width: 100%;
}

.tool-card { 
    background: white; padding: 35px; border-radius: var(--radius); 
    text-decoration: none; color: inherit; box-shadow: 0 4px 6px rgba(0,0,0,0.02); 
    transition: all 0.3s ease; border: 1px solid #e2e8f0; display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: var(--primary); }

/* STUDIO CARD LARGE (Desktop) */
@media (min-width: 769px) {
    .featured-card {
        grid-column: span 2;
        flex-direction: row !important;
        align-items: center;
        gap: 40px;
        background: linear-gradient(135deg, #fdf4ff 0%, #ffffff 100%);
    }
    .featured-card .tool-icon { font-size: 60px; margin-bottom: 0; }
    .featured-card .tool-title { font-size: 26px; }
}

.tool-icon { font-size: 45px; margin-bottom: 20px; display: block; }
.tool-title { font-weight: 800; font-size: 22px; margin-bottom: 12px; color: #0f172a; }
.tool-desc { color: var(--text-gray); font-size: 15px; line-height: 1.5; }

/* --- FOOTER --- */
.main-footer {
    margin-top: auto; background: white; padding: 40px; text-align: center;
    border-top: 1px solid #e2e8f0; color: var(--text-gray); font-size: 14px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .nav-links a:not(:first-child) { display: none; }
    .tools-grid { grid-template-columns: 1fr; }
    .tool-card { flex-direction: row; align-items: center; gap: 20px; padding: 25px; }
    .tool-icon { margin-bottom: 0; font-size: 32px; }
}