/* Shared page layout imported from main.css */
:root {
  --bg: #030405;
  --bg-soft: #070a0f;
  --surface: rgba(14, 18, 27, 0.88);
  --surface-solid: #0d111a;
  --surface-2: #111827;
  --text: #ffffff;
  --muted: #a7a9ac;
  --muted-2: #73777f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --blue: #006aa8;
  --sky: #40b4e5;
  --teal: #3fbfad;
  --green: #a4d55d;
  --orange: #fa8d29;
  --pink: #e11383;
  --purple: #752f8a;
  --danger: #ff5a66;
  --success: #3fbfad;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 72% 0%, rgba(64, 180, 229, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(117, 47, 138, 0.14), transparent 26%),
    linear-gradient(180deg, #080b11 0%, #030405 52%, #000000 100%);
  color: var(--text);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 80%);
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}
p {
  color: var(--muted);
  line-height: 1.72;
}
.page-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--text);
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 50;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 5, 7, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo,
.footer-logo {
  display: block;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-logo { height: 42px; max-width: 180px; }
.footer-logo { height: 34px; max-width: 150px; }
.brand-text,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-text { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-name,
.footer-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-subtitle,
.footer-small {
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: nowrap;
}
.nav,
.main-nav,
.footer-links,
.actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav,
.main-nav { justify-content: flex-end; }
.nav a,
.main-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav a,
.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover,
.main-nav a:hover,
.nav a:focus-visible,
.main-nav a:focus-visible,
.footer-links a:hover { color: var(--text); }
.nav a:hover,
.main-nav a:hover,
.nav a:focus-visible,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.support-link,
.support-button {
  color: #0d1118 !important;
  font-weight: 800 !important;
  border: 0;
  background: #FA8D29 !important;
}
.support-link:hover,
.support-link:focus-visible,
.support-button:hover,
.support-button:focus-visible {
  color: #0d1118 !important;
  background: #ff9b3f !important;
}
.btn.donation-link,
.button.donation-link {
  color: #0d1118 !important;
  background: #FA8D29 !important;
  border-color: transparent !important;
}
.btn.donation-link:hover,
.btn.donation-link:focus-visible,
.button.donation-link:hover,
.button.donation-link:focus-visible {
  color: #0d1118 !important;
  background: #ff9b3f !important;
}
.section { padding: clamp(34px, 6vw, 72px) 0; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    radial-gradient(circle at 85% 18%, rgba(64,180,229,0.22), transparent 32%),
    radial-gradient(circle at 16% 86%, rgba(225,19,131,0.12), transparent 34%),
    linear-gradient(135deg, rgba(15, 22, 35, 0.95), rgba(3, 4, 5, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--sky));
}
.gradient-text {
  background: linear-gradient(90deg, var(--green), var(--teal), var(--sky), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy,
.lead {
  color: #d3d6db;
  font-size: 1.04rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  color: #061014;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--sky));
  box-shadow: 0 16px 40px rgba(64, 180, 229, 0.22);
}
.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.06);
}
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff9ff;
  border: 1px solid rgba(64,180,229,0.34);
  background: rgba(64,180,229,0.12);
  font-size: 0.75rem;
  font-weight: 900;
}
.badge.soon {
  color: #fff4df;
  border-color: rgba(250,141,41,0.34);
  background: rgba(250,141,41,0.12);
}
.card,
.info-card,
.hero-panel,
.support-card,
.tool-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(13,17,26,0.86);
  box-shadow: 0 18px 56px rgba(0,0,0,0.28);
}
.card,
.info-card,
.hero-panel,
.support-card { padding: 24px; }
.tool-grid,
.info-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.pill-list,
.format-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}
.pill-list li,
.format-list li {
  color: #d8dde5;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}
.check-list { display: grid; }
.check-list li { color: #d8dde5; line-height: 1.6; }
.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
}
.footer-inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
}
.footer-links { justify-content: flex-end; }

@media (max-width: 980px) {
  .hero,
  .tool-grid,
  .info-grid,
  .link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-shell { width: min(100% - 22px, var(--max)); }
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-name,
  .brand-subtitle { white-space: normal; }
  .nav,
  .main-nav { width: 100%; justify-content: flex-start; }
  .nav a,
  .main-nav a { padding: 8px 10px; font-size: 0.82rem; }
  .hero { margin-top: 14px; padding: 20px; border-radius: 26px; }
  .brand-logo { height: 36px; max-width: 150px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .btn { width: 100%; }
}


/* Tool-specific UI */
.feature-card {
  display: grid;
  gap: 14px;
}
.future-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.future-tool {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
}
.upload-zone {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 22px;
  border: 1.5px dashed rgba(64,180,229,0.45);
  border-radius: var(--radius-lg);
  background: rgba(64,180,229,0.075);
  text-align: center;
}
.upload-zone.is-dragover {
  border-color: var(--green);
  background: rgba(164,213,93,0.12);
}
.upload-zone input { display: none; }
.tool-panel { padding: 20px; }
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.preview-box {
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.22);
}
.preview-box.transparent {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #d8dde5 25%, transparent 25%),
    linear-gradient(-45deg, #d8dde5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d8dde5 75%),
    linear-gradient(-45deg, transparent 75%, #d8dde5 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}
.preview-box img,
.preview-box canvas {
  display: block;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.status-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
}
.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--sky));
  transition: width 180ms ease;
}
.error-text { color: var(--danger); font-weight: 800; }
.success-text { color: var(--success); font-weight: 800; }
.hidden { display: none !important; }
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
  padding: 16px 18px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-list p { margin: 10px 0 0; }
@media (max-width: 980px) {
  .future-grid,
  .tool-layout,
  .preview-grid { grid-template-columns: 1fr; }
}
