body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f9f9fb;
  color: #222;
}

/* Header */
.site-header {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 40px;
  height: 40px;
}

.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.tagline {
  margin: 0;
  font-size: 0.85rem;
  color: #e0e7ff;
}

main {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: auto;
}

.tool-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  text-align: center;
}

.tool-box h2 {
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

/* Upload */
.browse-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.browse-btn:hover {
  background: #e2e8f0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.action-row select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: white;
  font-weight: 500;
}

.action-row button {
  padding: 0.5rem 1.2rem;
  border: none;
  background: #3b82f6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.action-row button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.action-row button:hover:not(:disabled) {
  background: #2563eb;
}

.comparison-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.image-box {
  text-align: center;
  flex: 1;
  min-width: 280px;
}

.canvas-box {
  max-width: 100%;
  max-height: 400px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
}

.size-info {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* SEO Info */
.tool-info {
  background: #f8fafc;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.tool-info h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #1e3a8a;
}

.tool-info h3 {
  margin-top: 1.2rem;
  color: #334155;
}

.tool-info p,
.tool-info ul {
  line-height: 1.6;
  color: #374151;
}

.tool-info ul {
  padding-left: 1.2rem;
}

/* Ads */
.ad-slot {
  border: 2px dashed #d1d5db;
  text-align: center;
  padding: 1rem;
  margin: 1rem 0;
  color: #555;
  background: #f3f4f6;
  border-radius: 8px;
}
.site-footer {
  background: linear-gradient(to right, #eef4f8, #f7fafc);
  border-top: 1px solid #dce4ec;
  margin-top: 60px;
  font-size: 15px;
  color: #444;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.footer-logo {
  width: 42px;
  height: 42px;
  margin-bottom: -11px;
}

.footer-brand h3 {
  font-size: 20px;
  margin: 0;
  color: #222;
}

.footer-tagline {
  font-size: 13px;
  color: #666;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #0072ff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: #0052b4;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
  color: #888;
}

