 /* ============================================================
           CHECK IMAGE DIMENSION — Scoped Styles
           ============================================================ */

 /* Tags */
 .features__tags {
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     gap: 8px;
     margin-top: 16px;
 }

 .features__tags .tags {
     display: flex;
     align-items: center;
     gap: 6px;
     padding: 6px 14px;
     border-radius: 15px;
     background-color: #e3e3f8;
     font-size: 11px;
     color: var(--primary-color);
     font-weight: 600;
 }

 [data-theme="dark"] .features__tags .tags {
     background-color: #1e1e3a;
 }

 /* ── Wrapper ───────────────────────────────────────── */
 .dim__wrap {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 14px;
     margin-top: 28px;
     padding: 0 16px 40px;
 }

 /* ── Upload Card ───────────────────────────────────── */
 .dim__upload__card {
     width: 100%;
     max-width: 860px;
     background: var(--header-bg);
     box-shadow: var(--box-shadow);
     border-radius: 24px;
     overflow: hidden;
 }

 /* .dim__dropzone {
     margin: 14px;
     padding: 44px 20px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 12px;
     border: 2.5px dashed var(--border);
     border-radius: 18px;
     cursor: pointer;
     transition: border-color .25s, background .25s;
     position: relative;
     text-align: center;
 } */




.dim__dropzone {
    margin: 14px;
    padding: 44px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 2.5px dashed var(--border);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color .25s, background .25s, padding .35s cubic-bezier(.22,1,.36,1), gap .35s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.dim__drop__icon {
    transition: width .35s ease, height .35s ease, font-size .35s ease, margin .35s ease;
}

.dim__dropzone h3 {
    transition: font-size .3s ease;
}

.dim__dropzone p,
.dim__browse__pill,
.dim__formats {
    transition: max-height .3s ease, opacity .25s ease, margin .3s ease, padding .3s ease;
    overflow: hidden;
}

/* ── Compact state after upload ── */
.dim__upload__card.compact .dim__dropzone {
    padding: 14px 20px;
    gap: 6px;
}

.dim__upload__card.compact .dim__drop__icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
}

.dim__upload__card.compact .dim__dropzone h3 {
    font-size: 12px;
}

.dim__upload__card.compact .dim__dropzone p,
.dim__upload__card.compact .dim__browse__pill {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.dim__upload__card.compact .dim__formats {
    max-height: 0;
    opacity: 0;
    padding: 0;
}






 .dim__dropzone:hover,
 .dim__dropzone.drag-over {
     border-color: var(--primary-color);
     background: #f3f3ff;
 }

 [data-theme="dark"] .dim__dropzone:hover,
 [data-theme="dark"] .dim__dropzone.drag-over {
     background: #1a1a30;
 }

 .dim__dropzone input[type="file"] {
     position: absolute;
     inset: 0;
     opacity: 0;
     cursor: pointer;
     width: 100%;
     height: 100%;
 }

 .dim__drop__icon {
     width: 62px;
     height: 62px;
     border-radius: 16px;
     background: linear-gradient(135deg, #eef0ff, #e3e3f8);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--primary-color);
     font-size: 27px;
 }

 [data-theme="dark"] .dim__drop__icon {
     background: linear-gradient(135deg, #1e1e3a, #252547);
 }

 .dim__dropzone h3 {
     font-size: 15px;
     font-weight: 600;
     color: var(--primary-text);
 }

 .dim__dropzone p {
     font-size: 12px;
     color: var(--gray-text);
 }

 .dim__browse__pill {
     pointer-events: none;
     padding: 8px 22px;
     border-radius: 10px;
     background: var(--primary-color);
     color: #fff;
     font-size: 12px;
     font-weight: 600;
     display: inline-flex;
     align-items: center;
     gap: 6px;
     box-shadow: 0 8px 20px -6px #6366f1bb;
 }

 .dim__formats {
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     gap: 6px;
     padding: 10px 20px 16px;
 }

 .dim__formats span {
     font-size: 11px;
     color: var(--gray-text);
     font-weight: 500;
 }

 .fmt__badge {
     padding: 3px 8px;
     border-radius: 6px;
     background: var(--section-bg);
     border: 1px solid var(--border);
     font-size: 10px;
     font-weight: 700;
     color: var(--gray-text);
     text-transform: uppercase;
     letter-spacing: .04em;
 }

 /* ── Files bar ─────────────────────────────────────── */
 .dim__files__bar {
     display: none;
     width: 100%;
     max-width: 860px;
     background: var(--header-bg);
     box-shadow: var(--box-shadow);
     border-radius: 14px;
     padding: 10px 16px;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
     flex-wrap: wrap;
 }

 .dim__files__bar.visible {
     display: flex;
 }

 .dim__files__count {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 13px;
     font-weight: 600;
     color: var(--primary-text);
 }

 .dim__count__badge {
     padding: 2px 10px;
     border-radius: 20px;
     background: #e3e3f8;
     color: var(--primary-color);
     font-size: 11px;
     font-weight: 700;
 }

 [data-theme="dark"] .dim__count__badge {
     background: #1e1e3a;
 }

 .dim__bar__btns {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .dim__pill__btn {
     position: relative;
     padding: 7px 14px;
     border-radius: 10px;
     border: 1.5px solid var(--border);
     background: transparent;
     font-size: 12px;
     font-weight: 600;
     color: var(--primary-text);
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 6px;
     transition: border-color .2s, color .2s;
     overflow: hidden;
 }

 .dim__pill__btn:hover {
     border-color: var(--primary-color);
     color: var(--primary-color);
 }

 .dim__pill__btn input[type="file"] {
     position: absolute;
     inset: 0;
     opacity: 0;
     cursor: pointer;
 }

 /* ── Results wrap ──────────────────────────────────── */
 #dim__results__wrap {
     display: none;
     width: 100%;
     max-width: 860px;
     flex-direction: column;
     gap: 12px;
 }

 #dim__results__wrap.visible {
     display: flex;
 }

 /* Results header */
 .dim__res__header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 10px;
 }

 .dim__res__title {
     font-size: 14px;
     font-weight: 700;
     color: var(--primary-text);
     text-transform: capitalize;
 }

 .dim__res__title span {
     color: var(--primary-color);
 }

 /* View toggle */
 .dim__view__toggle {
     display: flex;
     border: 1.5px solid var(--border);
     border-radius: 10px;
     overflow: hidden;
 }

 .dim__view__btn {
     padding: 6px 12px;
     background: transparent;
     border: none;
     cursor: pointer;
     color: var(--gray-text);
     font-size: 14px;
     transition: background .2s, color .2s;
 }

 .dim__view__btn.active {
     background: var(--primary-color);
     color: #fff;
 }

 /* ── Grid ──────────────────────────────────────────── */
 .dim__grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
     gap: 14px;
 }

 .dim__card {
     background: var(--header-bg);
     border-radius: 18px;
     overflow: hidden;
     box-shadow: var(--card-shadow);
     border: 1px solid var(--border);
     transition: transform .25s, box-shadow .25s;
     animation: dim-pop .35s cubic-bezier(.22, 1, .36, 1) both;
 }

 .dim__card:hover {
     transform: translateY(-4px);
     box-shadow: 0 20px 40px -10px rgba(99, 102, 241, .2);
 }

 @keyframes dim-pop {
     from {
         opacity: 0;
         transform: scale(.93) translateY(10px);
     }

     to {
         opacity: 1;
         transform: scale(1) translateY(0);
     }
 }

 .dim__card__preview {
     aspect-ratio: 16/10;
     background: var(--section-bg);
     position: relative;
     overflow: hidden;
 }

 .dim__card__preview img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     padding: 8px;
 }

 .dim__overlay__badge {
     position: absolute;
     bottom: 8px;
     left: 8px;
     background: rgba(0, 0, 0, .6);
     backdrop-filter: blur(6px);
     color: #fff;
     font-size: 10px;
     font-weight: 700;
     padding: 3px 9px;
     border-radius: 6px;
     letter-spacing: .03em;
 }

 .dim__orient__badge {
     position: absolute;
     top: 8px;
     right: 8px;
     padding: 3px 9px;
     border-radius: 6px;
     font-size: 10px;
     font-weight: 700;
     letter-spacing: .04em;
 }

 .dim__orient__badge.landscape {
     background: #dbeafe;
     color: #1d4ed8;
 }

 .dim__orient__badge.portrait {
     background: #fce7f3;
     color: #be185d;
 }

 .dim__orient__badge.square {
     background: #d1fae5;
     color: #065f46;
 }

 [data-theme="dark"] .dim__orient__badge.landscape {
     background: #1e2d4a;
     color: #60a5fa;
 }

 [data-theme="dark"] .dim__orient__badge.portrait {
     background: #3a1528;
     color: #f472b6;
 }

 [data-theme="dark"] .dim__orient__badge.square {
     background: #0d2e22;
     color: #34d399;
 }

 .dim__card__body {
     padding: 12px 14px;
 }

 .dim__card__fname {
     font-size: 12px;
     font-weight: 600;
     color: var(--primary-text);
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     margin-bottom: 10px;
 }

 .dim__stats__row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 8px;
 }

 .dim__stat {
     background: var(--section-bg);
     border-radius: 10px;
     padding: 8px 10px;
 }

 .dim__stat__label {
     font-size: 10px;
     color: var(--gray-text);
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: .04em;
     margin-bottom: 2px;
 }

 .dim__stat__val {
     font-size: 13px;
     font-weight: 700;
     color: var(--primary-text);
 }

 .dim__ratio__bar {
     margin-top: 10px;
     background: var(--section-bg);
     border-radius: 10px;
     padding: 8px 10px;
 }

 .dim__ratio__track {
     height: 5px;
     background: var(--border);
     border-radius: 20px;
     margin-top: 5px;
     overflow: hidden;
 }

 .dim__ratio__fill {
     height: 100%;
     background: var(--liearcolor);
     border-radius: 20px;
     transition: width .6s cubic-bezier(.22, 1, .36, 1);
 }

 .dim__ratio__legend {
     display: flex;
     justify-content: space-between;
     font-size: 10px;
     color: var(--gray-text);
     margin-top: 4px;
 }

 .dim__card__footer {
     padding: 8px 14px 12px;
     display: flex;
     gap: 8px;
 }

 .dim__copy__btn {
     flex: 1;
     padding: 7px 0;
     border-radius: 10px;
     border: 1.5px solid var(--border);
     background: transparent;
     font-size: 11px;
     font-weight: 600;
     color: var(--primary-text);
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 5px;
     transition: all .2s;
 }

 .dim__copy__btn:hover {
     border-color: var(--primary-color);
     color: var(--primary-color);
     background: #f0f0ff;
 }

 [data-theme="dark"] .dim__copy__btn:hover {
     background: #1a1a30;
 }

 .dim__copy__btn.copied {
     border-color: #22c55e;
     color: #22c55e;
     background: #f0fdf4;
 }

 /* ── List view ─────────────────────────────────────── */
 .dim__list {
     background: var(--header-bg);
     border-radius: 18px;
     border: 1px solid var(--border);
     overflow: hidden;
     box-shadow: var(--card-shadow);
     display: none;
 }

 .dim__list.active {
     display: block;
 }

 .dim__list__header,
 .dim__list__row {
     display: grid;
     grid-template-columns: 44px 1fr 110px 76px 74px 94px 70px;
     gap: 10px;
     padding: 9px 14px;
     align-items: center;
 }

 .dim__list__header {
     background: var(--section-bg);
     border-bottom: 1px solid var(--border);
 }

 .dim__list__header span {
     font-size: 10px;
     font-weight: 700;
     color: var(--gray-text);
     text-transform: uppercase;
     letter-spacing: .05em;
 }

 .dim__list__row {
     border-bottom: 1px solid var(--border);
     transition: background .15s;
     animation: dim-pop .3s ease both;
 }

 .dim__list__row:last-child {
     border-bottom: none;
 }

 .dim__list__row:hover {
     background: var(--cardhover);
 }

 .dim__list__thumb {
     width: 38px;
     height: 28px;
     object-fit: contain;
     border-radius: 5px;
     background: var(--section-bg);
     padding: 2px;
 }

 .dim__list__name {
     font-size: 12px;
     font-weight: 600;
     color: var(--primary-text);
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .dim__list__cell {
     font-size: 12px;
     font-weight: 600;
     color: var(--primary-text);
 }

 .dim__list__orient {
     font-size: 10px;
     font-weight: 700;
     padding: 3px 8px;
     border-radius: 6px;
     display: inline-flex;
     position: static;
     width: fit-content;
     /* override card absolute */
 }

 .dim__list__copy {
     padding: 5px 10px;
     border-radius: 8px;
     border: 1.5px solid var(--border);
     background: transparent;
     font-size: 11px;
     font-weight: 600;
     color: var(--primary-text);
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 4px;
     transition: all .2s;
     white-space: nowrap;
 }

 .dim__list__copy:hover {
     border-color: var(--primary-color);
     color: var(--primary-color);
 }

 /* ── Action bar ────────────────────────────────────── */
 .dim__action__bar {
     background: var(--header-bg);
     border-radius: 14px;
     padding: 11px 16px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 10px;
     box-shadow: var(--card-shadow);
     border: 1px solid var(--border);
 }

 .dim__summary {
     font-size: 12px;
     color: var(--gray-text);
     font-weight: 500;
 }

 .dim__summary strong {
     color: var(--primary-text);
 }

 .dim__export__row {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 /* ── Features section ──────────────────────────────── */
 .dim__feat__section {
     margin-top: 36px;
     padding: 0 16px 44px;
     display: flex;
     justify-content: center;
 }

 .dim__feat__inner {
     width: 100%;
     max-width: 860px;
 }

 .dim__feat__label {
     font-size: 11px;
     font-weight: 700;
     color: var(--gray-text);
     text-transform: uppercase;
     letter-spacing: .07em;
     margin-bottom: 14px;
 }

 .dim__feat__grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 12px;
 }

 .dim__feat__item {
     display: flex;
     align-items: flex-start;
     gap: 12px;
     padding: 14px;
     background: var(--header-bg);
     border-radius: 14px;
     border: 1px solid var(--border);
 }

 .dim__feat__icon {
     width: 38px;
     height: 38px;
     border-radius: 10px;
     background: #eef0ff;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--primary-color);
     font-size: 17px;
     flex-shrink: 0;
 }

 [data-theme="dark"] .dim__feat__icon {
     background: #1e1e3a;
 }

 .dim__feat__item span {
     font-size: 12px;
     font-weight: 600;
     color: var(--primary-text);
     display: block;
 }

 .dim__feat__item p {
     font-size: 11px;
     color: var(--gray-text);
     margin-top: 3px;
     line-height: 1.45;
 }

 /* ── Unit Selector ─────────────────────────────────── */
 .dim__unit__selector {
     display: flex;
     border: 1.5px solid var(--border);
     border-radius: 10px;
     overflow: hidden;
 }

 .dim__unit__btn {
     padding: 5px 11px;
     background: transparent;
     border: none;
     border-right: 1.5px solid var(--border);
     cursor: pointer;
     color: var(--gray-text);
     font-size: 11px;
     font-weight: 700;
     transition: background .2s, color .2s;
     letter-spacing: .02em;
 }

 .dim__unit__btn:last-child {
     border-right: none;
 }

 .dim__unit__btn.active {
     background: var(--primary-color);
     color: #fff;
 }

 .dim__unit__btn:not(.active):hover {
     background: var(--section-bg);
     color: var(--primary-text);
 }

 /* ── Toast ─────────────────────────────────────────── */
 #dim__toast {
     position: fixed;
     bottom: 26px;
     left: 50%;
     transform: translateX(-50%) translateY(16px);
     background: #1e293b;
     color: #fff;
     padding: 9px 18px;
     border-radius: 12px;
     font-size: 13px;
     font-weight: 600;
     opacity: 0;
     pointer-events: none;
     transition: all .28s cubic-bezier(.22, 1, .36, 1);
     z-index: 99999;
     display: flex;
     align-items: center;
     gap: 8px;
     white-space: nowrap;
 }

 #dim__toast.show {
     opacity: 1;
     transform: translateX(-50%) translateY(0);
 }

 /* ── Responsive ────────────────────────────────────── */
 @media (max-width: 860px) {

     .dim__list__header,
     .dim__list__row {
         grid-template-columns: 40px 1fr 100px 70px 80px;
     }

     .dim__list__header span:nth-child(4),
     .dim__list__row>*:nth-child(4),
     .dim__list__header span:nth-child(7),
     .dim__list__row>*:nth-child(7) {
         display: none;
     }
 }

 @media (max-width: 600px) {
     .dim__dropzone {
         padding: 32px 16px;
     }

     .dim__grid {
         grid-template-columns: 1fr;
     }

     .dim__feat__grid {
         grid-template-columns: 1fr 1fr;
     }

     .dim__list__header,
     .dim__list__row {
         grid-template-columns: 36px 1fr 90px 70px;
     }

     .dim__list__header span:nth-child(5),
     .dim__list__row>*:nth-child(5) {
         display: none;
     }
 }

 @media (max-width: 380px) {
     .dim__feat__grid {
         grid-template-columns: 1fr;
     }

     .dim__list__header,
     .dim__list__row {
         grid-template-columns: 32px 1fr 80px;
     }

     .dim__list__header span:nth-child(4),
     .dim__list__row>*:nth-child(4) {
         display: none;
     }
 }



 /* ── How to use section ─────────────────────────────── */
.dim__how__section {
    margin-top: 30px;
    background-color: var(--section-bg);
    padding: 30px 16px 46px;
    display: flex;
    justify-content: center;
}

.dim__how__inner {
    width: 100%;
    max-width: 980px;
}

.dim__how__head {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 22px;
}

.dim__how__eyebrow {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

[data-theme="dark"] .dim__how__eyebrow {
    background: #1e1e3a;
}

.dim__how__head h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.dim__how__head p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.7;
}

.dim__how__layout {
    display: grid;
    grid-template-columns: 1.4fr .75fr;
    gap: 14px;
    align-items: stretch;
}

.dim__how__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dim__how__step,
.dim__how__side {
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    border-radius: 18px;
}

.dim__how__step {
    position: relative;
    overflow: hidden;
    padding: 18px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dim__how__step:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 101, 241, .45);
    box-shadow: 0 18px 38px -24px rgba(99, 101, 241, .65);
}

.dim__how__num {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 28px;
    font-weight: 900;
    color: rgba(99, 101, 241, .10);
}

.dim__how__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef0ff, #e3e3f8);
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 14px;
}

[data-theme="dark"] .dim__how__icon {
    background: linear-gradient(135deg, #1e1e3a, #252547);
}

.dim__how__step h3,
.dim__how__side h3 {
    color: var(--primary-text);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
}

.dim__how__step p,
.dim__how__side p {
    color: var(--gray-text);
    font-size: 12px;
    line-height: 1.6;
}

.dim__how__side {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(99, 101, 241, .13), transparent 34%),
        var(--header-bg);
}

.dim__how__side__badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f3f3ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 13px;
}

[data-theme="dark"] .dim__how__side__badge {
    background: #1e1e3a;
}

.dim__how__mini {
    display: grid;
    gap: 9px;
    margin: 16px 0 18px;
}

.dim__how__mini span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 600;
}

.dim__how__mini i {
    color: var(--primary-color);
}

.dim__how__actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.dim__how__ghost {
    border: 1px solid var(--border);
    background: var(--section-bg);
    color: var(--primary-text);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dim__how__ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 860px) {
    .dim__how__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .dim__how__steps {
        grid-template-columns: 1fr;
    }

    .dim__how__side {
        padding: 17px;
    }

    .dim__how__actions .global_btn,
    .dim__how__ghost {
        width: 100%;
    }
}


/* ── Premium Features Section ───────────────────────── */
.dim__features__pro {
    padding: 30px 16px 54px;
    display: flex;
    justify-content: center;
}

.dim__features__inner {
    width: 100%;
    max-width: 980px;
}

.dim__features__top {
    max-width: 660px;
    margin: 0 auto 24px;
    text-align: center;
}

.dim__features__label {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

[data-theme="dark"] .dim__features__label {
    background: #1e1e3a;
}

.dim__features__top h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.dim__features__top p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.7;
}

.dim__features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dim__feature__card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 18px;
    border-radius: 18px;
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dim__feature__card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(99, 101, 241, .10);
    pointer-events: none;
}

.dim__feature__card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 101, 241, .45);
    box-shadow: 0 22px 42px -28px rgba(99, 101, 241, .75);
}

.dim__feature__large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    min-height: 220px;
    background:
        radial-gradient(circle at top right, rgba(99, 101, 241, .16), transparent 38%),
        var(--header-bg);
}

.dim__feature__accent {
    background:
        linear-gradient(135deg, rgba(99, 101, 241, .12), transparent 55%),
        var(--header-bg);
}

.dim__feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef0ff, #e3e3f8);
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

[data-theme="dark"] .dim__feature__icon {
    background: linear-gradient(135deg, #1e1e3a, #252547);
}

.dim__feature__card h3 {
    color: var(--primary-text);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
}

.dim__feature__card p {
    color: var(--gray-text);
    font-size: 12px;
    line-height: 1.6;
}

.dim__feature__preview {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 14px;
    border-radius: 14px;
    background: var(--section-bg);
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dim__feature__preview span {
    color: var(--primary-text);
    font-size: 18px;
    font-weight: 800;
}

.dim__feature__preview strong {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
}

@media (max-width: 860px) {
    .dim__features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dim__feature__large {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .dim__features__grid {
        grid-template-columns: 1fr;
    }

    .dim__feature__large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .dim__feature__preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .dim__feature__preview span {
        font-size: 16px;
    }
}


/* ── Content Section ───────────────────────────── */
.dim__content__section {
    background-color: var(--section-bg);
    padding: 30px 16px 56px;
    display: flex;
    justify-content: center;
}

.dim__content__inner {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 16px;
    align-items: center;
}

.dim__content__left,
.dim__content__panel {
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
}

.dim__content__left {
    padding: 26px;
}

.dim__content__tag {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 13px;
}

[data-theme="dark"] .dim__content__tag {
    background: #1e1e3a;
}

.dim__content__left h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.dim__content__left p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 10px;
}

.dim__content__points {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dim__content__points div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 12px;
    background: var(--section-bg);
    border: 1px solid var(--border);
}

.dim__content__points i {
    color: var(--primary-color);
    font-size: 17px;
    margin-top: 1px;
}

.dim__content__points span {
    color: var(--primary-text);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 600;
}

.dim__content__panel {
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(99, 101, 241, .14), transparent 36%),
        var(--header-bg);
}

.dim__content__panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dim__content__panel__top span {
    color: var(--primary-text);
    font-size: 15px;
    font-weight: 800;
}

.dim__content__panel__top i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef0ff, #e3e3f8);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

[data-theme="dark"] .dim__content__panel__top i {
    background: linear-gradient(135deg, #1e1e3a, #252547);
}

.dim__size__list {
    display: grid;
    gap: 10px;
}

.dim__size__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: var(--section-bg);
    border: 1px solid var(--border);
    transition: transform .22s ease, border-color .22s ease;
}

.dim__size__item:hover {
    transform: translateX(4px);
    border-color: rgba(99, 101, 241, .45);
}

.dim__size__item strong {
    display: block;
    color: var(--primary-text);
    font-size: 13px;
    margin-bottom: 3px;
}

.dim__size__item span {
    color: var(--gray-text);
    font-size: 11px;
}

.dim__size__item b {
    white-space: nowrap;
    color: var(--primary-color);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef0ff;
}

[data-theme="dark"] .dim__size__item b {
    background: #1e1e3a;
}

@media (max-width: 860px) {
    .dim__content__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .dim__content__left,
    .dim__content__panel {
        padding: 17px;
    }

    .dim__size__item {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* ── Example Section ───────────────────────────── */
.dim__example__section {
    padding: 30px 16px 56px;
    display: flex;
    justify-content: center;
}

.dim__example__inner {
    width: 100%;
    max-width: 980px;
}

.dim__example__head {
    max-width: 650px;
    margin: 0 auto 24px;
    text-align: center;
}

.dim__example__tag {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

[data-theme="dark"] .dim__example__tag {
    background: #1e1e3a;
}

.dim__example__head h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.dim__example__head p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.7;
}

.dim__example__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dim__example__card {
    overflow: hidden;
    border-radius: 18px;
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dim__example__card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 101, 241, .45);
    box-shadow: 0 22px 42px -28px rgba(99, 101, 241, .75);
}

.dim__example__visual {
    min-height: 132px;
    margin: 14px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(99, 101, 241, .18), rgba(111, 46, 251, .08)),
        var(--section-bg);
    border: 1px dashed rgba(99, 101, 241, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dim__example__visual::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 10px;
    border: 1px solid rgba(99, 101, 241, .18);
}

.dim__example__visual span {
    position: relative;
    z-index: 1;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--header-bg);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--box-shadow);
}

.dim__example__visual.square {
    width: calc(100% - 28px);
    aspect-ratio: 1 / 1;
    min-height: auto;
}

.dim__example__visual.wide {
    aspect-ratio: 16 / 9;
    min-height: auto;
}

.dim__example__visual.banner {
    aspect-ratio: 16 / 5;
    min-height: 96px;
}

.dim__example__visual.portrait {
    width: 72%;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 5;
    min-height: auto;
}

.dim__example__body {
    padding: 0 16px 16px;
}

.dim__example__body h3 {
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.dim__example__body p {
    color: var(--gray-text);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.dim__example__meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.dim__example__meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 800;
}

[data-theme="dark"] .dim__example__meta span {
    background: #1e1e3a;
}

@media (max-width: 920px) {
    .dim__example__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .dim__example__grid {
        grid-template-columns: 1fr;
    }
}



/* ── FAQ Section ───────────────────────────── */
.dim__faq__section {
    padding: 30px 16px 58px;
    display: flex;
    justify-content: center;
    background-color: var(--section-bg);
}

.dim__faq__inner {
    width: 100%;
    max-width: 860px;
}

.dim__faq__head {
    max-width: 620px;
    margin: 0 auto 24px;
    text-align: center;
}

.dim__faq__tag {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

[data-theme="dark"] .dim__faq__tag {
    background: #1e1e3a;
}

.dim__faq__head h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.dim__faq__head p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.7;
}

.dim__faq__list {
    display: grid;
    gap: 10px;
}

.dim__faq__item {
    overflow: hidden;
    border-radius: 16px;
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    transition: border-color .22s ease, box-shadow .22s ease;
}

.dim__faq__item.active {
    border-color: rgba(99, 101, 241, .45);
    box-shadow: 0 20px 42px -30px rgba(99, 101, 241, .75);
}

.dim__faq__question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.dim__faq__question span {
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.dim__faq__question i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #eef0ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .28s ease, background .22s ease;
}

[data-theme="dark"] .dim__faq__question i {
    background: #1e1e3a;
}

.dim__faq__item.active .dim__faq__question i {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #fff;
}

.dim__faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s ease;
}

.dim__faq__answer p {
    padding: 0 18px 18px;
    color: var(--gray-text);
    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 520px) {
    .dim__faq__question {
        padding: 15px;
    }

    .dim__faq__question span {
        font-size: 13px;
    }

    .dim__faq__answer p {
        padding: 0 15px 15px;
    }
}


/* ── Related Tools Section ───────────────────────────── */
.dim__related__section {
    padding: 30px 16px 64px;
    display: flex;
    justify-content: center;
}

.dim__related__inner {
    width: 100%;
    max-width: 980px;
}

.dim__related__head {
    max-width: 650px;
    margin: 0 auto 24px;
    text-align: center;
}

.dim__related__tag {
    display: inline-flex;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef0ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

[data-theme="dark"] .dim__related__tag {
    background: #1e1e3a;
}

.dim__related__head h2 {
    color: var(--primary-text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.dim__related__head p {
    color: var(--gray-text);
    font-size: 13px;
    line-height: 1.7;
}

.dim__related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dim__related__card {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    padding: 18px;
    border-radius: 18px;
    background: var(--header-bg);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    text-decoration: none;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: flex-start;
    gap: 13px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dim__related__card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(99, 101, 241, .10);
    transition: transform .25s ease;
}

.dim__related__card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 101, 241, .45);
    box-shadow: 0 22px 42px -28px rgba(99, 101, 241, .75);
}

.dim__related__card:hover::after {
    transform: scale(1.25);
}

.dim__related__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef0ff, #e3e3f8);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

[data-theme="dark"] .dim__related__icon {
    background: linear-gradient(135deg, #1e1e3a, #252547);
}

.dim__related__card h3 {
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.dim__related__card p {
    color: var(--gray-text);
    font-size: 12px;
    line-height: 1.6;
}

.dim__related__card > span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--section-bg);
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.dim__related__card:hover > span {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(3px);
}

@media (max-width: 920px) {
    .dim__related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .dim__related__grid {
        grid-template-columns: 1fr;
    }

    .dim__related__card {
        grid-template-columns: 44px 1fr auto;
        padding: 16px;
    }
}