/* ============================================================
   IMAGE COMPRESSOR — FINAL PRODUCTION CSS
   File: assets/css/image-compressor.css
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
    --skf-bg: #06101d;
    --skf-bg-deep: #030914;
    --skf-panel: rgba(12, 25, 45, 0.82);
    --skf-panel-soft: rgba(255, 255, 255, 0.055);
    --skf-panel-hover: rgba(255, 255, 255, 0.085);

    --skf-border: rgba(255, 255, 255, 0.11);
    --skf-border-strong: rgba(255, 255, 255, 0.19);

    --skf-text: #f8fafc;
    --skf-text-soft: #d9e4f2;
    --skf-muted: #94a3b8;
    --skf-muted-dark: #64748b;

    --skf-primary: #7367f0;
    --skf-primary-light: #9c8cff;
    --skf-cyan: #22d3ee;

    --skf-success: #22c997;
    --skf-success-light: #5ee7c4;

    --skf-warning: #fbbf24;
    --skf-danger: #fb7185;

    --skf-radius-xl: 26px;
    --skf-radius-lg: 20px;
    --skf-radius-md: 15px;
    --skf-radius-sm: 11px;

    --skf-shadow:
        0 24px 65px rgba(0, 0, 0, 0.30);

    --skf-shadow-soft:
        0 12px 30px rgba(0, 0, 0, 0.20);

    --skf-focus:
        0 0 0 4px rgba(34, 211, 238, 0.22);

    --skf-transition: 180ms ease;
}


/* ============================================================
   2. RESET / WORDPRESS-ASTRA PROTECTION
   ============================================================ */

.skf-app,
.skf-app *,
.skf-app *::before,
.skf-app *::after {
    box-sizing: border-box;
}

.skf-app button,
.skf-app input {
    font: inherit;
}

.skf-app button {
    margin: 0;
}

.skf-app img {
    max-width: 100%;
}

.skf-app [hidden] {
    display: none !important;
}


/* ============================================================
   3. MAIN APPLICATION
   ============================================================ */

.skf-app {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 48px 0 70px;

    overflow: hidden;

    color: var(--skf-text);

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(115, 103, 240, 0.24),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(34, 211, 238, 0.12),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #071426 0%,
            #06111f 48%,
            #030a13 100%
        );
}

.skf-app::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.6),
            transparent 80%
        );

    z-index: -2;
}


/* ============================================================
   4. DECORATIVE BACKGROUND
   ============================================================ */

.skf-background {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;
}

.skf-orb {
    position: absolute;

    display: block;

    border-radius: 999px;

    filter: blur(12px);

    opacity: 0.55;
}

.skf-orb-1 {
    width: 340px;
    height: 340px;

    top: 70px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            rgba(124, 108, 255, 0.42),
            transparent 68%
        );
}

.skf-orb-2 {
    width: 360px;
    height: 360px;

    top: 340px;
    right: -190px;

    background:
        radial-gradient(
            circle,
            rgba(34, 211, 238, 0.22),
            transparent 70%
        );
}

.skf-orb-3 {
    width: 300px;
    height: 300px;

    bottom: 4%;
    left: 30%;

    background:
        radial-gradient(
            circle,
            rgba(115, 103, 240, 0.15),
            transparent 70%
        );
}


/* ============================================================
   5. CONTAINER
   ============================================================ */

.skf-container {
    position: relative;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* ============================================================
   6. HERO — COMPACT PREMIUM VERSION
   ============================================================ */

.skf-hero {
    width: min(900px, 100%);

    margin: 0 auto 38px;

    padding: 0 18px;

    text-align: center;
}

.skf-hero-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 34px;

    padding: 7px 14px;

    margin: 0 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 999px;

    color: #dbeafe;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}


/* ============================================================
   7. HERO TITLE
   ============================================================ */

.skf-title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.6rem, 4.2vw, 3.75rem) !important;
    font-weight: 800;
    line-height: 1.04 !important;

    letter-spacing: -0.045em;

    text-wrap: balance;
}

.skf-title span {
    display: block;

    margin-top: 5px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #45b8ff 0%,
            #22d3ee 45%,
            #9b8cff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}


/* ============================================================
   8. HERO DESCRIPTION
   ============================================================ */

.skf-description {
    max-width: 720px;

    margin: 17px auto 0;

    color: var(--skf-text-soft);

    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    font-weight: 400;
    line-height: 1.75;

    text-align: center;
}


/* ============================================================
   9. HERO POINTS
   ============================================================ */

.skf-hero-points {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 20px;
}

.skf-hero-points > span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    min-height: 38px;

    padding: 8px 14px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 999px;

    color: var(--skf-muted);

    background:
        rgba(255, 255, 255, 0.045);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 0.76rem;
}

.skf-hero-points strong {
    color: #f8fafc;

    font-weight: 800;
}


/* ============================================================
   10. SCREEN READER ONLY
   ============================================================ */

.skf-sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}


/* ============================================================
   11. GLASS CARDS
   ============================================================ */

.skf-glass-card {
    position: relative;

    width: 100%;

    margin: 0 0 24px;

    padding: clamp(22px, 3vw, 32px);

    border: 1px solid var(--skf-border);

    border-radius: var(--skf-radius-xl);

    background:
        linear-gradient(
            145deg,
            rgba(15, 29, 52, 0.88),
            rgba(8, 19, 35, 0.80)
        );

    box-shadow:
        var(--skf-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.skf-glass-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 26px;
    right: 26px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.16),
            transparent
        );
}


/* ============================================================
   12. CARD HEADER
   ============================================================ */

.skf-card-header,
.skf-processing-header,
.skf-result-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 22px;

    margin-bottom: 24px;
}

.skf-card-heading {
    display: flex;

    align-items: center;

    gap: 15px;
}

.skf-card-icon {
    display: grid;

    place-items: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(124, 108, 255, 0.26);

    border-radius: 15px;

    color: #d8d4ff;

    background:
        linear-gradient(
            135deg,
            rgba(124, 108, 255, 0.19),
            rgba(34, 211, 238, 0.07)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    font-size: 1.35rem;
}

.skf-step-label {
    display: block;

    margin-bottom: 3px;

    color: var(--skf-cyan);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

.skf-card-header h2,
.skf-processing-header h2,
.skf-result-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 750;
    line-height: 1.25;

    letter-spacing: -0.025em;
}

.skf-card-header p,
.skf-processing-header p,
.skf-result-header p {
    margin: 5px 0 0;

    color: var(--skf-muted);

    font-size: 0.9rem;
    line-height: 1.55;
}

.skf-privacy-label {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    flex: 0 0 auto;

    padding: 8px 12px;

    border: 1px solid rgba(34, 211, 238, 0.13);

    border-radius: 999px;

    color: #a5f3fc;

    background:
        rgba(34, 211, 238, 0.055);

    font-size: 0.75rem;
    font-weight: 700;
}

.skf-privacy-label > span {
    color: var(--skf-success);

    font-size: 0.65rem;
}


/* ============================================================
   13. BUTTON SYSTEM
   ============================================================ */

.skf-btn {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 11px 18px;

    border: 1px solid transparent;

    border-radius: 13px;

    outline: none;

    cursor: pointer;

    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1;

    text-decoration: none;

    transition:
        transform var(--skf-transition),
        border-color var(--skf-transition),
        background var(--skf-transition),
        box-shadow var(--skf-transition),
        opacity var(--skf-transition);
}

.skf-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.skf-btn:active:not(:disabled) {
    transform: translateY(0);
}

.skf-btn:focus-visible {
    box-shadow: var(--skf-focus);
}

.skf-btn:disabled {
    cursor: not-allowed;

    opacity: 0.46;

    transform: none;
}

.skf-btn-primary {
    border-color: rgba(125, 113, 255, 0.38);

    background:
        linear-gradient(
            135deg,
            #7768f5,
            #6256dc
        );

    box-shadow:
        0 10px 26px rgba(98, 86, 220, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.skf-btn-primary:hover:not(:disabled) {
    background:
        linear-gradient(
            135deg,
            #887afc,
            #6d60e6
        );

    box-shadow:
        0 14px 32px rgba(98, 86, 220, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.skf-btn-success {
    border-color: rgba(34, 201, 151, 0.35);

    background:
        linear-gradient(
            135deg,
            #20c997,
            #159c78
        );

    box-shadow:
        0 10px 26px rgba(21, 156, 120, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.skf-btn-success:hover:not(:disabled) {
    background:
        linear-gradient(
            135deg,
            #2bd6a5,
            #18aa82
        );
}

.skf-btn-glass {
    border-color: rgba(255, 255, 255, 0.12);

    color: #e8eef8;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.045)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.skf-btn-glass:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.20);

    background:
        rgba(255, 255, 255, 0.10);
}

.skf-btn-small {
    min-height: 38px;

    padding: 8px 13px;

    border-radius: 11px;

    font-size: 0.78rem;
}

.skf-btn-large {
    min-height: 54px;

    padding: 14px 22px;

    font-size: 0.93rem;
}


/* ============================================================
   14. BUTTON LOADER
   ============================================================ */

.skf-btn-loader {
    width: 17px;
    height: 17px;

    border: 2px solid rgba(255, 255, 255, 0.30);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: skf-spin 0.75s linear infinite;
}

@keyframes skf-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   15. ALERT
   ============================================================ */

.skf-alert {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 22px;

    padding: 15px 16px;

    border: 1px solid rgba(251, 113, 133, 0.24);

    border-radius: 16px;

    color: #ffe4e9;

    background:
        rgba(127, 29, 29, 0.25);

    backdrop-filter: blur(14px);
}

.skf-alert-icon {
    display: grid;

    place-items: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: #ffffff;

    background: rgba(251, 113, 133, 0.22);

    font-weight: 800;
}

.skf-alert-content {
    flex: 1;
}

.skf-alert-content strong {
    display: block;

    margin-bottom: 3px;

    color: #ffffff;
}

.skf-alert-content p {
    margin: 0;

    color: #fecdd3;

    font-size: 0.86rem;
}

.skf-alert-close {
    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;

    border-radius: 9px;

    cursor: pointer;

    color: #fecdd3;

    background: transparent;

    font-size: 1.3rem;
}

.skf-alert-close:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   16. UPLOAD DROP ZONE
   ============================================================ */

.skf-drop-zone {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 315px;

    padding: 34px 24px;

    border: 1.5px dashed rgba(125, 113, 255, 0.38);

    border-radius: 22px;

    outline: none;

    cursor: pointer;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(124, 108, 255, 0.11),
            transparent 45%
        ),
        rgba(255, 255, 255, 0.025);

    transition:
        border-color var(--skf-transition),
        background var(--skf-transition),
        transform var(--skf-transition),
        box-shadow var(--skf-transition);
}

.skf-drop-zone:hover,
.skf-drop-zone:focus-visible,
.skf-drop-zone.is-dragging {
    border-color: rgba(34, 211, 238, 0.72);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(34, 211, 238, 0.11),
            transparent 48%
        ),
        rgba(255, 255, 255, 0.045);

    box-shadow:
        var(--skf-focus);

    transform: translateY(-1px);
}

.skf-upload-icon {
    display: grid;

    place-items: center;

    width: 72px;
    height: 72px;

    margin-bottom: 17px;

    border: 1px solid rgba(124, 108, 255, 0.25);

    border-radius: 21px;

    color: #b9b2ff;

    background:
        linear-gradient(
            145deg,
            rgba(124, 108, 255, 0.18),
            rgba(34, 211, 238, 0.07)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 15px 35px rgba(0, 0, 0, 0.18);
}

.skf-drop-zone h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.25rem;
    font-weight: 750;

    letter-spacing: -0.02em;
}

.skf-drop-zone > p {
    max-width: 520px;

    margin: 9px auto 18px;

    color: var(--skf-muted);

    font-size: 0.9rem;
    line-height: 1.6;
}

.skf-format-list {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin-top: 18px;
}

.skf-format-list span {
    padding: 5px 9px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 8px;

    color: #b8c5d7;

    background: rgba(255, 255, 255, 0.04);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.skf-format-note {
    display: block;

    margin-top: 9px;

    color: var(--skf-muted-dark);

    font-size: 0.69rem;
}


/* ============================================================
   17. SELECTED IMAGE
   ============================================================ */

.skf-selected-file {
    display: grid;

    grid-template-columns:
        minmax(180px, 280px)
        minmax(0, 1fr);

    gap: 24px;

    align-items: stretch;
}

.skf-selected-preview {
    min-height: 230px;

    overflow: hidden;

    border: 1px solid var(--skf-border);

    border-radius: 18px;

    background: rgba(0, 0, 0, 0.22);
}

.skf-selected-preview img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 230px;

    object-fit: contain;
}

.skf-selected-content {
    display: flex;

    flex-direction: column;

    justify-content: center;
}

.skf-selected-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 18px;
}

.skf-selected-heading h3 {
    max-width: 600px;

    margin: 3px 0 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 1.08rem;
    font-weight: 750;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.skf-file-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.skf-info-box {
    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);
}

.skf-info-box span {
    display: block;

    margin-bottom: 5px;

    color: var(--skf-muted);

    font-size: 0.72rem;
}

.skf-info-box strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 0.92rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   18. SETTINGS
   ============================================================ */

.skf-setting-group {
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}

.skf-setting-group + .skf-setting-group {
    margin-top: 30px;

    padding-top: 27px;

    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.skf-setting-group legend {
    padding: 0;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 750;
}

.skf-setting-help {
    margin: 6px 0 17px;

    color: var(--skf-muted);

    font-size: 0.84rem;
    line-height: 1.55;
}


/* ============================================================
   19. TARGET KB PRESETS
   ============================================================ */

.skf-kb-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;
}

.skf-kb-btn {
    min-height: 54px;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 13px;

    outline: none;

    cursor: pointer;

    color: #dce6f4;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    font-size: 0.88rem;
    font-weight: 750;

    transition:
        transform var(--skf-transition),
        border-color var(--skf-transition),
        background var(--skf-transition),
        box-shadow var(--skf-transition);
}

.skf-kb-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(124, 108, 255, 0.38);

    background: rgba(124, 108, 255, 0.10);
}

.skf-kb-btn:focus-visible {
    box-shadow: var(--skf-focus);
}

.skf-kb-btn.is-active,
.skf-kb-btn[aria-pressed="true"] {
    border-color: rgba(34, 211, 238, 0.55);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(124, 108, 255, 0.25),
            rgba(34, 211, 238, 0.13)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 8px 24px rgba(34, 211, 238, 0.08);
}


/* ============================================================
   20. CUSTOM TARGET
   ============================================================ */

.skf-custom-target {
    margin-top: 18px;
}

.skf-custom-target label {
    display: block;

    margin-bottom: 8px;

    color: #dce6f4;

    font-size: 0.82rem;
    font-weight: 700;
}

.skf-input-group {
    display: flex;

    align-items: center;

    width: min(100%, 360px);

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.04);

    transition:
        border-color var(--skf-transition),
        box-shadow var(--skf-transition);
}

.skf-input-group:focus-within {
    border-color: rgba(34, 211, 238, 0.55);

    box-shadow: var(--skf-focus);
}

.skf-input-group input {
    width: 100%;
    min-width: 0;

    height: 50px;

    padding: 0 14px;

    border: 0;
    outline: 0;

    color: #ffffff;

    background: transparent;

    font-size: 0.9rem;
}

.skf-input-group input::placeholder {
    color: #64748b;
}

.skf-input-group > span {
    display: grid;

    place-items: center;

    align-self: stretch;

    min-width: 55px;

    border-left: 1px solid rgba(255, 255, 255, 0.09);

    color: #b8c5d7;

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.78rem;
    font-weight: 800;
}

.skf-custom-target > small {
    display: block;

    margin-top: 7px;

    color: var(--skf-muted-dark);

    font-size: 0.7rem;
}


/* ============================================================
   21. COMPRESSION MODES
   ============================================================ */

.skf-mode-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;
}

.skf-mode-btn {
    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        24px;

    align-items: center;

    gap: 14px;

    min-height: 116px;

    padding: 17px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 17px;

    outline: none;

    cursor: pointer;

    text-align: left;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );

    transition:
        transform var(--skf-transition),
        border-color var(--skf-transition),
        background var(--skf-transition),
        box-shadow var(--skf-transition);
}

.skf-mode-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(124, 108, 255, 0.35);
}

.skf-mode-btn:focus-visible {
    box-shadow: var(--skf-focus);
}

.skf-mode-btn.is-active,
.skf-mode-btn[aria-pressed="true"] {
    border-color: rgba(34, 211, 238, 0.46);

    background:
        linear-gradient(
            145deg,
            rgba(124, 108, 255, 0.18),
            rgba(34, 211, 238, 0.075)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.skf-mode-icon {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    color: #d8d4ff;

    background:
        rgba(124, 108, 255, 0.13);

    font-size: 1.25rem;
}

.skf-mode-copy {
    min-width: 0;
}

.skf-mode-copy strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 0.92rem;
}

.skf-mode-copy small {
    display: block;

    color: var(--skf-muted);

    font-size: 0.73rem;
    line-height: 1.5;
}

.skf-mode-check {
    display: grid;

    place-items: center;

    width: 23px;
    height: 23px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: transparent;

    background: rgba(255, 255, 255, 0.04);

    font-size: 0.72rem;
}

.skf-mode-btn.is-active .skf-mode-check,
.skf-mode-btn[aria-pressed="true"] .skf-mode-check {
    border-color: rgba(34, 211, 238, 0.50);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #22d3ee,
            #7367f0
        );
}


/* ============================================================
   22. MAIN ACTIONS
   ============================================================ */

.skf-main-actions {
    display: grid;

    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(150px, 0.7fr);

    gap: 12px;

    margin-top: 28px;

    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.075);
}


/* ============================================================
   23. PROCESSING
   ============================================================ */

.skf-processing-card {
    overflow: hidden;
}

.skf-progress-area {
    margin-top: 8px;
}

.skf-progress-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 9px;
}

.skf-progress-meta strong {
    color: #ffffff;

    font-size: 0.86rem;
}

.skf-progress-meta span {
    color: #a5f3fc;

    font-size: 0.82rem;
    font-weight: 800;
}

.skf-progress-track {
    width: 100%;
    height: 11px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 999px;

    background: rgba(0, 0, 0, 0.25);
}

.skf-progress-bar {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #7367f0,
            #22d3ee,
            #22c997
        );

    box-shadow:
        0 0 20px rgba(34, 211, 238, 0.30);

    transition: width 220ms ease;
}

.skf-processing-stats {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-top: 22px;
}

.skf-processing-stat {
    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);
}

.skf-processing-stat span {
    display: block;

    margin-bottom: 5px;

    color: var(--skf-muted);

    font-size: 0.69rem;
}

.skf-processing-stat strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 0.9rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   24. RESULT HEADER
   ============================================================ */

.skf-result-card {
    border-color: rgba(34, 201, 151, 0.17);

    background:
        linear-gradient(
            145deg,
            rgba(11, 32, 47, 0.91),
            rgba(7, 20, 34, 0.84)
        );
}

.skf-result-status {
    display: inline-flex;

    align-items: center;

    min-height: 29px;

    padding: 5px 10px;

    margin-bottom: 7px;

    border: 1px solid rgba(34, 201, 151, 0.24);

    border-radius: 999px;

    color: #9ff5da;

    background: rgba(34, 201, 151, 0.08);

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.skf-saving-meter {
    display: flex;

    flex: 0 0 104px;

    width: 104px;
    height: 104px;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(34, 201, 151, 0.22);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34, 201, 151, 0.13),
            rgba(34, 201, 151, 0.025)
        );

    box-shadow:
        inset 0 0 28px rgba(34, 201, 151, 0.06);
}

.skf-saving-meter strong {
    color: #ffffff;

    font-size: 1.25rem;
    line-height: 1;
}

.skf-saving-meter span {
    margin-top: 5px;

    color: #8be8ca;

    font-size: 0.67rem;
    font-weight: 700;
}


/* ============================================================
   25. RESULT PREVIEWS
   ============================================================ */

.skf-result-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.skf-result-preview-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.03);
}

.skf-result-preview-card-highlight {
    border-color: rgba(34, 201, 151, 0.24);

    box-shadow:
        0 0 0 1px rgba(34, 201, 151, 0.025),
        0 15px 35px rgba(0, 0, 0, 0.13);
}

.skf-result-preview-header,
.skf-result-image-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 12px 14px;
}

.skf-result-preview-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.skf-result-preview-header span {
    color: var(--skf-muted);

    font-size: 0.75rem;
    font-weight: 700;
}

.skf-result-preview-header strong {
    color: #ffffff;

    font-size: 0.82rem;
}

.skf-result-image-wrapper {
    display: grid;

    place-items: center;

    height: 330px;

    overflow: hidden;

    background:
        linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.025) 25%,
            transparent 25%
        ),
        linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.025) 25%,
            transparent 25%
        ),
        #050b14;

    background-size: 18px 18px;
}

.skf-result-image-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.skf-result-image-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: var(--skf-muted);

    font-size: 0.7rem;
}


/* ============================================================
   26. RESULT STATISTICS
   ============================================================ */

.skf-result-statistics {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin-top: 20px;
}

.skf-result-stat {
    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.075);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.032);
}

.skf-result-stat span {
    display: block;

    margin-bottom: 5px;

    color: var(--skf-muted);

    font-size: 0.68rem;
    line-height: 1.35;
}

.skf-result-stat strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 0.88rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   27. RESULT ACTIONS
   ============================================================ */

.skf-result-actions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin-top: 22px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.075);
}


/* ============================================================
   28. BENEFITS
   ============================================================ */

.skf-benefits {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 13px;

    margin-top: 25px;
}

.skf-benefit-card {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    min-width: 0;

    padding: 17px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(12px);
}

.skf-benefit-card > span {
    display: grid;

    place-items: center;

    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    border-radius: 12px;

    background: rgba(124, 108, 255, 0.10);
}

.skf-benefit-card strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 0.84rem;
}

.skf-benefit-card p {
    margin: 0;

    color: var(--skf-muted);

    font-size: 0.73rem;
    line-height: 1.5;
}


/* ============================================================
   29. FOOT NOTE
   ============================================================ */

.skf-tool-note {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px 13px;

    margin-top: 24px;

    padding: 14px 18px;

    color: var(--skf-muted);

    text-align: center;

    font-size: 0.72rem;
}

.skf-tool-note strong {
    color: #cbd5e1;
}


/* ============================================================
   30. TABLET
   ============================================================ */

@media (max-width: 900px) {

    .skf-app {
        padding-top: 38px;
    }

    .skf-container {
        width: min(100% - 28px, 760px);
    }

    .skf-hero {
        margin-bottom: 30px;
    }

    .skf-title {
        font-size: clamp(2.35rem, 7vw, 3.25rem) !important;
    }

    .skf-processing-stats {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .skf-result-statistics {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .skf-result-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   31. MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .skf-app {
        padding:
            30px
            0
            48px;
    }

    .skf-container {
        width: calc(100% - 20px);
    }

    .skf-hero {
        width: 100%;

        margin-bottom: 26px;

        padding: 0 5px;
    }

    .skf-hero-badge {
        margin-bottom: 13px;

        font-size: 0.71rem;
    }

    .skf-title {
        font-size: clamp(2.15rem, 11vw, 2.8rem) !important;

        line-height: 1.03 !important;
    }

    .skf-description {
        margin-top: 14px;

        font-size: 0.9rem;
        line-height: 1.65;
    }

    .skf-hero-points {
        gap: 7px;

        margin-top: 17px;
    }

    .skf-hero-points > span {
        min-height: 34px;

        padding: 7px 10px;

        font-size: 0.69rem;
    }

    .skf-glass-card {
        margin-bottom: 16px;

        padding: 19px;

        border-radius: 20px;
    }

    .skf-card-header,
    .skf-processing-header,
    .skf-result-header {
        align-items: flex-start;

        margin-bottom: 20px;
    }

    .skf-card-header {
        flex-direction: column;
    }

    .skf-privacy-label {
        align-self: flex-start;
    }

    .skf-card-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;
    }

    .skf-drop-zone {
        min-height: 280px;

        padding: 28px 15px;
    }

    .skf-upload-icon {
        width: 64px;
        height: 64px;

        border-radius: 18px;
    }

    .skf-selected-file {
        grid-template-columns: 1fr;
    }

    .skf-selected-preview,
    .skf-selected-preview img {
        min-height: 220px;
    }

    .skf-selected-heading {
        flex-direction: column;

        align-items: stretch;
    }

    .skf-selected-heading .skf-btn {
        width: 100%;
    }

    .skf-selected-heading h3 {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .skf-file-info-grid {
        grid-template-columns: 1fr;
    }

    .skf-kb-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .skf-mode-grid {
        grid-template-columns: 1fr;
    }

    .skf-mode-btn {
        min-height: 105px;

        padding: 15px;
    }

    .skf-main-actions {
        grid-template-columns: 1fr;
    }

    .skf-processing-header {
        flex-direction: column;
    }

    .skf-processing-header .skf-btn {
        width: 100%;
    }

    .skf-processing-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .skf-result-header {
        flex-direction: column;
    }

    .skf-saving-meter {
        width: 92px;
        height: 92px;

        flex-basis: 92px;
    }

    .skf-result-preview-grid {
        grid-template-columns: 1fr;
    }

    .skf-result-image-wrapper {
        height: 270px;
    }

    .skf-result-statistics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .skf-result-actions {
        grid-template-columns: 1fr;
    }

    .skf-benefits {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   32. SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .skf-container {
        width: calc(100% - 16px);
    }

    .skf-title {
        font-size: 2.15rem !important;
    }

    .skf-hero-points {
        gap: 6px;
    }

    .skf-hero-points > span {
        padding: 6px 9px;

        font-size: 0.66rem;
    }

    .skf-glass-card {
        padding: 16px;

        border-radius: 18px;
    }

    .skf-card-heading {
        gap: 11px;
    }

    .skf-drop-zone {
        min-height: 255px;

        padding: 24px 12px;
    }

    .skf-kb-grid {
        gap: 8px;
    }

    .skf-kb-btn {
        min-height: 50px;
    }

    .skf-processing-stats,
    .skf-result-statistics {
        grid-template-columns: 1fr;
    }

    .skf-result-image-wrapper {
        height: 235px;
    }

}


/* ============================================================
   33. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .skf-app *,
    .skf-app *::before,
    .skf-app *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}


/* ============================================================
   ASTRA + WORDPRESS FULL-WIDTH FIX
   ============================================================ */

/* Astra page content ko full width dein */
body.page-template-image-compressor .site-content,
body.page-template-image-compressor .ast-container,
body.page-template-image-compressor #primary,
body.page-template-image-compressor #main,
body.page-template-image-compressor .site-main,
body.page-template-image-compressor .entry-content {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Astra article/page wrapper restrictions remove */
body.page-template-image-compressor article,
body.page-template-image-compressor .type-page,
body.page-template-image-compressor .entry-content {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}

/* WordPress/Astra default paragraph/content margins compressor par na lagen */
body.page-template-image-compressor .entry-content > .skf-app {
    margin: 0 !important;
}

/* Compressor actual full-width application */
#skf-image-compressor.skf-app {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding-top: 42px;
    padding-bottom: 70px;
}

/* Actual dashboard content width */
#skf-image-compressor .skf-container {
    width: calc(100% - 40px) !important;
    max-width: 1240px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

/* Compact premium hero */
#skf-image-compressor .skf-hero {
    width: 100% !important;
    max-width: 900px !important;

    margin:
        0
        auto
        34px !important;

    padding: 0 20px !important;

    text-align: center !important;
}

/* Main heading */
#skf-image-compressor .skf-title {
    max-width: 900px;

    margin:
        0
        auto !important;

    font-size: clamp(42px, 4vw, 58px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;

    text-align: center !important;
}

/* Gradient Target KB line */
#skf-image-compressor .skf-title span {
    display: block !important;
}

/* Description */
#skf-image-compressor .skf-description {
    width: 100%;
    max-width: 720px !important;

    margin:
        17px
        auto
        0 !important;

    text-align: center !important;
}

/* Hero badges */
#skf-image-compressor .skf-hero-points {
    display: flex !important;

    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;

    gap: 10px;

    margin-top: 20px !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 921px) {

    #skf-image-compressor .skf-container {
        width: calc(100% - 28px) !important;
    }

    #skf-image-compressor .skf-title {
        font-size: clamp(38px, 7vw, 50px) !important;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    #skf-image-compressor.skf-app {
        padding-top: 30px;
        padding-bottom: 48px;
    }

    #skf-image-compressor .skf-container {
        width: calc(100% - 20px) !important;
    }

    #skf-image-compressor .skf-hero {
        margin-bottom: 26px !important;

        padding: 0 4px !important;
    }

    #skf-image-compressor .skf-title {
        font-size: clamp(34px, 10vw, 44px) !important;
        line-height: 1.05 !important;
    }

    #skf-image-compressor .skf-description {
        font-size: 15px;
        line-height: 1.65;
    }

}

/* ============================================================
   FINAL HERO FIX
   ============================================================ */

#skf-image-compressor .skf-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 900px !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 auto 36px !important;
    padding: 45px 20px 20px !important;

    text-align: center !important;
}

/* Badge */
#skf-image-compressor .skf-hero-badge {
    position: static !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 0 16px !important;

    transform: none !important;
}

/* Main Heading */
#skf-image-compressor .skf-title {
    display: block !important;

    position: static !important;

    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto !important;

    font-size: clamp(44px, 4vw, 58px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;

    text-align: center !important;

    transform: none !important;
}

/* Target KB gradient line */
#skf-image-compressor .skf-title span {
    display: inline !important;

    position: static !important;

    margin: 0 !important;

    transform: none !important;
}

/* Description */
#skf-image-compressor .skf-description {
    position: static !important;

    width: 100% !important;
    max-width: 700px !important;

    margin: 18px auto 0 !important;

    font-size: 17px !important;
    line-height: 1.7 !important;

    text-align: center !important;

    transform: none !important;
}

/* 3 trust points */
#skf-image-compressor .skf-hero-points {
    position: static !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    gap: 10px !important;

    margin: 22px auto 0 !important;

    transform: none !important;
}

#skf-image-compressor .skf-hero-points > span {
    width: auto !important;

    margin: 0 !important;

    white-space: nowrap !important;
}


/* ============================================================
   HERO MOBILE
   ============================================================ */

@media (max-width: 680px) {

    #skf-image-compressor .skf-hero {
        padding: 32px 10px 12px !important;
        margin-bottom: 26px !important;
    }

    #skf-image-compressor .skf-title {
        font-size: clamp(36px, 11vw, 46px) !important;
        line-height: 1.06 !important;
    }

    #skf-image-compressor .skf-description {
        max-width: 560px !important;

        margin-top: 15px !important;

        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    #skf-image-compressor .skf-hero-points {
        gap: 7px !important;
        margin-top: 18px !important;
    }
}


























}

====================================================== */