.tool-page {
    background:
        radial-gradient(circle at top right, rgba(117, 209, 209, 0.18), transparent 34%),
        radial-gradient(circle at 0% 20%, rgba(255, 193, 7, 0.08), transparent 28%),
        #0b1212;
}

.tool-page--octopus {
    background:
        radial-gradient(circle at top center, rgba(168, 61, 244, 0.10), transparent 30%),
        #eef0f6;
}

.tool-page main.tool-shell {
    position: relative;
}

.tool-shell--immersive {
    padding-top: 0;
}

.tool-stage {
    position: relative;
}

.tool-stage-hero {
    position: relative;
    padding: 0.6rem 2rem 0;
    border-radius: 0 0 30px 30px;
    overflow: visible;
}

.tool-stage-bg {
    position: absolute;
    inset: 0;
    min-height: 400px;
    max-height: 400px;
    background:
        linear-gradient(90deg, rgba(44, 9, 82, 0.30), rgba(44, 9, 82, 0.10)),
        url('../images/octopus-bg.png') center center / cover no-repeat;
}

.tool-stage-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 42% 18%, rgba(229, 148, 255, 0.22), transparent 22%),
        linear-gradient(180deg, rgba(44, 9, 82, 0.12), rgba(44, 9, 82, 0.22));
}

.tool-stage-octopus {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: min(26vw, 320px);
    height: min(80%, 400px);
    background: url('../images/octopus.png') center bottom / contain no-repeat;
    z-index: 2;
}

.tool-stage-copy {
    position: relative;
    z-index: 3;
    max-width: 460px;
    color: #fff;
    padding-top: 0.75rem;
}

.tool-stage-copy .tool-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #f7d6ff;
}

.tool-stage-copy .tool-headline {
    max-width: 8ch;
    font-size: clamp(2.6rem, 5vw, 4.35rem);
    color: #fff;
}

.tool-stage-copy .tool-lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 40ch;
}

.tool-drop-shell {
    position: relative;
    z-index: 4;
    margin: 1.5rem auto 0;
    border-radius: 22px;
    width: min(100%, 1110px);
}

.tool-drop-panel {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(76, 84, 106, 0.48);
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 46px rgba(37, 20, 54, 0.16);
}

.tool-drop-panel--utility {
    width: min(100%, 920px);
}

.tool-drop-panel__inner {
    min-height: 290px;
    border: 2px dashed rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem;
    background: rgba(59, 28, 91, 0.14);
    cursor: pointer;
}

.tool-drop-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 20px;
    background: linear-gradient(135deg, #9f4bff, #6b1fc3);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 18px 34px rgba(107, 31, 195, 0.28);
}

.tool-drop-shell .tool-dropzone {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.tool-drop-shell .tool-dropzone::before,
.tool-drop-shell .tool-dropzone::after {
    display: none;
}

.tool-drop-shell .tool-dropzone-inner {
    min-height: auto;
    padding: 0;
}

.tool-drop-shell .tool-drop-title {
    font-size: 2.05rem;
    color: #fff;
}

.tool-drop-shell .tool-drop-text {
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.92);
}

.tool-drop-shell .tool-auto-toggle {
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.tool-utility-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: min(100%, 640px);
}

.tool-utility-field {
    display: grid;
    gap: 0.4rem;
    text-align: left;
}

.tool-utility-field--full {
    grid-column: 1 / -1;
}

.tool-utility-field label {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tool-utility-field input {
    min-height: 46px;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #24183a;
}

.tool-utility-field input[type="file"] {
    padding: 0.65rem 0.8rem;
}

.tool-alert--utility {
    width: min(100%, 640px);
    margin-top: 0;
}

.tool-utility-hint {
    width: min(100%, 640px);
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    line-height: 1.6;
}

.tool-console {
    width: min(100%, 1130px);
    margin-top: 2rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 54px rgba(30, 24, 43, 0.12);
    background: #fff;
}

.tool-console.is-empty {
    display: none;
}

.tool-console.is-empty .tool-console-bar {
    display: none;
}

.tool-console.is-empty .tool-uploader-status {
    border-top: 0;
}

.tool-console-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(135deg, #3b3452, #51476f);
    color: #fff;
}

.tool-console-summary strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1.05;
    color: #f7f2ff;
}

.tool-console-summary span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.84);
}

.tool-console-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.tool-console-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #2f3442;
    font-size: 1.1rem;
}

.tool-button--accent {
    background: linear-gradient(135deg, #8f39e8, #5d1db0);
    box-shadow: 0 14px 28px rgba(93, 29, 176, 0.24);
    color: #fff;
}

.tool-console .tool-uploader-status,
.tool-console .tool-alert {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.tool-queue--console {
    gap: 0;
    margin-top: 0;
}

.tool-queue--console .tool-queue-empty {
    margin: 0 1.4rem 1.4rem;
}

.tool-queue--console .tool-queue-card {
    border: 0;
    border-bottom: 1px solid rgba(23, 39, 39, 0.08);
    border-radius: 0;
    box-shadow: none;
    padding: 1.2rem 1.4rem;
}

.tool-queue--console .tool-queue-card:last-child {
    border-bottom: 0;
}

.tool-content-band {
    padding: 4rem 0;
}

.tool-ad-rail {
    margin-bottom: 1.5rem;
}

.tool-ad-rail--mid {
    margin-top: 1.5rem;
}

.tool-ad-shell {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1px dashed rgba(143, 57, 232, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.tool-ad-shell strong {
    color: #2f3442;
    font-size: 1.05rem;
}

.tool-ad-shell p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.92rem;
}

.tool-ad-shell--wide,
.tool-ad-shell--content {
    min-height: 108px;
    align-content: center;
}

.tool-content-card,
.tool-ad-card,
.tool-switcher-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(93, 29, 176, 0.08);
    box-shadow: 0 20px 45px rgba(53, 35, 83, 0.08);
}

.tool-content-card__header {
    padding: 1.4rem 1.5rem 0;
}

.tool-content-card__header h3 {
    color: #2f3442;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.tool-content-card__body {
    padding: 1.1rem 1.5rem 1.5rem;
    color: #545b6a;
    line-height: 1.8;
}

.tool-kicker--dark {
    background: rgba(143, 57, 232, 0.08);
    color: #6b1fc3;
}

.tool-inline-links {
    margin-top: 1.4rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(93, 29, 176, 0.08);
}

.tool-inline-links__label {
    display: block;
    margin-bottom: 0.8rem;
    color: #5d1db0;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-spec-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.tool-spec-inline div {
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 241, 255, 0.9), rgba(255, 255, 255, 1));
    border: 1px solid rgba(143, 57, 232, 0.08);
}

.tool-spec-inline span {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8f39e8;
}

.tool-spec-inline strong {
    display: block;
    margin-top: 0.4rem;
    color: #2f3442;
}

.tool-ad-card {
    padding: 1.5rem;
}

.tool-side-stack {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 90px;
}

.tool-ad-card--links {
    position: static;
}

.tool-ad-card--minimal {
    padding: 1.15rem;
    border-radius: 20px;
    box-shadow: none;
    border-color: rgba(93, 29, 176, 0.06);
    background: rgba(255, 255, 255, 0.9);
}

.tool-ad-card--minimal strong {
    margin-top: 0.35rem;
    font-size: 1rem;
}

.tool-ad-card strong {
    display: block;
    margin-top: 0.5rem;
    color: #2f3442;
}

.tool-ad-card p {
    margin: 0.6rem 0 0;
    color: #5b6170;
    line-height: 1.7;
}

.tool-switcher-card {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}

.tool-seo-section {
    margin-top: 1.5rem;
}

.tool-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 1.25rem;
}

.tool-seo-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(93, 29, 176, 0.08);
    box-shadow: 0 20px 45px rgba(53, 35, 83, 0.08);
}

.tool-seo-card h3 {
    color: #2f3442;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.tool-seo-card p {
    margin: 1rem 0 0;
    color: #545b6a;
    line-height: 1.85;
}

.tool-seo-list {
    margin: 1.1rem 0 0;
    padding-left: 1.1rem;
    color: #4b5563;
}

.tool-seo-list li+li {
    margin-top: 0.55rem;
}

.tool-link-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.tool-link-list--minimal {
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.tool-link-list a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #f7f2ff;
    color: #5d1db0;
    font-weight: 700;
    text-decoration: none;
}

.tool-link-list--minimal a {
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(93, 29, 176, 0.06);
    background: #fcfaff;
    font-size: 0.95rem;
}

.tool-seo-faq {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(93, 29, 176, 0.08);
}

.tool-seo-faq h4 {
    margin: 0;
    color: #2f3442;
    font-size: 1rem;
}

.tool-seo-faq p {
    margin-top: 0.7rem;
}

.error-404.tool-page .tool-shell::before {
    background: unset;
    height: 0;
}

.tool-page .tool-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 400px;
    background:
        linear-gradient(135deg, rgba(10, 19, 19, 0.92), rgba(16, 31, 31, 0.74)),
        linear-gradient(90deg, rgba(117, 209, 209, 0.14), rgba(255, 193, 7, 0.08));
    border-bottom: 1px solid rgba(117, 209, 209, 0.12);
    pointer-events: none;
}

.tool-page .tool-shell>.container {
    position: relative;
    z-index: 1;
}

.tool-scene {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid rgba(117, 209, 209, 0.16);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(19, 34, 34, 0.84), rgba(10, 19, 19, 0.92));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    color: #f3f9f9;
}

.tool-scene-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(117, 209, 209, 0.16), transparent 34%),
        radial-gradient(circle at 78% 28%, rgba(255, 193, 7, 0.14), transparent 26%),
        linear-gradient(90deg, rgba(7, 17, 17, 0.18), rgba(7, 17, 17, 0.04));
    filter: blur(0.5px);
}

.tool-scene-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 360px);
    gap: 1.5rem;
    align-items: end;
}

.tool-scene-copy {
    max-width: 820px;
}

.tool-hero-art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 280px;
}

.tool-hero-art-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    padding: 1.25rem;
    border-radius: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    color: #fff;
    text-align: center;
}

.tool-hero-art-slot span {
    font-size: 1.15rem;
    font-weight: 700;
}

.tool-hero-art-slot small {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.76);
}

.tool-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(143, 57, 232, 0.10);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-headline {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.02;
    font-weight: 700;
    max-width: 9ch;
}

.tool-lead {
    margin: 1rem 0 0;
    max-width: 52ch;
    color: #dff5f5;
    font-size: 1.02rem;
    line-height: 1.8;
}

.tool-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.tool-stat {
    padding: 1rem 1rem 0.95rem;
    border-radius: 18px;
    background: rgba(243, 249, 249, 0.04);
    border: 1px solid rgba(243, 249, 249, 0.07);
}

.tool-stat-label {
    display: block;
    color: #d9b3ff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tool-stat-value {
    display: block;
    margin-top: 0.45rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.tool-main-grid {
    margin-top: 1.75rem;
}

.tool-panel,
.tool-side-panel {
    border-radius: 24px;
    border: 1px solid rgba(143, 57, 232, 0.10);
    background: rgba(243, 249, 249, 0.98);
    box-shadow: 0 22px 60px rgba(3, 10, 10, 0.12);
}

.tool-panel {
    overflow: hidden;
}

.tool-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(23, 39, 39, 0.08);
    background: linear-gradient(180deg, rgba(223, 245, 245, 0.9), rgba(243, 249, 249, 0.98));
}

.tool-panel-title {
    margin: 0;
    color: #111c1c;
    font-size: 1.15rem;
    font-weight: 700;
}

.tool-panel-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.18);
    color: #6e5200;
    font-size: 0.75rem;
    font-weight: 700;
}

.tool-panel-body {
    padding: 1.4rem;
}

.tool-body-copy {
    margin-bottom: 1.25rem;
    color: #315353;
    line-height: 1.8;
}

.tool-upload-shell {
    padding: 0;
    border-radius: 22px;
    background: transparent;
    border: 0;
}

.tool-glass-drop {
    padding: 1rem;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(10, 19, 19, 0.52), rgba(10, 19, 19, 0.18));
    border: 1px solid rgba(117, 209, 209, 0.12);
}

.tool-dropzone {
    position: relative;
    min-height: 330px;
    padding: 1.4rem;
    border-radius: 22px;
    border: 2px dashed rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.tool-dropzone.is-dragover {
    border-color: rgba(117, 209, 209, 0.62);
    box-shadow: inset 0 0 0 2px rgba(117, 209, 209, 0.16);
}

.tool-dropzone::before,
.tool-dropzone::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tool-dropzone::before {
    width: 160px;
    height: 160px;
    top: 18px;
    right: 18px;
    background: rgba(117, 209, 209, 0.10);
}

.tool-dropzone::after {
    width: 110px;
    height: 110px;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 193, 7, 0.10);
}

.tool-dropzone-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 100%;
    text-align: center;
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, #75d1d1, #4a8181);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 18px 32px rgba(74, 129, 129, 0.24);
}

.tool-drop-title {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.tool-drop-text {
    margin: 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.tool-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.tool-alert {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(220, 53, 69, 0.08);
    color: #991b1b;
    border: 1px solid rgba(220, 53, 69, 0.14);
}

.tool-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.tool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 54px;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #36234f, #5d1db0);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(61, 19, 95, 0.22);
}

.tool-button:hover {
    color: #fff;
}

.tool-button--soft {
    background: rgba(255, 255, 255, 0.84);
    color: #24183a;
    border: 1px solid rgba(93, 29, 176, 0.10);
    box-shadow: none;
}

.tool-button--soft:hover {
    color: #24183a;
}

.tool-action-note {
    color: #4a8181;
    font-size: 0.92rem;
}

.tool-drop-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.tool-auto-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.tool-auto-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tool-auto-toggle span {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.tool-auto-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.tool-auto-toggle input:checked+span {
    background: rgba(143, 57, 232, 0.78);
}

.tool-auto-toggle input:checked+span::after {
    transform: translateX(20px);
}

.tool-uploader-status {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #f4f0fb;
    color: #4b4370;
    border: 1px solid rgba(143, 57, 232, 0.10);
    font-size: 0.95rem;
}

.tool-batch-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #3a4050, #444b5c);
    color: #fff;
}

.tool-batch-copy strong {
    display: block;
    color: #f7f2ff;
    font-size: 1.15rem;
}

.tool-batch-copy span {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.88);
}

.tool-batch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tool-batch-bar .tool-button {
    min-height: 48px;
}

.tool-uploader-status[data-state="error"] {
    background: rgba(220, 53, 69, 0.08);
    color: #991b1b;
    border-color: rgba(220, 53, 69, 0.14);
}

.tool-uploader-status[data-state="success"] {
    background: rgba(143, 57, 232, 0.08);
    color: #5d1db0;
    border-color: rgba(143, 57, 232, 0.14);
}

.tool-queue {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.tool-queue-empty {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    border: 1px dashed rgba(93, 29, 176, 0.18);
    color: #5b5176;
    background: #f6f2fb;
}

.tool-queue-card {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(23, 39, 39, 0.08);
    background: #fff;
    box-shadow: 0 12px 24px rgba(9, 15, 15, 0.04);
}

.tool-queue-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.tool-queue-media {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.tool-queue-thumb-wrap {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4ecff;
    border: 1px solid rgba(93, 29, 176, 0.10);
}

.tool-queue-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-queue-copy {
    min-width: 0;
}

.tool-queue-name {
    display: block;
    color: #111c1c;
    line-height: 1.4;
}

.tool-queue-rename {
    display: block;
    margin-top: 0.35rem;
}

.tool-queue-rename span {
    display: block;
    margin-bottom: 0.3rem;
    color: #6f6590;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tool-queue-rename-input {
    width: min(100%, 220px);
    min-height: 34px;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(93, 29, 176, 0.10);
    border-radius: 12px;
    background: #faf7ff;
    color: #35284e;
    font-size: 0.9rem;
}

.tool-queue-rename-input:focus {
    outline: none;
    border-color: rgba(93, 29, 176, 0.28);
    box-shadow: 0 0 0 3px rgba(143, 57, 232, 0.08);
}

.tool-queue-output-name {
    display: block;
    margin-top: 0.35rem;
    color: #6f6590;
    font-size: 0.84rem;
    line-height: 1.35;
}

.tool-queue-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.tool-queue-size {
    display: block;
    margin-top: 0;
    color: #6f6590;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: lowercase;
}

.tool-queue-state {
    display: inline-flex;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(143, 57, 232, 0.08);
    color: #5d1db0;
    font-size: 0.76rem;
    font-weight: 700;
}

.tool-queue-inline-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-end;
}

.tool-queue-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(93, 29, 176, 0.10);
    border-radius: 12px;
    background: #f6f2fb;
    color: #5d1db0;
    font-size: 0.95rem;
}

.tool-queue-icon-button:hover {
    background: #efe5ff;
}

.tool-queue-card[data-state="done"] {
    border-color: rgba(143, 57, 232, 0.18);
}

.tool-queue-progress {
    margin-top: 0.85rem;
    height: 8px;
    border-radius: 999px;
    background: rgba(23, 39, 39, 0.06);
    overflow: hidden;
}

.tool-queue-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #a855f7, #6b21c9);
    transition: width 0.25s ease;
}

.tool-queue-settings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.tool-queue-setting {
    display: grid;
    gap: 0.3rem;
}

.tool-queue-setting span {
    color: #6f6590;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tool-queue-setting input {
    min-height: 38px;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(93, 29, 176, 0.08);
    border-radius: 12px;
    background: #fcfaff;
    color: #35284e;
    font-size: 0.9rem;
}

.tool-queue-setting input:focus {
    outline: none;
    border-color: rgba(93, 29, 176, 0.24);
    box-shadow: 0 0 0 3px rgba(143, 57, 232, 0.06);
}

.tool-queue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.tool-chip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(93, 29, 176, 0.10);
    background: #f6f2fb;
    color: #35284e;
    font-weight: 700;
    font-size: 0.85rem;
}

.tool-queue-card[data-state="uploading"] .tool-queue-state {
    background: rgba(143, 57, 232, 0.08);
    color: #5d1db0;
}

.tool-queue-card[data-state="done"] .tool-queue-state {
    background: rgba(143, 57, 232, 0.14);
    color: #5d1db0;
}

.tool-queue-card[data-state="error"] .tool-queue-state {
    background: rgba(220, 53, 69, 0.12);
    color: #991b1b;
}

.tool-ad-slot {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.3rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px dashed rgba(117, 209, 209, 0.22);
    background: rgba(117, 209, 209, 0.06);
    color: #dff5f5;
}

.tool-ad-slot--content,
.tool-ad-slot--sidebar {
    color: #315353;
    background: rgba(223, 245, 245, 0.72);
}

.tool-ad-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f39e8;
}

.tool-ad-slot--content .tool-ad-label,
.tool-ad-slot--sidebar .tool-ad-label {
    color: #6b1fc3;
}

.tool-side-panel {
    padding: 1.35rem;
    height: 100%;
}

.tool-coming-soon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 39, 39, 0.06);
}

.tool-side-block+.tool-side-block {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(23, 39, 39, 0.08);
}

.tool-side-title {
    margin: 0 0 0.85rem;
    color: #111c1c;
    font-size: 1rem;
    font-weight: 700;
}

.tool-side-copy {
    color: #315353;
    line-height: 1.75;
}

.tool-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tool-checklist li {
    position: relative;
    padding-left: 1.6rem;
    color: #315353;
    line-height: 1.7;
}

.tool-checklist li+li {
    margin-top: 0.7rem;
}

.tool-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #75d1d1;
    box-shadow: 0 0 0 4px rgba(117, 209, 209, 0.14);
}

.tool-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.tool-mini-card {
    padding: 0.9rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(223, 245, 245, 0.7), rgba(243, 249, 249, 0.96));
    border: 1px solid rgba(117, 209, 209, 0.14);
}

.tool-mini-label {
    display: block;
    color: #4a8181;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tool-mini-value {
    display: block;
    margin-top: 0.35rem;
    color: #111c1c;
    font-size: 1rem;
    font-weight: 700;
}

.tool-related-links {
    margin-top: 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(23, 39, 39, 0.06);
    background: rgba(248, 252, 252, 0.9);
    overflow: hidden;
}

.tool-related-grid,
.tool-catalog-grid {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
}

.tool-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-related-card,
.tool-catalog-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(23, 39, 39, 0.06);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(9, 15, 15, 0.05);
}

.tool-related-card:hover,
.tool-catalog-card:hover {
    color: inherit;
}

.tool-related-type {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(143, 57, 232, 0.10);
    color: #5d1db0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tool-related-title {
    color: #111c1c;
    font-size: 1rem;
    line-height: 1.4;
}

.tool-related-copy {
    color: #5b6170;
    line-height: 1.65;
    font-size: 0.94rem;
}

.tool-related-foot {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: #5d1db0;
    font-size: 0.85rem;
    font-weight: 700;
}

.tool-catalog-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #4a8181;
    font-size: 0.82rem;
    font-weight: 700;
}

.tool-library-page .tool-stage {
    padding-top: 0;
}

.tool-stage--library .tool-stage-hero {
    min-height: 440px;
}

.tool-library-stage-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    gap: 1.25rem;
    align-items: end;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 2rem 0 2.35rem;
}

.tool-library-stage-copy {
    padding: 1.6rem 1.75rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(76, 35, 125, 0.76), rgba(53, 22, 93, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 50px rgba(29, 8, 55, 0.22);
}

.tool-library-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    max-width: 10ch;
}

.tool-library-copy {
    margin: 0.95rem 0 0;
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.tool-library-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.tool-library-jump-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.tool-library-jump-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.tool-library-stage-stats {
    display: grid;
    gap: 0.9rem;
}

.tool-library-stat {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 30px rgba(29, 8, 55, 0.12);
}

.tool-library-stat span {
    display: block;
    color: #6d6681;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tool-library-stat strong {
    display: block;
    margin-top: 0.4rem;
    color: #241b35;
    font-size: 1.05rem;
    line-height: 1.5;
}

.tool-content-band--library {
    padding-top: 1.1rem;
}

.tool-library-stack {
    display: grid;
    gap: 1.25rem;
}

.tool-library-section {
    border-radius: 26px;
}

.tool-content-card__header--library {
    align-items: center;
}

.tool-library-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #f1e8ff;
    color: #5d1db0;
    font-size: 0.8rem;
    font-weight: 700;
}

.tool-library-section-copy {
    margin: 0 0 1rem;
    color: #5b6170;
    line-height: 1.75;
}

.tool-catalog-grid--library {
    padding: 0;
    gap: 0.9rem;
}

.tool-catalog-card--library {
    padding: 1.05rem;
    border-radius: 20px;
    box-shadow: none;
    background: #fbf9ff;
    border-color: rgba(111, 63, 187, 0.08);
}

.tool-catalog-card--library:hover {
    transform: translateY(-1px);
    border-color: rgba(111, 63, 187, 0.18);
}

.tool-side-card--minimal {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(111, 63, 187, 0.08);
}

.tool-side-card--minimal h3 {
    color: #2f3442;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.tool-side-link-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.tool-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    background: #f8f4ff;
    color: #34264f;
    font-weight: 700;
    text-decoration: none;
}

.tool-side-link i {
    color: #6e3cc2;
    font-size: 0.82rem;
}

.tool-side-link small {
    color: #7a7190;
    font-size: 0.76rem;
    font-weight: 700;
}

.tool-side-link:hover {
    color: #34264f;
    background: #f1e8ff;
}

.tool-side-search {
    position: relative;
}

.tool-side-search i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6e6880;
    font-size: 0.86rem;
}

.tool-side-search input {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.95rem 0.75rem 2.45rem;
    border: 1px solid rgba(111, 63, 187, 0.08);
    border-radius: 14px;
    background: #f8f4ff;
    color: #2f3442;
    font-weight: 600;
    outline: 0;
}

.tool-side-search input:focus {
    border-color: rgba(111, 63, 187, 0.18);
    box-shadow: 0 0 0 4px rgba(143, 57, 232, 0.06);
}

.tool-empty-search-state {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: #f8f4ff;
    color: #5d1db0;
    font-weight: 700;
    text-align: center;
}

.tool-ad-rail--lower {
    margin-top: 1.25rem;
}

.tool-route-switch {
    margin-top: 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(23, 39, 39, 0.06);
    background: rgba(248, 252, 252, 0.9);
    overflow: hidden;
}

.tool-switch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 1.1rem;
}

.tool-switch-grid--inline {
    padding: 0;
}

.tool-switch-grid--stacked {
    padding: 1rem 0 0;
}

.tool-switch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #f4ecff;
    color: #5d1db0;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .tool-page .tool-shell::before {
        height: 360px;
    }

    .tool-hero,
    .tool-panel-body,
    .tool-side-panel {
        padding: 1.25rem;
    }

    .tool-dropzone {
        min-height: 260px;
    }

    .tool-related-grid,
    .tool-catalog-grid {
        grid-template-columns: 1fr;
    }

    .tool-library-stage-card {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding-bottom: 1.8rem;
    }

    .tool-scene-grid {
        grid-template-columns: 1fr;
    }

    .tool-seo-grid {
        grid-template-columns: 1fr;
    }

    .tool-ad-card--sidebar,
    .tool-ad-card--links {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .tool-page main.tool-shell {
        padding-top: 1.5rem;
    }

    .tool-hero {
        border-radius: 22px;
    }

    .tool-stage--library .tool-stage-hero {
        min-height: 420px;
    }

    .tool-library-stage-card {
        width: min(100%, calc(100% - 24px));
        padding-top: 1.2rem;
    }

    .tool-library-stage-copy {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .tool-library-title {
        max-width: none;
        font-size: 2rem;
    }

    .tool-headline {
        max-width: none;
    }

    .tool-stat-grid,
    .tool-mini-grid {
        grid-template-columns: 1fr;
    }

    .tool-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tool-button {
        width: 100%;
    }

    .tool-coming-soon {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-batch-bar,
    .tool-batch-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tool-queue-head {
        flex-direction: column;
    }

    .tool-queue-media {
        width: 100%;
    }

    .tool-queue-inline-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .tool-queue-meta {
        align-items: flex-start;
    }

    .tool-queue-settings {
        grid-template-columns: 1fr;
    }

    .tool-utility-form {
        grid-template-columns: 1fr;
    }

    .tool-drop-actions,
    .tool-queue-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tool-chip-button,
    .tool-switch-pill {
        width: 100%;
    }
}

.home-tools-page .tool-stage-bg {
    min-height: 500px;
    max-height: 500px;
}

.home-tools-hero {
    min-height: 500px;
    max-height: 500px;
}

.home-tools-hero .tool-stage-hero {
    padding: 0.6rem 2rem 0;
}

.home-tools-stage-card {
    position: relative;
    z-index: 3;
    width: min(100%, 980px);
    margin: 3rem auto 0;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(59, 28, 91, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 46px rgba(37, 20, 54, 0.16);
}

.home-tools-hero-grid {
    gap: 1.2rem;
    align-items: end;
}

.home-tools-hero-main {
    min-width: 0;
}

.home-tools-hero-side {
    display: grid;
    gap: 0.9rem;
}

.home-tools-title {
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.98;
}

.home-tools-copy {
    max-width: 54ch;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    line-height: 1.8;
}

.home-tools-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.4rem;
    max-width: 100%;
    justify-content: end;
}

.home-tools-stat {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-tools-stat span {
    display: block;
    color: #e9d7ff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-tools-stat strong {
    display: block;
    margin-top: 0.4rem;
    color: #fff;
    font-size: 1.02rem;
}

.home-tools-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
    max-width: 760px;
}

.home-tools-spotlight {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-tools-spotlight--soft {
    background: rgba(255, 255, 255, 0.08);
}

.home-tools-spotlight-label {
    display: block;
    color: #e9d7ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-tools-spotlight-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.home-tools-spotlight-list span {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
}

.home-tools-band {
    padding-top: 2.75rem;
    padding-bottom: 4rem;
}

.home-tools-directory {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 1.8rem;
}

.home-tools-popular {
    margin-bottom: 2.6rem;
}

.home-tools-intro {
    max-width: 780px;
}

.home-tools-intro h2 {
    margin: 0.55rem 0 0;
    color: #2f3442;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
}

.home-tools-intro p {
    margin: 1rem 0 0;
    color: #5b6170;
    line-height: 1.8;
}

.home-tools-section+.home-tools-section {
    margin-top: 2.4rem;
}

.home-tools-section {
    position: relative;
}

.home-tools-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-tools-directory-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(93, 29, 176, 0.08);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(53, 35, 83, 0.06);
}

.home-tools-directory-card:hover {
    color: inherit;
}

.home-tools-directory-label {
    color: #5d1db0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-tools-directory-card strong {
    color: #2f3442;
    font-size: 1.02rem;
}

.home-tools-directory-card small {
    color: #7a7190;
    font-size: 0.8rem;
    font-weight: 700;
}

.home-tools-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-tools-section-head h2,
.home-tools-section-head h3 {
    margin: 0.45rem 0 0;
    color: #2f3442;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.home-tools-section-count {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(143, 57, 232, 0.08);
    color: #5d1db0;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-tools-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 100%;
    padding: 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(93, 29, 176, 0.08);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(53, 35, 83, 0.07);
}

.home-tools-card:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: rgba(143, 57, 232, 0.22);
}

.home-tools-card-type {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(143, 57, 232, 0.10);
    color: #5d1db0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-tools-card-title {
    color: #2f3442;
    font-size: 1.08rem;
    line-height: 1.4;
}

.home-tools-card-copy {
    color: #5b6170;
    line-height: 1.7;
    font-size: 0.94rem;
}

.home-tools-card-foot {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: #5d1db0;
    font-size: 0.86rem;
    font-weight: 700;
}

.home-tools-seo {
    margin-top: 1.8rem;
}

.home-tools-benefit-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr 0.9fr;
    gap: 1rem;
}

.home-tools-benefit-card {
    min-height: 100%;
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #f7f1ff 100%);
    border: 1px solid rgba(93, 29, 176, 0.09);
    box-shadow: 0 22px 42px rgba(53, 35, 83, 0.07);
}

.home-tools-benefit-card:nth-child(even) {
    transform: translateY(1.2rem);
}

.home-tools-benefit-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #8f39e8, #4b12a1);
    box-shadow: 0 14px 28px rgba(93, 29, 176, 0.22);
}

.home-tools-benefit-card h3 {
    margin: 1rem 0 0;
    color: #2f3442;
    font-size: 1.08rem;
}

.home-tools-benefit-card p {
    margin: 0.7rem 0 0;
    color: #5b6170;
    line-height: 1.75;
}

.home-tools-guide-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 1.1rem;
    padding: 1.25rem;
    border-radius: 30px;
    background: #2f2348;
    box-shadow: 0 26px 54px rgba(53, 35, 83, 0.16);
}

.home-tools-guide-copy {
    padding: 1rem;
    align-self: center;
}

.home-tools-guide-copy h2 {
    margin: 0.55rem 0 0;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
}

.home-tools-guide-copy p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
}

.home-tools-format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-tools-format-card {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-tools-format-card strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.home-tools-format-card span {
    display: block;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
}

.home-tools-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-tools-faq-card {
    padding: 1.25rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(93, 29, 176, 0.08);
    box-shadow: 0 18px 34px rgba(53, 35, 83, 0.06);
}

.home-tools-faq-card h3 {
    margin: 0;
    color: #2f3442;
    font-size: 1.05rem;
}

.home-tools-faq-card p {
    margin: 0.75rem 0 0;
    color: #5b6170;
    line-height: 1.75;
}

.home-tools-accordion {
    display: grid;
    gap: 0.8rem;
}

.home-tools-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(93, 29, 176, 0.10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(53, 35, 83, 0.06);
}

.home-tools-accordion .accordion-button {
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: #2f3442;
    background: #fff;
    font-weight: 800;
    line-height: 1.45;
    box-shadow: none;
}

.home-tools-accordion .accordion-button:not(.collapsed) {
    color: #5d1db0;
    background: linear-gradient(135deg, #fff 0%, #f8f1ff 100%);
}

.home-tools-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(143, 57, 232, 0.12);
}

.home-tools-accordion .accordion-body {
    padding: 0 1.25rem 1.2rem;
    color: #5b6170;
    line-height: 1.8;
}

.home-tools-accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

.home-tools-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(135deg, #8f39e8 0%, #4b12a1 100%);
    color: #fff;
    box-shadow: 0 26px 54px rgba(93, 29, 176, 0.24);
}

.home-tools-cta .tool-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.home-tools-cta h2 {
    margin: 0.65rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.home-tools-cta p {
    max-width: 66ch;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

@media (max-width: 991.98px) {

    .home-tools-hero-grid,
    .home-tools-directory,
    .home-tools-guide-card {
        grid-template-columns: 1fr;
    }

    .home-tools-stats,
    .home-tools-directory-grid,
    .home-tools-grid,
    .home-tools-benefit-grid,
    .home-tools-faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-tools-benefit-card:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .home-tools-stage-card {
        min-height: auto;
        padding: 1.35rem;
    }

    .home-tools-stats,
    .home-tools-directory-grid,
    .home-tools-grid,
    .home-tools-benefit-grid,
    .home-tools-format-grid,
    .home-tools-faq-grid {
        grid-template-columns: 1fr;
    }

    .home-tools-section-head,
    .home-tools-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
