:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-alt: #F3EFE7;
  --brand: #0E2A47;
  --brand-soft: #1B4268;
  --accent: #D96B43;
  --accent-hover: #C25831;
  --sea: #2A7F6F;
  --text: #162433;
  --text-muted: #5C6B7A;
  --border: #E5DFD5;
  --danger: #C93B3B;
  --ok: #1E7E5A;
  --warn: #C77C1A;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, 0.05);
  --shadow-md: 0 12px 32px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 42, 71, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

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

.hidden { display: none !important; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 42, 71, 0.2);
}
.btn-primary:hover { background: var(--brand-soft); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 107, 67, 0.25);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand); background: var(--surface-alt); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { background: var(--surface-alt); color: var(--brand); }
.btn-danger {
  background: #FDECEC;
  color: var(--danger);
  border-color: #F6CACA;
}
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 13px; font-size: 0.84rem; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 14px; }

/* ================= NAVBAR ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand);
}
.brand-logo img { width: 34px; height: 34px; border-radius: 9px; }
.brand-logo span em { font-style: normal; color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ================= HERO ================= */
.hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFF1E8;
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.45rem);
  line-height: 1.12;
  color: var(--brand);
  margin: 0 0 20px;
}
.hero h1 .hl { color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Phone mockup in Hero */
.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-frame {
  width: 324px;
  height: 648px;
  background: #0F1722;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.12) inset;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #0F1722;
  border-radius: 999px;
  z-index: 4;
}
.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 33px;
  background: var(--bg);
}
.phone-floating-badge {
  position: absolute;
  bottom: 28px;
  left: -18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.phone-floating-badge strong { display: block; color: var(--brand); }
.phone-floating-badge span { color: var(--text-muted); font-size: 0.78rem; }

/* ================= SECTIONS ================= */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  color: var(--brand);
  margin: 0 0 12px;
}
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.02rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--brand); }
.step-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feat-ico {
  font-size: 1.65rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feat-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-family: 'DM Sans', sans-serif; color: var(--brand); }
.feat-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ================= PRICING ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.price-name { font-weight: 700; color: var(--brand); font-size: 1.1rem; margin-bottom: 6px; }
.price-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}
.price-val small { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.price-desc { color: var(--text-muted); font-size: 0.9rem; margin: 10px 0 20px; }
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  font-size: 0.92rem;
}
.price-list li::before { content: '✓ '; color: var(--sea); font-weight: 700; }

/* ================= FOOTER ================= */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ================= MODAL ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 71, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}
.modal-box {
  background: var(--surface);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-box.modal-wide { max-width: 680px; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-head h3 { margin: 0; font-size: 1.4rem; color: var(--brand); }
.modal-close {
  border: 0;
  background: var(--surface-alt);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--brand);
}
.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.modal-tab {
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 9px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-tab.active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }

/* ================= FORMS ================= */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.1);
}
.field textarea { resize: vertical; min-height: 84px; }
.field-hint { font-size: 0.78rem; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-error {
  background: #FDECEC;
  color: var(--danger);
  border: 1px solid #F6CACA;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* ================= DASHBOARD LAYOUT ================= */
.dash-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.dash-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  padding: 0 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan-free { background: var(--surface-alt); color: var(--text-muted); }
.plan-pro { background: #FFF1E8; color: var(--accent-hover); }
.plan-agency { background: #E4F4F0; color: var(--sea); }

.dash-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.dash-topbar h1 { margin: 0; font-size: 1.9rem; color: var(--brand); }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.guide-card-cover {
  height: 155px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--brand);
}
.guide-card-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ok);
}
.guide-card-status.draft { color: var(--text-muted); }
.guide-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.guide-card-body h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--brand); }
.guide-card-sub { color: var(--text-muted); font-size: 0.86rem; margin: 0 0 14px; }
.guide-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
  text-align: center;
}
.guide-stats-row strong { display: block; font-size: 1.1rem; color: var(--brand); }
.guide-stats-row span { font-size: 0.72rem; color: var(--text-muted); }
.guide-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* ================= SPLIT-SCREEN EDITOR ================= */
.editor-bar {
  position: sticky;
  top: 72px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card-save-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.editor-bar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.editor-bar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.editor-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.editor-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 6px;
  gap: 4px;
}
.editor-tab {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.editor-tab.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.editor-body { padding: 22px; }

.lang-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface-alt);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.lang-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}
.lang-pill.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.item-card {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.item-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.item-card-title { font-weight: 700; color: var(--brand); font-size: 0.95rem; }

.template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tpl-chip {
  border: 1px dashed var(--brand);
  background: #F0F5FA;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.tpl-chip:hover { background: var(--brand); color: #fff; }

.preview-sticky {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.preview-phone {
  width: 340px;
  height: 670px;
  background: #0F1722;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.preview-phone iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 31px;
  background: var(--bg);
}

/* Analytics & Messages */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpi-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.kpi-box strong { display: block; font-size: 1.7rem; color: var(--brand); line-height: 1.1; }
.kpi-box span { font-size: 0.82rem; color: var(--text-muted); }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 14px 10px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 20px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; max-width: 28px; background: var(--brand); border-radius: 6px 6px 2px 2px; min-height: 4px; transition: height 0.25s ease; }
.bar-lbl { font-size: 0.68rem; color: var(--text-muted); }

.msg-card {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.msg-card.unread { border-left: 4px solid var(--accent); background: #FFFBF7; }
.msg-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 0.84rem; color: var(--text-muted); }
.msg-text { margin: 0 0 10px; font-size: 0.95rem; }

/* Admin Table */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--bg); color: var(--brand); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateY(0); }

.badge-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 4px;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.upload-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

/* Visibility toggle & Icon Picker */
.section-vis-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #F4F7FA;
  border: 1px solid #D9E4EE;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}
.vis-seg {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.vis-seg-btn {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
  white-space: nowrap;
}
.vis-seg-btn.active-pub {
  background: #1E7E5A;
  color: #fff;
}
.vis-seg-btn.active-hid {
  background: #4A5A6A;
  color: #fff;
}
.item-card.item-hidden {
  opacity: 0.62;
  border-style: dashed;
}
.icon-pick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 56px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1.25rem;
  cursor: pointer;
}
.icon-pick-btn:hover { border-color: var(--brand); background: var(--surface-alt); }
.icon-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.icon-gallery-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.icon-gallery-cell span.em { font-size: 1.55rem; line-height: 1; }
.icon-gallery-cell:hover { border-color: var(--brand); background: #EDF3F9; color: var(--brand); }

/* Drag & Drop + Camera Image Dropzone */
.dropzone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: var(--bg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.drag-over {
  border-color: var(--accent);
  background: #FFF3EC;
}
.dropzone.disabled {
  opacity: 0.55;
  pointer-events: none;
}
.dropzone-info {
  flex: 1;
  min-width: 170px;
}
.dropzone-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Auto-translate bar */
.translate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid rgba(14, 42, 71, 0.08);
  font-size: 0.82rem;
}
.translate-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}
.translate-toggle input { width: auto; accent-color: var(--accent); cursor: pointer; }
.new-highlight {
  animation: flashNew 1.2s ease;
}
@keyframes flashNew {
  0% { box-shadow: 0 0 0 3px rgba(217, 107, 67, 0.45); background: #FFF5EE; }
  100% { box-shadow: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1060px) {
  .editor-layout { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .steps-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .phone-floating-badge { left: 8px; bottom: 12px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 600px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .dash-header-inner { padding: 0 14px; }
  .dash-main { padding: 18px 14px 48px; }
  .editor-body { padding: 16px; }
}
