/* MarketistLAB Public Styles - Scandinavian Design */

.marketistlab-audit-container,
.marketistlab-quote-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.marketistlab-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.marketistlab-form-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.marketistlab-form-header p {
    font-size: 18px;
    font-weight: 300;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.marketistlab-form {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
}

.marketistlab-form-group {
    margin-bottom: 24px;
}

.marketistlab-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.marketistlab-form-group input[type="text"],
.marketistlab-form-group input[type="email"],
.marketistlab-form-group input[type="url"],
.marketistlab-form-group input[type="tel"],
.marketistlab-form-group select,
.marketistlab-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    transition: all 0.2s;
}

.marketistlab-form-group input:focus,
.marketistlab-form-group select:focus,
.marketistlab-form-group textarea:focus {
    outline: none;
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.1);
}

.marketistlab-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .marketistlab-form-row {
        grid-template-columns: 1fr;
    }
}

.marketistlab-form-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #93c5fd, #fbcfe8);
    outline: none;
}

.marketistlab-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .marketistlab-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.marketistlab-checkbox-grid label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.marketistlab-checkbox-grid input[type="checkbox"] {
    margin-right: 8px;
}

.marketistlab-radio-group label {
    display: block;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.marketistlab-radio-group label:hover {
    background: #f9fafb;
    border-color: #93c5fd;
}

.marketistlab-radio-group input[type="radio"] {
    margin-right: 8px;
}

.marketistlab-form-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.marketistlab-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.marketistlab-btn-primary {
    background: #1a1a1a;
    color: #ffffff;
}

.marketistlab-btn-primary:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marketistlab-btn-secondary {
    background: #f3f4f6;
    color: #1a1a1a;
}

.marketistlab-btn-secondary:hover {
    background: #e5e7eb;
}

.marketistlab-btn-loader {
    display: none;
}

.marketistlab-btn.loading .marketistlab-btn-text {
    display: none;
}

.marketistlab-btn.loading .marketistlab-btn-loader {
    display: inline;
}

/* Progress Bar */
.marketistlab-progress-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.marketistlab-progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.marketistlab-progress-step.active {
    background: linear-gradient(135deg, #93c5fd, #fbcfe8);
    color: #1a1a1a;
}

/* Form Steps */
.marketistlab-form-step {
    display: none;
}

.marketistlab-form-step.active {
    display: block;
}

.marketistlab-form-step h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

/* Results */
.marketistlab-results-header {
    text-align: center;
    margin-bottom: 32px;
}

.marketistlab-results-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.marketistlab-results-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.marketistlab-loading {
    text-align: center;
    padding: 60px 20px;
}

.marketistlab-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #e5e7eb;
    border-top-color: #93c5fd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.marketistlab-score-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.marketistlab-overall-score {
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.1), rgba(251, 207, 232, 0.1));
}

.marketistlab-overall-score h3 {
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 12px 0;
}

.marketistlab-overall-score .marketistlab-score-value {
    font-size: 56px;
    font-weight: 900;
    color: #1a1a1a;
}

.marketistlab-scores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .marketistlab-scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.marketistlab-scores-grid h4 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.marketistlab-scores-grid .marketistlab-score-value {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
}

.marketistlab-recommendations,
.marketistlab-action-plan {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
}

.marketistlab-recommendations h3,
.marketistlab-action-plan h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.marketistlab-cta {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.1), rgba(251, 207, 232, 0.1));
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.marketistlab-cta h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.marketistlab-cta p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

/* Quote Results */
.marketistlab-price-box {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.1), rgba(251, 207, 232, 0.1));
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
}

.marketistlab-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.marketistlab-price-row.marketistlab-discount {
    color: #059669;
}

.marketistlab-price-row.marketistlab-final {
    border-top: 2px solid #e5e7eb;
    margin-top: 12px;
    padding-top: 24px;
    font-size: 20px;
    font-weight: 700;
}

.marketistlab-price {
    font-size: 24px;
    font-weight: 900;
}

.marketistlab-price-row.marketistlab-final .marketistlab-price {
    font-size: 40px;
}

.marketistlab-price-row.marketistlab-limited-discount {
    color: #dc2626;
    font-weight: 600;
}

/* Discount Code Box */
.marketistlab-discount-code-box {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
    text-align: center;
}

.marketistlab-discount-code-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.marketistlab-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.marketistlab-code-display code {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    color: #dc2626;
    padding: 16px 32px;
    border-radius: 8px;
    border: 2px dashed #f59e0b;
    letter-spacing: 2px;
}

.marketistlab-copy-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.marketistlab-copy-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marketistlab-expiry-notice {
    font-size: 16px;
    color: #dc2626;
    margin: 16px 0;
    font-weight: 600;
}

.marketistlab-code-instructions {
    font-size: 14px;
    color: #6b7280;
    margin: 12px 0 0 0;
}
