/* ========== Soft Pastell – CodeFelder.dev ========== */
:root {
    --bg: #fdf6f0;
    --card: #fff;
    --text: #4a4a4a;
    --muted: #8b7d7b;
    --accent: #e8a87c;
    --accent-light: #f5d0c5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========== Header ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-dot {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: var(--accent);
}

/* ========== Hero ========== */
.hero {
    max-width: 42rem;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
}

/* ========== Tools Section ========== */
.tools-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.tools-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 2rem;
    color: var(--muted);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ========== Tool Cards ========== */
.tool-card-link,
.tool-card-link:visited,
.tool-card-link:hover,
.tool-card-link:active {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card-link h3 {
    color: var(--text);
}

.tool-card-link p {
    color: var(--muted);
}

.tool-card {
    background: var(--card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(232, 168, 124, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(232, 168, 124, 0.25);
}

.tool-icon {
    font-size: 2.5rem;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.tool-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.btn-download {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-download:hover {
    background: var(--accent-light);
    color: var(--text);
}

/* ========== Contact Section ========== */
.contact-section {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

.contact-card {
    background: var(--card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(232, 168, 124, 0.15);
    text-align: center;
}

.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.contact-card .contact-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 2rem;
    line-height: 1.7;
}

.contact-form {
    text-align: left;
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #c4b5b0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #d4956b;
}

.btn-submit:active {
    transform: scale(0.97);
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-status.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
}

/* ========== Footer ========== */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer p {
    margin: 0;
}

/* ========== Responsive ========== */
@media (max-width: 640px) {
    .header {
        padding: 1rem 1.25rem;
    }

    .hero {
        padding: 3rem 1.25rem 2rem;
    }

    .tools-section {
        padding: 1.5rem 1.25rem 3rem;
    }

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

    .contact-card {
        padding: 1.75rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }
}
