/* =============================================
   AiToolbar — AI Image Upscaler
   Theme: Purple-Blue Gradient (Brand Consistent)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

/* ---------- Variables ---------- */
:root {
  --primary:       #5B21B6;
  --primary-dark:  #3B0F8C;
  --primary-light: #7C3AED;
  --blue:          #3B82F6;
  --green:         #10B981;
  --orange:        #F59E0B;
  --pink:          #EC4899;
  --cyan:          #06B6D4;
  --red:           #EF4444;
  --white:         #FFFFFF;
  --off-white:     #F5F3FF;
  --text-dark:     #1E1B4B;
  --text-body:     #4B5563;
  --text-light:    #9CA3AF;
  --border:        #E9D5FF;
  --shadow-sm:     0 2px 8px rgba(91,33,182,.08);
  --shadow-md:     0 6px 24px rgba(91,33,182,.13);
  --shadow-lg:     0 16px 48px rgba(91,33,182,.18);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --grad-hero:     linear-gradient(135deg,#3B0F8C 0%,#5B21B6 40%,#7C3AED 70%,#3B82F6 100%);
  --grad-btn:      linear-gradient(90deg,#5B21B6,#3B82F6);
  --grad-card:     linear-gradient(135deg,#EDE9FE 0%,#F5F3FF 100%);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'Nunito',sans-serif; background:var(--off-white); color:var(--text-body); line-height:1.6; overflow-x:hidden; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#F5F3FF; }
::-webkit-scrollbar-thumb { background:var(--primary-light); border-radius:99px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top:0; z-index:200;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 5%; height: 62px;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(91,33,182,.10);
  gap: 12px;
}

.logo {
  display: flex; align-items:center; gap:10px;
  font-family:'Baloo 2',cursive; font-size:1.2rem; font-weight:800;
  color:var(--primary); text-decoration:none;
}
.logo img { width:36px; height:36px; object-fit:contain; }

.navbar nav a {
  font-size:.84rem; font-weight:700; color:var(--primary);
  text-decoration:none; padding:6px 16px;
  border:1.5px solid var(--border); border-radius:99px;
  transition:background .2s, border-color .2s;
}
.navbar nav a:hover { background:var(--off-white); border-color:var(--primary-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--grad-hero);
  text-align:center; padding:56px 5% 64px;
  position:relative; overflow:hidden; color:var(--white);
}
.hero::before,.hero::after { content:''; position:absolute; border-radius:50%; opacity:.12; }
.hero::before { width:380px;height:380px;background:#A78BFA;top:-130px;left:-80px; }
.hero::after  { width:280px;height:280px;background:#60A5FA;bottom:-80px;right:-50px; }

.hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.32);
  color:var(--white); font-size:.76rem; font-weight:800;
  padding:5px 14px; border-radius:99px; letter-spacing:.5px;
  text-transform:uppercase; margin-bottom:16px; position:relative;
}

.hero h1 {
  font-family:'Baloo 2',cursive;
  font-size:clamp(2rem,5vw,3.2rem); font-weight:800;
  line-height:1.15; margin-bottom:14px;
  position:relative; text-shadow:0 2px 12px rgba(0,0,0,.15);
}
.hero h1 span {
  background:linear-gradient(90deg,#FCD34D,#F9A8D4);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.hero p { font-size:1rem; max-width:540px; margin:0 auto 24px; opacity:.9; font-weight:500; position:relative; }

.info-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; position:relative; }
.chip {
  background:rgba(255,255,255,.16); border:1.5px solid rgba(255,255,255,.28);
  color:var(--white); font-size:.8rem; font-weight:700;
  padding:6px 14px; border-radius:99px;
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */
.container {
  max-width: 820px;
  margin: -28px auto 0;
  padding: 0 5% 24px;
  position: relative; z-index:10;
}

.tool-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tool-card-header {
  background: var(--grad-btn);
  padding: 15px 24px;
  display: flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
}

.tool-card-title {
  font-family:'Baloo 2',cursive; font-size:1.05rem; font-weight:800;
  color:var(--white); display:flex; align-items:center; gap:8px;
}

.tool-card-body { padding: 22px; display:flex; flex-direction:column; gap:18px; }

/* ============================================================
   UPLOAD / DROP AREA
   ============================================================ */
.upload-box {
  display: flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 10px;
  border: 2.5px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  padding: 40px 24px;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .2s;
  text-align: center;
  position: relative;
}

.upload-box:hover {
  border-color: var(--primary-light);
  background: #EDE9FE;
  transform: translateY(-2px);
}

.upload-box.dragover {
  border-color: var(--primary);
  background: #EDE9FE;
  box-shadow: 0 0 0 4px rgba(124,58,237,.15);
  transform: scale(1.01);
}

/* hide the actual file input */
.upload-box input[type="file"] {
  position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%;
}

.upload-icon { font-size:3rem; line-height:1; display:block; }

.upload-title {
  font-family:'Baloo 2',cursive; font-size:1.05rem; font-weight:700;
  color:var(--text-dark);
}

.upload-sub { font-size:.8rem; color:var(--text-light); font-weight:600; }

/* File name after selection */
#fileName {
  font-size:.82rem; font-weight:700;
  color:var(--primary); margin-top:4px;
  word-break:break-all;
}

/* ============================================================
   PREVIEW IMAGE
   ============================================================ */
#previewImg {
  width:100%; border-radius:var(--radius-md);
  border:1.5px solid var(--border);
  box-shadow:var(--shadow-sm);
  display:none;
}

/* ============================================================
   BEFORE / AFTER COMPARE SLIDER
   ============================================================ */
.compare-container {
  position: relative;
  width: 100%; border-radius:var(--radius-md);
  overflow: hidden;
  display: none;
  border:1.5px solid var(--border);
  box-shadow:var(--shadow-md);
  user-select:none;
  background:#000;
  aspect-ratio: auto;
}

.compare-img {
  width:100%; height:auto; display:block;
  object-fit:cover;
}

.after-wrapper {
  position:absolute; top:0; left:0;
  width:50%; height:100%; overflow:hidden;
}

.after-wrapper .compare-img {
  width:100vw; max-width:820px;
  position:absolute; top:0; left:0;
}

/* Slider line */
.compare-container::after {
  content:'';
  position:absolute; top:0; bottom:0;
  left:50%; transform:translateX(-50%);
  width:3px;
  background:var(--white);
  box-shadow:0 0 8px rgba(0,0,0,.4);
  pointer-events:none;
  transition:left .05s;
}

/* Range input style */
.compare-slider {
  position:absolute; bottom:0; left:0;
  width:100%; height:100%;
  opacity:0; cursor:col-resize;
  margin:0; padding:0;
  z-index:10;
}

.compare-labels {
  position:absolute; bottom:14px; left:0; right:0;
  display:flex; justify-content:space-between;
  padding:0 16px; pointer-events:none;
}

.compare-labels span {
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(4px);
  color:var(--white); font-size:.78rem; font-weight:800;
  padding:5px 12px; border-radius:99px;
}

/* Drag handle icon in center */
.compare-handle {
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:40px; height:40px;
  background:var(--white);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
  box-shadow:0 3px 12px rgba(0,0,0,.35);
  pointer-events:none;
  z-index:5;
}

/* ============================================================
   QUALITY SELECT & LABEL
   ============================================================ */
.quality-row {
  display:flex; flex-direction:column; gap:8px;
}

.quality-row label {
  font-size:.82rem; font-weight:800;
  color:var(--text-dark); text-transform:uppercase; letter-spacing:.5px;
}

#quality {
  width:100%; height:48px;
  border:1.5px solid var(--border); border-radius:var(--radius-md);
  padding:0 16px;
  font-family:'Nunito',sans-serif; font-size:.95rem; font-weight:700;
  color:var(--text-dark); background:var(--off-white);
  outline:none; cursor:pointer;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B21B6' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
  padding-right:44px;
  transition:border-color .2s, background-color .2s;
}

#quality:focus { border-color:var(--primary-light); background-color:var(--white); box-shadow:0 0 0 3px rgba(124,58,237,.10); }

/* Quality preview pills */
.quality-pills {
  display:flex; gap:8px; flex-wrap:wrap; margin-top:6px;
}

.q-pill {
  padding:5px 14px; border-radius:99px;
  font-size:.75rem; font-weight:800; border:1.5px solid;
  cursor:pointer; transition:transform .15s;
}

.q-pill:hover { transform:scale(1.05); }
.q-pill.hd  { background:#EFF6FF; border-color:#93C5FD; color:#1D4ED8; }
.q-pill.fhd { background:#FEFCE8; border-color:#FDE047; color:#A16207; }
.q-pill.uhd { background:#FEF2F2; border-color:#FCA5A5; color:#B91C1C; }

/* ============================================================
   UPSCALE BUTTON
   ============================================================ */
#upscaleBtn {
  width:100%; height:52px;
  background:var(--grad-btn); color:var(--white);
  border:none; border-radius:var(--radius-md);
  font-family:'Baloo 2',cursive; font-size:1.08rem; font-weight:800;
  cursor:pointer; box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:opacity .2s, transform .15s;
  letter-spacing:.2px;
}

#upscaleBtn:hover:not(:disabled) { opacity:.92; transform:translateY(-2px); }
#upscaleBtn:disabled { opacity:.45; cursor:not-allowed; transform:none; }

/* ============================================================
   DOWNLOAD BOX
   ============================================================ */
.download {
  display:none;
  background:linear-gradient(135deg,#DCFCE7,#F0FDF4);
  border:2px solid #86EFAC;
  border-radius:var(--radius-md);
  padding:20px;
  text-align:center;
}

.download-label {
  display:block; font-family:'Baloo 2',cursive;
  font-size:.95rem; font-weight:800; color:#166534;
  margin-bottom:12px;
}

.download-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(90deg,#16a34a,#15803d);
  color:var(--white);
  font-family:'Baloo 2',cursive; font-size:1rem; font-weight:800;
  padding:13px 32px; border-radius:99px; text-decoration:none;
  box-shadow:0 4px 16px rgba(22,163,74,.3);
  transition:transform .2s, box-shadow .2s, opacity .2s;
}

.download-btn:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 8px 24px rgba(22,163,74,.4); text-decoration:none; opacity:.95; }

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-cards {
  max-width: 820px;
  margin: 28px auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
  gap: 14px;
}

.info-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:22px 18px;
  text-align:center; box-shadow:var(--shadow-sm);
  transition:transform .2s, box-shadow .2s;
  position:relative; overflow:hidden;
}

.info-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--grad-btn); opacity:0; transition:opacity .2s;
}

.info-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.info-card:hover::before { opacity:1; }

.ic-icon { font-size:1.8rem; margin-bottom:10px; display:block; }
.info-card h4 { font-family:'Baloo 2',cursive; font-size:.95rem; font-weight:700; color:var(--text-dark); margin-bottom:6px; }
.info-card p { font-size:.8rem; color:var(--text-body); line-height:1.5; }

/* ============================================================
   SEO CONTENT
   ============================================================ */
.seo-content {
  max-width: 820px;
  margin: 12px auto 0;
  padding: 48px 5% 20px;
  border-top: 2px solid var(--border);
}

.seo-content h2 {
  font-family:'Baloo 2',cursive;
  font-size:clamp(1.15rem,2.5vw,1.45rem); font-weight:800;
  color:var(--text-dark); margin:36px 0 16px;
  padding-bottom:10px; border-bottom:2px solid var(--border);
}
.seo-content h2:first-child { margin-top:0; }

.seo-content p { font-size:.95rem; color:var(--text-body); line-height:1.75; margin-bottom:14px; }

/* Quality cards */
.quality-cards {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px; margin:18px 0;
}

.quality-card {
  border-radius:var(--radius-md); padding:22px 18px;
  text-align:center; border:2px solid; position:relative; overflow:hidden;
  transition:transform .2s, box-shadow .2s;
}

.quality-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }

.quality-card.hd  { background:#EFF6FF; border-color:#93C5FD; }
.quality-card.fhd { background:#FEFCE8; border-color:#FDE047; }
.quality-card.uhd { background:#FEF2F2; border-color:#FCA5A5; }

.quality-card .badge {
  display:inline-block; padding:4px 14px; border-radius:99px;
  font-size:.72rem; font-weight:800; margin-bottom:10px; letter-spacing:.5px;
}

.quality-card.hd  .badge { background:var(--blue); color:var(--white); }
.quality-card.fhd .badge { background:var(--orange); color:var(--white); }
.quality-card.uhd .badge { background:var(--red); color:var(--white); }

.quality-card strong { display:block; font-family:'Baloo 2',cursive; font-size:1rem; font-weight:700; color:var(--text-dark); margin-bottom:6px; }
.quality-card span { font-size:.82rem; color:var(--text-body); line-height:1.45; }

/* Features grid */
.features-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:14px; margin:18px 0;
}

.feature-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:18px 16px;
  display:flex; flex-direction:column; gap:6px;
  box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s;
  position:relative; overflow:hidden;
}

.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--grad-btn); opacity:0; transition:opacity .2s;
}
.feature-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.feature-card:hover::before { opacity:1; }
.feature-card .icon { font-size:1.6rem; }
.feature-card strong { font-family:'Baloo 2',cursive; font-size:.9rem; font-weight:700; color:var(--text-dark); }
.feature-card span { font-size:.78rem; color:var(--text-body); line-height:1.45; }

/* Steps list */
.steps-list { list-style:none; padding:0; margin:18px 0; counter-reset:steps; display:flex; flex-direction:column; gap:10px; }
.steps-list li {
  counter-increment:steps;
  display:flex; align-items:flex-start; gap:14px;
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-md); padding:15px 18px;
  font-size:.9rem; color:var(--text-body); box-shadow:var(--shadow-sm);
}
.steps-list li::before {
  content:counter(steps);
  min-width:28px; height:28px; background:var(--grad-btn); color:var(--white);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:'Baloo 2',cursive; font-size:.85rem; font-weight:800; flex-shrink:0;
}

/* Info box */
.info-box {
  background:#EEF2FF; border:1.5px solid #C7D2FE;
  border-radius:var(--radius-md); padding:16px 20px;
  font-size:.88rem; color:#3730A3; line-height:1.65; margin:18px 0;
}

/* Use cases */
.use-cases { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.use-case-tag {
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 16px; border-radius:99px;
  background:var(--grad-card); border:1.5px solid var(--border);
  font-size:.84rem; font-weight:700; color:var(--primary);
  transition:transform .15s, box-shadow .15s;
}
.use-case-tag:hover { transform:scale(1.05); box-shadow:var(--shadow-sm); }

/* Compare table */
.compare-table {
  width:100%; border-collapse:collapse; background:var(--white);
  border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1.5px solid var(--border);
  margin:18px 0; font-size:.88rem;
}
.compare-table th { background:var(--grad-btn); color:var(--white); padding:12px 16px; text-align:left; font-family:'Baloo 2',cursive; font-weight:700; font-size:.9rem; }
.compare-table td { padding:11px 16px; border-bottom:1px solid var(--border); color:var(--text-body); }
.compare-table tr:last-child td { border-bottom:none; }
.compare-table tr:nth-child(even) td { background:var(--off-white); }
.compare-table tr:hover td { background:#EDE9FE; }

/* FAQ */
.faq-item {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-md); margin-bottom:12px;
  overflow:hidden; box-shadow:var(--shadow-sm); transition:border-color .2s;
}
.faq-item:hover { border-color:#C4B5FD; }
.faq-q {
  padding:15px 18px; font-family:'Baloo 2',cursive;
  font-weight:700; color:var(--text-dark); font-size:.95rem;
  display:flex; align-items:flex-start; gap:8px;
}
.faq-q::before { content:'▶'; color:var(--primary-light); font-size:.7rem; margin-top:4px; flex-shrink:0; }
.faq-a { padding:0 18px 15px 38px; color:var(--text-body); font-size:.87rem; line-height:1.7; border-top:1px solid var(--border); padding-top:12px; }

/* ============================================================
   RELATED TOOLS SECTION
   ============================================================ */
.rel-section { background:var(--grad-hero); padding:60px 5%; margin-top:32px; }
.rel-inner { max-width:900px; margin:0 auto; }
.rel-header { text-align:center; margin-bottom:36px; }

.rel-label {
  display:inline-block; background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.32); color:var(--white);
  font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:1.2px;
  padding:4px 14px; border-radius:99px; margin-bottom:12px;
}

.rel-header h2 { font-family:'Baloo 2',cursive; font-size:clamp(1.4rem,3vw,2rem); font-weight:800; color:var(--white); margin-bottom:8px; }
.rel-header p { color:rgba(255,255,255,.82); font-size:.95rem; max-width:520px; margin:0 auto; }

.rel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:13px; margin-bottom:28px; }

.rel-card {
  background:rgba(255,255,255,.10); border:1.5px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px); border-radius:var(--radius-md); padding:20px 17px;
  text-decoration:none; display:flex; flex-direction:column; gap:7px;
  position:relative; transition:background .2s, transform .2s, box-shadow .2s;
}
.rel-card:hover { background:rgba(255,255,255,.20); transform:translateY(-5px); box-shadow:0 14px 36px rgba(0,0,0,.22); text-decoration:none; }
.rel-card--top { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.35); }

.rel-tag {
  display:inline-block; background:linear-gradient(90deg,#FCD34D,#F9A8D4); color:#1E1B4B;
  font-size:.62rem; font-weight:800; padding:2px 9px; border-radius:99px;
  letter-spacing:.4px; text-transform:uppercase; width:fit-content; margin-bottom:2px;
}
.rel-icon { font-size:1.8rem; line-height:1; }
.rel-title { font-family:'Baloo 2',cursive; font-size:.93rem; font-weight:800; color:var(--white); line-height:1.2; }
.rel-desc { font-size:.77rem; color:rgba(255,255,255,.72); line-height:1.5; flex:1; }
.rel-arrow { font-size:.8rem; font-weight:800; color:rgba(255,255,255,.4); margin-top:2px; transition:color .2s, transform .2s; display:inline-block; }
.rel-card:hover .rel-arrow { color:rgba(255,255,255,.9); transform:translateX(4px); }

.rel-cta { text-align:center; }
.rel-cta a {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white); color:var(--primary);
  font-family:'Baloo 2',cursive; font-size:.98rem; font-weight:800;
  padding:13px 32px; border-radius:99px; text-decoration:none;
  box-shadow:0 4px 20px rgba(0,0,0,.18); transition:transform .2s, box-shadow .2s;
}
.rel-cta a:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 10px 32px rgba(0,0,0,.24); text-decoration:none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background:var(--text-dark); color:rgba(255,255,255,.65);
  text-align:center; padding:22px 5%;
  font-size:.85rem; font-weight:500; line-height:1.7;
}
footer strong { color:#A78BFA; font-family:'Baloo 2',cursive; font-weight:800; }
footer a { color:#93C5FD; text-decoration:none; }
footer a:hover { text-decoration:underline; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.hero { animation:fadeUp .55s ease both; }
.container { animation:fadeUp .5s .1s ease both; }
.info-cards { animation:fadeUp .5s .15s ease both; }

/* Download success animation */
@keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
#downloadBox[style*="block"] { animation:slideDown .4s ease; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:768px) {
  .hero h1 { font-size:2rem; }
  .hero { padding:44px 5% 56px; }
  .quality-cards { grid-template-columns:1fr; gap:12px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .info-cards { grid-template-columns:repeat(2,1fr); }
  .compare-table { font-size:.78rem; }
  .compare-table th,.compare-table td { padding:9px 10px; }
  .rel-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:480px) {
  .navbar { padding:0 4%; }
  .logo { font-size:1rem; }
  .hero { padding:36px 4% 48px; }
  .hero h1 { font-size:1.75rem; }
  .info-chips { gap:7px; }
  .chip { font-size:.72rem; padding:5px 11px; }

  .container { padding:0 3% 16px; margin-top:-20px; }
  .tool-card { border-radius:var(--radius-md); }
  .tool-card-body { padding:14px; gap:14px; }
  .upload-box { padding:28px 16px; }
  .upload-icon { font-size:2.2rem; }

  .features-grid { grid-template-columns:1fr; }
  .info-cards { grid-template-columns:1fr 1fr; padding:0 3%; }
  .rel-section { padding:44px 4%; }
  .rel-grid { grid-template-columns:1fr; }
  #upscaleBtn { height:48px; font-size:1rem; }
}
