/*
Theme Name: Digits Money Custom
Author: Custom Development
Description: A modern fintech theme for financial tools.
Version: 1.0
*/

:root {
    --primary: #0f172a;
    --accent: #10b981;
    --text-main: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

/* Header */
header { background: var(--white); padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }

/* Hero Section */
.hero { background: var(--primary); color: var(--white); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.25rem; margin-bottom: 30px; opacity: 0.9; }
.btn-cta { 
    background: var(--accent); color: white; padding: 15px 35px; 
    border-radius: 50px; text-decoration: none; font-weight: 600; 
    transition: transform 0.3s ease; display: inline-block;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }

/* Tools Grid */
.tools-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--primary); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

.tool-card {
    background: var(--white); padding: 30px; border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease;
    border: 1px solid #e2e8f0; text-decoration: none; color: inherit;
}
.tool-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.tool-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.4rem; }
.tool-card p { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; }
.tool-link { color: var(--accent); font-weight: 700; text-decoration: none; display: flex; align-items: center; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .tools-grid { grid-template-columns: 1fr; }
}