body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #1f2733;
  background: #f4f5f7;
}

.page-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  background: #fff;
  border-bottom: 1px solid #dde2e8;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 36px;
  height: auto;
  border-radius: 10px;
  background: #2d8ce8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-text {
  font-size: 1.55rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #24364a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
}

.nav-links .nav-cta {
  border: 1px solid #cfd8e3;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 600;
}

.nav-links .active-link {
  background: #eef4fb;
  color: #1f5d9a;
}

.hero {
  padding: 74px 0 32px;
  text-align: center;
}

.hero-pill {
  display: inline-block;
  background: #e7f1ff;
  color: #2d79d8;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.12;
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 span { color: #2b85de; }

.hero-sub {
  max-width: 820px;
  margin: 18px auto 0;
  color: #44566b;
  font-size: 1.14rem;
  line-height: 1.5;
}

.trust {
  margin-top: 4px;
  margin-bottom: 12px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d4e3f5;
  background: #f1f7ff;
  color: #2f6fb2;
  font-size: 0.92rem;
  font-weight: 700;
}

.tool-wrap {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
  max-width: 910px;
}

.card {
  background: #fff;
  border: 1px solid #d8e1ec;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(25, 39, 59, 0.08);
  padding: 22px;
}

.tool-form {
  display: grid;
  gap: 12px;
}

.dropzone {
  border: 2px dashed #9dc5f2;
  border-radius: 14px;
  min-height: 320px;
  display: grid;
  place-content: center;
  text-align: center;
  cursor: pointer;
  background: #f7fbff;
  padding: 20px;
}

.dropzone.dragover {
  background: #edf6ff;
  border-color: #5a9be5;
}

.dropzone input { display: none; }

.drop-preview {
  width: min(240px, 80%);
  max-height: 150px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #cfe0f4;
  background: #ffffff;
  margin: 0 auto 14px;
}

.dropzone.has-preview .drop-icon {
  display: none;
}

.drop-icon {
  font-size: 2rem;
  color: #5b96d8;
}

.drop-title {
  margin-top: 12px;
  color: #2a80de;
  font-weight: 800;
  font-size: 1.35rem;
}

.drop-sub {
  margin-top: 8px;
  color: #334050;
  font-size: 1.2rem;
  line-height: 1.2;
}

.drop-help {
  margin-top: 20px;
  color: #4c6179;
  font-size: 0.96rem;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.97rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid #d2dce8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.range-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field input[type="range"] { padding: 0; }

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #394e66;
  font-size: 0.93rem;
}

.actions { margin-top: 2px; }

.btn {
  border: 0;
  border-radius: 10px;
  background: #2b85de;
  color: #fff;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
}

.btn:hover { background: #1f74c8; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

.status {
  min-height: 20px;
  font-size: 0.93rem;
  color: #455a72;
}

.status.error { color: #bf2f2c; }
.status.success { color: #168654; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-item h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.preview-frame {
  position: relative;
}

.preview-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f4f7fb;
  border-radius: 10px;
  border: 1px solid #dbe4ee;
}

.preview-image[hidden],
.preview-placeholder[hidden] {
  display: none !important;
}

.preview-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  border: 1px dashed #bfd2e8;
  background: linear-gradient(180deg, #f8fbff, #edf4fb);
  display: grid;
  place-content: center;
  text-align: center;
  color: #4a6078;
  padding: 12px;
}

.preview-placeholder p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.preview-icon {
  font-size: 1.3rem;
}

.result-meta {
  margin-top: 12px;
  border: 1px solid #d4dfeb;
  border-radius: 12px;
  background: #f9fcff;
  padding: 12px;
  line-height: 1.6;
  font-size: 0.93rem;
}

.result-heading {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.download-link {
  margin-top: 12px;
  display: inline-block;
  text-decoration: none;
  background: #188955;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
}

.stats-wrap {
  border-top: 1px solid #dde3eb;
  border-bottom: 1px solid #dde3eb;
  background: #ffffff;
  margin-top: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 26px 0;
}

.stats-grid div { text-align: center; }

.stats-grid strong {
  display: block;
  color: #2b85de;
  font-size: 2rem;
  font-weight: 600;
}

.stats-grid span { color: #5a6676; font-size: 0.98rem; }

.section {
  padding: 54px 0 18px;
}

.section h2 {
  font-size: 2.05rem;
  margin-bottom: 8px;
}

.section-sub {
  color: #45596f;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  background: #fbfbfb;
  border: 1px solid #dbe2ec;
  border-radius: 16px;
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: #44586e;
  font-size: 1rem;
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.steps div {
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  padding: 16px;
}

.steps span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e8f2ff;
  color: #2d7fda;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.steps p { margin: 0; color: #495a70; }

.privacy-list {
  margin: 0;
  padding-left: 18px;
  color: #3f5369;
  font-size: 1.03rem;
  line-height: 1.7;
}

.faq-section {
  padding-top: 44px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  color: #253549;
  cursor: pointer;
}

.faq-icon {
  color: #2b85de;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.faq-content {
  border-top: 1px solid #e6edf5;
  padding: 12px 16px 14px;
}

.faq-content p {
  margin: 0;
  color: #3d5168;
  line-height: 1.6;
}

.nav-links a:focus-visible,
.nav-cta:focus-visible,
.dropzone:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field input[type="range"]:focus-visible,
.check-row input:focus-visible,
.btn:focus-visible,
.download-link:focus-visible,
.faq-trigger:focus-visible {
  outline: 3px solid #1d72d8;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(29, 114, 216, 0.2);
}

.faq-trigger:focus-visible {
  position: relative;
  z-index: 1;
}

.dropzone:focus-within {
  border-color: #3d8fe4;
  background: #edf6ff;
}

.footer {
  border-top: 1px solid #d9e0ea;
  margin-top: 28px;
  padding: 24px 16px;
  text-align: center;
  color: #5f6d7c;
  background: #fff;
}

.footer p { margin: 4px 0; }

@media (max-width: 1024px) {
  .page-wrap {
    width: min(1120px, calc(100% - 24px));
  }
  .hero {
    padding: 56px 0 24px;
  }
  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    max-width: 720px;
  }
  .hero-sub {
    font-size: 1.02rem;
  }
  .dropzone {
    min-height: 260px;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .page-wrap {
    width: calc(100% - 20px);
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    min-height: auto;
  }
  .brand {
    width: 100%;
    justify-content: space-between;
  }
  .brand-logo {
    width: 138px;
    height: auto;
  }
  .brand-text {
    font-size: 1.2rem;
  }
  .nav-links {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
  .nav-links .nav-cta {
    padding: 9px 12px;
    border-radius: 10px;
  }
  .hero {
    padding: 34px 0 18px;
  }
  .hero-pill {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .hero-sub {
    margin-top: 12px;
    font-size: 0.96rem;
  }
  .trust {
    margin-bottom: 10px;
  }
  .trust-badge {
    font-size: 0.82rem;
    padding: 7px 10px;
  }
  .card {
    padding: 14px;
    border-radius: 12px;
  }
  .tool-wrap {
    gap: 12px;
    margin-bottom: 18px;
  }
  .dropzone {
    min-height: 200px;
    padding: 14px;
    border-radius: 12px;
  }
  .drop-preview {
    width: min(180px, 75%);
    max-height: 110px;
    margin-bottom: 10px;
  }
  .drop-title {
    font-size: 1.05rem;
    margin-top: 8px;
  }
  .drop-sub {
    font-size: 0.95rem;
  }
  .drop-help {
    font-size: 0.84rem;
    margin-top: 10px;
  }
  .result-heading {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .preview-item h3 {
    font-size: 0.9rem;
  }
  .result-meta {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .download-link {
    width: 100%;
    text-align: center;
    padding: 11px 12px;
  }
  .stats-grid {
    gap: 12px;
    padding: 16px 0;
  }
  .stats-grid strong {
    font-size: 1.55rem;
  }
  .stats-grid span {
    font-size: 0.9rem;
  }
  .section {
    padding: 34px 0 10px;
  }
  .section h2 {
    font-size: 1.55rem;
  }
  .section-sub {
    font-size: 0.94rem;
    margin-bottom: 14px;
  }
  .feature-card {
    padding: 14px;
    border-radius: 12px;
  }
  .feature-card h3 {
    font-size: 1.05rem;
  }
  .feature-card p {
    font-size: 0.92rem;
  }
  .privacy-list {
    font-size: 0.95rem;
    line-height: 1.55;
    padding-left: 16px;
  }
  .faq-trigger {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .faq-content {
    padding: 10px 14px 12px;
  }
  .faq-content p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .footer {
    margin-top: 18px;
    padding: 16px 12px;
    font-size: 0.88rem;
  }
  .controls-grid,
  .preview-grid,
  .stats-grid,
  .feature-grid,
  .steps { grid-template-columns: 1fr; }
  .trust-badges { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .page-wrap {
    width: calc(100% - 14px);
  }
  .brand-logo {
    width: 124px;
    height: auto;
  }
  .brand-text {
    font-size: 1.05rem;
  }
  .nav-links {
    gap: 6px;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .hero h1 {
    font-size: 1.48rem;
  }
  .hero-sub {
    font-size: 0.9rem;
  }
  .trust-badge {
    font-size: 0.78rem;
    padding: 6px 8px;
  }
  .card {
    padding: 12px;
  }
  .dropzone {
    min-height: 180px;
    padding: 12px;
  }
  .drop-title {
    font-size: 0.98rem;
  }
  .drop-sub {
    font-size: 0.88rem;
  }
  .drop-help {
    font-size: 0.78rem;
  }
  .field label,
  .check-row,
  .status,
  .result-meta,
  .feature-card p,
  .privacy-list,
  .faq-content p {
    font-size: 0.86rem;
  }
  .btn,
  .download-link {
    font-size: 0.9rem;
  }
  .section h2 {
    font-size: 1.35rem;
  }
  .section-sub {
    font-size: 0.88rem;
  }
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 760px) {
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #d9e2ee;
    backdrop-filter: blur(6px);
    transition: transform 0.22s ease;
    will-change: transform;
  }

  .mobile-action-bar.is-hidden {
    transform: translateY(110%);
  }

  .mobile-btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 10px;
    font: inherit;
    font-weight: 700;
  }

  .mobile-btn-secondary {
    background: #eef4fb;
    color: #22415f;
    border: 1px solid #cbd9e9;
  }

  .mobile-btn-primary {
    background: #2b85de;
    color: #fff;
  }

  .mobile-btn:disabled {
    opacity: 0.7;
  }
}

