:root {
  --navy: #061941;
  --navy-2: #0a275f;
  --blue: #075bbb;
  --cyan: #18c8ee;
  --purple: #7c55ff;
  --orange: #a94719;
  --orange-dark: #8f3610;
  --ink: #0c1d39;
  --muted: #66758f;
  --line: #dce5f4;
  --soft: #f4f7fc;
  --white: #fff;
  --green: #18a86b;
  --shadow: 0 24px 70px rgba(13, 42, 91, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 228, 244, .8);
}
.header-inner {
  width: min(1240px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { width: 122px; flex: 0 0 auto; }
.brand img { width: 100%; height: 52px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.main-nav a { color: #4c5a72; font-size: 14px; font-weight: 600; transition: .2s ease; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.header-cta, .primary-button {
  border: 0;
  color: white;
  background: linear-gradient(135deg, #086dff, #11bce9);
  box-shadow: 0 11px 26px rgba(11, 115, 255, .24);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.header-cta { padding: 11px 17px; font-size: 13px; }
.header-cta:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(11, 115, 255, .3); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 54px;
  padding-top: 76px;
  padding-bottom: 72px;
}
.tool-brand { display: inline-flex; align-items: center; gap: 10px; color: #50617c; font-size: 14px; font-weight: 600; margin-bottom: 25px; }
.tool-brand strong { color: var(--navy); font-family: system-ui, sans-serif; font-size: 17px; }
.tool-brand-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: white; font-family: system-ui, sans-serif; font-weight: 700; background: linear-gradient(145deg, var(--orange), #ff9d55); box-shadow: 0 8px 18px rgba(242,120,47,.25); }
.eyebrow, .section-kicker { display: block; margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.hero h1 { max-width: 680px; margin: 0; color: var(--navy); font: 750 clamp(48px, 5.6vw, 77px)/.98 system-ui, sans-serif; letter-spacing: -.055em; }
.hero h1 span { display: block; background: linear-gradient(90deg, #0874ff 5%, #13c3e8 58%, #6753f8); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-description { max-width: 620px; margin: 27px 0 23px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 32px; color: #46556d; font-size: 13px; font-weight: 600; }
.hero-points span { display: flex; align-items: center; gap: 7px; }
.hero-points i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 999px; background: #e7f8f1; color: var(--green); font-style: normal; font-size: 11px; }
.hero-button { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; }
.hero-button svg { width: 18px; }

.hero-art { position: relative; min-height: 510px; display: grid; place-items: center; overflow: clip; }
.hero-art::before { content: ""; position: absolute; width: 450px; height: 450px; border-radius: 50%; background: linear-gradient(145deg, #eaf4ff 0%, #f3efff 55%, #fff4eb 100%); box-shadow: inset 0 0 0 1px rgba(51, 104, 189, .08); }
.hero-ring { position: absolute; border: 1px solid rgba(25, 115, 234, .15); border-radius: 50%; }
.ring-one { width: 500px; height: 500px; animation: spin 24s linear infinite; }
.ring-two { width: 386px; height: 386px; border-style: dashed; animation: spinReverse 28s linear infinite; }
.ring-one::before, .ring-two::before { content: ""; position: absolute; top: -5px; left: 48%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.mascot-card { position: relative; width: min(430px, 88%); z-index: 2; animation: floatMascot 4.5s ease-in-out infinite; }
.mascot-card img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(15, 35, 73, .18)); }
.mascot-glow { position: absolute; inset: 26% 18% 5%; background: rgba(23, 198, 237, .25); filter: blur(40px); border-radius: 50%; z-index: -1; }
.floating-pill { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(216, 226, 242, .9); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 18px 45px rgba(20,46,91,.13); backdrop-filter: blur(10px); font-size: 12px; color: #6d7890; }
.floating-pill strong { color: var(--navy); }
.pill-one { top: 73px; left: 0; padding: 13px 15px; animation: floatPill 4s ease-in-out infinite; }
.pill-one b { color: var(--blue); }
.pill-two { right: 2px; bottom: 93px; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 16px; animation: floatPill 4s 1s ease-in-out infinite; }
.pill-two span { color: var(--orange); font-size: 18px; font-weight: 800; }

.section-heading { margin-bottom: 42px; }
.section-heading.centered { text-align: center; }
.section-heading.narrow { max-width: 690px; margin-inline: auto; margin-bottom: 42px; }
.section-heading h2 { margin: 0; color: var(--navy); font: 750 clamp(34px, 4vw, 48px)/1.12 system-ui, sans-serif; letter-spacing: -.035em; }
.section-heading p { max-width: 700px; margin: 17px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.tool-section { padding: 95px 0 72px; }
.ad-section { display: block; max-width: 980px; min-height: 90px; margin: 0 auto 28px; padding: 12px 24px; border-radius: 20px; background: rgba(255,255,255,.78); }
.tool-app { overflow: hidden; border: 1px solid #dbe5f3; border-radius: 26px; background: white; box-shadow: var(--shadow); }
.tool-topbar { min-height: 77px; padding: 15px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e2e9f4; background: linear-gradient(180deg, #fff, #fbfdff); }
.tool-title { display: flex; align-items: center; gap: 12px; }
.tool-title-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px rgba(9,113,255,.22); }
.tool-title-icon svg { width: 23px; }
.tool-title div { display: flex; flex-direction: column; }
.tool-title strong { font: 700 16px system-ui, sans-serif; color: var(--navy); }
.tool-title small { margin-top: 2px; color: #8a96aa; font-size: 11px; }
.local-badge { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: #ebf9f3; color: #17815a; font-size: 11px; font-weight: 700; }
.local-badge span { width: 7px; height: 7px; border-radius: 50%; background: #1abc79; box-shadow: 0 0 0 4px rgba(26,188,121,.12); }
.upload-view { padding: 24px; }
.drop-zone { width: 100%; min-height: 420px; border: 2px dashed #cddbef; border-radius: 21px; background: linear-gradient(145deg, #f8fbff, #fbfaff); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--muted); cursor: pointer; transition: .22s ease; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--blue); background: #f3f8ff; transform: translateY(-2px); }
.drop-zone.dragover { box-shadow: inset 0 0 0 4px rgba(11,115,255,.07); }
.upload-icon { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 10px; color: var(--blue); border-radius: 22px; background: white; box-shadow: 0 15px 34px rgba(20,67,135,.12); }
.upload-icon svg { width: 34px; }
.drop-zone strong { color: var(--navy); font: 700 21px "Space Grotesk", sans-serif; }
.drop-zone > span:not(.upload-icon):not(.choose-file) { font-size: 14px; }
.choose-file { margin: 13px 0 5px; padding: 11px 18px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 10px; font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px rgba(11,115,255,.22); }
.drop-zone small { color: #98a3b5; font-size: 11px; }

.workspace { display: grid; grid-template-columns: 420px 1fr; min-height: 620px; }
.controls-panel { padding: 24px; border-right: 1px solid #e1e9f4; background: #fbfdff; }
.selected-file { display: grid; grid-template-columns: 50px minmax(0, 1fr) 35px 35px; gap: 8px; align-items: center; padding: 10px; border: 1px solid #e2e9f3; border-radius: 8px; background: white; }
.selected-thumb { width: 50px; height: 46px; border-radius: 9px; background: #eef2f8; overflow: hidden; }
.selected-thumb img { width: 100%; height: 100%; object-fit: cover; }
.selected-info { min-width: 0; display: flex; flex-direction: column; }
.selected-info strong { overflow: hidden; color: var(--navy); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.selected-info span { margin-top: 3px; color: #8a96a8; font-size: 10px; }
.icon-button { width: 33px; height: 33px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #7c8799; background: #f4f6fa; cursor: pointer; }
.icon-button:hover { color: #d84747; background: #fff0f0; }
.icon-button svg { width: 16px; }
.batch-list { max-height: 168px; margin-top: 8px; overflow: auto; border: 1px solid #e1e9f3; border-radius: 8px; background: white; }
.batch-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 7px; align-items: center; min-height: 42px; padding: 6px 8px; border-bottom: 1px solid #edf1f6; }
.batch-item:last-child { border-bottom: 0; }
.batch-item.active { background: #edf5ff; }
.batch-item > button:first-child { min-width: 0; overflow: hidden; border: 0; color: #32425a; background: transparent; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; font-size: 10px; font-weight: 700; }
.batch-item small { color: #8794a8; font-size: 9px; }
.batch-action { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #dde6f0; border-radius: 6px; color: #687891; background: white; cursor: pointer; }
.batch-action:hover { color: var(--blue); border-color: #a9c8ee; }
.batch-action svg { width: 14px; }
.mode-fieldset { margin: 23px 0 18px; padding: 0; border: 0; }
.mode-fieldset legend, .setting-panel > label:first-child, .format-row label { margin-bottom: 9px; color: #34425a; font-size: 11px; font-weight: 700; }
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border: 1px solid #e0e8f3; border-radius: 12px; background: white; }
.mode-tab { min-height: 67px; padding: 7px 5px; border: 0; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #77849a; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.mode-tab svg { width: 19px; }
.mode-tab.active { color: var(--blue); background: #edf5ff; box-shadow: inset 0 0 0 1px rgba(11,115,255,.08); }
.setting-panel { min-height: 220px; padding: 17px; border: 1px solid #e1e8f2; border-radius: 14px; background: white; }
.setting-panel > label { display: block; }
.input-with-unit { display: grid; grid-template-columns: 1fr 48px; overflow: hidden; border: 1px solid #cfdbea; border-radius: 10px; transition: .2s; }
.input-with-unit:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,115,255,.1); }
.input-with-unit input { width: 100%; border: 0; outline: 0; padding: 11px 12px; color: var(--navy); font-size: 18px; font-weight: 700; }
.input-with-unit span { display: grid; place-items: center; color: #718099; background: #f5f7fa; border-left: 1px solid #dde5ee; font-size: 11px; font-weight: 700; }
.quick-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.quick-values button { padding: 7px 4px; border: 1px solid #e0e7f0; border-radius: 8px; color: #718098; background: #fafbfd; font-size: 9px; font-weight: 700; cursor: pointer; }
.quick-values button:hover, .quick-values button.selected { border-color: rgba(11,115,255,.35); color: var(--blue); background: #edf5ff; }
.toggle-row { margin-top: 16px; display: grid !important; grid-template-columns: 1fr 37px; gap: 10px; align-items: center; cursor: pointer; }
.toggle-row span { display: flex; flex-direction: column; }
.toggle-row strong { color: #36445a; font-size: 10px; }
.toggle-row small { margin-top: 2px; color: #929caf; font-size: 8px; }
.toggle-row input { position: absolute; opacity: 0; }
.toggle-row i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #cfd8e5; transition: .2s; }
.toggle-row i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: .2s; }
.toggle-row input:checked + i { background: var(--blue); }
.toggle-row input:checked + i::after { transform: translateX(16px); }
.setting-note { margin: 12px 0 0; color: #909bad; font-size: 9px; line-height: 1.45; }
.preset-select { width: 100%; margin-bottom: 12px; padding: 9px 10px; border: 1px solid #cfdae9; border-radius: 8px; color: #38475e; background: white; font-size: 10px; font-weight: 600; }
.range-value { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range-value strong { color: var(--blue); font: 700 28px "Space Grotesk", sans-serif; }
.range-value span { color: #8290a5; font-size: 10px; }
.range-input { width: 100%; accent-color: var(--blue); }
.dimension-grid { display: grid; grid-template-columns: 1fr 38px 1fr; gap: 7px; align-items: end; }
.dimension-grid label { color: #4e5c70; font-size: 10px; font-weight: 700; }
.dimension-grid label span { float: right; color: #a0a8b5; font-size: 8px; }
.dimension-grid input { width: 100%; margin-top: 7px; padding: 11px 9px; border: 1px solid #cfdae9; border-radius: 9px; outline: 0; color: var(--navy); font-size: 13px; font-weight: 700; }
.dimension-grid input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,115,255,.1); }
.ratio-lock { width: 34px; height: 38px; margin-bottom: 1px; display: grid; place-items: center; border: 1px solid #d7e1ed; border-radius: 9px; color: #8a96a8; background: #f8fafc; cursor: pointer; }
.ratio-lock svg { width: 16px; }
.ratio-lock.active { color: var(--blue); border-color: rgba(11,115,255,.32); background: #edf5ff; }
.format-row { display: flex; align-items: center; justify-content: space-between; margin: 15px 0; }
.format-row label { margin: 0; }
.format-row select { width: 150px; padding: 9px 10px; border: 1px solid #d3deeb; border-radius: 9px; color: #435168; background: white; outline: 0; font-size: 11px; font-weight: 600; }
.quality-row { margin: 14px 0; padding: 13px; border: 1px solid #e1e8f2; border-radius: 8px; background: white; }
.quality-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.quality-heading label { color: #34425a; font-size: 11px; font-weight: 700; }
.quality-heading strong { color: var(--blue); font: 700 15px "Space Grotesk", sans-serif; }
.quality-values { grid-template-columns: repeat(3, 1fr); }
.quality-row.disabled { opacity: .62; }
.process-button { width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.process-button svg { width: 17px; }
.process-button.processing { pointer-events: none; opacity: .86; }
.process-button.processing .button-label, .process-button.processing > svg { display: none; }
.button-spinner { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.process-button.processing .button-spinner { display: block; }
.error-message { margin: 10px 0 0; padding: 9px 10px; border-radius: 8px; color: #b22b2b; background: #fff0f0; font-size: 10px; }

.preview-panel { min-width: 0; display: flex; flex-direction: column; background: white; }
.preview-header { min-height: 59px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6ecf4; }
.preview-tabs { display: flex; gap: 5px; }
.preview-tab { padding: 7px 13px; border: 0; border-radius: 8px; color: #8090a6; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.preview-tab.active { color: var(--blue); background: #edf5ff; }
.preview-tab:disabled { opacity: .45; cursor: not-allowed; }
.checker-toggle { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); place-content: center; gap: 1px; border: 1px solid #e0e7f0; border-radius: 8px; background: white; cursor: pointer; }
.checker-toggle span:nth-child(odd) { background: #cfd7e2; }
.checker-toggle span:nth-child(even) { background: #eef2f6; }
.preview-stage { position: relative; flex: 1; min-height: 480px; padding: 24px; display: grid; place-items: center; overflow: hidden; background: #f4f6fa; }
.preview-stage.checker { background-color: #fff; background-image: linear-gradient(45deg, #e8ecf2 25%, transparent 25%),linear-gradient(-45deg, #e8ecf2 25%, transparent 25%),linear-gradient(45deg, transparent 75%, #e8ecf2 75%),linear-gradient(-45deg, transparent 75%, #e8ecf2 75%); background-size: 20px 20px; background-position: 0 0,0 10px,10px -10px,-10px 0; }
.preview-stage img { max-width: 100%; max-height: 440px; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(18, 38, 72, .13)); }
.compare-view { position: absolute; inset: 18px; overflow: hidden; }
.compare-view > img, .compare-view > div, .compare-view > div img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.compare-view > div { overflow: hidden; clip-path: inset(0 50% 0 0); }
.compare-view input { position: absolute; z-index: 3; left: 5%; bottom: 14px; width: 90%; accent-color: var(--blue); }
.compare-before, .compare-after { position: absolute; z-index: 2; top: 12px; padding: 5px 8px; border-radius: 6px; color: white; background: rgba(7, 28, 74, .78); font-size: 9px; font-weight: 700; }
.compare-before { left: 12px; }
.compare-after { right: 12px; }
.empty-result { text-align: center; color: #8995a7; }
.empty-result span { display: block; margin-bottom: 10px; font-size: 30px; }
.empty-result strong { display: block; color: #4b586d; font-size: 14px; }
.empty-result small { display: block; margin-top: 5px; font-size: 10px; }
.preview-stats { min-height: 74px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e3eaf3; }
.preview-stats div { padding: 13px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #e5ebf3; }
.preview-stats div:last-child { border-right: 0; }
.preview-stats span { color: #8c98aa; font-size: 9px; }
.preview-stats strong { margin-top: 3px; color: var(--navy); font-size: 11px; }
.result-bar { min-height: 92px; padding: 15px 20px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 22px; align-items: center; border-top: 1px solid #dfe8f2; background: linear-gradient(90deg, #f0fbf6, #f7fbff); }
.result-summary { display: flex; align-items: center; gap: 11px; }
.success-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); box-shadow: 0 8px 20px rgba(24,168,107,.24); }
.success-icon svg { width: 20px; }
.result-summary div { display: flex; flex-direction: column; }
.result-summary strong { color: #143d2d; font-size: 13px; }
.result-summary span { margin-top: 3px; color: #6f8b80; font-size: 9px; }
.result-numbers { display: flex; align-items: center; gap: 10px; }
.result-numbers > div:not(.saved-badge) { display: flex; flex-direction: column; }
.result-numbers span { color: #8795a6; font-size: 8px; }
.result-numbers strong { color: var(--navy); font-size: 12px; }
.result-arrow { color: var(--blue) !important; font-size: 16px !important; }
.saved-badge { padding: 5px 8px; border-radius: 999px; color: #158258; background: #dff7eb; font-size: 8px; font-weight: 800; }
.download-button { height: 43px; padding: 0 16px; border: 0; border-radius: 10px; display: flex; align-items: center; gap: 8px; color: white; background: linear-gradient(135deg, var(--orange), #ff9b4b); box-shadow: 0 10px 24px rgba(242,120,47,.25); font-size: 11px; font-weight: 800; cursor: pointer; }
.download-button:hover { transform: translateY(-1px); }
.download-button svg { width: 17px; }
.batch-results { padding: 0 20px 20px; background: white; }
.batch-result { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid #e7edf5; }
.batch-result strong { overflow: hidden; color: #31415a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.batch-result span { color: #7e8ca0; font-size: 10px; }
.batch-result a { color: var(--blue); font-size: 10px; font-weight: 700; }
.browser-note { margin: 18px 0 0; text-align: center; color: #56657a; font-size: 11px; }
.browser-note span { margin-right: 4px; }

.how-section { padding: 100px 0; background: linear-gradient(180deg, #f8fbff, #f3f7fe); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; min-height: 285px; padding: 32px; overflow: hidden; border: 1px solid #dfe8f3; border-radius: 20px; background: white; box-shadow: 0 13px 34px rgba(26, 54, 99, .07); }
.step-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -55px; bottom: -55px; border-radius: 50%; background: #edf6ff; }
.featured-step { color: white; border-color: transparent; background: linear-gradient(145deg, #0a5edb, #109fe5); box-shadow: 0 20px 45px rgba(12,103,219,.23); }
.featured-step::after { background: rgba(255,255,255,.08); }
.step-number { position: absolute; right: 24px; top: 20px; color: #edf2f9; font: 700 50px "Space Grotesk", sans-serif; }
.featured-step .step-number { color: rgba(255,255,255,.13); }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: #edf5ff; }
.featured-step .step-icon { color: white; background: rgba(255,255,255,.15); }
.step-icon svg { width: 26px; }
.step-card h3 { margin: 30px 0 11px; color: var(--navy); font: 700 20px "Space Grotesk", sans-serif; }
.featured-step h3 { color: white; }
.step-card p { margin: 0; color: #738096; font-size: 14px; line-height: 1.7; }
.featured-step p { color: rgba(255,255,255,.78); }

.privacy-section { padding: 95px 0; }
.privacy-card { min-height: 390px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; overflow: hidden; border-radius: 28px; color: white; background: radial-gradient(circle at 88% 20%, rgba(31,207,238,.23), transparent 28%), linear-gradient(135deg, #06163e, #0c3071); box-shadow: 0 30px 65px rgba(6,25,65,.24); }
.privacy-copy { padding: 60px 65px; }
.section-kicker.light { color: #55d5ee; }
.privacy-copy h2 { margin: 0; font: 700 clamp(36px,4vw,52px)/1.1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.privacy-copy p { max-width: 650px; margin: 19px 0 27px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.8; }
.privacy-list { display: flex; flex-wrap: wrap; gap: 17px 24px; }
.privacy-list span { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 600; }
.privacy-list i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #082857; background: #47d8c0; font-style: normal; font-size: 11px; }
.privacy-visual { position: relative; height: 100%; display: grid; place-items: center; }
.privacy-visual svg { position: relative; z-index: 2; width: 130px; color: #65dcf1; stroke-width: 1.1; filter: drop-shadow(0 0 24px rgba(101,220,241,.45)); }
.shield-orbit { position: absolute; width: 265px; height: 265px; border: 1px solid rgba(104,218,241,.25); border-radius: 50%; animation: spin 18s linear infinite; }
.shield-orbit::before, .shield-orbit::after { content: ""; position: absolute; inset: 28px; border: 1px dashed rgba(255,255,255,.15); border-radius: 50%; }
.shield-orbit::after { inset: 63px; border-style: solid; }
.shield-orbit span { position: absolute; width: 12px; height: 12px; top: 25px; left: 32px; border-radius: 50%; background: #4edaf0; box-shadow: 0 0 20px #4edaf0; }

.popular-tools { padding: 90px 0 30px; }
.popular-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.popular-links a { display: flex; min-height: 92px; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid #dfe7f2; border-radius: 8px; background: white; transition: .2s ease; }
.popular-links a:hover { border-color: #9dc5f4; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(25, 70, 134, .09); }
.popular-links strong { color: var(--navy); font: 700 15px "Space Grotesk", sans-serif; }
.popular-links span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.seo-guide { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; padding: 74px 0; }
.seo-guide h2 { margin: 0; color: var(--navy); font: 700 clamp(30px, 3vw, 42px)/1.15 "Space Grotesk", sans-serif; }
.seo-guide p { margin: 16px 0 0; color: var(--muted); line-height: 1.75; }
.seo-guide ol { margin: 0; padding: 0; list-style: none; counter-reset: guide; }
.seo-guide li { counter-increment: guide; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e1e8f2; color: #46556d; font-size: 13px; }
.seo-guide li::before { content: counter(guide); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: white; background: var(--blue); font-weight: 800; }

.faq-section { padding: 45px 0 95px; }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 75px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--navy); font-weight: 700; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: #eef5ff; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; left: 7px; right: 7px; top: 12px; height: 2px; }
.faq-list summary span::after { transform: rotate(90deg); transition: .2s; }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -4px 50px 24px 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.cta-section { padding-bottom: 95px; }
.cta-card { min-height: 190px; padding: 42px 50px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: radial-gradient(circle at 15% 0, rgba(255,255,255,.18), transparent 30%), linear-gradient(120deg, #f06f28, #ff9a42); box-shadow: 0 24px 50px rgba(242,120,47,.22); }
.cta-card span { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cta-card h2 { margin: 7px 0 0; font: 700 clamp(29px,4vw,42px) "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.cta-white-button { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; color: #c85111; background: white; box-shadow: 0 11px 25px rgba(113,45,7,.16); font-size: 12px; font-weight: 800; }
.cta-white-button b { font-size: 20px; }

.ecosystem-section { padding: 0 0 95px; }
.ecosystem-section .section-heading { margin-bottom: 28px; }
.ecosystem-section .section-heading p { margin-inline: 0; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ecosystem-grid a { min-height: 160px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border: 1px solid #dfe8f3; border-radius: 18px; background: #fff; box-shadow: 0 13px 34px rgba(26, 54, 99, .07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ecosystem-grid a:hover { transform: translateY(-3px); border-color: rgba(11,115,255,.32); box-shadow: 0 18px 40px rgba(26, 54, 99, .11); }
.ecosystem-grid strong { color: var(--navy); font: 700 17px "Space Grotesk", sans-serif; }
.ecosystem-grid span { color: var(--muted); font-size: 12px; line-height: 1.6; }

.site-footer { color: rgba(255,255,255,.7); background: #051432; }
.footer-main { padding: 68px 0 46px; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-djai { width: 135px; height: 62px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 310px; margin: 15px 0 18px; font-size: 12px; line-height: 1.7; }
.footer-tool-mark { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.62); font-size: 11px; }
.footer-tool-mark span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: white; background: var(--orange); font-weight: 700; }
.footer-tool-mark strong { color: white; font-family: system-ui, sans-serif; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column strong { margin-bottom: 9px; color: white; font-size: 12px; }
.footer-column a { font-size: 11px; transition: .2s; }
.footer-column a:hover { color: #5dd9ef; transform: translateX(2px); }
.footer-bottom { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { font-size: 10px; }
.developer-credit { display: flex; align-items: center; gap: 12px; }
.developer-credit span { font-size: 9px; }
.developer-credit img { width: 110px; height: 58px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); }

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #dfe8f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 42px rgba(10, 31, 71, .08);
}
.share-buttons.compact { grid-column: 1 / -1; margin-top: 0; }
.share-buttons span { padding: 0 6px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.share-buttons a,
.share-buttons button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #eef6ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.share-buttons a:hover,
.share-buttons button:hover { color: white; background: var(--blue); }

.promo-modal[hidden] { display: none; }
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 20, 50, .58);
  backdrop-filter: blur(8px);
  animation: promo-fade .18s ease-out;
}
.promo-modal.closing { animation: promo-fade-out .18s ease-in forwards; }
.promo-card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(93, 217, 239, .28), transparent 34%),
    linear-gradient(135deg, #071a3f, #0b1026 58%, #25115d);
  color: white;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}
.promo-card .section-kicker { color: #5dd9ef; }
.promo-card h2 { margin: 10px 0 12px; font-size: clamp(27px, 5vw, 40px); line-height: 1.04; letter-spacing: -.04em; }
.promo-card p:not(.section-kicker) { color: rgba(255, 255, 255, .78); line-height: 1.7; }
.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.promo-actions a,
.promo-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.promo-actions a { color: #071a3f; background: white; }
.promo-actions button { border: 1px solid rgba(255, 255, 255, .28); color: white; background: transparent; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes floatMascot { 0%,100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-12px) rotate(.5deg); } }
@keyframes floatPill { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes promo-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes promo-fade-out { to { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1050px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .hero { gap: 15px; }
  .workspace { grid-template-columns: 380px 1fr; }
  .footer-main { gap: 28px; }
}

@media (max-width: 880px) {
  .header-inner { height: 68px; }
  .brand { width: 105px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 61px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #dfe7f2; border-radius: 14px; background: white; box-shadow: 0 20px 40px rgba(10,31,71,.15); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 13px; border-radius: 9px; font-size: 13px; }
  .main-nav a:hover, .main-nav a.active { background: #eff6ff; }
  .main-nav a.active::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 60px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { max-width: 690px; }
  .hero-art { min-height: 480px; }
  .workspace { grid-template-columns: 1fr; }
  .controls-panel { border-right: 0; border-bottom: 1px solid #e1e9f4; }
  .setting-panel { min-height: auto; }
  .preview-stage { min-height: 430px; }
  .result-bar { grid-template-columns: 1fr auto; }
  .result-numbers { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 230px; }
  .privacy-card { grid-template-columns: 1fr; }
  .privacy-visual { min-height: 300px; }
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular-links { grid-template-columns: 1fr 1fr; }
  .seo-guide { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; align-content: flex-start; }
  .footer-column:last-child strong { width: 100%; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .header-inner { width: calc(100% - 24px); }
  .hero { padding-top: 44px; padding-bottom: 42px; }
  .tool-brand { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-description { font-size: 15px; line-height: 1.65; }
  .hero-points { justify-content: center; gap: 10px 14px; }
  .hero-art { min-height: 395px; }
  .hero-art::before { width: 330px; height: 330px; }
  .ring-one { width: 370px; height: 370px; }
  .ring-two { width: 300px; height: 300px; }
  .mascot-card { width: 330px; }
  .pill-one { top: 42px; left: 4px; }
  .pill-two { right: 0; bottom: 55px; }
  .tool-section { padding-top: 72px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 34px; }
  .tool-app { border-radius: 18px; }
  .tool-topbar { padding: 12px 14px; }
  .local-badge { display: none; }
  .upload-view { padding: 12px; }
  .drop-zone { min-height: 350px; padding: 20px; }
  .controls-panel { padding: 14px; }
  .mode-tabs { gap: 3px; }
  .mode-tab { font-size: 9px; }
  .preview-stage { min-height: 340px; padding: 14px; }
  .preview-stage img { max-height: 310px; }
  .preview-stats div { padding: 11px 9px; }
  .result-bar { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .download-button { width: 100%; justify-content: center; }
  .privacy-copy { padding: 42px 28px; }
  .privacy-list { flex-direction: column; gap: 11px; }
  .privacy-visual { min-height: 240px; }
  .cta-card { padding: 36px 25px; flex-direction: column; align-items: flex-start; }
  .cta-white-button { width: 100%; justify-content: space-between; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .popular-links { grid-template-columns: 1fr; }
  .selected-file { grid-template-columns: 46px minmax(0, 1fr) 33px 33px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-column:last-child { grid-column: 1 / 3; }
  .footer-bottom { padding: 20px 0; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
