:root {
  --bg-white: #ffffff;
  --bg-plain: #f8fafc;
  --bg-soft: #f1f5f9;

  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-500: #64748b;

  --line-light: #e2e8f0;
  --line-strong: #cbd5e1;

  /* Kobitto Organic Brand Accents */
  --kobitto-purple: #635bff;
  --kobitto-pink: #ec4899;
  --kobitto-crimson: #c62828;
  --kobitto-blue: #1e4e8c;
  --kobitto-gold: #d9a726;
  --kobitto-emerald: #0d9488;
  --kobitto-ivory: #eae8e1;

  --kb-bg: #0b0c0e;
  --kb-surface: #181a20;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 8px 24px -6px rgba(15, 23, 42, 0.06);
  --shadow-device: 0 20px 44px -12px rgba(15, 23, 42, 0.12);

  --font-ui: 'Noto Sans Bengali', 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-white);
  color: var(--ink-900);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   1. CLEAN PLAIN STICKY NAVBAR (MOBILE SAFE)
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}

.navbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-subtle);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-500);
  line-height: 1.2;
  white-space: nowrap;
}

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

.nav-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--kobitto-crimson);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--bg-plain);
  color: var(--ink-800);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-btn:hover {
  background: var(--bg-soft);
  border-color: var(--line-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.2;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav {
  height: 38px;
  padding: 0 15px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--ink-900);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--kobitto-crimson);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--ink-900);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--bg-plain);
  border-color: var(--ink-900);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

/* =========================================
   2. PLAIN CRISP HERO SECTION
   ========================================= */
.hero {
  padding: 56px 0 72px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  margin-bottom: 20px;
}

.hero-identity img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.hero-identity span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  line-height: 1.26;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero-title .brand-highlight {
  color: var(--kobitto-crimson);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.apk-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-700);
  padding-top: 6px;
}

.apk-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check-dot {
  color: var(--kobitto-emerald);
  font-weight: 700;
}

/* =========================================
   3. INTERACTIVE KEYBOARD & MOTION SCREENS
   ========================================= */
.device-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-device);
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.device-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-800);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.layout-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.layout-tab {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--bg-plain);
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}

.layout-tab.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff;
}

.editor-screen {
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.editor-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-500);
  margin-bottom: 6px;
}

.editor-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink-900);
  outline: none;
  min-height: 30px;
}

/* Keyboard Hardware-Accurate Frame */
.kb-frame {
  background: var(--kb-bg);
  border-radius: 16px;
  padding: 9px 7px 10px;
  color: #ffffff;
  user-select: none;
  transition: background 0.22s ease;
}

.kb-frame[data-theme="light"] {
  background: #e9eef5;
  color: #0f172a;
}

.kb-frame[data-theme="amoled"] {
  background: #000000;
  color: #f8fafc;
}

.kb-frame[data-theme="emerald"] {
  background: #062825;
  color: #ecfdf5;
}

/* 3-Slot Candidate Strip */
.kb-strip {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.kb-circle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #17191f;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kb-frame[data-theme="light"] .kb-circle-btn {
  background: #ffffff;
  color: #1e293b;
  border-color: #cbd5e1;
}

.kb-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid rgba(217, 167, 38, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.kb-slot {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: inherit;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, transform 0.15s ease;
}

.kb-slot:last-child {
  border-right: none;
}

.kb-slot.slot-highlight,
.kb-slot:hover {
  background: rgba(217, 167, 38, 0.22);
}

.kb-frame[data-theme="light"] .kb-slot {
  border-right-color: #cbd5e1;
}

.kb-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kb-row {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.kb-key {
  flex: 1;
  min-width: 0;
  height: 38px;
  border-radius: 7px;
  border: none;
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.12s ease;
}

.kb-key .sub-hint {
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 0.54rem;
  opacity: 0.8;
  font-weight: 500;
  line-height: 1;
}

/* Key Press Motion Animation & Floating Keycap Popup */
.kb-key.is-pressing {
  transform: translateY(-2px) scale(1.06);
  z-index: 10;
  box-shadow: 0 0 0 2px #ffffff, 0 6px 14px rgba(0, 0, 0, 0.45);
  filter: brightness(1.18);
}

.kb-key.is-pressing::after {
  content: attr(data-pop);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  white-space: nowrap;
}

.k-gold  { background: #d9a726; color: #111315; }
.k-blue  { background: #1e4e8c; color: #ffffff; }
.k-dark  { background: #1c1e24; color: #ffffff; }
.k-ivory { background: #eae8e1; color: #111315; }
.k-red   { background: #c62828; color: #ffffff; }

.kb-frame[data-theme="light"] .k-gold,
.kb-frame[data-theme="light"] .k-blue,
.kb-frame[data-theme="light"] .k-dark,
.kb-frame[data-theme="light"] .k-ivory {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.kb-frame[data-theme="light"] .k-red {
  background: #1e4e8c;
  color: #ffffff;
}

.kb-frame[data-theme="amoled"] .k-gold,
.kb-frame[data-theme="amoled"] .k-blue,
.kb-frame[data-theme="amoled"] .k-dark,
.kb-frame[data-theme="amoled"] .k-ivory {
  background: #131417;
  color: #f8fafc;
  border: 1px solid #27272a;
}
.kb-frame[data-theme="amoled"] .k-red {
  background: #c62828;
  color: #ffffff;
}

.kb-frame[data-theme="emerald"] .k-gold,
.kb-frame[data-theme="emerald"] .k-blue,
.kb-frame[data-theme="emerald"] .k-dark,
.kb-frame[data-theme="emerald"] .k-ivory {
  background: #0d3b36;
  color: #ecfdf5;
}
.kb-frame[data-theme="emerald"] .k-red {
  background: #10b981;
  color: #042f2e;
}

.kb-key.k-wide { flex: 1.45; }
.kb-key.k-space { flex: 4.1; font-size: 0.84rem; }

.device-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--ink-500);
  text-align: center;
}

/* =========================================
   4. SECTION HEADERS & PART-BY-PART SYSTEM
   ========================================= */
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line-light);
  background: var(--bg-white);
}

.section-plain {
  background: var(--bg-plain);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.part-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--kobitto-crimson);
  border: 1px solid var(--line-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--ink-700);
}

/* =========================================
   5. MOTION LAYOUT SHOWCASE PARTS (1 TO 4)
   ========================================= */
.layout-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.layout-part-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-subtle);
}

.layout-part-card.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.layout-part-card.reverse .layout-info {
  order: 2;
}

.layout-part-card.reverse .motion-screen-wrap {
  order: 1;
}

.layout-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kobitto-blue);
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.layout-info h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 12px;
}

.layout-summary {
  font-size: 1rem;
  color: var(--ink-700);
  margin-bottom: 18px;
}

.usage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.usage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-800);
  line-height: 1.65;
}

.usage-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-900);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.mapping-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mapping-chip {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  color: var(--ink-900);
}

/* Motion Phone Screen */
.motion-phone {
  background: var(--bg-plain);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.motion-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 10px;
  padding: 0 4px;
}

.motion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--kobitto-crimson);
  font-weight: 700;
}

.motion-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kobitto-crimson);
  animation: recBlink 1.4s infinite ease-in-out;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.motion-chat-box {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.motion-typed-line {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink-900);
  min-height: 26px;
}

.motion-composing {
  text-decoration: underline;
  text-decoration-color: var(--kobitto-crimson);
  text-underline-offset: 4px;
}

.motion-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--kobitto-crimson);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: cursorBlink 0.9s infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.motion-sub-hint {
  font-size: 0.75rem;
  color: var(--ink-500);
  margin-top: 2px;
}

/* =========================================
   6. PREDICTION & SPACEBAR PART
   ========================================= */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.plain-panel {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.plain-panel h3 {
  font-size: 1.26rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.plain-panel p {
  color: var(--ink-700);
  font-size: 0.97rem;
  margin-bottom: 18px;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.clean-table th,
.clean-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.92rem;
}

.clean-table th {
  background: var(--bg-plain);
  font-weight: 700;
  color: var(--ink-900);
}

.clean-table tr:last-child td {
  border-bottom: none;
}

.compare-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  font-size: 0.94rem;
}

.compare-bad {
  background: #fff5f5;
  border-color: #fecaca;
  color: #7f1d1d;
}

.compare-good {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #14532d;
}

/* =========================================
   7. TOOLS & FEATURES PART-BY-PART GRID
   ========================================= */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tool-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tool-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.tool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.tool-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}

.tool-card p {
  font-size: 0.94rem;
  color: var(--ink-700);
  line-height: 1.72;
}

/* =========================================
   8. THEMES, SETUP & FAQ
   ========================================= */
.theme-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--bg-white);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-chip.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.step-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  color: var(--kobitto-crimson);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--ink-700);
}

.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-card summary {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.75;
}

/* Download Banner */
.download-cta-box {
  background: var(--bg-plain);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.download-cta-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-card);
}

/* Footer */
.footer {
  padding: 48px 0 36px;
  background: var(--bg-white);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}

.footer-copy {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

/* =========================================
   9. MOBILE-FIRST RESPONSIVE PERFECTION
   ========================================= */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .hero-grid,
  .layout-part-card,
  .layout-part-card.reverse,
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .layout-part-card.reverse .layout-info {
    order: 1;
  }
  .layout-part-card.reverse .motion-screen-wrap {
    order: 2;
  }
  .tools-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .navbar-inner {
    height: 62px;
    gap: 8px;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-sub {
    display: none;
  }
  .lang-btn {
    height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  .btn-nav {
    height: 34px;
    padding: 0 13px;
    font-size: 0.8rem;
  }
  .hero {
    padding: 36px 0 48px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .section {
    padding: 52px 0;
  }
  .layout-part-card {
    padding: 20px 16px;
    gap: 24px;
  }
  .tools-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .kb-key {
    height: 34px;
    font-size: 0.86rem;
  }
  .kb-slot {
    font-size: 0.84rem;
  }
}
