/**
 * TwoPixels Website-Check Tool
 * Light Theme - passend zum Hauptwebsite-Design
 */

/* ==================== CSS Variables ==================== */
:root {
    /* TwoPixels Brand Colors */
    --primary-orange: #E85D3F;
    --primary-orange-hover: #F07654;
    --primary-orange-dark: #D45436;

    /* Neutral Colors */
    --dark: #2D3748;
    --dark-gray: #1A202C;
    --text-gray: #4A5568;
    --text-muted: #718096;
    --light-gray: #F7FAFC;
    --border-gray: #E2E8F0;
    --white: #FFFFFF;

    /* Status Colors */
    --success: #48BB78;
    --success-light: #C6F6D5;
    --error: #F56565;
    --error-light: #FED7D7;
    --warning: #ED8936;
    --warning-light: #FEEBC8;
    --info: #4299E1;
    --info-light: #BEE3F8;

    /* Score Colors */
    --score-excellent: #38A169;
    --score-good: #48BB78;
    --score-moderate: #D69E2E;
    --score-poor: #DD6B20;
    --score-critical: #E53E3E;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* ==================== Base Styles for Website-Check Container ==================== */
/* NOTE: Diese Styles gelten NUR innerhalb .website-check-container */
/* Der Haupt-Header und Footer werden vom Main-Theme gesteuert */

.website-check-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light-gray);
    -webkit-font-smoothing: antialiased;
}

/* Sicherstellen dass alle Texte im Container gut lesbar sind */
.website-check-container h1,
.website-check-container h2,
.website-check-container h3,
.website-check-container h4 {
    color: var(--dark);
}

.website-check-container p {
    color: var(--text-gray);
}

.website-check-container a {
    color: var(--primary-orange);
}

.website-check-container a:hover {
    color: var(--primary-orange-hover);
}

/* ==================== CRITICAL: Override Main Theme .hero Styles ==================== */
/* Das Haupt-Theme hat .hero mit dunklem Hintergrund - hier überschreiben! */
.website-check-container .hero {
    background: transparent !important;
    color: var(--dark) !important;
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: visible;
}

.website-check-container .hero::before,
.website-check-container .hero::after {
    display: none !important;
    content: none !important;
}

.website-check-container .hero h1,
.website-check-container .hero h2,
.website-check-container .hero h3 {
    color: var(--dark) !important;
}

.website-check-container .hero p {
    color: var(--text-gray) !important;
}

/* ==================== Form Elements Override ==================== */
.website-check-container form {
    position: relative;
    z-index: 10;
}

.website-check-container .form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-gray);
    position: relative;
    z-index: 10;
}

/* Alle interaktiven Elemente klickbar machen */
.website-check-container input,
.website-check-container button,
.website-check-container select,
.website-check-container textarea,
.website-check-container a {
    position: relative;
    z-index: 11;
    pointer-events: auto !important;
}

.website-check-container .form-input {
    width: 100%;
    padding: 14px 16px;
    padding-left: 48px;
    font-size: 16px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    color: var(--dark);
    transition: var(--transition);
    font-family: inherit;
}

.website-check-container .form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 63, 0.1);
}

.website-check-container .form-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

/* Checkbox Fix */
.website-check-container .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.website-check-container .form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--primary-orange);
    cursor: pointer;
    position: relative;
    z-index: 11;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ==================== Feature Pills - Trust Badge Style ==================== */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 0 20px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-pill:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-pill-icon {
    font-size: 1.125rem;
    line-height: 1;
}

/* Responsive Feature Pills */
@media (max-width: 768px) {
    .feature-pills {
        gap: 8px;
        margin-top: 30px;
    }

    .feature-pill {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    .feature-pill-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-pills {
        gap: 6px;
    }

    .feature-pill {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .feature-pill-icon {
        font-size: 0.875rem;
    }
}

/* ==================== Form Card ==================== */
.form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-gray);
}

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

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-label .optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.form-input-icon {
    position: relative;
}

.form-input-icon svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    padding-left: 48px;
    font-size: 16px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    color: var(--dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 63, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.no-icon {
    padding-left: 16px;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text-gray);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-orange);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button - Website-Check spezifisch */
.website-check-container .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.website-check-container .btn-primary {
    background: var(--primary-orange) !important;
    color: var(--white) !important;
    width: 100%;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.website-check-container .btn-primary:hover {
    background: var(--primary-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.website-check-container .btn-primary:disabled {
    background: var(--text-muted) !important;
    cursor: not-allowed;
    transform: none;
}

.website-check-container .btn-secondary {
    background: var(--white) !important;
    color: var(--dark) !important;
    border: 2px solid var(--border-gray);
}

.website-check-container .btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange) !important;
}

/* ==================== Loading Section ==================== */
.loading-section {
    text-align: center;
    padding: 80px 20px;
}

.loading-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid var(--border-gray);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

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

.loading-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.loading-url {
    color: var(--primary-orange);
    font-size: 1rem;
    word-break: break-all;
    margin-bottom: 30px;
}

/* Progress Bar */
.loading-progress {
    background: var(--light-gray);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

#loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-hover));
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

/* Loading Steps */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.loading-step.active {
    background: rgba(232, 93, 63, 0.1);
    color: var(--primary-orange);
}

.loading-step.completed {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success);
}

.loading-step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Loading Tip */
.loading-tip {
    background: var(--info-light);
    border-radius: var(--border-radius-sm);
    padding: 15px 20px;
    font-size: 0.875rem;
    color: #2B6CB0;
}

.loading-tip strong {
    display: block;
    margin-bottom: 5px;
}

/* ==================== Results Section ==================== */
.results-section {
    padding: 40px 0;
}

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

.results-url {
    color: var(--primary-orange);
    font-size: 1.125rem;
    word-break: break-all;
    margin-bottom: 8px;
}

.results-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.results-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.results-actions .btn {
    min-width: 140px;
}

/* ==================== Score Display ==================== */
.score-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray);
}

.score-ring-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}

.score-ring-bg {
    fill: none;
    stroke: var(--border-gray);
    stroke-width: 12;
}

.score-ring {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 2s ease-out;
}

.score-ring.excellent { stroke: var(--score-excellent); }
.score-ring.good { stroke: var(--score-good); }
.score-ring.moderate { stroke: var(--score-moderate); }
.score-ring.poor { stroke: var(--score-poor); }
.score-ring.critical { stroke: var(--score-critical); }

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#overall-score {
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.score-max {
    font-size: 1rem;
    color: var(--text-muted);
}

.score-status {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.score-status.excellent { background: var(--score-excellent); }
.score-status.good { background: var(--score-good); }
.score-status.moderate { background: var(--score-moderate); }
.score-status.poor { background: var(--score-poor); }
.score-status.critical { background: var(--score-critical); }

#score-summary {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== Category Cards - Trust Badge Style ==================== */
.categories-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

#category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-gray);
    transition: var(--transition);
    flex: 0 1 140px;
    min-width: 120px;
    max-width: 160px;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-gray);
    transition: var(--transition);
}

.category-card.excellent::before { background: var(--score-excellent); }
.category-card.good::before { background: var(--score-good); }
.category-card.moderate::before { background: var(--score-moderate); }
.category-card.poor::before { background: var(--score-poor); }
.category-card.critical::before { background: var(--score-critical); }

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.category-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.8125rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-score {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1;
}

.category-score-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-bar {
    height: 6px;
    background: var(--border-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.category-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* Responsive: Mehr Karten pro Reihe auf Desktop */
@media (min-width: 900px) {
    #category-grid {
        gap: 24px;
    }

    .category-card {
        flex: 0 1 150px;
        padding: 28px 24px;
    }

    .category-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }

    .category-score {
        font-size: 2.25rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    #category-grid {
        gap: 12px;
        padding: 20px 0;
    }

    .category-card {
        flex: 0 1 calc(33.333% - 12px);
        min-width: 100px;
        max-width: none;
        padding: 16px 12px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .category-name {
        font-size: 0.6875rem;
    }

    .category-score {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    #category-grid {
        gap: 10px;
    }

    .category-card {
        flex: 0 1 calc(50% - 10px);
        min-width: 0;
        padding: 14px 10px;
    }

    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .category-name {
        font-size: 0.625rem;
    }

    .category-score {
        font-size: 1.25rem;
    }

    .category-bar {
        height: 4px;
        margin-top: 8px;
    }
}

/* ==================== Issues Section ==================== */
.issues-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
}

.issues-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.issues-tab {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-gray);
    background: var(--white);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.issues-tab:hover {
    border-color: var(--primary-orange);
}

.issues-tab.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.issues-tab .count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 6px;
}

.issues-tab.active .count {
    background: rgba(255,255,255,0.2);
}

#issues-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.issue-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--border-gray);
}

.issue-item.critical {
    border-left-color: var(--error);
    background: var(--error-light);
}

.issue-item.warning {
    border-left-color: var(--warning);
    background: var(--warning-light);
}

.issue-item.info {
    border-left-color: var(--info);
    background: var(--info-light);
}

.issue-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    color: var(--white);
}

.issue-icon.critical { background: var(--error); }
.issue-icon.warning { background: var(--warning); }
.issue-icon.info { background: var(--info); }

.issue-message {
    color: var(--dark);
    font-size: 0.9375rem;
}

.issue-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ==================== Quick Wins Section ==================== */
.quick-wins-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
}

#quick-wins-list {
    display: grid;
    gap: 12px;
}

.quick-win-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(72, 187, 120, 0.1) 100%);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.quick-win-icon {
    font-size: 1.5rem;
}

.quick-win-title {
    font-weight: 600;
    color: var(--dark);
}

.quick-win-savings {
    font-size: 0.875rem;
    color: var(--success);
    margin-top: 4px;
}

/* ==================== Details Sections ==================== */
.details-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.metric-card {
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.metric-value.good { color: var(--success); }
.metric-value.needs-improvement { color: var(--warning); }
.metric-value.poor { color: var(--error); }

.metric-bar {
    height: 4px;
    background: var(--border-gray);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.metric-bar-fill.good { background: var(--success); }
.metric-bar-fill.needs-improvement { background: var(--warning); }
.metric-bar-fill.poor { background: var(--error); }

.metric-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* SERP Preview */
.serp-preview {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    font-family: Arial, sans-serif;
}

.serp-url {
    color: #202124;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.serp-title {
    color: #1a0dab;
    font-size: 1.125rem;
    margin-bottom: 4px;
    cursor: pointer;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-description {
    color: #4d5156;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ==================== Pro Teaser ==================== */
.pro-teaser {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: var(--white);
    margin-bottom: 30px;
}

.pro-teaser h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pro-teaser p {
    opacity: 0.95;
    margin-bottom: 20px;
}

.pro-teaser ul {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 25px;
}

.pro-teaser li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.pro-teaser li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pro-teaser .btn {
    background: var(--white);
    color: var(--primary-orange);
}

.pro-teaser .btn:hover {
    background: var(--light-gray);
}

/* ==================== Error Section ==================== */
.error-section {
    text-align: center;
    padding: 80px 20px;
}

.error-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--error-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.error-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
}

#error-message {
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* ==================== Hidden State ==================== */
.hidden {
    display: none !important;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .website-check-container .form-card {
        padding: 30px 20px;
    }

    .website-check-container .score-card {
        padding: 30px 20px;
    }

    .website-check-container .score-ring-container {
        width: 160px;
        height: 160px;
    }

    .website-check-container #overall-score {
        font-size: 42px;
    }

    .website-check-container .issues-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .website-check-container .issues-tab {
        flex-shrink: 0;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .website-check-container {
        background: white;
    }

    .website-check-container .results-actions,
    .website-check-container .btn {
        display: none !important;
    }

    .website-check-container .score-card,
    .website-check-container .category-card,
    .website-check-container .issues-section,
    .website-check-container .quick-wins-section,
    .website-check-container .details-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
