/* ===== Bulk Image Resizer — Standalone Styles ===== */
/* Prefix: .resizer- to avoid conflicts with your site */

:root {
    --r-primary: #2563eb;
    --r-primary-dark: #1e3a8a;
    --r-bg: #f1f5f9;
    --r-card: #ffffff;
    --r-text: #1f2937;
    --r-text-muted: #64748b;
    --r-success: #16a34a;
    --r-destructive: #ef4444;
    --r-border: rgba(0,0,0,0.08);
    --r-input-border: #cbd5e1;
    --r-radius-lg: 16px;
    --r-radius-md: 12px;
    --r-radius-sm: 8px;
    --r-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.05), 0 12px 24px rgba(0,0,0,.05);
    --r-shadow-btn: 0 4px 14px rgba(37,99,235,0.3);
    --r-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.resizer-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--r-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--r-text);
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
.resizer-container *, .resizer-container *::before, .resizer-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* States */
.resizer-state--hidden { display: none !important; }
.resizer-state--active { display: flex; width: 100%; max-width: 1200px; }

/* ===== DROPZONE ===== */
.resizer-dropzone {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: var(--r-card);
    border: 2px dashed var(--r-input-border);
    border-radius: var(--r-radius-lg);
    padding: 3rem 1.5rem;
    text-align: center;
    box-shadow: var(--r-shadow);
    transition: border-color 0.2s var(--r-ease), background 0.2s var(--r-ease);
}
.resizer-dropzone.dragover {
    border-color: var(--r-primary);
    background: #eff6ff;
}
.resizer-dropzone__icon { color: var(--r-text-muted); margin-bottom: 1rem; }
.resizer-dropzone__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.resizer-dropzone__desc {
    color: var(--r-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.resizer-dropzone__hint {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--r-text-muted);
}

@media (min-width: 640px) {
    .resizer-dropzone { padding: 4rem 2rem; }
    .resizer-dropzone__title { font-size: 2.5rem; }
    .resizer-dropzone__desc { font-size: 1.1rem; }
}

/* ===== BUTTONS ===== */
.resizer-btn {
    border: none;
    border-radius: var(--r-radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.1s var(--r-ease), filter 0.2s var(--r-ease);
    color: #fff;
    line-height: 1;
}
.resizer-btn--primary-lg {
    background: var(--r-primary);
    box-shadow: var(--r-shadow-btn);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.resizer-btn--success-lg {
    background: var(--r-success);
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.resizer-btn:hover { filter: brightness(1.1); }
.resizer-btn:active { transform: scale(0.98); }
.resizer-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.resizer-btn-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--r-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--r-ease);
}
.resizer-btn-add:hover { transform: rotate(90deg); }

.resizer-btn-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--r-destructive);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 2;
}

/* ===== EDITOR LAYOUT ===== */
.resizer-editor {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 1400px;
}
@media (min-width: 1024px) {
    .resizer-editor {
        flex-direction: row;
        height: 85vh;
    }
}

/* ===== PREVIEW ===== */
.resizer-preview {
    background: var(--r-card);
    border-radius: var(--r-radius-lg);
    box-shadow: var(--r-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-height: 300px;
}
.resizer-preview__header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--r-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    flex-shrink: 0;
}
.resizer-preview__grid {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    overflow-y: auto;
    flex: 1;
}
@media (min-width: 640px) {
    .resizer-preview__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

/* ===== IMAGE CARD ===== */
.resizer-img-card {
    background: #f8fafc;
    border-radius: var(--r-radius-md);
    padding: 6px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.resizer-img-card:hover .resizer-btn-remove { opacity: 1; }
.resizer-img-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--r-radius-sm);
    background: #fff;
    display: block;
}
.resizer-img-info { padding: 6px 4px 2px; }
.resizer-img-name {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.resizer-img-dims {
    font-size: 0.75rem;
    color: var(--r-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-variant-numeric: tabular-nums;
}

/* ===== CONTROL PANEL ===== */
.resizer-panel {
    background: var(--r-card);
    border-radius: var(--r-radius-lg);
    box-shadow: var(--r-shadow);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .resizer-panel { width: 360px; flex-shrink: 0; }
}
.resizer-panel__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--r-text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.resizer-panel__desc {
    font-size: 0.875rem;
    color: var(--r-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.resizer-panel__desc strong { color: var(--r-text); }
.resizer-panel__options { display: flex; flex-direction: column; gap: 1.25rem; }

/* Tabs */
.resizer-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
}
.resizer-tab {
    flex: 1;
    border: none;
    padding: 0.5rem;
    border-radius: var(--r-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--r-text-muted);
    transition: all 0.15s;
}
.resizer-tab--active {
    background: #fff;
    color: var(--r-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Inputs */
.resizer-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.resizer-input-group { margin-bottom: 0; }
.resizer-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--r-text-muted);
}
.resizer-input-group input[type="number"] {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--r-input-border);
    border-radius: var(--r-radius-sm);
    font-size: 1rem;
    outline: none;
    background: #fff;
    color: var(--r-text);
    font-variant-numeric: tabular-nums;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.resizer-input-group input[type="number"]:focus {
    border-color: var(--r-primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

/* Checkboxes */
.resizer-checkboxes { display: flex; flex-direction: column; gap: 0.75rem; }
.resizer-checkbox {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
}
.resizer-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--r-primary);
    cursor: pointer;
}

/* Progress */
.resizer-progress { margin-bottom: 0.5rem; }
.resizer-progress__bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.375rem;
}
.resizer-progress__fill {
    height: 100%;
    background: var(--r-primary);
    width: 0%;
    border-radius: 3px;
    transition: width 0.2s ease;
}
.resizer-progress__text {
    font-size: 0.75rem;
    color: var(--r-text-muted);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.resizer-input-group select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--r-input-border);
    border-radius: var(--r-radius-sm);
    font-size: 1rem;
    background: #fff;
}








:root {
  --navy: #1e3a5f;
  --navy-dark: #152d4a;
  --blue: #1a73e8;
  --blue-hover: #1557b0;
  --blue-light: #e8f0fe;
  --green: #34a853;
  --orange: #fa7b17;
  --red: #d93025;
  --white: #ffffff;
  --bg: #f1f5ff;
  --card-bg: #ffffff;
  --border: #dadce0;
  --text: #202124;
  --muted: #5f6368;
  --muted2: #9aa0a6;
  --font: 'Nunito', sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --radius: 14px;
  --radius-sm: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CONTAINER */
.container { max-width: 860px; width: 100%; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  background: var(--navy);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box {
  width: 36px; height: 36px; background: #fff;
  border-radius: 8px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px;
}
.logo-box span { border-radius: 2px; }
.logo-box .b1,.logo-box .b2,.logo-box .b3 { background: var(--blue); }
.logo-box .b4 { background: var(--green); }
.logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; white-space: nowrap; }
.header-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.88rem; font-weight: 700; padding: 7px 15px;
  border-radius: 6px; transition: all 0.18s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.2); }

/* HERO */
.hero {
  background: linear-gradient(160deg, #1e3a5f 0%, #1a4f8a 55%, #1e5ea8 100%);
  padding: 48px 0 40px;
  text-align: center;
  border-bottom: 4px solid #2563c8;
}
.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800; color: #fff;
  margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.25;
}
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.78); font-weight: 600; }

/* MAIN */
.main-content { flex: 1; padding: 36px 20px 60px; display: flex; flex-direction: column; gap: 28px; }

/* CARD */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeUp 0.35s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* UPLOAD ZONE */
/*.upload-zone {
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 24px 44px; text-align: center;
  border: 2.5px dashed #c0cce8; border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s; background: #fff;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--blue); background: #eef3fd;
}
.upload-icon-wrap {
  width: 76px; height: 76px; background: var(--blue-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px; color: var(--blue);
  transition: transform 0.2s;
}
.upload-zone:hover .upload-icon-wrap { transform: translateY(-4px); }
.upload-title { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.upload-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.upload-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--muted); background: var(--bg);
  border: 1px solid var(--border); padding: 4px 11px;
  border-radius: 20px; font-weight: 700;
} */



/* BUTTONS */
/* .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 8px; font-family: var(--font);
  font-weight: 700; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 12px 30px; font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,115,232,0.4); }
.btn-resize {
  background: var(--green); color: #fff;
  padding: 14px 54px; font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(52,168,83,0.35);
}
.btn-resize:hover { background: #2a9647; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(52,168,83,0.45); }
.btn-resize:disabled { background: #9aa0a6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-download {
  background: var(--green); color: #fff;
  width: 100%; padding: 13px 24px; font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(52,168,83,0.3); border-radius: 8px;
}
.btn-download:hover { background: #2d9248; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); width: 100%;
  padding: 11px 24px; font-size: 0.9rem;
}
.btn-outline:hover { background: var(--blue-light); }
.btn-icon {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1.5px solid var(--border);
  color: var(--muted); padding: 7px 14px; border-radius: 6px;
  font-family: var(--font); font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s; flex-shrink: 0;
}
.btn-icon:hover { border-color: var(--blue); color: var(--blue); } 

*/

/* RESIZE PANEL */
/*  .resize-panel { padding: 28px; display: flex; flex-direction: column; gap: 22px; }

/* Preview row */
/*.preview-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--bg);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.preview-thumb { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: #ddd; flex-shrink: 0; }
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-info { flex: 1; min-width: 0; }
.preview-name { font-weight: 800; font-size: 0.9rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-meta { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

*/






/* INFO SECTION */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.info-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px 18px;
  text-align: center; box-shadow: var(--shadow);
}
.info-ico {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.ico-blue { background: var(--blue-light); color: var(--blue); }
.ico-green { background: #e6f4ea; color: var(--green); }
.ico-orange { background: #fce8d5; color: var(--orange); }
.info-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.info-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* FAQ */
.section-title { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 16px; text-align: center; }
.faq-list { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 18px 22px; font-family: var(--font);
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; text-align: left; transition: background 0.18s;
}
.faq-q:hover { background: var(--bg); }
.faq-icon { font-size: 1.4rem; color: var(--blue); font-weight: 800; flex-shrink: 0; transition: transform 0.22s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* FOOTER */
.site-footer { background: var(--navy); padding: 28px 0; margin-top: auto; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 800; color: #fff; }
.footer-logo-box { width: 26px; height: 26px; background: rgba(255,255,255,0.15); border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; }
.footer-logo-box span { border-radius: 1px; }
.footer-logo-box .b1,.footer-logo-box .b2,.footer-logo-box .b3 { background: rgba(255,255,255,0.9); }
.footer-logo-box .b4 { background: var(--green); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.82rem; font-weight: 700; transition: color 0.18s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin-left: auto; font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ── SEO CONTENT SECTION ───────────────────── */
.seo-section {
  display: flex; flex-direction: column; gap: 20px;
}

.seo-block {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}

.seo-h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
  padding-bottom: 10px; border-bottom: 2px solid var(--blue-light);
  margin-bottom: 2px;
}

.seo-h3 {
  font-size: 1rem; font-weight: 800; color: var(--blue);
  margin-top: 4px; margin-bottom: 2px;
  display: flex; align-items: center; gap: 7px;
}
.seo-h3::before {
  content: ''; display: inline-block;
  width: 4px; height: 16px; background: var(--blue);
  border-radius: 2px; flex-shrink: 0;
}

.seo-block p {
  font-size: 0.95rem; color: #3c4043; line-height: 1.75;
}

.seo-block p strong { color: var(--navy); font-weight: 800; }

/* Benefits checklist */
.seo-benefits {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg); border-radius: 8px;
  padding: 16px 18px; border: 1px solid var(--border);
}
.seo-benefit-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.seo-check {
  width: 22px; height: 22px; background: var(--green);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 0.75rem;
  font-weight: 800; flex-shrink: 0;
}

/* Steps list */
.seo-steps {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg); border-radius: 8px;
  padding: 16px 18px; border: 1px solid var(--border);
}
.seo-steps li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.step-num {
  width: 26px; height: 26px; background: var(--blue);
  border-radius: 50%; color: #fff; font-size: 0.8rem;
  font-weight: 800; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}

/* Format badges */
.format-badges {
  display: flex; flex-direction: column; gap: 8px;
}
.format-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
}
.fmt-icon { font-size: 1.1rem; flex-shrink: 0; }
.fmt-name { font-size: 0.9rem; font-weight: 800; color: var(--navy); min-width: 80px; }
.fmt-desc { font-size: 0.8rem; color: var(--muted); }

/* Two column layout */
.seo-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

@media (max-width: 640px) {
  .seo-two-col { grid-template-columns: 1fr; }
  .seo-block { padding: 20px 18px; }
}

  .header-nav { display: none; }
  .hero { padding: 28px 0 22px; }
  .main-content { padding: 20px 14px 40px; }
  .info-grid { grid-template-columns: 1fr; }
  .result-body { flex-direction: column; }
  .result-info { flex: none; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { margin-left: 0; }
  .pct-row { flex-direction: column; align-items: flex-start; }
  .mode-wrap { flex-direction: column; align-items: flex-start; }
  .pct-presets { gap: 6px; }
  .pct-btn { width: 54px; height: 42px; }
  .upload-zone { padding: 38px 16px 28px; }
}


/* Desktop Footer Layout */
@media (min-width: 768px) {

.footer-inner{
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

.footer-nav{
margin-left:auto;
display:flex;
gap:25px;
}

.footer-copy{
width:100%;
text-align:center;
margin-top:15px;
}

}



/* ===== TOOLS SECTION ===== */
.tools-section {
  padding: 50px 0;
  background: #f8fafc;
}

.tools-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* GRID */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* COLUMN */
.tools-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tools-col a {
  display: block;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.tools-col a:hover {
  color: #2f5d8a;
}

/* TABLET */
@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .tools-section {
    padding: 60px 0;
  }
}
