:root {
  --bg: #f6f9ff;
  --surface: #ffffff;
  --surface-2: #f3f7ff;
  --text: #12213f;
  --muted: #61708d;
  --line: rgba(17, 36, 74, 0.1);
  --primary: #3f7cff;
  --primary-strong: #295fe0;
  --secondary: #16c995;
  --accent: #7c5cff;
  --warning: #ffb547;
  --shadow: 0 24px 80px rgba(39, 73, 155, 0.12);
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63,124,255,0.08), transparent 26%),
    radial-gradient(circle at right 20% top 10%, rgba(22,201,149,0.08), transparent 18%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: rgba(255,255,255,0.6); backdrop-filter: blur(12px); }
.section-heading { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.section-heading.align-left { text-align: left; margin-left: 0; }
.section-heading h2 { margin: 12px 0 12px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.18; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 255, 0.82);
  border-bottom: 1px solid rgba(17,36,74,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.brand strong { display: block; font-size: 18px; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a {
  color: #1c2d54;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover { color: var(--primary); }
.nav-toggle { display:none; background:none; border:0; padding:0; }
.nav-toggle span { display:block; width:26px; height:3px; background:var(--text); margin:5px 0; border-radius:99px; }

.hero-section { padding: 72px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  margin: 18px 0 16px;
  letter-spacing: -0.03em;
}
.hero-copy h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  max-width: 720px;
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
}
.hero-actions, .section-actions, .admin-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.section-actions { justify-content: center; margin-top: 26px; }
.section-actions.left { justify-content: flex-start; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 16px 40px rgba(63,124,255,0.28); }
.btn-secondary { background: rgba(255,255,255,0.88); border-color: rgba(63,124,255,0.18); color: var(--text); }
.btn.full { width: 100%; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px;
}
.metric-card, .glass-card, .value-card, .tech-card, .product-card, .ai-card, .empty-card, .dashboard-panel, .admin-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(17,36,74,0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.metric-card { padding: 18px; }
.metric-card strong { display:block; font-size:28px; margin-bottom:6px; }
.metric-card span { color: var(--muted); font-size:14px; }
.hero-visual {
  position: relative;
  min-height: 560px;
}
.hero-visual > img { width: 100%; border-radius: 32px; box-shadow: var(--shadow); }
.glass-card {
  position: absolute;
  padding: 18px 20px;
  backdrop-filter: blur(14px);
}
.glass-card span { display:block; color: var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:0.06em; }
.glass-card strong { display:block; margin-top:8px; font-size:16px; }
.card-one { left: -10px; bottom: 24px; max-width: 250px; }
.card-two { right: -10px; top: 38px; max-width: 270px; }

.value-grid.three-col, .ai-feed-cards {
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.value-card, .tech-card, .ai-card { padding: 28px; }
.value-card h3, .tech-card h3, .ai-card h3 { margin: 0 0 10px; font-size: 22px; }
.value-card p, .tech-card p, .ai-card p, .ai-card li { margin:0; color:var(--muted); }

.tech-grid {
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.tech-card img { width: 64px; height: 64px; margin-bottom: 18px; }

.product-grid {
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.product-card { overflow:hidden; }
.product-card.featured { transform: translateY(-12px); border-color: rgba(63,124,255,0.22); }
.product-body { padding: 24px 24px 28px; }
.product-body h3 { margin: 12px 0; font-size: 28px; line-height: 1.22; }
.product-body p, .product-body li { color: var(--muted); }
.product-body ul { margin: 16px 0 0; padding-left: 18px; }
.pill {
  display:inline-flex; align-items:center; min-height:32px; padding:0 12px;
  border-radius:999px; background: rgba(63,124,255,0.1); color: var(--primary); font-weight:700; font-size:13px;
}
.table-wrap {
  overflow:auto; border-radius: 28px; background: rgba(255,255,255,0.8); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.info-table { width:100%; border-collapse: collapse; min-width: 860px; }
.info-table th, .info-table td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.info-table thead th { background: linear-gradient(135deg, rgba(63,124,255,0.92), rgba(124,92,255,0.92)); color:white; font-size:15px; }
.info-table tbody tr:nth-child(even) { background: rgba(63,124,255,0.03); }

.notice-preview-wrap { position: relative; }
.notice-list { display:grid; gap: 18px; }
.notice-list.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notice-list.page-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice-card {
  display:flex; flex-direction:column; overflow:hidden;
  background: rgba(255,255,255,0.9); border:1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px;
}
.notice-card.large { min-height: 100%; }
.notice-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #edf4ff, #f4fff9); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.notice-thumb img { width:100%; height:100%; object-fit:cover; }
.thumb-fallback { font-size: 26px; font-weight: 800; color: var(--primary); }
.notice-content { padding: 22px; }
.notice-content h2, .notice-content h3 { margin: 8px 0 10px; line-height: 1.28; }
.notice-content p { margin:0; color: var(--muted); }
.notice-meta {
  display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:14px;
}
.badge-pin {
  display:inline-flex; align-items:center; min-height:28px; padding:0 10px;
  border-radius:999px; background: rgba(255,181,71,0.18); color:#9a5a00; font-weight:700; font-size:12px;
}
.badge-pin.inline { margin-left:8px; }
.empty-card { padding: 34px; text-align:center; }
.empty-card.wide { max-width: 760px; margin: 0 auto; }

.ai-terminal-section {
  background: linear-gradient(180deg, #08111f 0%, #0f1a2f 100%);
  color: white;
}
.ai-terminal-section .section-heading p,
.ai-terminal-section .ai-card p,
.ai-terminal-section .ai-card li { color: rgba(255,255,255,0.72); }
.ai-terminal-section .eyebrow { color: #87c3ff; }
.terminal-window {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  margin-top: 26px;
}
.terminal-topbar {
  min-height: 52px;
  display:flex; align-items:center; gap:10px;
  padding: 0 18px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.terminal-topbar span {
  width: 12px; height: 12px; border-radius: 50%; display:block;
}
.terminal-topbar span:nth-child(1) { background: #ff5f57; }
.terminal-topbar span:nth-child(2) { background: #febc2e; }
.terminal-topbar span:nth-child(3) { background: #28c840; }
.terminal-topbar strong { margin-left: 8px; font-size: 13px; color: rgba(255,255,255,0.75); }
.terminal-body { max-height: 420px; overflow: auto; background: #09111d; }
.terminal-body pre {
  margin:0; padding: 26px; color: #d7e9ff; font-size: 14px; line-height: 1.7; font-family: "JetBrains Mono", Consolas, monospace;
}
.ai-feed-cards { margin-top: 20px; }
.ai-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.ai-card ol { margin: 12px 0 0; padding-left: 20px; color: rgba(255,255,255,0.74); }
.ai-card a { color: #96d7ff; }

.site-footer {
  padding: 36px 0 24px;
  background: #0d1730;
  color: white;
}
.footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h3, .site-footer h4 { margin-top:0; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,0.72); }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { margin:0; font-size:14px; }

.subpage-main { min-height: 60vh; }
.sub-hero {
  padding: 74px 0 32px;
  background: linear-gradient(180deg, rgba(63,124,255,0.08), rgba(22,201,149,0.05));
}
.sub-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 10px 0; }
.sub-hero p { color: var(--muted); max-width: 720px; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.notice-detail .notice-hero-image {
  overflow:hidden; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 28px;
}
.notice-html {
  background: rgba(255,255,255,0.88); border:1px solid var(--line); box-shadow: var(--shadow); border-radius: 28px; padding: 32px;
}
.notice-html h1, .notice-html h2, .notice-html h3 { line-height: 1.24; }
.notice-html img { border-radius: 18px; }
.notice-html table { width:100%; border-collapse: collapse; }
.notice-html table td, .notice-html table th { border:1px solid var(--line); padding:10px; }

.admin-body {
  background: linear-gradient(180deg, #f7faff, #eef4ff);
  min-height: 100vh;
}
.admin-login-wrap {
  min-height: 100vh;
  display:grid;
  place-items:center;
  padding: 24px;
}
.admin-card {
  width: min(520px, 100%);
  padding: 34px;
}
.admin-card h1 { margin: 10px 0 8px; }
.admin-card p { margin-top:0; color: var(--muted); }
label { display:block; margin-bottom: 18px; }
label > span { display:block; margin-bottom: 8px; font-weight: 700; }
input[type="text"],
input[type="password"],
input[type="datetime-local"],
input[type="file"],
textarea {
  width:100%;
  border:1px solid rgba(17,36,74,0.12);
  border-radius: 16px;
  min-height: 50px;
  padding: 14px 16px;
  background: white;
  font: inherit;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.code-area { font-family: "JetBrains Mono", Consolas, monospace; }
small { display:block; margin-top:8px; color: var(--muted); }
.text-link { color: var(--primary); font-weight: 700; }
.text-link.danger { color: #d63e3e; background:none; border:0; padding:0; cursor:pointer; font: inherit; }
.text-link.center { display:block; text-align:center; margin-top:10px; }
.alert { border-radius: 18px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: rgba(22,201,149,0.12); color: #0a7f5d; }
.alert-error { background: rgba(214,62,62,0.12); color: #b53131; }
.dashboard-body { padding: 38px 0; }
.admin-dashboard { width: min(1180px, calc(100% - 40px)); }
.admin-topbar {
  display:flex; justify-content:space-between; align-items:flex-end; gap: 20px; margin-bottom: 22px;
}
.admin-topbar h1 { margin: 8px 0 0; }
.dashboard-panel { padding: 24px; }
.admin-table { width:100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align: top; }
.admin-table th { font-size: 14px; color: var(--muted); }
.admin-table .actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.admin-table form { display:inline; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid.checks { grid-template-columns: repeat(2, max-content); align-items:center; }
.checkbox-row {
  display:inline-flex; align-items:center; gap:10px; margin: 0;
  padding: 10px 16px; border-radius: 999px; background: rgba(63,124,255,0.08);
}
.checkbox-row input { width:18px; height:18px; }

@media (max-width: 1080px) {
  .hero-grid, .product-grid, .tech-grid, .footer-grid, .value-grid.three-col, .notice-list.compact, .notice-list.page-list, .ai-feed-cards {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { align-items: start; }
  .product-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    left: 20px; right: 20px; top: 78px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(17,36,74,0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display:flex; }
  .nav-toggle { display:block; }
  .hero-grid,
  .hero-metrics,
  .value-grid.three-col,
  .tech-grid,
  .product-grid,
  .notice-list.compact,
  .notice-list.page-list,
  .ai-feed-cards,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: auto; }
  .card-one, .card-two { position: static; margin-top: 14px; }
  .section { padding: 74px 0; }
  .section-heading p, .hero-lead { font-size: 17px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
}

.nav-actions {
  display:flex;
  align-items:center;
  gap:16px;
  margin-left:auto;
}
.lang-switch {
  display:inline-flex;
  min-width:48px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(63,124,255,0.1);
  color: var(--primary);
  font-weight:800;
  border: 1px solid rgba(63,124,255,0.16);
}
.page-grid {
  display:grid;
  gap:24px;
}
.page-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.content-panel {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(17,36,74,0.08);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 28px;
}
.intro-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,248,255,0.95));
}
.gradient-panel {
  background: linear-gradient(135deg, rgba(63,124,255,0.1), rgba(22,201,149,0.08));
}
.lead-copy {
  font-size: 18px;
  color: var(--muted);
}
.stats-inline {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:22px;
}
.stats-inline div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(63,124,255,0.06);
}
.stats-inline strong {
  display:block;
  font-size: 22px;
  margin-bottom: 6px;
}
.stats-inline span {
  display:block;
  color: var(--muted);
  font-size: 14px;
}
.clean-list {
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap:10px;
}
.compact-list {
  gap:8px;
}
.chip-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 18px;
}
.link-stack {
  display:grid;
  gap:14px;
}
.link-card {
  display:block;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(63,124,255,0.06);
  border: 1px solid rgba(63,124,255,0.12);
}
.link-card strong {
  display:block;
  margin-bottom:8px;
  color: var(--text);
}
.link-card span {
  display:block;
  color: var(--muted);
}
.single-column-mobile {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compact-card {
  padding: 24px;
}
.contact-panel {
  margin-top: 24px;
}
.template-panel {
  display:flex;
  flex-direction:column;
  gap:14px;
}
.template-box {
  min-height: 320px;
  font-family: "JetBrains Mono", Consolas, monospace;
  background: #0d1730;
  color: #d8e8ff;
  border-color: rgba(13,23,48,0.4);
}
.copy-template {
  align-self:flex-start;
}
@media (max-width: 1080px) {
  .page-grid.two-col,
  .stats-inline {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .nav-actions {
    gap:12px;
  }
  .single-column-mobile {
    grid-template-columns: 1fr;
  }
  .lang-switch {
    min-width: 44px;
    min-height: 40px;
  }
}

.hidden {
  display: none !important;
}
.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.admin-meta-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.editor-field {
  margin-bottom: 18px;
}
.editor-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.editor-label {
  display: block;
  font-weight: 700;
}
.editor-actions-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rich-editor.shell {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,36,74,0.12);
  border-radius: 24px;
  overflow: hidden;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(63,124,255,0.08), rgba(22,201,149,0.05));
  border-bottom: 1px solid rgba(17,36,74,0.08);
}
.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.editor-toolbar button,
.toolbar-upload span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,36,74,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.editor-toolbar button:hover,
.toolbar-upload span:hover {
  border-color: rgba(63,124,255,0.35);
  color: var(--primary);
}
.toolbar-upload {
  display: inline-flex;
  cursor: pointer;
}
.editor-surface,
.editor-source {
  min-height: 420px;
  padding: 24px;
  background: white;
}
.editor-surface {
  outline: none;
}
.editor-surface.is-dragover {
  background: linear-gradient(180deg, rgba(63,124,255,0.06), rgba(22,201,149,0.04));
  box-shadow: inset 0 0 0 2px rgba(63,124,255,0.22);
}
.editor-surface:empty::before {
  content: '공지 내용을 입력하세요.';
  color: var(--muted);
}
.editor-surface h2,
.editor-surface h3,
.editor-surface p,
.editor-surface ul,
.editor-surface ol,
.editor-surface blockquote {
  margin-top: 0;
}
.editor-surface blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 4px solid rgba(63,124,255,0.25);
  color: var(--muted);
}
.editor-surface img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}
.editor-source {
  border: 0;
  border-radius: 0;
  min-height: 420px;
  margin: 0;
}
@media (max-width: 760px) {
  .editor-label-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* RootAI GPT launcher */
.chatbot-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 220;
}
.chatbot-fab {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px 12px 12px;
  background: linear-gradient(135deg, rgba(63,124,255,0.96), rgba(22,201,149,0.96));
  color: #fff;
  box-shadow: 0 18px 50px rgba(22, 47, 100, 0.28);
  cursor: pointer;
}
.chatbot-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(63,124,255,0.28);
  animation: chatbotPulse 2.2s ease-out infinite;
}
.chatbot-fab-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.24);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.chatbot-fab-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.chatbot-fab-copy strong { font-size: 15px; }
.chatbot-fab-copy small { opacity: 0.92; margin-top: 4px; }
.chatbot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 14, 28, 0.54);
  backdrop-filter: blur(8px);
}
.chatbot-modal {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  border-radius: 28px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(17,36,74,0.1);
  box-shadow: 0 28px 80px rgba(9, 22, 46, 0.28);
}
.chatbot-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(17,36,74,0.08);
}
.chatbot-modal-head h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.16;
}
.chatbot-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(17,36,74,0.1);
  background: #fff;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}
.chatbot-modal-body { padding: 22px; }
.chatbot-description {
  margin: 0;
  color: var(--muted);
}
.chatbot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chatbot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(63,124,255,0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}
.chatbot-starters {
  margin-top: 22px;
}
.chatbot-starters strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}
.chatbot-starter-list {
  display: grid;
  gap: 10px;
}
.chatbot-starter {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(17,36,74,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
}
.chatbot-starter span {
  display: block;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}
.chatbot-starter em {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.chatbot-actions {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.chatbot-actions .btn { width: 100%; }
.chatbot-signin {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.chatbot-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15,26,47,0.04);
  border: 1px solid rgba(17,36,74,0.06);
}
.chatbot-note strong { display: block; font-size: 13px; }
.chatbot-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
@keyframes chatbotPulse {
  0% { opacity: 0.8; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
@media (max-width: 767px) {
  .chatbot-launcher {
    right: 14px;
    bottom: 14px;
  }
  .chatbot-fab {
    padding-right: 14px;
  }
  .chatbot-fab-copy small { display: none; }
  .chatbot-modal {
    right: 12px;
    bottom: 86px;
    width: calc(100vw - 24px);
  }
}
