/* Workflow Page Specific Stylesheet - Unique Automation Theme */

/* --- Hero Section with Dotted Automation Grid --- */
.wf-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;
}

.wf-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;
}

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

.wf-hero-kicker {
    display: inline-block;
    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);
}

.wf-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.25rem);
    line-height: 1.08;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.wf-hero .lead-p {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-grey);
    max-width: 780px;
    margin-inline: auto;
    line-height: 1.6;
}

.wf-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.wf-hero-image-wrap {
    margin-top: 56px;
    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;
}

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

/* --- Section Titles & Labels --- */
.wf-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;
}

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

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

/* --- Workflow Overview Section --- */
.wf-overview-section {
    background: #ffffff;
}

.wf-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;
}

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

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

.wf-checklist-arrow {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.wf-checklist-arrow 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;
}

.wf-checklist-arrow li:hover {
    transform: translateX(4px);
}

.wf-checklist-arrow 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%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") center / 10px no-repeat;
}

/* --- Features Section --- */
.wf-features-section {
    background: var(--page-fade);
}

.wf-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);
    position: relative;
}

.wf-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
    border-radius: 4px 0 0 4px;
}

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

.wf-feature-card:hover::before {
    transform: scaleY(1);
}

.wf-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.wf-feature-card:hover .wf-feature-icon {
    transform: rotate(360deg);
    background: var(--primary-color);
    color: #ffffff;
}

.wf-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.wf-feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

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

/* --- Real SEO Operations Badge Pills --- */
.wf-workflow-section {
    background: #ffffff;
}

.wf-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;
}

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

.wf-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);
}

/* --- Live Interactive Kanban Simulator --- */
.wf-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;
    position: relative;
    overflow: hidden;
}

.wf-simulator-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.wf-kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wf-kanban-column {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(17, 20, 81, 0.04);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.3s ease;
}

.wf-kanban-column.active-target {
    background: rgba(255, 85, 0, 0.03);
    border-color: rgba(255, 85, 0, 0.2);
}

.wf-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1.5px solid rgba(17, 20, 81, 0.08);
    margin-bottom: 6px;
}

.wf-column-header h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wf-column-badge {
    background: #ffffff;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 30px;
    padding: 3px 10px;
    border: 1px solid rgba(17, 20, 81, 0.08);
}

.wf-kanban-card {
    background: #ffffff;
    border: 1.5px solid rgba(17, 20, 81, 0.06);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(17, 20, 81, 0.02);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
}

.wf-kanban-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 20px rgba(17, 20, 81, 0.05);
    border-color: rgba(255, 85, 0, 0.2);
}

.wf-card-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}

.wf-card-tag.seo {
    background: rgba(255, 85, 0, 0.08);
    color: var(--primary-color);
}

.wf-card-tag.content {
    background: rgba(0, 168, 204, 0.08);
    color: #00a8cc;
}

.wf-card-tag.report {
    background: rgba(111, 45, 189, 0.08);
    color: #6f2dbd;
}

.wf-kanban-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.wf-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(17, 20, 81, 0.06);
    padding-top: 12px;
}

.wf-card-users {
    display: flex;
    align-items: center;
}

.wf-card-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF5500;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
}

.wf-card-action-btn {
    background: transparent;
    border: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.wf-card-action-btn svg {
    width: 14px;
    height: 14px;
}

/* Animations for Simulator */
@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wf-kanban-card.just-added {
    animation: popIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.wf-simulator-logs {
    margin-top: 28px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px 20px;
    border: 1px solid rgba(17, 20, 81, 0.06);
    text-align: left;
    max-height: 110px;
    overflow-y: auto;
}

.wf-simulator-logs h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-grey);
    margin-bottom: 8px;
}

.wf-log-line {
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* --- AI Section (Neon Dark Mode) --- */
.wf-ai-section {
    background: #080711;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

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

.wf-ai-section .wf-section-title {
    color: #ffffff;
}

.wf-ai-section .wf-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.wf-ai-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%;
}

.wf-ai-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);
}

.wf-ai-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;
}

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

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

/* --- Team Collaboration --- */
.wf-collab-section {
    background: var(--page-fade);
}

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

.wf-collab-graphic img {
    width: 100%;
    display: block;
}

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

.wf-collab-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;
}

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

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

/* --- Core Benefits Rows --- */
.wf-benefits-section {
    background: #ffffff;
}

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

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

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

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

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

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

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

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

.wf-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;
}

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

.wf-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;
}

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

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

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

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

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

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

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

.wf-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);
}

.wf-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;
}

.wf-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;
}

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

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

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

/* --- Responsive Adaptations --- */
@media (max-width: 991.98px) {
    .wf-hero {
        padding-top: 140px;
        padding-bottom: 64px;
    }

    .wf-cta-panel {
        padding: 48px 24px;
    }

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

    .wf-kanban-board {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wf-kanban-column {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .wf-hero-buttons,
    .wf-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .wf-hero-buttons .button,
    .wf-cta-buttons .button {
        width: 100%;
    }

    .wf-faq-header {
        padding: 18px 20px;
    }

    .wf-faq-content {
        padding: 0 20px 18px;
    }

    .wf-simulator-controls {
        flex-direction: column;
        width: 100%;
    }

    .wf-simulator-controls .button {
        width: 100%;
    }
}
