/* Website Audit Page Specific Stylesheet - .wa- prefix */

/* --- Split Hero Section Layout --- */
.wa-hero {
    padding-top: 180px;
    padding-bottom: 90px;
    position: relative;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(255, 85, 0, 0.07) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    overflow: hidden;
}

.wa-hero::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 70%, #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}

.wa-hero .container {
    position: relative;
    z-index: 2;
}

.wa-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(255, 85, 0, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(255, 85, 0, 0.15);
}

.wa-hero-kicker svg {
    width: 14px;
    height: 14px;
}

.wa-hero h1 {
    font-size: clamp(2.3rem, 3.8vw, 3.85rem);
    line-height: 1.1;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.wa-hero .lead-p {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-grey);
    line-height: 1.6;
}

.wa-hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.wa-hero-image-wrap {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(17, 20, 81, 0.12);
    border: 1px solid rgba(17, 20, 81, 0.08);
    background: #ffffff;
    padding: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.wa-hero-image-wrap:hover {
    transform: translateY(-5px);
}

.wa-hero-image-wrap img {
    border-radius: 16px;
    display: block;
    width: 100%;
}

/* --- Section Labels & Titles --- */
.wa-section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wa-section-title {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.wa-section-subtitle {
    color: var(--text-grey);
    font-size: 1.08rem;
    line-height: 1.65;
}

/* --- Graphic Card --- */
.wa-graphic-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(17, 20, 81, 0.08);
    box-shadow: 0 20px 45px rgba(17, 20, 81, 0.05);
    padding: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wa-graphic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(255, 85, 0, 0.08);
}

.wa-graphic-card img {
    border-radius: 14px;
    width: 100%;
}

/* --- Checklist --- */
.wa-matters-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.wa-matters-checklist li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: transform 0.2s ease;
}

.wa-matters-checklist li:hover {
    transform: translateX(4px);
}

.wa-matters-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 10px no-repeat;
}

/* --- Features Split Checkerboard Layout --- */
.wa-features-section {
    background: var(--page-fade);
}

.wa-featured-card {
    background: #ffffff;
    border: 1px solid rgba(255, 85, 0, 0.12);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 20px 50px rgba(255, 85, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wa-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(255, 85, 0, 0.09);
}

.wa-featured-card .wa-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.wa-featured-card .wa-feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.wa-feature-card {
    background: #ffffff;
    border: 1px solid rgba(17, 20, 81, 0.06);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(17, 20, 81, 0.02);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wa-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(17, 20, 81, 0.08);
    border-color: rgba(255, 85, 0, 0.15);
}

.wa-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(17, 20, 81, 0.04);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.wa-feature-card:hover .wa-feature-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.wa-feature-icon svg {
    width: 22px;
    height: 22px;
}

.wa-feature-card h3 {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.wa-feature-card p {
    color: var(--text-grey);
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0;
}

/* --- Use Case Badge Pills --- */
.wa-usecase-badge-pill {
    background: #f8f9fa;
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.wa-usecase-badge-pill i,
.wa-usecase-badge-pill svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.wa-usecase-badge-pill:hover {
    background: rgba(255, 85, 0, 0.08);
    border-color: rgba(255, 85, 0, 0.3);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 85, 0, 0.08);
}

/* --- Dark Audits Recommendations Section --- */
.wa-dark-section {
    background: #080711;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.wa-dark-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.wa-dark-section .wa-section-title {
    color: #ffffff;
}

.wa-dark-section .wa-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.wa-dark-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.wa-dark-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 85, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 85, 0, 0.15);
}

.wa-dark-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wa-dark-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.wa-dark-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Architecture Steps Section --- */
.wa-step-section {
    background: var(--page-fade);
}

.wa-step-graphic {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(17, 20, 81, 0.08);
}

.wa-step-graphic img {
    width: 100%;
    display: block;
}

.wa-step-bullet {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.wa-step-bullet-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(17, 20, 81, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
}

.wa-step-bullet h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.wa-step-bullet p {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Benefits Section --- */
.wa-benefits-section {
    background: #ffffff;
}

.wa-benefit-row {
    border-bottom: 1px solid rgba(17, 20, 81, 0.08);
    padding-block: 28px;
    transition: all 0.3s ease;
}

.wa-benefit-row:first-of-type {
    border-top: 1px solid rgba(17, 20, 81, 0.08);
}

.wa-benefit-row:hover {
    background: var(--page-fade);
    padding-inline: 16px;
    border-radius: 12px;
    border-bottom-color: transparent;
}

.wa-benefit-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.wa-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.wa-benefit-desc {
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- FAQ Section --- */
.wa-faq-section {
    background: #ffffff;
}

.wa-faq-accordion {
    max-width: 860px;
    margin-inline: auto;
}

.wa-faq-item {
    border: 1px solid rgba(17, 20, 81, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wa-faq-item.is-open {
    border-color: rgba(255, 85, 0, 0.25);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.06);
}

.wa-faq-header {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 16px;
    cursor: pointer;
}

.wa-faq-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.wa-faq-item.is-open .wa-faq-header h3 {
    color: var(--primary-color);
}

.wa-faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.wa-faq-item.is-open .wa-faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.wa-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-faq-content {
    padding: 0 28px 24px;
    color: var(--text-grey);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* --- CTA Section --- */
.wa-cta-section {
    background: #ffffff;
}

.wa-cta-panel {
    background: radial-gradient(circle at 10% 20%, rgba(255, 85, 0, 0.15) 0%, rgba(17, 20, 81, 0.03) 90%), #080711;
    border-radius: 28px;
    padding: 60px 48px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-cta-panel h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 18px;
}

.wa-cta-panel p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 32px;
}

.wa-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wa-cta-buttons .button-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.wa-cta-buttons .button-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Interactive Website Audit Crawler Simulator --- */
.wa-simulator-panel {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(17, 20, 81, 0.08);
    box-shadow: 0 20px 45px rgba(17, 20, 81, 0.05);
    padding: 48px;
}

.wa-simulator-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    align-items: center;
    flex-wrap: wrap;
}

.wa-input-url-wrap {
    display: flex;
    gap: 12px;
    flex-grow: 1;
    min-width: 290px;
}

.wa-input-style {
    flex-grow: 1;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(17, 20, 81, 0.15);
    outline: none;
    font-size: 0.95rem;
    color: var(--secondary-color);
    background: #ffffff;
    transition: all 0.3s ease;
}

.wa-input-style:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.12);
}

.wa-simulator-dashboard {
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid rgba(17, 20, 81, 0.08);
    padding: 30px;
    height: 100%;
}

.wa-score-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(17, 20, 81, 0.08);
}

.wa-score-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #080711;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(17, 20, 81, 0.15);
    position: relative;
    border: 4px solid var(--primary-color);
    transition: all 0.4s ease;
}

.wa-score-num {
    font-size: 2.1rem;
    line-height: 1;
}

.wa-score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.wa-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 12px;
    border-bottom: 1px dashed rgba(17, 20, 81, 0.08);
}

.wa-metric-item:last-of-type {
    border-bottom: none;
}

.wa-metric-title {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-metric-status-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(17, 20, 81, 0.06);
    color: var(--text-grey);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.wa-metric-status-badge.good {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.15);
}

.wa-metric-status-badge.warn {
    background: rgba(255, 193, 7, 0.1);
    color: #e0a800;
    border-color: rgba(255, 193, 7, 0.15);
}

.wa-metric-status-badge.poor {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.15);
}

.wa-logs-panel {
    background: #080711;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wa-logs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.wa-logs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.wa-logs-dot.red { background: #ff5f57; }
.wa-logs-dot.yellow { background: #febc2e; }
.wa-logs-dot.green { background: #28c840; }

.wa-logs-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wa-logs-body {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;
    min-height: 330px;
}

.wa-log-line {
    font-family: monospace;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.4;
    animation: logFadeIn 0.25s ease forwards;
}

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

.wa-log-line span {
    color: var(--primary-color);
}

.wa-log-line.success { color: #28a745; }
.wa-log-line.warn    { color: #ffc107; }
.wa-log-line.error   { color: #dc3545; }
.wa-log-line.info    { color: #17a2b8; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .wa-hero {
        padding-top: 140px;
        padding-bottom: 64px;
        text-align: center;
    }

    .wa-hero-buttons {
        justify-content: center;
    }

    .wa-hero-image-wrap {
        margin-top: 48px;
    }

    .wa-featured-card {
        margin-bottom: 24px;
        padding: 30px;
    }

    .wa-simulator-panel {
        padding: 32px;
    }
}

@media (max-width: 767.98px) {
    .wa-hero {
        padding-top: 120px;
        padding-bottom: 48px;
    }

    .wa-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .wa-cta-panel {
        padding: 36px 20px;
    }

    .wa-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .wa-input-url-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .wa-simulator-controls {
        flex-direction: column;
        align-items: stretch;
    }
}
