.workflow-page {
    background: var(--gradient-page);
    color: var(--page-text);
}

.workflow-root {
    flex: 1;
}

/* BUTTONS */
.wf-btn {
    min-height: 50px;
    padding: 0 23px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 900;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wf-btn:hover {
    transform: translateY(-2px);
}

.wf-btn-primary {
    color: #fff;
    background: var(--gradient-cta);
    box-shadow: var(--shadow-accent);
}

.wf-btn-secondary {
    color: var(--page-text);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--page-border);
}

/* HERO */
.wf-hero {
    padding: 54px 0 44px;
    background:
        radial-gradient(circle at 8% 24%, rgba(242, 122, 33, 0.14), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(31, 111, 235, 0.13), transparent 30%),
        radial-gradient(circle at 92% 78%, rgba(22, 163, 74, 0.08), transparent 28%);
}

.wf-hero-wrap {
    min-height: 590px;
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 48px;
    align-items: center;
}

.wf-hero-copy h1 {
    margin-top: 18px;
    max-width: 620px;
    font-family: var(--font-display);
    font-size: clamp(2.55rem, 3.8vw, 4.35rem);
    line-height: 1.05;
    letter-spacing: -0.065em;
    color: #111827;
}

.wf-hero-copy h1 span {
    color: var(--accent);
}

.wf-hero-copy p {
    margin-top: 18px;
    max-width: 590px;
    color: #526173;
    font-size: 15.5px;
    line-height: 1.75;
}

.wf-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.wf-proof {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wf-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.wf-proof i {
    color: var(--success);
}

/* HERO VISUAL */
.wf-hero-visual {
    position: relative;
}

.wf-flow-card {
    width: min(620px, 100%);
    margin: 0 auto; /* center */
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
}

.wf-flow-top {
    height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wf-flow-top > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.wf-mini-logo {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: var(--gradient-brand);
}

.wf-dots {
    display: flex;
    gap: 8px;
}

.wf-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.wf-dots span:nth-child(1) { background: #ff5f57; }
.wf-dots span:nth-child(2) { background: #ffbd2e; }
.wf-dots span:nth-child(3) { background: #28c840; }

.wf-flow-body {
    position: relative;
    padding: 26px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    display: grid;
    gap: 14px;
}

.wf-flow-line {
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 48px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.28;
    display: none;
}

.wf-process {
    position: relative;
    z-index: 2;
    padding: 17px;
    border-radius: 22px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(226, 232, 240, 0.92);
    display: flex;
    gap: 14px;
    align-items: center;
}

.wf-process i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
}

.wf-process.highlight {
    border-color: rgba(242, 122, 33, 0.42);
    background:
        radial-gradient(circle at 16% 20%, rgba(242,122,33,0.12), transparent 30%),
        rgba(255,255,255,0.9);
}

.wf-process strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

.wf-process span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

/* SECTIONS */
.wf-section {
    padding: 76px 0 0;
}

.workflow-page .section-heading h2 {
    font-size: clamp(1.85rem, 2.6vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.045em;
}

/* STEPS */
.wf-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.wf-step {
    padding: 26px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--page-border);
    transition: all 0.22s ease;
}

.wf-step:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 111, 235, 0.24);
}

.wf-step.active {
    border-color: rgba(242, 122, 33, 0.42);
    background:
        radial-gradient(circle at 18% 10%, rgba(242, 122, 33, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.82);
}

.step-no {
    display: inline-flex;
    min-width: 44px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.wf-step > i {
    width: 54px;
    height: 54px;
    margin-top: 18px;
    border-radius: 19px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 20px;
}

.wf-step h3,
.wf-activation-grid h3 {
    margin-top: 18px;
    font-family: var(--font-display);
    color: var(--page-text);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.wf-step p,
.wf-activation-grid p {
    margin-top: 10px;
    color: var(--page-text-soft);
    font-size: 13.5px;
    line-height: 1.65;
}

/* OPERATION */
.wf-operation-card {
    padding: 52px;
    border-radius: 42px;
    border: 1px solid var(--page-border);
    background:
        radial-gradient(circle at 14% 20%, rgba(242, 122, 33, 0.12), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(31, 111, 235, 0.10), transparent 28%),
        linear-gradient(135deg, #fff7ec, #ffffff 55%, #f8fbff);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 38px;
    align-items: center;
}

.wf-operation-copy h2 {
    margin-top: 14px;
    font-family: var(--font-display);
    color: var(--page-text);
    font-size: clamp(1.85rem, 2.6vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.wf-operation-copy p {
    margin-top: 14px;
    color: var(--page-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.wf-operation-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.wf-operation-flow div {
    min-height: 112px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--page-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wf-operation-flow i {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gradient-brand);
}

.wf-operation-flow span {
    color: var(--page-text);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

/* ACTIVATION */
.wf-activation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.wf-activation-grid article {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--page-border);
    background: rgba(255, 255, 255, 0.76);
    transition: all 0.22s ease;
}

.wf-activation-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 111, 235, 0.24);
}

.wf-activation-grid i {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 19px;
}

.wf-note {
    margin-top: 24px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    background: rgba(255, 247, 230, 0.84);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wf-note > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--warning-soft);
    color: var(--warning);
}

.wf-note strong {
    color: var(--page-text);
    font-size: 14px;
    font-weight: 900;
}

.wf-note p {
    margin-top: 5px;
    color: var(--page-text-soft);
    font-size: 13px;
    line-height: 1.6;
}

/* FINAL CTA */
.wf-final-cta {
    padding: 76px 0 64px;
}

.wf-final-card {
    padding: 58px 34px;
    border-radius: 42px;
    text-align: center;
    border: 1px solid var(--page-border);
    background:
        radial-gradient(circle at 16% 20%, rgba(242, 122, 33, 0.16), transparent 30%),
        radial-gradient(circle at 84% 20%, rgba(31, 111, 235, 0.14), transparent 30%),
        linear-gradient(135deg, #fff7ec, #f8fbff);
}

.wf-final-card h2 {
    margin-top: 14px;
    font-family: var(--font-display);
    color: #111827;
    font-size: clamp(1.95rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.wf-final-card p {
    max-width: 680px;
    margin: 16px auto 26px;
    color: #526173;
    line-height: 1.7;
}

.wf-final-card div {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* DARK MODE */
:root[data-theme="dark"] .wf-hero-copy h1,
:root[data-theme="dark"] .wf-flow-top > div:first-child,
:root[data-theme="dark"] .wf-process strong,
:root[data-theme="dark"] .wf-final-card h2 {
    color: #f8fafc;
}

:root[data-theme="dark"] .wf-hero-copy p,
:root[data-theme="dark"] .wf-proof span,
:root[data-theme="dark"] .wf-process span,
:root[data-theme="dark"] .wf-final-card p {
    color: #cbd5e1;
}

:root[data-theme="dark"] .wf-btn-secondary,
:root[data-theme="dark"] .wf-flow-card,
:root[data-theme="dark"] .wf-process,
:root[data-theme="dark"] .wf-step,
:root[data-theme="dark"] .wf-activation-grid article,
:root[data-theme="dark"] .wf-operation-flow div {
    background: rgba(17, 24, 39, 0.82);
    border-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme="dark"] .wf-flow-top {
    background: rgba(255,255,255,0.04);
    border-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme="dark"] .wf-flow-body {
    background: linear-gradient(180deg, #0f172a, #111827);
}

:root[data-theme="dark"] .wf-step.active,
:root[data-theme="dark"] .wf-process.highlight {
    background:
        radial-gradient(circle at 18% 10%, rgba(242, 122, 33, 0.14), transparent 34%),
        rgba(17, 24, 39, 0.84);
}

:root[data-theme="dark"] .wf-operation-card,
:root[data-theme="dark"] .wf-final-card {
    background:
        radial-gradient(circle at 16% 20%, rgba(242, 122, 33, 0.18), transparent 30%),
        radial-gradient(circle at 84% 20%, rgba(31, 111, 235, 0.18), transparent 30%),
        linear-gradient(135deg, #111827, #0f172a 60%, #111827);
    border-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme="dark"] .wf-note {
    background: rgba(245, 158, 11, 0.10);
    border-color: rgba(245, 158, 11, 0.22);
}

:root[data-theme="dark"] .wf-btn-secondary {
    color: #f8fafc;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
    .wf-hero-wrap {
        grid-template-columns: 1fr;
    }

    .wf-flow-card {
        margin: 0 auto;
    }

    .wf-steps,
    .wf-activation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wf-operation-card {
        grid-template-columns: 1fr;
    }

    .wf-operation-flow {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .wf-hero {
        padding-top: 40px;
    }

    .wf-hero-wrap {
        min-height: auto;
    }

    .wf-actions,
    .wf-final-card div {
        flex-direction: column;
        align-items: stretch;
    }

    .wf-btn {
        width: 100%;
    }

    .wf-steps,
    .wf-activation-grid,
    .wf-operation-flow {
        grid-template-columns: 1fr;
    }

    .wf-operation-card,
    .wf-final-card {
        padding: 36px 22px;
        border-radius: 32px;
    }
}

@media (max-width: 640px) {
    .wf-hero-copy h1 {
        font-size: 2.2rem;
        letter-spacing: -0.05em;
    }

    .wf-hero-copy p {
        font-size: 14px;
    }

    .wf-section {
        padding-top: 54px;
    }

    .workflow-page .section-heading h2,
    .wf-operation-copy h2,
    .wf-final-card h2 {
        font-size: 1.75rem;
        line-height: 1.18;
    }

    .wf-step,
    .wf-activation-grid article {
        padding: 24px;
        border-radius: 26px;
    }

    .wf-note {
        flex-direction: column;
    }
}