:root {
  --bg: #edf1f6;
  --bg-2: #f3f5f8;
  --bg-3: #fafbfd;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-2: rgba(255, 255, 255, 0.92);
  --line: rgba(146, 161, 180, 0.24);
  --line-strong: rgba(114, 130, 150, 0.38);
  --text: #5e6d84;
  --text-strong: #162131;
  --muted: #6d7d96;
  --muted-2: #8794a9;
  --shadow: 0 28px 60px rgba(111, 125, 145, 0.16);
  --shadow-soft: 0 10px 28px rgba(133, 147, 167, 0.14);
  --shadow-button: 0 16px 30px rgba(145, 156, 174, 0.24);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --primary: #ffffff;
  --primary-2: #eef2f6;
  --success: #7ccfa0;
  --danger: #ff867e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(177, 186, 203, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(198, 204, 217, 0.08), transparent 30%),
    linear-gradient(180deg, #454a50 0%, #e8eef7 50%, #454a50 100%);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 0.12) 43%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 255, 255, 0.12) 57%,
      rgba(255, 255, 255, 0) 66%,
      rgba(255, 255, 255, 0) 100%
    );
  transform: translateX(-100%);
  animation: globalWave 14s linear infinite;
}

@keyframes globalWave {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

button,
input,
textarea,
select,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

[data-section-link="sellers"],
[data-section-jump="sellers"],
#sellers {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0 0;
  background: transparent;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1100px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 9999px;
  border: 1px solid rgba(170, 184, 201, 0.42);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(18px);
}

.brand {
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  padding: 0 12px 0 6px;
  color: transparent;
  background: linear-gradient(
    110deg,
    #1e2937 0%,
    #334155 25%,
    #64748b 45%,
    #1e2937 55%,
    #334155 75%,
    #1e2937 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
}

.nav-link {
  background: transparent;
  color: #6f7f97;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #334155;
}

.nav-link.active {
  background: linear-gradient(
    110deg,
    #1e2937 0%,
    #334155 25%,
    #64748b 45%,
    #1e2937 55%,
    #334155 75%,
    #1e2937 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: 0 4px 15px rgba(30, 41, 55, 0.25);
}

.nav-anchor {
  display: inline-flex;
  align-items: center;
}

.admin-link {
  color: #708199;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.caret {
  font-size: 11px;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  display: none;
  flex-direction: column;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(168, 182, 200, 0.44);
  box-shadow: var(--shadow);
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text-strong);
  padding: 12px 14px;
  border-radius: 12px;
  transition: 0.18s ease;
  font-weight: 600;
}

.dropdown-item:hover {
  background: rgba(237, 242, 247, 0.85);
}

.main-content {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.page-section {
  display: none;
  width: 100%;
}

.page-section.active {
  display: block;
}

#home {
  min-height: calc(100vh - 96px);
}

.hero-block {
  min-height: calc(100vh - 96px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 0 120px;
}

.hero-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(64px, 9vw, 118px);
  line-height: 0.94;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: transparent;
  background:
    linear-gradient(
      110deg,
      #1e2937 0%,
      #334155 25%,
      #64748b 45%,
      #1e2937 55%,
      #334155 75%,
      #1e2937 100%
    );
  background-size: 230% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroTextSweep 8s linear infinite;
  text-shadow: 0 4px 12px rgba(30, 41, 55, 0.3);
}

@keyframes heroTextSweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 230% 50%; }
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: 20px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.hero-cta-btn {
  margin-top: 34px;
  min-width: 320px;
  height: 74px;
  padding: 0 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow:
    0 18px 34px rgba(177, 188, 204, 0.24),
    0 8px 20px rgba(255, 255, 255, 0.55) inset;
  border: 1px solid rgba(184, 196, 213, 0.52);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
}

.hero-cta-btn:active {
  transform: translateY(0);
}

.home-cards {
  width: 100%;
  max-width: 860px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-card {
  min-height: 110px;
  padding: 22px;
  border-radius: 24px;
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(176, 190, 207, 0.38);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(166, 180, 198, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 156, 180, 0.44);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 30px rgba(162, 175, 194, 0.16);
}

.home-card-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.home-card-text {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.section-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.narrow-section {
  max-width: 860px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--text-strong);
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.toolbar {
  margin-bottom: 18px;
}

.section-input,
.tool-input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(174, 188, 206, 0.46);
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.section-input::placeholder,
.tool-input::placeholder {
  color: #95a2b3;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(176, 190, 207, 0.34);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(166, 180, 198, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 163, 183, 0.46);
  box-shadow: 0 18px 30px rgba(160, 174, 194, 0.16);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin-bottom: 16px;
  background: #eef2f7;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.product-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.product-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  color: #304767;
  font-weight: 700;
}

.product-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-meta-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(240, 244, 248, 0.94);
  color: #55657d;
  font-size: 12px;
  border: 1px solid rgba(185, 196, 211, 0.45);
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(176, 190, 207, 0.34);
  box-shadow: 0 10px 22px rgba(166, 180, 198, 0.12);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--text-strong);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tool-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(176, 190, 207, 0.34);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(166, 180, 198, 0.12);
}

.tool-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.primary-btn {
  height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(181, 194, 211, 0.42);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-btn:hover,
.converter-primary-btn:hover,
.tutorial-start-btn:hover,
.tutorial-inline-btn:hover,
.tutorial-primary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn:active,
.converter-primary-btn:active,
.tutorial-start-btn:active,
.tutorial-inline-btn:active,
.tutorial-primary-btn:active {
  transform: translateY(0);
}

.converter-shell {
  padding-top: 12px;
}

.converter-hero {
  margin-bottom: 22px;
}

.converter-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #8a97a8;
}

.converter-hero h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-strong);
}

.converter-hero p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.converter-board {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(176, 190, 207, 0.34);
  border-radius: 28px;
  box-shadow: 0 10px 22px rgba(166, 180, 198, 0.12);
  padding: 24px;
}

.converter-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.55fr) minmax(0, 0.55fr);
  gap: 14px;
  align-items: end;
}

.converter-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
}

.converter-input-dark {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(174, 188, 206, 0.46);
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-strong);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.converter-input-dark::placeholder {
  color: #95a2b3;
}

.converter-actions-top {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.converter-primary-btn,
.converter-secondary-btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.converter-primary-btn {
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(181, 194, 211, 0.42);
}

.converter-secondary-btn {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-strong);
  border: 1px solid rgba(174, 188, 206, 0.42);
}

.converter-secondary-btn:hover,
.converter-icon-btn:hover,
.tutorial-ghost-btn:hover {
  border-color: rgba(147, 163, 183, 0.52);
  background: rgba(255, 255, 255, 0.92);
}

.converter-divider {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: rgba(174, 188, 206, 0.35);
}

.converter-results-head {
  margin-bottom: 18px;
}

.converter-results-head h3 {
  margin: 0;
  font-size: 19px;
  color: var(--text-strong);
}

.converter-results-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.converter-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.converter-result-card {
  min-height: 190px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(180, 192, 207, 0.36);
}

.converter-card-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #8b98a8;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.platform-pill-neutral,
.platform-pill-weidian,
.platform-pill-taobao,
.platform-pill-kakobuy,
.platform-pill-usfans,
.platform-pill-litbuy,
.platform-pill-allchinabuy {
  background: rgba(240, 244, 248, 0.94);
  color: #4f6178;
  border: 1px solid rgba(183, 196, 212, 0.42);
}

.converter-url-text {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.65;
  word-break: break-word;
}

.converter-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.converter-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-strong);
  border: 1px solid rgba(176, 190, 207, 0.34);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.converter-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.converter-feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(180, 192, 207, 0.36);
}

.converter-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 244, 248, 0.94);
  font-size: 21px;
  flex-shrink: 0;
}

.converter-feature-card h4 {
  margin: 3px 0 8px;
  font-size: 18px;
  color: var(--text-strong);
}

.converter-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.converter-custom-select {
  position: relative;
}

.converter-custom-select.is-disabled .converter-select-button {
  cursor: default;
  opacity: 0.92;
}

.converter-select-button {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(174, 188, 206, 0.46);
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.converter-select-button:hover {
  border-color: rgba(147, 163, 183, 0.52);
}

.converter-select-caret {
  color: #8fa0b1;
  font-size: 13px;
  flex-shrink: 0;
}

.converter-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(168, 182, 200, 0.44);
  box-shadow: var(--shadow);
  z-index: 30;
}

.converter-custom-select.open .converter-select-menu {
  display: flex;
}

.converter-select-option {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  text-align: left;
  font-weight: 700;
}

.converter-select-option:hover {
  background: rgba(237, 242, 247, 0.85);
}

.converter-select-option.active {
  background: rgba(230, 236, 243, 0.88);
  color: #2452b2;
}

.tutorial-section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 18px;
}

.tutorials-overview {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  justify-content: center;
}

.tutorial-card-large,
.tutorial-small-card,
.tutorial-main-panel,
.tutorial-sidebar {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(176, 190, 207, 0.34);
  box-shadow: 0 10px 22px rgba(166, 180, 198, 0.12);
}

.tutorial-card-large {
  min-height: 360px;
  padding: 30px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.tutorial-card-large::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 221, 230, 0.34), transparent 62%);
}

.tutorial-card-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #8a97a8;
}

.tutorial-card-large h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(46px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--text-strong);
}

.tutorial-card-large p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.tutorial-start-btn {
  min-width: 188px;
  height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  font-weight: 800;
  font-size: 15px;
  margin-top: 34px;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(181, 194, 211, 0.42);
}

.tutorial-small-card {
  padding: 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tutorial-small-card h4 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--text-strong);
}

.tutorial-small-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.tutorial-player {
  display: block;
}

.tutorial-back-link {
  background: transparent;
  color: #7f8da0;
  font-weight: 700;
  padding: 0;
  margin-bottom: 20px;
}

.tutorial-player-head {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 840px;
}

.tutorial-player-head h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text-strong);
}

.tutorial-player-head p {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.tutorial-progress-track {
  width: min(1120px, 100%);
  height: 8px;
  border-radius: 999px;
  background: rgba(209, 218, 230, 0.62);
  overflow: hidden;
  margin: 24px auto 18px;
}

.tutorial-progress-fill {
  height: 100%;
  width: 7.69%;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff, #e9eef4);
  transition: width 0.25s ease;
}

.tutorial-top-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tutorial-step-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #7d8a9c;
  border: 1px solid rgba(176, 190, 207, 0.34);
  font-weight: 800;
  transition: 0.2s ease;
}

.tutorial-step-dot.active,
.tutorial-step-dot:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(146, 161, 180, 0.42);
  color: var(--text-strong);
}

.tutorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}

.tutorial-main-panel {
  position: relative;
  min-height: 560px;
  padding: 30px;
  border-radius: 28px;
  overflow: hidden;
}

.tutorial-sidebar {
  padding: 28px 18px;
  border-radius: 24px;
  align-self: start;
}

.tutorial-sidebar h4 {
  margin: 0 0 18px;
  font-size: 18px;
  text-align: center;
  color: var(--text-strong);
}

.tutorial-side-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
}

.tutorial-side-dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #7d8a9c;
  border: 1px solid rgba(176, 190, 207, 0.34);
  font-weight: 800;
  transition: 0.2s ease;
}

.tutorial-side-dot.active {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(146, 161, 180, 0.42);
  color: var(--text-strong);
}

.tutorial-step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tutorial-step-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(176, 190, 207, 0.34);
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}

.tutorial-step-header h3 {
  margin: 2px 0 6px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.tutorial-step-meta {
  margin: 0;
  color: #8a97a8;
  font-size: 18px;
}

.tutorial-step-description {
  margin: 26px 0 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.tutorial-step-media {
  margin-top: 8px;
}

.tutorial-shot {
  position: relative;
  width: min(100%, 720px);
  min-height: 320px;
  padding: 22px;
  border-radius: 22px;
  background: #f6f8fb;
  border: 1px solid rgba(176, 190, 207, 0.34);
  overflow: hidden;
}

.tutorial-shot-dark {
  background: linear-gradient(180deg, #f6f8fb, #eef2f7);
}

.tutorial-shot-browser-top {
  width: 100%;
  height: 28px;
  border-radius: 12px 12px 0 0;
  background: #e3e9f0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}

.tutorial-shot-browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #97a4b6;
}

.tutorial-mock-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 18px;
}

.tutorial-mock-panel,
.tutorial-mock-side {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  border: 1px solid rgba(176, 190, 207, 0.34);
}

.tutorial-mock-title {
  width: 56%;
  height: 18px;
  border-radius: 999px;
  background: rgba(170, 181, 196, 0.34);
  margin-bottom: 18px;
}

.tutorial-mock-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.tutorial-mock-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(170, 181, 196, 0.26);
}

.tutorial-mock-image {
  width: 100%;
  height: 190px;
  border-radius: 16px;
  background: linear-gradient(180deg, #edf2f7, #dfe6ee);
  position: relative;
  overflow: hidden;
}

.tutorial-mock-image.blue,
.tutorial-mock-image.gray,
.tutorial-mock-image.dark {
  background: linear-gradient(180deg, #edf2f7, #dfe6ee);
}

.tutorial-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 52px solid #ff867e;
  filter: drop-shadow(0 8px 10px rgba(255, 134, 126, 0.16));
}

.tutorial-arrow::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -68px;
  width: 20px;
  height: 60px;
  background: #ff867e;
  border-radius: 999px;
}

.tutorial-label-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(240, 244, 248, 0.94);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid rgba(183, 196, 212, 0.42);
}

.tutorial-shot-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 720px);
  min-height: 240px;
  border-radius: 20px;
  background: #f6f8fb;
  border: 1px solid rgba(176, 190, 207, 0.34);
  padding: 28px;
}

.tutorial-shot-plain p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 20px;
  text-align: left;
}

.tutorial-step-inline-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tutorial-inline-btn {
  min-width: 190px;
  height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  font-weight: 800;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(181, 194, 211, 0.42);
}

.tutorial-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.tutorial-nav-group {
  display: flex;
  gap: 10px;
}

.tutorial-ghost-btn,
.tutorial-primary-btn,
.tutorial-success-btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tutorial-ghost-btn {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-strong);
  border: 1px solid rgba(176, 190, 207, 0.34);
}

.tutorial-primary-btn {
  background: linear-gradient(180deg, #ffffff, #edf2f7);
  color: #162131;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(181, 194, 211, 0.42);
}

.tutorial-success-btn {
  background: linear-gradient(180deg, #dff6e7, #b8e7c7);
  color: #1d3a28;
  box-shadow: 0 14px 34px rgba(111, 211, 154, 0.16);
}

.tutorial-confetti-layer {
  display: none;
}

.page-confetti-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 9999;
}

.confetti-piece {
  position: absolute;
  top: -24px;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  opacity: 0.95;
  animation: confettiFallPage 2300ms linear forwards;
}

@keyframes confettiFallPage {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift, 0px), 110vh, 0) rotate(720deg) scale(0.94);
    opacity: 0;
  }
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: auto auto 0;
  padding: 0 0 28px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: rgba(174, 188, 206, 0.3);
  margin-bottom: 22px;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #95a2b3;
  font-size: 15px;
}

@media (max-width: 1180px) {
  .home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .converter-input-row {
    grid-template-columns: 1fr;
  }

  .converter-results-grid,
  .converter-feature-grid,
  .tutorials-overview {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .tutorial-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-sidebar {
    order: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 14px;
  }

  .nav-wrap,
  .section-container,
  .tutorial-section-shell,
  .site-footer,
  .hero-block {
    width: min(100%, calc(100% - 24px));
  }

  .nav-wrap {
    padding: 14px;
    gap: 14px;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    font-size: 19px;
    line-height: 1.1;
    padding: 0;
    text-align: left;
  }

  .desktop-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
  }

  .nav-link {
    min-width: 0;
    padding: 10px 6px;
    font-size: 11px;
    text-align: center;
    border-radius: 14px;
    line-height: 1.2;
  }

  .dropdown {
    min-width: 0;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    width: min(240px, calc(100vw - 32px));
  }

  .hero-block {
    min-height: auto;
    padding: 56px 0 74px;
    align-items: flex-start;
  }

  .hero-inner {
    max-width: 100%;
    padding: 0 8px;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.065em;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
    max-width: 350px;
  }

  .hero-cta-btn {
    margin-top: 28px;
    width: 100%;
    min-width: 0;
    max-width: 520px;
    height: 70px;
    border-radius: 26px;
    font-size: 19px;
  }

  .home-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
    max-width: 100%;
    gap: 12px;
  }

  .home-card {
    min-height: 94px;
    padding: 18px 18px;
    border-radius: 22px;
  }

  .home-card-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .home-card-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .tool-form {
    flex-direction: column;
  }

  .primary-btn {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .converter-actions-top,
  .tutorial-bottom-nav,
  .tutorial-nav-group,
  .tutorial-step-inline-actions {
    flex-direction: column;
  }

  .converter-primary-btn,
  .converter-secondary-btn,
  .tutorial-ghost-btn,
  .tutorial-primary-btn,
  .tutorial-success-btn,
  .tutorial-inline-btn {
    width: 100%;
  }

  .tutorial-top-steps {
    gap: 8px;
  }

  .tutorial-step-dot {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .tutorial-side-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .tutorial-main-panel {
    min-height: auto;
    padding: 20px;
  }

  .tutorial-shot,
  .tutorial-shot-plain {
    min-height: 240px;
    padding: 16px;
  }

  .tutorial-mock-grid {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 34px 0 72px;
  }

  .section-head h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .section-head p {
    font-size: 15px;
  }

  .site-footer {
    padding-bottom: 22px;
  }

  .site-footer p {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 560px) {
  .desktop-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
  }

  .nav-link {
    font-size: 10px;
    padding: 9px 4px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-block {
    padding-top: 46px;
    padding-bottom: 68px;
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-subtitle {
    max-width: 310px;
    font-size: 14px;
  }

  .hero-cta-btn {
    height: 66px;
    font-size: 17px;
    border-radius: 24px;
  }

  .home-card {
    min-height: 90px;
  }

  .product-card {
    padding: 14px;
    border-radius: 22px;
  }

  .product-card img {
    height: 220px;
    border-radius: 16px;
  }

  .converter-board,
  .tool-card,
  .tutorial-card-large,
  .tutorial-small-card,
  .tutorial-main-panel,
  .tutorial-sidebar {
    border-radius: 24px;
  }
}