/* Digital Page Styles */

.lead-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 3rem auto 3rem auto;
    text-align: center;
    max-width: 900px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.tool-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.tool-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    /* Pushes actions to the bottom */
}

.tool-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.8rem 0.5rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    min-height: 44px;
    /* Better touch target and consistency */
}

@media (max-width: 480px) {
    .tool-actions {
        flex-direction: column;
    }
}

/* Form Styles */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control[readonly] {
    background-color: #f1f5f9;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }

    .lead-text {
        font-size: 1.8rem;
        margin: 2rem auto;
    }
}