/* SEO Lead Generator - Frontend Styles */

.seo-lead-gen-wrapper {
    max-width: 100%;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.seo-lead-gen-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

/* Minimal Style */
[data-style="minimal"] .seo-lead-gen-container {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    padding: 30px;
}

/* Header */
.seo-lead-gen-header {
    text-align: center;
    margin-bottom: 35px;
}

.seo-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.seo-icon svg {
    width: 35px;
    height: 35px;
    stroke: #ffffff;
}

[data-style="minimal"] .seo-icon {
    background: #667eea;
}

.seo-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

[data-style="minimal"] .seo-title {
    color: #1f2937;
}

.seo-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

[data-style="minimal"] .seo-subtitle {
    color: #6b7280;
}

/* Benefits */
.seo-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.seo-benefit {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 15px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 18px;
    font-weight: 700;
}

/* Form */
.seo-lead-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
}

[data-style="minimal"] .seo-lead-form {
    padding: 0;
}

.seo-form-group {
    margin-bottom: 25px;
}

.seo-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-icon {
    width: 18px;
    height: 18px;
    stroke: #667eea;
}

.seo-form-group input[type="url"],
.seo-form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.seo-form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.seo-form-group input::placeholder {
    color: #9ca3af;
}

/* Checkbox */
.seo-checkbox-group {
    margin-bottom: 30px;
}

.seo-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.seo-checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-text {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.checkbox-text a {
    color: #667eea;
    text-decoration: underline;
}

/* Submit Button */
.seo-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.seo-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.seo-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.seo-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Messages */
.seo-form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.seo-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.seo-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Trust Badges */
.seo-trust-badges {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 640px) {
    .seo-lead-gen-container {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .seo-lead-form {
        padding: 25px 20px;
    }
    
    .seo-title {
        font-size: 26px;
    }
    
    .seo-benefits {
        grid-template-columns: 1fr;
    }
    
    .seo-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* Loading State */
.seo-lead-form.is-loading input,
.seo-lead-form.is-loading button {
    pointer-events: none;
}

/* Success State */
.seo-lead-form.is-success .seo-form-group {
    opacity: 0.5;
}
