*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #1c1c1e;
  --bg-card: #2c2c2e;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --border: #38383a;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --radius: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1120px;
  --header-height: 64px;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-bg: rgba(28,28,30,0.88);
  --card-bg: #2c2c2e;
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --header-bg: rgba(245,245,247,0.88);
  --card-bg: #ffffff;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section-title { font-size: 2rem; font-weight: 800; text-align: center; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition); font-family: var(--font); white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,113,227,0.35); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,113,227,0.4); }
.btn-pulse { animation: breathe 2.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,113,227,0.35); }
  50% { box-shadow: 0 4px 28px rgba(255,204,0,0.5); }
}
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--card-bg); border-color: var(--text-tertiary); }
.btn-donate { background: #ff2d55; color: #fff; box-shadow: 0 4px 14px rgba(255,45,85,0.3); }
.btn-donate:hover { background: #e61e4d; transform: translateY(-1px); }

/* Temporarily hidden */
#headerNavDonate { display: none; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.06); height: var(--header-height);
}
.header-inner { display: flex; align-items: center; height: 100%; gap: 32px; }
.header-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1rem; }
.header-logo-img { width: 32px; height: 32px; border-radius: 8px; }
.header-nav { display: flex; gap: 28px; }
.header-nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.header-nav-link:hover { color: var(--text); }
.header-nav-dl { display: none; }
@media (max-width: 768px) {
  .header-nav.open .header-nav-dl { display: block; }
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.lang-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.08); border-radius: 8px; padding: 3px; }
[data-theme="light"] .lang-toggle { background: rgba(0,0,0,0.06); }
.lang-btn { border: none; background: transparent; font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 6px; cursor: pointer; color: var(--text-secondary); transition: all var(--transition); font-family: var(--font); }
.lang-btn.active { background: rgba(255,255,255,0.15); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
[data-theme="light"] .lang-btn.active { background: #fff; }

/* Theme Toggle (Apple Style) */
.theme-toggle {
  display: flex; align-items: center; background: none; border: none; cursor: pointer;
  padding: 2px; font-family: var(--font); position: relative;
}
.theme-track {
  width: 40px; height: 22px; background: rgba(255,255,255,0.15); border-radius: 12px;
  position: relative; transition: background var(--transition);
  display: flex; align-items: center; justify-content: space-between; padding: 0 5px;
}
[data-theme="light"] .theme-track { background: rgba(0,0,0,0.1); }
.theme-thumb {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  background: #fff; border-radius: 50%; transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); z-index: 1;
}
[data-theme="light"] .theme-thumb { transform: translateX(18px); }
.theme-icon { color: rgba(255,255,255,0.6); flex-shrink: 0; z-index: 0; }
[data-theme="light"] .theme-sun { color: rgba(0,0,0,0.4); }
[data-theme="light"] .theme-moon { color: rgba(0,0,0,0.4); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; }

/* ===== HERO + VIDEO ===== */
.hero-section {
  padding: 140px 0 80px; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #1c1c1e 40%, #16213e 100%); z-index: 0;
}
[data-theme="light"] .hero-bg {
  background: linear-gradient(135deg, #e8f0fe 0%, #f5f5f7 40%, #f0f4f8 100%);
}
.hero-section-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: center; }

.hero-icon { margin-bottom: 20px; }
.hero-icon img { width: 90px; height: 90px; border-radius: 22px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

.hero-title { font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 12px; }
.hero-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: 24px; flex-wrap: wrap; }
.hm-dot { color: var(--border); }
.hero-actions { display: flex; gap: 32px; }

/* Hero Demo */
.hero-right {
  position: relative;
}
.hero-demo-wrapper {
  position: relative;
}
.hdt-layout-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hdt-layout-badge.badge-en {
  background: #636366;
}
.hdt-layout-badge.badge-ua {
  background: #30d158;
  transform: scale(1.1);
}
[data-theme="light"] .hdt-layout-badge.badge-ua {
  background: #248a3d;
}
.hero-demo {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-demo-inner {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  height: 60px;
}
/* Hero Demo Keys Container */
.hero-demo-keys {
  display: flex;
  justify-content: center;
  padding: 32px 0 0;
  height: 80px;
}
.hero-demo-spacebar {
  display: none;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-demo-spacebar.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-demo-shiftbar {
  display: none;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-demo-shiftbar.show {
  opacity: 1;
  transform: translateY(0);
}
.hdt-spacebar-key {
  display: inline-block;
  padding: 14px 100px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
[data-theme="light"] .hdt-spacebar-key {
  background: #ffffff;
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}
.hdt-spacebar-key.pressed {
  transform: translateY(2px);
  box-shadow: 0 0px 2px rgba(0,0,0,0.15);
  background: #f0f0f0;
}
[data-theme="light"] .hdt-spacebar-key.pressed {
  background: #e8e8e8;
}
/* Shift Key */
.hdt-shift-key {
  display: inline-block;
  padding: 14px 48px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.hdt-shift-key.pressed {
  transform: translateY(2px);
  box-shadow: 0 0px 2px rgba(0,0,0,0.15);
  background: #f0f0f0;
}
/* Mouse cursor */
.hdt-mouse-cursor {
  position: absolute;
  top: 50%;
  right: 24px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.3s ease;
  transform: translateY(-50%);
}
.hdt-mouse-cursor.visible {
  opacity: 1;
}
/* Text selection highlight */
.hdt-selected {
  background: rgba(10,132,255,0.35);
  border-radius: 2px;
}
.hdt-unselected {
  color: var(--text);
}
.hero-demo-text {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", "Courier New", monospace;
  font-size: 2rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre;
  position: relative;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.hdt-typed {
  color: var(--text);
  transition: opacity 0.2s ease, color 0.3s ease;
}
.hdt-typed.morph {
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hdt-typed.correct {
  color: #30d158;
  font-weight: 600;
  opacity: 1;
  transform: translateY(0);
  animation: hdtPop 0.35s ease;
}
[data-theme="light"] .hdt-typed.correct {
  color: #248a3d;
}
.hdt-typed.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hdt-cursor {
  display: inline-block;
  width: 2px;
  height: 1.3em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  opacity: 0;
}
.hdt-cursor.blink {
  opacity: 1;
  animation: hdtBlink 0.6s step-end infinite;
}
.hdt-cursor.space-press {
  opacity: 1;
  width: 12px;
  background: var(--text-secondary);
  border-radius: 2px;
  height: 3px;
  vertical-align: middle;
  transition: width 0.15s ease, height 0.15s ease, border-radius 0.15s ease;
}

@keyframes hdtBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes hdtPop {
  0% { opacity: 0; transform: scale(0.7) translateY(2px); }
  60% { transform: scale(1.05) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Popup Translator */
.hdt-popup {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 400px;
  background: #1c1c1e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hdt-popup.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
[data-theme="light"] .hdt-popup {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}
.hdt-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hdt-popup-langs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2px;
}
[data-theme="light"] .hdt-popup-langs {
  background: rgba(0,0,0,0.06);
}
.hdt-popup-lang {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 5px;
  color: rgba(255,255,255,0.5);
  cursor: default;
}
.hdt-popup-lang.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.4);
}
[data-theme="light"] .hdt-popup-lang {
  color: rgba(0,0,0,0.4);
}
[data-theme="light"] .hdt-popup-lang.active {
  color: #000;
  background: rgba(0,0,0,0.08);
}
.hdt-popup-close {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
  cursor: default;
}
[data-theme="light"] .hdt-popup-close {
  color: rgba(0,0,0,0.3);
}
.hdt-popup-textarea {
  width: 100%;
  height: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
[data-theme="light"] .hdt-popup-textarea {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}
.hdt-popup-actions {
  display: flex;
  gap: 8px;
}
.hdt-popup-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  cursor: default;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hdt-popup-btn-green {
  color: rgba(255,255,255,0.6);
  background: rgba(45,106,62,0.5);
  flex: 2;
}
.hdt-popup-btn-blue {
  color: #fff;
  background: #3478f6;
  flex: 3;
  transition: transform 0.1s ease, opacity 0.1s ease;
}
.hdt-popup-btn-blue.pressed {
  transform: scale(0.95);
  opacity: 0.8;
}
[data-theme="light"] .hdt-popup-btn-green {
  background: rgba(52,168,83,0.5);
  color: rgba(255,255,255,0.7);
}
[data-theme="light"] .hdt-popup-btn-blue {
  background: #0071e3;
}

@media (max-width: 768px) {
  .hero-demo-inner { padding: 16px 12px; height: 50px; }
  .hero-demo-text { font-size: 1.1rem; }
  .hero-demo-keys { padding: 20px 0 0; height: 65px; }
  .hdt-spacebar-key { padding: 10px 60px; font-size: 0.8rem; }
  .hdt-shift-key { padding: 10px 32px; font-size: 0.8rem; }
  .hdt-layout-badge { top: -8px; right: -8px; font-size: 0.6rem; padding: 3px 8px; }
  .hdt-popup { width: 280px; top: -180px; padding: 10px 12px; gap: 8px; border-radius: 10px; }
  .hdt-popup-lang { padding: 3px 8px; font-size: 0.65rem; }
  .hdt-popup-textarea { height: 36px; }
  .hdt-popup-btn { padding: 8px 10px; font-size: 0.72rem; }
  .hdt-popup-close { font-size: 0.75rem; }
}

/* ===== BLOCK 3: SETTINGS ===== */
.settings-block { padding: 80px 0; }
.settings-block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Dark Settings Window */
.settings-dark {
  background: #2a2a2e; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; position: relative; overflow: hidden;
}
.settings-dark-clip {
  border-radius: var(--radius);
}
.settings-dark-header { position: relative; display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #3a3a3e; border-bottom: 1px solid rgba(0,0,0,0.2); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.sd-dot { width: 12px; height: 12px; border-radius: 50%; position: relative; }
.sd-dot.red { cursor: pointer; }
.sd-close-popup {
  position: fixed;
  white-space: nowrap; background: rgba(30,30,30,0.92); backdrop-filter: blur(12px);
  color: #fff; font-size: 0.78rem; font-weight: 500; padding: 6px 14px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08); z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.sd-close-popup.show { opacity: 1; }
.sd-dot.red { background: #ff5f57; }
.sd-dot.yellow { background: #ffbd2e; }
.sd-dot.green { background: #28c840; }
.sd-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; white-space: nowrap; }
.settings-dark-tabs { display: flex; padding: 0 16px; border-bottom: 1px solid rgba(0,0,0,0.2); background: #2a2a2e; }
.sd-tab { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.4); padding: 8px 0; margin-right: 20px; cursor: default; border-bottom: 2px solid transparent; transition: color 0.2s ease; }
.sd-tab:hover:not(.active) { color: rgba(255,255,255,0.7); }
.sd-tab.active { color: #fff; border-bottom-color: var(--accent); }
.settings-dark-body { padding: 16px 20px 12px; background: #2a2a2e; }
.sd-section { margin-bottom: 18px; }
.sd-section:last-of-type { margin-bottom: 12px; }
.sd-section-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.sd-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; font-size: 0.82rem; color: rgba(255,255,255,0.85); cursor: pointer; border-radius: 6px; transition: background 0.2s ease; }
.sd-row:hover { background: rgba(255,255,255,0.04); }
.sd-row-inline { flex-wrap: wrap; gap: 6px; }
.sd-checkbox {
  width: 14px; height: 14px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  opacity: 0; transform: scale(0.5); transition: opacity 0.35s ease, transform 0.35s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.sd-checkbox:hover { border-color: rgba(255,255,255,0.4); }
.sd-checkbox.checked { background: var(--accent); border-color: var(--accent); position: relative; }
.sd-checkbox.checked:hover { background: #409cff; border-color: #409cff; }
.sd-checkbox.checked::after {
  content: ""; width: 5px; height: 9px; border: solid #fff;
  border-width: 0 0 0 0; transform: rotate(45deg); position: absolute; top: 1px;
  transition: border-width 0.2s ease 0.15s;
}
.settings-visible .sd-checkbox {
  opacity: 1; transform: scale(1);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.sd-excl-row .sd-checkbox { opacity: 1 !important; transform: none !important; transition: background 0.15s ease, border-color 0.15s ease; }
.settings-visible .sd-checkbox.checked::after {
  border-width: 0 2px 2px 0;
}

@keyframes cbPop {
  0% { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.settings-features-list li {
  opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.settings-visible .settings-features-list li {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 0.1s + 0.3s);
}
.sd-popup { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); padding: 2px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: background 0.15s ease; position: relative; }
.sd-popup:hover { background: rgba(255,255,255,0.14); }
.sd-popup.open { background: rgba(255,255,255,0.18); border-color: var(--accent); }
.sd-dropdown {
  display: none; background: #3a3a3e; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  padding: 4px; min-width: 140px; z-index: 99999; box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.sd-popup.open .sd-dropdown { display: flex; flex-direction: column; gap: 2px; }
.sd-dd-item {
  padding: 6px 10px; border-radius: 5px; font-size: 0.78rem; color: rgba(255,255,255,0.7);
  cursor: pointer; transition: background 0.12s ease, color 0.12s ease; white-space: nowrap;
}
.sd-dd-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.sd-dd-item.selected { color: #fff; background: var(--accent); }
.sd-excl-row {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.85); border-radius: 6px;
}
.sd-word { font-size: 0.82rem; color: rgba(255,255,255,0.85); flex: 1; }
.sd-word-remove { font-size: 0.7rem; color: rgba(255,255,255,0.3); cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: background 0.15s ease, color 0.15s ease; }
.sd-word-remove:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.sd-popup svg { color: rgba(255,255,255,0.3); }
.sd-hint { font-size: 0.7rem; color: rgba(255,255,255,0.3); padding-left: 22px; margin-top: 1px; }
.sd-version { text-align: center; font-size: 0.68rem; color: rgba(255,255,255,0.25); line-height: 1.4; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }

.settings-block-content { }
.settings-block-desc { font-size: 1rem; color: var(--text-secondary); margin: 1rem 0 1.5rem; line-height: 1.7; }
.settings-features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.settings-features-list li {
  padding: 10px 16px; background: var(--card-bg); border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04); font-size: 0.9rem; color: var(--text);
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.settings-features-list li:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.settings-features-list li::before { content: "✓"; color: #34c759; font-weight: 700; margin-right: 10px; }

/* ===== BLOCK 4: BOTTOM ===== */
.bottom-block { padding: 80px 0; background: var(--card-bg); }
.bottom-block-inner { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 480px; margin: 0 auto; }

.bottom-card {
  padding: 36px 32px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 16px;
}
.bottom-card { background: var(--card-bg); box-shadow: var(--shadow); }
[data-theme="light"] .bottom-card { background: var(--bg); }

.bottom-card-header { display: flex; align-items: center; gap: 14px; }
.bottom-card-icon { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.bottom-card-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.bottom-card-version { font-size: 0.85rem; color: var(--text-tertiary); }
.bottom-card-info { font-size: 0.85rem; color: var(--text-secondary); }
.bottom-card-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

.donate-heart-icon { color: #ff2d55; }

/* Temporarily hidden */
.donate-card { display: none; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 7px; }
.footer-copy { font-size: 0.8rem; color: var(--text-tertiary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .hero-section-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-icon { display: flex; justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: 1.8rem; }
  .hero-icon img { width: 72px; height: 72px; }
  .settings-block-inner { grid-template-columns: 1fr; gap: 40px; }
  .bottom-block-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--bg-card); padding: 16px 24px 24px; border-bottom: 1px solid var(--border); gap: 16px; box-shadow: var(--shadow-lg); }
  .section-title { font-size: 1.6rem; }
  .settings-features-list li { font-size: 0.85rem; }
  .hero-section { padding: 120px 0 60px; }
  .hero-title { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .howto-step { gap: 14px; }
  .howto-num { width: 36px; height: 36px; font-size: 0.95rem; }
  .howto-step-content h3 { font-size: 0.95rem; }
  .howto-step-content p { font-size: 0.85rem; }
  .howto-terminal { padding: 5px 8px; }
  .howto-terminal code { font-size: 0.6rem; }
  .howto-copy-btn { padding: 4px; }
  .howto-copy-btn svg { width: 12px; height: 12px; }
  .settings-dark { font-size: 0.75rem; border-radius: 12px; }
  .settings-dark-body { padding: 12px 14px 10px; }
  .settings-dark-header { padding: 8px 12px; }
  .sd-dot { width: 10px; height: 10px; }
  .sd-title { font-size: 0.7rem; }
  .sd-tab { font-size: 0.7rem; padding: 6px 0; margin-right: 14px; }
  .sd-row { padding: 4px 4px; font-size: 0.75rem; }
  .sd-checkbox { width: 12px; height: 12px; }
  .sd-popup { font-size: 0.72rem; padding: 2px 6px; }
  .sd-section-title { font-size: 0.62rem; }
  .sd-hint { font-size: 0.65rem; padding-left: 18px; }
  .howto-drag-visual { gap: 10px; padding: 14px 8px; }
  .howto-drag-folder svg { width: 40px; height: 40px; }
  .howto-drag-app img { width: 44px; height: 44px; }
  .howto-drag-ghost img { width: 36px; height: 36px; }
  .howto-drag-arrow svg { width: 56px; height: 24px; }
  .howto-drag-folder span, .howto-drag-app span { font-size: 0.62rem; }
  .mac-alert { padding: 14px; }
  .mac-alert-icon { width: 40px; height: 40px; }
  .mac-alert-title { font-size: 0.8rem; }
  .mac-alert-desc { font-size: 0.75rem; }
  .mac-alert-actions { flex-direction: column-reverse; }
  .mac-alert-btn { width: 100%; text-align: center; padding: 10px 18px; }
  .mac-settings-pane { border-radius: 12px; }
  .mac-settings-pane-header { padding: 10px 12px; }
  .mac-settings-body { padding: 8px 0; }
  .mac-settings-app { padding: 6px 12px; }
  .mac-settings-app-name { font-size: 0.75rem; }
  .mac-settings-section-title { font-size: 0.62rem; padding: 2px 12px 6px; }
  .mac-settings-plus { padding: 6px 12px; font-size: 0.75rem; }
  .mac-settings-toggle { width: 32px; height: 18px; }
  .mac-settings-toggle::after { width: 14px; height: 14px; top: 2px; left: 2px; }
  .mac-cursor { width: 10px; height: 14px; right: 5px; }
  @keyframes toggleKnobMove {
    0%, 26% { transform: translateX(0); }
    29% { transform: translateX(0); }
    32% { transform: translateX(14px); }
    100% { transform: translateX(14px); }
  }
  .howto-menubar { padding: 6px 10px; }
  .hmb-left, .hmb-right { gap: 8px; }
  .hmb-name { font-size: 0.72rem; }
  .hmb-time { font-size: 0.65rem; }
  .hmb-icon-active { width: 20px; height: 18px; }
  .hmb-icon-text { font-size: 0.7rem; }
  .hmb-wifi, .hmb-battery { width: 12px; }
  .bottom-block { padding: 60px 0; }
  .bottom-card { padding: 24px 20px; }
  .bottom-card-icon { width: 44px; height: 44px; }
  .bottom-card-title { font-size: 1.05rem; }
  .howto-block { padding: 60px 0; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.4rem; }
  .hero-section { padding: 110px 0 50px; }
  .hero-icon img { width: 72px; height: 72px; }
  .hero-desc { font-size: 0.85rem; }
  .section-title { font-size: 1.35rem; }
  .hero-demo-inner { padding: 12px 10px; height: 44px; }
  .hero-demo-text { font-size: 0.95rem; }
  .hero-demo-keys { padding: 16px 0 0; height: 56px; }
  .hdt-spacebar-key { padding: 8px 44px; font-size: 0.75rem; border-radius: 7px; }
  .hdt-shift-key { padding: 8px 24px; font-size: 0.75rem; border-radius: 7px; }
  .hdt-layout-badge { top: -6px; right: -6px; font-size: 0.55rem; padding: 2px 6px; border-radius: 4px; }
  .hdt-popup { width: 240px; top: -160px; padding: 8px 10px; gap: 6px; border-radius: 9px; }
  .hdt-popup-lang { padding: 2px 6px; font-size: 0.6rem; }
  .hdt-popup-textarea { height: 30px; border-radius: 6px; }
  .hdt-popup-btn { padding: 7px 8px; font-size: 0.65rem; border-radius: 6px; }
  .hdt-popup-close { font-size: 0.7rem; }
  .hdt-mouse-cursor svg { width: 12px; height: 16px; }
  .howto-drag-visual { flex-wrap: wrap; gap: 8px; }
  .howto-drag-arrow { order: 3; width: 100%; display: flex; justify-content: center; }
  .howto-drag-arrow svg { width: 80px; transform: rotate(90deg); }
  .howto-menubar { padding: 5px 8px; }
  .hmb-left, .hmb-right { gap: 6px; }
  .hmb-name { font-size: 0.65rem; }
  .hmb-time { font-size: 0.6rem; }
  .hmb-icon-active { width: 18px; height: 16px; }
  .hmb-icon-text { font-size: 0.6rem; }
  .hmb-apple { width: 12px; }
  .hmb-wifi, .hmb-battery { width: 10px; }
  .bottom-card { padding: 20px 16px; }
  .bottom-card-icon { width: 40px; height: 40px; }
  .bottom-card-title { font-size: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
  .howto-block { padding: 50px 0; }
  .settings-block { padding: 50px 0; }
  .feedback-block { padding: 50px 0; }
  .howto-steps { gap: 16px; }
}


/* How to Install */
.howto-block { padding: 80px 0; background: var(--card-bg); }
.howto-desc { text-align: center; color: var(--text-secondary); margin: 0.5rem 0 3rem; line-height: 1.6; }
.howto-steps { display: flex; flex-direction: column; gap: 20px; max-width: 600px; margin: 0 auto; }
.howto-step { display: flex; gap: 20px; align-items: flex-start; opacity: 0; transform: translateY(20px); transition: none; }
.howto-visible .howto-step {
  animation: stepSlide 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.15s);
}
@keyframes stepSlide {
  to { opacity: 1; transform: translateY(0); }
}
.howto-visible .howto-num { animation: numPop 0.4s ease forwards; animation-delay: calc(var(--i, 0) * 0.15s + 0.2s); }
@keyframes numPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.howto-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}
.howto-step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.howto-step-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.howto-hint { font-size: 0.82rem; color: var(--text-tertiary); margin-top: 6px; }
.howto-alt { margin-top: 10px; }
.howto-or { font-size: 0.82rem; color: var(--text-tertiary); display: block; margin-bottom: 6px; }
.howto-terminal {
  display: flex; align-items: center; gap: 8px;
  background: #1e1e1e; border-radius: 10px; padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08); overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.howto-term-icon { color: #34d058; flex-shrink: 0; }
.howto-terminal code {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 0.63rem; color: #e6e6e6; white-space: nowrap;
}
.howto-terminal::-webkit-scrollbar { height: 3px; }
.howto-terminal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.howto-copy-btn {
  background: rgba(255,255,255,0.08); border: none; border-radius: 6px; cursor: pointer;
  padding: 6px; color: rgba(255,255,255,0.4); transition: all var(--transition); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.howto-copy-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.howto-copy-btn.copied { color: #34d058; }

.howto-step-content { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.howto-step-content p { overflow-wrap: break-word; }

/* Menu Bar Visualization */
.howto-menubar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,0.9); border-radius: 8px; padding: 8px 14px;
  margin-top: 12px; border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}
.hmb-left, .hmb-right { display: flex; align-items: center; gap: 14px; }
.hmb-apple { font-size: 1rem; color: rgba(255,255,255,0.8); }
.hmb-name { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.hmb-wifi, .hmb-battery { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.hmb-time { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.hmb-icon-active {
  width: 22px; height: 20px; border-radius: 5px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--accent), 0 0 16px rgba(10,132,255,0.4);
  animation: mbPulse 2s ease-in-out infinite;
}
.hmb-icon-text { font-size: 0.75rem; font-weight: 800; color: #fff; line-height: 1; }
@keyframes mbPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(10,132,255,0.3), 0 0 0 rgba(255,204,0,0); background: var(--accent); }
  50% { box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(10,132,255,0.3), 0 0 28px rgba(255,204,0,0.5); background: var(--accent); }
}

/* Step 2 — Drag visual */
.howto-drag-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding: 20px 16px;
  position: relative;
  min-height: 90px;
}
.howto-drag-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.howto-drag-folder svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  filter: drop-shadow(0 4px 12px rgba(10,132,255,0.2));
}
.howto-drag-folder span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}
.howto-drag-arrow {
  flex-shrink: 0;
  z-index: 1;
}
.howto-drag-arrow svg {
  width: 80px;
  height: 32px;
  display: block;
}
.howto-drag-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.howto-drag-app img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.howto-drag-app span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}
.howto-drag-ghost {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.howto-drag-ghost img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  animation: dragToFolder 2.5s ease-in-out infinite;
}
@keyframes dragToFolder {
  0% { opacity: 0; transform: translate(90px, 10px) scale(0.85) rotate(5deg); }
  15% { opacity: 1; transform: translate(90px, 10px) scale(1) rotate(5deg); }
  45% { opacity: 1; transform: translate(-70px, -5px) scale(0.9) rotate(-3deg); }
  60% { opacity: 0; transform: translate(-70px, -5px) scale(0.8) rotate(-3deg); }
  100% { opacity: 0; transform: translate(90px, 10px) scale(0.85) rotate(5deg); }
}

/* Step 4 — macOS Permission Visualizations */
.howto-permissions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

/* macOS Alert Dialog */
.mac-alert {
  background: rgba(40,40,42,0.95);
  backdrop-filter: blur(24px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  padding: 20px;
  max-width: 100%;
}
[data-theme="light"] .mac-alert {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.mac-alert-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.mac-alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.mac-alert-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-top: 4px;
}
.mac-alert-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}
.mac-alert-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.mac-alert-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: default;
  transition: all var(--transition);
}
.mac-alert-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}
[data-theme="light"] .mac-alert-btn-secondary {
  background: rgba(0,0,0,0.06);
}
.mac-alert-btn-primary {
  background: var(--accent);
  color: #fff;
  animation: alertPulse 2s ease-in-out infinite;
}
@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10,132,255,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(10,132,255,0); }
}

/* System Settings Pane */
.mac-settings-pane {
  background: rgba(50,50,54,0.95);
  backdrop-filter: blur(24px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
[data-theme="light"] .mac-settings-pane {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.mac-settings-pane-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-theme="light"] .mac-settings-pane-header {
  border-color: rgba(0,0,0,0.06);
}
.mac-settings-back {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mac-settings-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex: 1;
}
.mac-settings-search {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}
.mac-settings-body {
  padding: 12px 0;
}
.mac-settings-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  padding: 4px 16px 8px;
  text-transform: uppercase;
}
.mac-settings-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  transition: background 0.15s ease;
}
.mac-settings-app:hover {
  background: rgba(255,255,255,0.04);
}
[data-theme="light"] .mac-settings-app:hover {
  background: rgba(0,0,0,0.03);
}
.mac-settings-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}
.mac-settings-app-name {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}
.mac-settings-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  position: relative;
  flex-shrink: 0;
  cursor: default;
}
.mac-settings-toggle.on {
  background: #30d158;
}
.mac-settings-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
/* Cursor click animation */
.mac-cursor {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 16px;
  color: var(--text);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  margin-top: -8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: cursorClick 3.5s ease-in-out infinite;
}
@keyframes cursorClick {
  0% { opacity: 0; transform: translate(0, 30px) scale(0.5); }
  8% { opacity: 1; transform: translate(0, -2px) scale(1); }
  20% { opacity: 1; transform: translate(0, -2px) scale(1); }
  24% { opacity: 1; transform: translate(0, 3px) scale(0.85); }
  28% { opacity: 1; transform: translate(0, 3px) scale(0.85); }
  32% { opacity: 1; transform: translate(0, -2px) scale(1); }
  42% { opacity: 1; transform: translate(0, -2px) scale(1); }
  50% { opacity: 0; transform: translate(50px, -8px) scale(0.5); }
  100% { opacity: 0; transform: translate(50px, -8px) scale(0.5); }
}

/* Toggle switch triggered by cursor */
.mac-toggle-anim {
  background: rgba(255,255,255,0.15);
  animation: toggleTrigger 3.5s ease-in-out infinite;
}
@keyframes toggleTrigger {
  0%, 26% { background: rgba(255,255,255,0.15); }
  29% { background: rgba(255,255,255,0.3); }
  32% { background: #30d158; }
  100% { background: #30d158; }
}
.mac-toggle-anim::after {
  animation: toggleKnobMove 3.5s ease-in-out infinite;
}
@keyframes toggleKnobMove {
  0%, 26% { transform: translateX(0); }
  29% { transform: translateX(0); }
  32% { transform: translateX(16px); }
  100% { transform: translateX(16px); }
}
.mac-settings-empty {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding: 12px 16px;
  text-align: center;
}
.mac-settings-plus {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: default;
}
[data-theme="light"] .mac-settings-plus {
  border-color: rgba(0,0,0,0.06);
}
.mac-settings-plus svg {
  flex-shrink: 0;
}

.howto-permissions-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Feedback Form */
.feedback-block { padding: 80px 0; }
.feedback-inner { max-width: 620px; margin: 0 auto; }
.feedback-desc { text-align: center; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.6; }
.feedback-form { display: flex; flex-direction: column; gap: 16px; }
.ff-field { display: flex; flex-direction: column; gap: 6px; }
.ff-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.ff-field textarea,
.ff-field input { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; font-family: var(--font); color: var(--text); outline: none; transition: border-color var(--transition), box-shadow var(--transition); resize: vertical; }
.ff-field textarea:focus,
.ff-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,132,255,0.15); }
.ff-field textarea::placeholder,
.ff-field input::placeholder { color: var(--text-tertiary); }
.ff-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.ff-submit-wrapper { min-width: 160px; }
.ff-note { font-size: 0.75rem; color: var(--text-tertiary); text-align: center; margin-top: -4px; }
@media (max-width: 600px) {
  .ff-row { grid-template-columns: 1fr; }
  .ff-submit-wrapper { min-width: unset; }
}
