/* Lead Magnet Form */
.lm-form-wrapper {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.lm-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lm-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.lm-email-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lm-email-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.lm-email-form input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lm-submit-btn {
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.lm-submit-btn:hover {
    background: #1d4ed8;
}

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

.lm-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lm-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.lm-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.lm-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.lm-download {
    margin-top: 1.5rem;
}

.lm-download-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.2s, transform 0.15s;
    animation: lm-fadeIn 0.4s ease;
}

.lm-download-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

@keyframes lm-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Single template */
.lm-single-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.lm-single-article {
    margin-bottom: 3rem;
}

.lm-featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.lm-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.lm-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.lm-content {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Spinner */
.lm-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lm-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes lm-spin {
    to { transform: rotate(360deg); }
}
