/* LLM Lead Generator Styles */

/* Import Inter Font */
@font-face {
    font-family: 'Inter';
    src: url('https://marktgetrieben.de/wp-content/uploads/2025/05/Inter-VariableFont_opszwght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

.llm-analyzer-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.llm-analyzer-wrapper * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.llm-analyzer-form {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

/* CTA Box at top */
.llm-cta-box {
    background: linear-gradient(135deg, #FAF6F0 0%, #F5EFE8 100%);
    padding: 30px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border: 1px solid #E8D9C8;
}

.llm-cta-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.llm-cta-icon-img {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.llm-cta-content {
    flex: 1;
}

.llm-cta-headline {
    font-size: 28px;
    font-weight: 700;
    color: #D8B17F;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.llm-cta-subtext {
    font-size: 14px;
    color: #615853;
    margin: 0;
    line-height: 1.5;
}

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

.llm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #615853;
    font-size: 14px;
}

.llm-form-group input[type="url"],
.llm-form-group input[type="text"],
.llm-form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #D8B17F !important;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.llm-form-group input:focus {
    outline: none;
    border-color: #C19A5F !important;
    background: #fefdfb !important;
}

.llm-checkbox-group {
    margin-top: 30px;
}

.llm-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    color: #615853;
}

.llm-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
    min-width: 18px;
    min-height: 18px;
}

.llm-dsgvo-notice {
    font-size: 11px;
    color: #8B7D77;
    margin: 8px 0 0 28px;
    line-height: 1.4;
}

.llm-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #C85A3E !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

.llm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 90, 62, 0.3) !important;
    background: #B34E35 !important;
}

.llm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.llm-submit-subtitle {
    text-align: center;
    font-size: 10px;
    color: #999;
    margin: 8px 0 0 0;
    font-style: normal;
}

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

.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: white;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.llm-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.llm-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.llm-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Results Section */
.llm-analyzer-result {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    animation: fadeIn 0.5s;
}

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

.llm-result-header {
    text-align: center;
    margin-bottom: 40px;
}

.llm-result-header h2 {
    color: #615853;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.result-subtitle {
    color: #8B7D77;
    font-size: 14px;
    margin: 0;
}

.result-subtitle #result-url {
    color: #D8B17F;
    font-weight: 600;
}

.llm-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.score-card {
    background: linear-gradient(135deg, #F5E6D3 0%, #EDD9C0 100%);
    color: #615853;
    padding: 20px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(216, 177, 127, 0.2);
    min-height: 100px;
    height: 100px;
}

.score-card-locked {
    background: #E8E3DB;
    opacity: 0.7;
    min-height: 100px;
    height: 100px;
    padding: 20px 15px;
}

.locked-icon-small {
    font-size: 18px;
    margin-bottom: 2px;
}

.score-icon {
    display: none; /* Remove icons to avoid external loading */
}

.score-content {
    width: 100%;
}

.score-content h3 {
    margin: 0 0 5px 0;
    font-size: 11px;
    font-weight: 700;
    color: #615853;
    text-transform: none;
}

.score-card-locked .score-content h3 {
    font-size: 10px;
    margin: 3px 0 0 0;
}

.score-value {
    font-size: 20px;
    font-weight: 700;
    color: #D8B17F;
}

.llm-locked-features {
    background: #E1D8CA;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.locked-cta {
    margin: 0;
    color: #615853;
    line-height: 1.6;
    font-size: 16px;
}

.locked-cta strong {
    color: #C85A3E;
}

.locked-cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 32px;
    background: #C85A3E !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.locked-cta-button:hover {
    background: #B34E35 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 62, 0.3);
}

.llm-analysis-details {
    background: #faf8f5;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 30px;
    white-space: pre-wrap;
    font-family: 'Inter', sans-serif;
    line-height: 2;
    color: #615853;
    border-left: 4px solid #D8B17F;
}

/* Format analysis sections */
.llm-analysis-details strong,
.llm-analysis-details b {
    color: #615853;
    font-weight: 700;
    font-size: 1.1em;
}

/* Add spacing after headings */
.llm-analysis-details br + br {
    display: block;
    content: "";
    margin-top: 1em;
}

.llm-result-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
}

.llm-download-link {
    font-size: 14px;
    color: #615853;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    cursor: pointer;
}

.llm-download-link:hover {
    color: #D8B17F;
    text-decoration: underline;
}

.llm-download-btn,
.llm-new-analysis-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Inter', sans-serif;
}

.llm-download-btn {
    background: #C85A3E;
    color: white;
}

.llm-download-btn:hover {
    background: #B34E35;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 62, 0.3);
}

.llm-new-analysis-btn {
    background: #E1D8CA;
    color: #615853;
    border: 2px solid #D8B17F;
}

.llm-new-analysis-btn:hover {
    background: #D8B17F;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .llm-analyzer-form,
    .llm-analyzer-result {
        padding: 15px 5px !important;
    }
    
    .llm-cta-box {
        padding: 15px 5px;
        gap: 12px;
    }
    
    .llm-cta-headline {
        font-size: 20px;
    }
    
    .llm-cta-icon-img {
        width: 40px;
    }
    
    .llm-scores {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .score-card,
    .score-card-locked {
        padding: 12px 8px;
        height: 90px;
        min-height: 90px;
    }
    
    .score-content h3 {
        font-size: 9px;
    }
    
    .score-value {
        font-size: 16px;
    }
    
    .llm-result-actions {
        flex-direction: column;
    }
    
    .llm-download-btn,
    .llm-new-analysis-btn {
        width: 100%;
    }
}
