/* ============================================================
   ResizeKit — style.css
   Primary:   #1a1a2e   (deep navy)
   Secondary: #e94560   (vivid red-coral)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1a1a2e;
  --primary-light: #252545;
  --secondary:     #e94560;
  --secondary-dark:#c73350;
  --bg:            #f5f5f7;
  --surface:       #ffffff;
  --border:        #e2e2e8;
  --text:          #1a1a2e;
  --text-muted:    #6b6b80;
  --text-light:    #9999aa;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:          ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --transition:    0.2s ease;
  --navbar-h:      64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.highlight { color: var(--secondary); font-weight: 600; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }
.btn-sm { font-size: 0.82rem; padding: 7px 14px; }
.btn-lg { font-size: 0.98rem; padding: 13px 26px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); box-shadow: 0 4px 16px rgba(233,69,96,.3); }

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg); color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-icon:hover { background: rgba(233,69,96,.08); color: var(--secondary); }

/* ─── NAVBAR ─── */
.navbar {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--navbar-h);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}
.nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(26,26,46,.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 16px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu .nav-link { display: block; padding: 10px 12px; font-size: 0.95rem; }

/* ─── HERO ─── */
.hero {
  padding: 80px 0 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(233,69,96,.08);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: inline-flex;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 36px;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.04em;
  font-family: var(--mono);
}
.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ─── SECTION HEADERS ─── */
.section-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ─── TOOL SECTION ─── */
.tool-section {
  padding: 72px 0 80px;
}
.tool-section .section-label,
.tool-section .section-title {
  margin-bottom: 40px;
}

.tool-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ─── DROPZONE ─── */
.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--bg);
}
.dropzone:hover {
  border-color: var(--secondary);
  background: rgba(233,69,96,.03);
}
.dropzone.dragover {
  border-color: var(--secondary);
  background: rgba(233,69,96,.06);
  transform: scale(1.01);
}
.dropzone-icon {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.dropzone-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.dropzone-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dropzone-formats {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text-light);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ─── PREVIEW BOX ─── */
.preview-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.preview-filename {
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
.preview-img-wrap {
  position: relative;
  min-height: 200px;
  max-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: repeating-conic-gradient(#e0e0e0 0% 25%, #f5f5f5 0% 50%) 0 0 / 16px 16px;
}
.preview-img-wrap img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
.preview-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(26,26,46,.7);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--mono);
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.preview-meta {
  display: flex;
  padding: 12px 14px;
  gap: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.meta-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}
.meta-item:first-child { padding-left: 0; }
.meta-item:last-child { border-right: none; }
.meta-key { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.meta-val { font-size: 0.85rem; font-weight: 500; color: var(--primary); font-family: var(--mono); }

/* ─── CONTROLS ─── */
.control-group { margin-bottom: 20px; }
.control-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -moz-appearance: textfield;
}
.form-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(233,69,96,.12);
  background: var(--surface);
}
.form-input::-webkit-inner-spin-button,
.form-input::-webkit-outer-spin-button { opacity: 0.4; }

.form-select {
  width: 100%;
  padding: 9px 36px 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--primary);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  outline: none;
  transition: border-color var(--transition);
  cursor: pointer;
}
.form-select:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(233,69,96,.12); }

/* ─── TABS ─── */
.tab-group {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
  gap: 2px;
}
.tab-btn {
  flex: 1;
  padding: 7px 10px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) { color: var(--primary); }

.tab-content { display: none; margin-top: 16px; }
.tab-content.active { display: block; }

/* ─── INPUT ROW ─── */
.input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.input-row .form-group { flex: 1; }
.lock-icon {
  width: 36px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  margin-bottom: 0;
  align-self: flex-end;
}
.lock-icon.locked {
  color: var(--secondary);
  border-color: var(--secondary);
  background: rgba(233,69,96,.06);
}
.lock-icon:hover { border-color: var(--secondary); color: var(--secondary); }

/* ─── RANGE SLIDER ─── */
.range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  margin: 10px 0 6px;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2.5px solid var(--surface);
  box-shadow: 0 1px 6px rgba(233,69,96,.4);
  cursor: pointer;
  transition: transform var(--transition);
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2.5px solid var(--surface);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ─── PRESET GRID ─── */
.preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.preset-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: left;
  font-family: var(--font);
}
.preset-btn:hover { border-color: var(--secondary); background: rgba(233,69,96,.03); }
.preset-btn.active { border-color: var(--secondary); background: rgba(233,69,96,.06); }
.preset-name { font-size: 0.8rem; font-weight: 600; color: var(--primary); line-height: 1.2; }
.preset-size { font-size: 0.72rem; font-family: var(--mono); color: var(--text-muted); margin-top: 3px; }

/* ─── FIT OPTIONS ─── */
.fit-options {
  display: flex;
  gap: 8px;
}
.fit-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
}
.fit-option:hover { border-color: var(--secondary); color: var(--primary); }
.fit-option.active { border-color: var(--secondary); background: rgba(233,69,96,.06); color: var(--primary); }
.fit-icon { color: var(--text-muted); }
.fit-option.active .fit-icon { color: var(--secondary); }

/* ─── ACTION ROW ─── */
.action-row { display: flex; flex-direction: column; gap: 8px; }

/* ─── OUTPUT CARD ─── */
.output-card {
  margin-top: 16px;
  border: 1.5px solid #34d399;
  background: rgba(52,211,153,.04);
  border-radius: var(--radius);
  padding: 16px;
}
.output-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 12px;
}
.output-card .meta-item { flex-direction: row; align-items: center; justify-content: space-between; border-right: none; border-bottom: 1px solid rgba(52,211,153,.2); padding: 6px 0; }
.output-card .meta-item:last-child { border-bottom: none; }
.output-card .meta-key { font-size: 0.8rem; }
.output-card .meta-val { font-size: 0.85rem; }
.output-card .btn-primary { margin-top: 14px; }

/* ─── QUALITY LABEL ─── */
.quality-val {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  margin-left: 4px;
}

/* ─── FEATURES SECTION ─── */
.features-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-section .section-sub { margin-bottom: 48px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-title { font-size: 0.98rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; letter-spacing: -0.02em; }
.feature-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── FORMATS SECTION ─── */
.formats-section { padding: 80px 0; }
.formats-section .section-title { margin-bottom: 36px; }
.formats-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.formats-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.88rem;
}
.formats-table th {
  background: var(--bg);
  padding: 12px 20px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.formats-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.formats-table tr:last-child td { border-bottom: none; }
.formats-table tr:hover td { background: var(--bg); }

.format-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.check { color: #059669; font-weight: 600; }
.cross { color: var(--text-light); }

/* ─── FAQ SECTION ─── */
.faq-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-section .section-title { margin-bottom: 36px; }
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--secondary); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--secondary); }
.faq-arrow { flex-shrink: 0; transition: transform var(--transition); color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--secondary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 18px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 18px 16px; }
.faq-a p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer .brand { color: #fff; }
.footer .brand-icon { background: rgba(255,255,255,0.15); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 8px; max-width: 220px; line-height: 1.5; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
}

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 900px) {
  .tool-wrapper { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 56px; }
  .hero-stats { flex-wrap: wrap; }
  .stat { padding: 12px 24px; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-actions .btn:not(.hamburger) { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 40px 0 48px; text-align: left; }
  .hero-label { font-size: 0.72rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { margin-left: 0; font-size: 0.95rem; }
  .hero-cta { justify-content: flex-start; }
  .hero-stats { width: 100%; border-radius: var(--radius); }
  .stat { flex: 1; padding: 12px 12px; }
  .stat-num { font-size: 1.2rem; }

  .tool-section, .features-section, .formats-section, .faq-section { padding: 48px 0; }
  .tool-panel { padding: 16px; }

  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 18px; }

  .preset-grid { grid-template-columns: 1fr 1fr; }

  .fit-options { flex-wrap: wrap; }
  .fit-option { flex: none; width: calc(30% - 4px); margin: auto; }

  .footer-inner { flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 36px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }

  /* Make tool feel like a mobile app */
  .panel-controls { position: relative; }
  .formats-table th, .formats-table td { padding: 10px 12px; font-size: 0.8rem; }
  .faq-list { max-width: 100%; }
  .input-row { gap: 6px; }
}

/* ─── LOADING SPINNER ─── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ─── */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease forwards;
  pointer-events: auto;
  max-width: 280px;
}
.toast.error { background: var(--secondary); }
.toast.success { background: #059669; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ─── OUTPUT PREVIEW ─── */
.output-preview-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: repeating-conic-gradient(#e0e0e0 0% 25%, #f5f5f5 0% 50%) 0 0 / 16px 16px;
  margin-bottom: 14px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.output-preview-wrap img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.output-preview-wrap:hover .fullscreen-btn {
  opacity: 1;
  transform: translateY(0);
}
.fullscreen-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: rgba(26,26,46,0.82);
  border: none;
  border-radius: 8px;
  padding: 6px 11px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.fullscreen-btn:hover { background: var(--secondary); }
@media (hover: none) {
  .fullscreen-btn { opacity: 1; transform: translateY(0); }
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1080px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.lightbox-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
}
.lightbox-actions { display: flex; gap: 8px; }
.lightbox-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.lightbox-close-btn:hover { background: rgba(233,69,96,0.25); border-color: var(--secondary); color: #fff; }

.lightbox-img-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: repeating-conic-gradient(rgba(255,255,255,.04) 0% 25%, transparent 0% 50%) 0 0 / 20px 20px;
  min-height: 0;
}
.lightbox-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 130px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  user-select: none;
}
.lightbox-info {
  padding: 12px 18px;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .lightbox-inner { width: 100vw; max-height: 100dvh; border-radius: 0; }
  .lightbox-img-wrap { padding: 16px; }
  .lightbox-img-wrap img { max-height: calc(100dvh - 130px); }
}

/* ─── POST PAGE ─── */
.post-page { max-width: 1250px; margin: 0 auto; padding: 0 24px 80px; }
@media (max-width: 600px) { .post-page { padding: 0 16px 60px; } }

.tool-zone { padding: 20px 0 0; }
.tool-zone-inner { max-width: 1250px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .tool-zone-inner { padding: 0 16px; } }
.tool-zone-title { font-size: clamp(1.8rem,5vw,2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 12px; }
.tool-missing { background: #fee2e2; color: #991b1b; padding: 14px 18px; border-radius: 10px; font-size: .875rem; margin: 20px 0; border: 1px solid #fca5a5; }

.share-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
@media (max-width: 680px) { .share-bar { flex-direction: column; align-items: flex-start; padding: 18px; } }
.share-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-light); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--border); font-family: inherit; font-size: .8rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all .15s; white-space: nowrap; }
.share-btn:hover { border-color: currentColor; transform: translateY(-1px); }
.share-btn-twitter  { color: #1d9bf0; background: #f0f9ff; }
.share-btn-facebook { color: #1877f2; background: #eff4ff; }
.share-btn-linkedin { color: #0077b5; background: #f0f7fb; }
.share-btn-copy     { color: var(--text-muted); background: var(--bg); }
.share-btn-copy.copied { color: #059669; border-color: #059669; background: #ecfdf5; }

.feedback-group { display: flex; align-items: center; gap: 10px; }
.feedback-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-light); }
.feedback-btns { display: flex; gap: 6px; }
.feedback-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 8px; border: 1.5px solid var(--border); font-family: inherit; font-size: .82rem; font-weight: 500; background: var(--bg); color: var(--text-muted); cursor: pointer; transition: all .15s; }
.feedback-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }
.feedback-btn.active-pos { border-color: #059669; color: #059669; background: #ecfdf5; }
.feedback-btn.active-neg { border-color: var(--secondary); color: var(--secondary); background: #fff5f7; }
.feedback-form-wrap { display: none; margin-top: 2px; }
.feedback-form-wrap.open { display: block; }
.feedback-form { background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 14px 14px; padding: 20px 28px 24px; }
.feedback-form textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .9rem; color: var(--primary); resize: vertical; min-height: 80px; outline: none; transition: border-color .15s; }
.feedback-form textarea:focus { border-color: var(--secondary); }
.feedback-form-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.feedback-form-hint { font-size: .78rem; color: var(--text-light); }
.feedback-thanks { font-size: .88rem; color: #059669; font-weight: 500; padding: 12px 0 4px; }

.result-card { display: none; }
.result-card.visible { display: block; }
.result-actions { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.result-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--border); font-family: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; background: var(--surface); color: var(--primary); transition: all .15s; }
.result-btn:hover { border-color: var(--primary); background: var(--bg); }
.result-btn-danger { color: var(--secondary); }
.result-btn-danger:hover { border-color: var(--secondary); background: #fff5f7; }
.result-preview-wrap { background: repeating-conic-gradient(#e8e8ee 0% 25%,#f5f5f7 0% 50%) 0 0/16px 16px; border: 1.5px solid var(--border); border-radius: 14px 14px 0 0; display: flex; align-items: center; justify-content: center; min-height: 200px; cursor: pointer; position: relative; overflow: hidden; }
.result-preview-wrap img { display: block; max-width: 100%; max-height: 400px; width: auto; height: auto; object-fit: contain; }
.result-fullscreen-btn { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: .75rem; font-weight: 500; color: #fff; background: rgba(26,26,46,.75); border: none; border-radius: 8px; padding: 6px 11px; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s; }
.result-fullscreen-btn:hover { background: var(--secondary); }
.result-meta { display: flex; border: 1.5px solid var(--border); border-top: none; border-radius: 0 0 14px 14px; background: var(--surface); overflow: hidden; }
.result-meta-item { flex: 1; padding: 13px 16px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
.result-meta-item:last-child { border-right: none; }
.result-meta-key { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); }
.result-meta-val { font-size: .88rem; font-weight: 500; color: var(--primary); }
@media (max-width: 540px) { .result-meta { flex-wrap: wrap; } .result-meta-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); } .result-meta-item:nth-last-child(-n+2) { border-bottom: none; } }
.result-download-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 20px; margin: 14px 0; background: var(--secondary); color: #fff; border: none; border-radius: 12px; font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .15s, transform .1s; letter-spacing: -.01em; }
.result-download-btn:hover { background: var(--secondary-dark); transform: translateY(-1px); }
.result-download-btn:active { transform: translateY(0); }

.result-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.result-layout .result-preview-wrap { border-radius: 14px; }
.result-layout .result-meta { flex-direction: column; border-top: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.result-layout .result-meta-item { flex: none; border-right: none; border-bottom: 1px solid var(--border); }
.result-layout .result-meta-item:last-child { border-bottom: none; }
.result-layout .result-download-btn { margin: 14px 0 0; }
@media (max-width: 768px) { .result-layout { grid-template-columns: 1fr; gap: 0; } .result-layout .result-preview-wrap { border-radius: 14px 14px 0 0; } .result-layout .result-meta { flex-direction: row; flex-wrap: wrap; border-top: none; border-radius: 0 0 14px 14px; } .result-layout .result-meta-item { flex: 1; border-right: 1px solid var(--border); border-bottom: none; } .result-layout .result-meta-item:last-child { border-right: none; } .result-layout .result-download-btn { margin: 14px 0; } }
@media (max-width: 540px) { .result-layout .result-meta-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); } .result-layout .result-meta-item:nth-last-child(-n+2) { border-bottom: none; } }

.post-body-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-top: 52px; align-items: start; }
@media (max-width: 960px) { .post-body-wrap { grid-template-columns: 1fr; gap: 32px; } .post-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: static !important; } }
@media (max-width: 600px) { .post-body-wrap { padding-top: 36px; } .post-sidebar { grid-template-columns: 1fr; } }

.post-header { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 2px solid #f0f0f4; }
.post-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.post-type-badge { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.post-type-tool    { background: #ede9fe; color: #5b21b6; }
.post-type-article { background: #e0f2fe; color: #0369a1; }
.post-date, .post-author { font-size: .82rem; color: var(--text-muted); }
.post-title-h1 { font-size: clamp(1.6rem,3.5vw,2.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; color: var(--primary); margin-bottom: 12px; }
.post-excerpt { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; border-left: 3px solid var(--secondary); padding-left: 16px; margin-top: 10px; }

.post-content { font-size: .97rem; line-height: 1.8; color: #2d2d42; background: var(--surface); padding: 20px; margin-bottom: 18px; }
.post-content h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; color: var(--primary); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f4; }
.post-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin: 26px 0 10px; }
.post-content h4 { font-size: 1rem; font-weight: 600; color: var(--primary); margin: 20px 0 8px; }
.post-content p  { margin-bottom: 18px; }
.post-content a  { color: var(--secondary); text-underline-offset: 3px; }
.post-content a:hover { opacity: .8; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content li { margin-bottom: 8px; }
.post-content img { max-width: 100%; border-radius: 10px; margin: 8px 0; display: block; }
.post-content blockquote { border-left: 4px solid var(--secondary); margin: 24px 0; padding: 14px 20px; background: #fff9f9; color: #5a5a72; font-style: italic; border-radius: 0 8px 8px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: .9rem; }
.post-content th { background: var(--bg); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.post-content td { padding: 10px 14px; border: 1px solid var(--border); }
.post-content pre { background: var(--primary); color: #e2e2f0; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: .85rem; font-family: var(--mono); margin-bottom: 18px; }
.post-content code { font-family: var(--mono); font-size: .85em; background: #f0f0f6; color: var(--secondary); padding: 2px 6px; border-radius: 4px; }
.post-content pre code { background: none; color: inherit; padding: 0; }
.post-content p:empty { display: none; }

.post-faqs { padding-top: 40px; margin-top: 52px; border-top: 2px solid #f0f0f4; }
.post-faqs-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; color: var(--primary); margin-bottom: 20px; }
.post-faqs .faq-item { border-radius: 12px; background: var(--surface); }
.post-faqs .faq-item.open { border-color: var(--secondary); box-shadow: 0 2px 12px rgba(233,69,96,.08); }
.post-faqs .faq-item.open .faq-q { color: var(--secondary); }
.post-faqs .faq-item.open .faq-arrow { color: var(--secondary); }
.post-faqs .faq-item.open .faq-a { max-height: 600px; padding: 0; }
.post-faqs .faq-a p { padding: 4px 20px 18px; margin: 0; border-top: 1px solid #f0f0f4; }

.post-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.sidebar-title { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f4; display: flex; align-items: center; gap: 6px; }
.sidebar-links { list-style: none; display: flex; flex-direction: column; }
.sidebar-links li { border-bottom: 1px solid #f5f5f7; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { display: block; padding: 9px 2px; font-size: .85rem; color: #2d2d42; text-decoration: none; transition: color .15s, padding-left .15s; line-height: 1.4; }
.sidebar-links a:hover { color: var(--secondary); padding-left: 6px; }
.sidebar-empty { font-size: .85rem; color: var(--text-light); }

.article-share { margin: 36px 0 0; padding: 20px 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.tool-page-layout { max-width: 1250px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 280px; gap: 0 40px; align-items: start; }
.tool-page-main { min-width: 0; }
.tool-page-layout .tool-zone-inner { padding-left: 0; padding-right: 0; }
.tool-page-layout .post-page { max-width: none; padding-left: 0; padding-right: 0; }
.tool-page-sidebar { position: sticky; top: 90px; padding-top: 20px; }
@media (max-width: 960px) { .tool-page-layout { grid-template-columns: 1fr; } .tool-page-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0 32px; } }
@media (max-width: 600px) { .tool-page-layout { padding: 0 16px; } .tool-page-sidebar { grid-template-columns: 1fr; } }

/* ─── LANDING PAGE ─── */
.lp-hero { background: var(--surface); text-align: center; padding: 30px 24px 0; }
.lp-hero-name { font-size: clamp(2rem,5vw,3rem); font-weight: 700; letter-spacing: -.05em; color: var(--primary); margin-bottom: 14px; line-height: 1.1; }
.lp-hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.65; }

.lp-tool { background: var(--surface); border-bottom: 1px solid var(--border); padding: 25px 0 48px; }
.lp-tool-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .lp-tool-inner { padding: 0 14px; } }

.lp-how { background: #f9f9fb; border-bottom: 1px solid var(--border); padding: 72px 24px; }
.lp-section-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
.lp-section-title { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 700; letter-spacing: -.04em; color: var(--primary); margin-bottom: 48px; }
.lp-how-inner { max-width: 960px; margin: 0 auto; }
.lp-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.lp-steps::before { content: ''; position: absolute; top: 28px; left: calc(16.6% + 8px); right: calc(16.6% + 8px); height: 1px; background: var(--border); }
.lp-step { padding: 0 32px 0 0; }
.lp-step:last-child { padding-right: 0; }
.lp-step-num { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 700; font-family: var(--mono); color: var(--primary); margin-bottom: 20px; position: relative; z-index: 1; }
.lp-step-title { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; color: var(--primary); margin-bottom: 8px; }
.lp-step-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 640px) { .lp-steps { grid-template-columns: 1fr; gap: 32px; } .lp-steps::before { display: none; } .lp-step { padding: 0; } }

.lp-features { background: var(--surface); border-bottom: 1px solid var(--border); padding: 72px 24px; }
.lp-features-inner { max-width: 960px; margin: 0 auto; }
.lp-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--border); }
.lp-feature { background: var(--surface); padding: 28px 28px 30px; transition: background .15s; }
.lp-feature:hover { background: #fafafa; }
.lp-feature-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary); }
.lp-feature-title { font-size: .95rem; font-weight: 600; letter-spacing: -.02em; color: var(--primary); margin-bottom: 7px; }
.lp-feature-desc { font-size: .86rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 700px) { .lp-features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lp-features-grid { grid-template-columns: 1fr; } }

.lp-faq { background: #f9f9fb; border-bottom: 1px solid var(--border); padding: 72px 24px 80px; }
.lp-faq-inner { max-width: 680px; margin: 0 auto; }
.lp-faq .faq-item { background: var(--surface); border-radius: 12px; }
.lp-faq .faq-item.open { border-color: var(--primary); }
.lp-faq .faq-q:hover { background: #fafafa; }
.lp-faq .faq-item.open .faq-a { max-height: 400px; padding: 0; }
.lp-faq .faq-a p { padding: 4px 20px 18px; margin: 0; border-top: 1px solid #f0f0f4; }