/* Reset-ish */
* { box-sizing: border-box; }
html,body{height:100%}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  background: linear-gradient(180deg,#f7fbfd 0%, #ffffff 100%);
  color: #0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Container */
.container {
  max-width:1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid #e6eef6;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand {
  font-weight:700;
  font-size:1.05rem;
  color:#0f172a;
  text-decoration:none;
}
.nav a {
  margin-left:12px;
  color:#334155;
  text-decoration:none;
  font-size:0.95rem;
}
.nav a:hover{color:#0ea5a4}

/* Page layout */
.page {
  display:grid;
  grid-template-columns:120px 1fr 120px;
  gap:20px;
  align-items:start;
  padding-bottom:40px;
}

/* Side ads */
.side-ad-left, .side-ad-right {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:8px;
}
@media (max-width:1000px){
  .page{grid-template-columns: 1fr; padding: 20px;}
  .side-ad-left, .side-ad-right { width:100%; order:3; }
}

/* Hero */
.hero {
  display:flex;
  gap:20px;
  align-items:center;
  margin-bottom:18px;
}
.hero > div { flex:1 }
.hero-preview { width:220px; }
.preview-card {
  background:linear-gradient(180deg,#ffffff,#f9fbfc);
  border-radius:12px;
  padding:10px;
  text-align:center;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}
.preview-card img { width:100%; border-radius:8px; object-fit:cover; height:120px }
.lead { color:#475569; margin-top:6px }

/* Chips */
.chip { background:#ecfeff; color:#084; padding:6px 8px; border-radius:999px; font-size:0.85rem; margin-right:6px; }

/* Tool card */
.tool-card {
  background:linear-gradient(180deg,#ffffff,#fcfeff);
  border-radius:12px;
  padding:18px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.05);
  margin-bottom:18px;
}
.tool-card h2 { margin-top:0; }
.upload-area {
  border:2px dashed #e2eff0;
  border-radius:10px;
  padding:28px;
  text-align:center;
  cursor:pointer;
  transition:all .18s ease;
  background:linear-gradient(180deg,#fff,#fbffff);
}
.upload-area:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(2,6,23,0.04) }
.upload-area.dragover { border-color:#06b6d4; background:#f0fdfa; color:#065f60; }
.cloud-icon { font-size:2rem; margin-bottom:6px }
.muted { color:#64748b; font-size:0.95rem }

/* Controls */
.controls { margin-top:14px; display:flex; flex-direction:column; gap:12px; }
.control-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.control-row.small { gap:8px; color:#334155; font-size:0.92rem }
.label { font-weight:600; margin-right:6px; color:#0f172a }

/* Inputs/buttons */
select, input[type="number"], input[type="range"] {
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #e6eef6;
  outline:none;
}
select { min-width:120px; }
input[type="range"] { width:150px; }

.btn-primary {
  background: linear-gradient(180deg,#06b6d4,#0891b2);
  color:white;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  box-shadow: 0 6px 18px rgba(6,182,212,0.15);
}
.btn-outline {
  background:transparent;
  border:1px solid #cbd5e1;
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
}

/* Progress */
.progress { height:10px; background:#eef2f6; border-radius:999px; overflow:hidden; margin-top:12px }
.progress-bar { height:100%; width:0%; background:linear-gradient(90deg,#06b6d4,#0891b2); transition:width .28s ease; }

/* Images grid */
.image-grid {
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap:12px;
}
.image-card {
  background:#ffffff;
  border-radius:10px;
  padding:8px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.03);
  position:relative;
  text-align:center;
}
.image-card img { width:100%; height:120px; object-fit:cover; border-radius:8px; display:block }
.image-card p { margin:6px 0 0 0; font-size:0.9rem; color:#0f172a }
.image-card .meta { color:#64748b; font-size:0.82rem; margin-top:4px }
.delete-btn {
  position:absolute; left:8px; top:8px; border:none; background:transparent; font-size:18px; color:#ef4444; cursor:pointer;
}
.status { position:absolute; right:8px; top:8px; background:#ecfdf5; color:#065f46; padding:4px 6px; border-radius:8px; font-size:0.85rem }

/* Summary & content */
.summary {
  background:#f8fafc; border-radius:10px; padding:10px; margin-top:12px; font-size:0.95rem; text-align:center; color:#0f172a;
}
.content-block { margin-top:18px; background:transparent; padding:12px 6px; }
.features-list { list-style: none; padding:0; margin:0; display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:10px }
.features-list li { background: #ffffff; padding:12px; border-radius:8px; box-shadow:0 6px 18px rgba(2,6,23,0.03) }

/* Footer */
.site-footer { border-top:1px solid #e6eef6; background:white; margin-top:24px; padding:16px 0 }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.footer-links a { margin-right:12px; color:#475569; text-decoration:none }
.footer-links a:hover { color:#06b6d4 }

/* Small screens */
@media (max-width:700px){
  .hero { flex-direction:column; align-items:flex-start }
  .hero-preview{ width:100% }
  .header-inner { flex-direction:column; align-items:flex-start; gap:8px }
  .footer-inner { flex-direction:column; align-items:flex-start }
}


/* body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  margin: 0;
  color: #222;
}

.page-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.side-ad {
  width: 120px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.main-container {
  max-width: 900px;
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 24px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
  padding: 40px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area.dragover {
  border-color: #0ea5a4;
  background: #f0fdfa;
  color: #0f766e;
}

.cloud-icon {
  font-size: 2rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

button {
  background: #0ea5a4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.6;
}

.progress {
  height: 8px;
  background: #e2e8f0;
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: #0ea5a4;
  transition: width 0.3s ease;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.image-card {
  background: #f9fafb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
  padding: 10px;
}

.image-card img {
  width: 100%;
  border-radius: 6px;
}

.image-card .status {
  position: absolute;
  top: 6px;
  right: 8px;
  color: green;
}

.image-card .delete-btn {
  position: absolute;
  top: 6px;
  left: 8px;
  background: none;
  border: none;
  color: #ef4444;
  font-size: 18px;
  cursor: pointer;
}

.summary {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.hidden {
  display: none;
}

.resize-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.resize-controls input[type="number"] {
  width: 80px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.resize-controls input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media screen and (max-width: 1000px) {
  .page-container {
    flex-direction: column;
    align-items: center;
  }
  .side-ad {
    width: 100%;
    margin: 10px 0;
  }
} */
