#website-analysis-wizard {
    padding: 0px 0px 60px;
}

.hero.pexels-hero {
    background: #fff !important;
    padding: 80px 0;
    overflow: visible;
}

.hero.pexels-hero .hero-bg-elements {
    display: none !important;
}

.pexels-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.pexels-left {
    padding-top: 20px;
}

.pexels-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 35px;
    max-width: 700px;
}

.pexels-search-container {
    position: relative;
    max-width: 750px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 4px;
    gap: 8px;
}

.device-toggle-wrapper {
    position: relative;
}

.device-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.device-toggle:hover {
    background: #fafafa;
}

.device-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.device-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
    display: none;
}

.device-dropdown.active {
    display: block;
}

.device-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: background 0.2s;
}

.device-dropdown .dropdown-item:hover {
    background: #f5f5f5;
}

.device-dropdown .dropdown-item.selected {
    background: #f0f0f0;
}

.pexels-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 16px 16px 16px 8px !important;
    font-size: 16px !important;
    outline: none !important;
    color: #333;
    box-shadow: none !important;
}

.pexels-search-input::placeholder {
    color: #999;
}

.pexels-search-input:focus {
    box-shadow: none !important;
    border: none !important;
}

.pexels-search-btn {
    background: transparent;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.pexels-search-btn:hover {
    opacity: 0.7;
}

.pexels-search-btn .search-icon {
    width: 22px;
    height: 22px;
    opacity: 0.5;
    pointer-events: none;
}

/* Right Section - Stats Card */
.pexels-right {
    width: 480px;
}

.stats-card {
    width: 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.stats-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.stats-icon {
    width: 18px;
    height: 18px;
}

.stats-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box .stat-number {
    font-size: 32px;
    font-weight: 700;
}

.stat-box .stat-label {
    font-size: 13px;
    opacity: 0.85;
}

.stats-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    width: fit-content;
    text-decoration: none;
}

.stats-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.stats-btn .arrow-icon {
    width: 16px;
    height: 16px;
}

/* Search Loader Overlay */
.pexels-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pexels-loader-overlay.active {
    display: flex;
    opacity: 1;
}

.pexels-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #111 0%, #555 35%, transparent 65%);
    animation: pexels-spin 0.85s linear infinite;
    position: relative;
}

.pexels-spinner::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: white;
}

.pexels-loader-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pexels-loader-dots span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #111;
    animation: pexels-bounce 1.2s ease-in-out infinite;
}

.pexels-loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.pexels-loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.pexels-loader-label {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.01em;
    margin: 0;
}

.pexels-loader-sublabel {
    font-size: 13px;
    color: #888;
    margin: -8px 0 0;
}

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

@keyframes pexels-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1);   opacity: 1;   }
}

/* ── Website Analysis Wizard ─────────────────────────────── */
@keyframes waw-spin { to { transform: rotate(360deg); } }

#waw-app {
    font-family: 'Inter', -apple-system, sans-serif;
    padding: 40px 0;
}

#waw-full-audit-shortcut {
    position: absolute;
    top: 220px;
    right: 0;
    width: 300px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #93c5fd;
    border-radius: 12px;
    text-align: left;
    z-index: 5;
}
#waw-full-audit-shortcut .wfa-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
#waw-full-audit-shortcut .wfa-title {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 13.5px;
}
#waw-full-audit-shortcut .wfa-desc {
    font-size: 11.5px;
    color: #1e40af;
    margin: 0 0 10px;
    line-height: 1.45;
}
#waw-full-audit-shortcut .wfa-desc strong { word-break: break-all; }
#waw-full-audit-shortcut .wfa-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12.5px;
    width: 100%;
}
#waw-full-audit-shortcut .wfa-btn:hover { background: #1d4ed8; }
#waw-full-audit-shortcut .wfa-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 1199px) {
    #waw-full-audit-shortcut {
        position: static;
        width: auto;
        max-width: 420px;
        margin: 0 auto 24px;
    }
}

#waw-progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.waw-title {
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    text-align: center;
}

.waw-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.analysis-steps {
    text-align: center;
}

.waw-step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.waw-step-desc {
    /*color: #888;*/
    font-size: 15px;
    margin-bottom: 20px;
}

.waw-step-desc--lg { margin-bottom: 24px; }

.waw-url-wrap {
    margin: 0 auto;
    max-width: 480px;
 }

.waw-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #ddd;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    background: #fff;
}

#waw-url-cached {
    display: none;
    margin-top: 12px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 14px 16px;
}

.waw-cached-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.waw-cached-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.waw-cached-title {
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 2px;
}

#waw-url-cached-time {
    font-size: 12px;
    color: #b45309;
    margin-bottom: 10px;
    display: block;
}

#waw-view-report-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.waw-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.waw-pills--sm  { margin-bottom: 20px; }
.waw-pills--no-mb { margin-bottom: 0; }

#waw-version-field { display: none; }

.waw-version-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.waw-version-input { max-width: 300px; }

.waw-section-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

#waw-other-field    { display: none; }

#waw-integration-field {
    display: none;
    margin-top: 16px;
}

.waw-integration-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.waw-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #ddd;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
}

.waw-summary-box {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.waw-summary-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

#waw-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

#waw-summary-problems { margin-top: 8px; }

.waw-device-prompt {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

.waw-device-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.waw-device-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.waw-device-btn.active {
    border: 2px solid #111;
    background: #111;
    color: #fff;
    font-weight: 600;
}

#waw-analyze-btn {
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#waw-analyzing {
    display: none;
    margin-top: 24px;
    align-items: center;
    gap: 12px;
}

.waw-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #eee;
    border-top-color: #111;
    border-radius: 50%;
    animation: waw-spin 0.8s linear infinite;
    flex-shrink: 0;
}

#waw-analyzing-text {
    font-size: 14px;
    color: #555;
}

.waw-label {
    color: #888;
    font-size: 13px;
}

.waw-focus-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.waw-focus-tag {
    background: #e8e8e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.waw-nav {
    display: flex;
    justify-content: space-between;
    margin: 40px auto 0;
    max-width: 480px;
}

/* Responsive */
@media (max-width: 1200px) {
    .pexels-container {
        grid-template-columns: 1fr;
    }

    .pexels-right {
        width: 100%;
        max-width: 750px;
    }

    .pexels-title {
        font-size: 40px;
    }

    .hero.pexels-hero {
        padding: 0px 0 !important
    }

}

@media (max-width: 768px) {
    .pexels-title {
        font-size: 32px;
    }

    .pexels-search-container {
        flex-wrap: wrap;
    }

    .device-toggle {
        padding: 12px 14px;
        font-size: 14px;
    }

    .pexels-search-input {
        width: 100%;
        padding: 14px !important;
    }

    .stats-card {
        height: auto;
        min-height: 240px;
    }

    .stats-title {
        font-size: 24px;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 20px;
    }
}