 @import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@400;600;700&display=swap');

:root {
  --bg: #f3f8f6;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #ffffff;
  --surface-soft: #edf9f3;
  --text: #0d1715;
  --text-soft: #425b54;
  --border: rgba(18, 63, 52, 0.14);
  --primary: #0d9f7a;
  --primary-strong: #0b7f63;
  --accent: #ef5a5a;
  --cyan: #53b7ff;
  --shadow: 0 20px 40px rgba(10, 26, 21, 0.12);
  --glow: rgba(23, 217, 147, 0.32);
  --hero-bg: radial-gradient(circle at top left, rgba(48, 214, 171, 0.18), transparent 32%), linear-gradient(135deg, rgba(10, 26, 21, 0.98), rgba(7, 24, 21, 1));
}

body[data-theme="dark"] {
  --bg: #061611;
  --surface: rgba(11, 24, 21, 0.72);
  --surface-strong: #0c1e1a;
  --surface-soft: rgba(14, 36, 30, 0.9);
  --text: #ecfff7;
  --text-soft: #b9d7ce;
  --border: rgba(122, 233, 201, 0.22);
  --primary: #22d39d;
  --primary-strong: #1cb78e;
  --accent: #ff7168;
  --cyan: #69c4ff;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  --glow: rgba(36, 224, 164, 0.2);
  --hero-bg: radial-gradient(circle at top left, rgba(39, 197, 149, 0.2), transparent 30%), linear-gradient(135deg, rgba(8, 24, 21, 1), rgba(4, 15, 13, 0.95));
}

body[data-theme="light"] {
  --bg: #f3f8f6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: #edf9f3;
  --text: #0d1715;
  --text-soft: #425b54;
  --border: rgba(18, 63, 52, 0.14);
  --primary: #0d9f7a;
  --primary-strong: #0b7f63;
  --accent: #ef5a5a;
  --cyan: #53b7ff;
  --shadow: 0 20px 40px rgba(10, 26, 21, 0.12);
  --glow: rgba(23, 217, 147, 0.32);
  --hero-bg: radial-gradient(circle at top left, rgba(48, 214, 171, 0.22), transparent 28%), linear-gradient(135deg, rgba(231, 247, 240, 1), rgba(212, 239, 228, 0.95));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.bangla-mode body,
html[lang="bn"] body {
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a[href^="mailto:"] {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
body, button, input, select, textarea, .site-nav, .lang-toggle, .button, .search-box, .agent-card, .update-card, .use-case-card, .mini-feature, .chat-panel, .form-panel, .info-panel, .field-group {
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.page-shell { min-height: 100vh; }
.section { padding: 96px 0; }
.muted-section { background: rgba(140, 181, 169, 0.04); }

.prototype-notice {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 12, 9, 0.78);
  backdrop-filter: blur(8px);
}
.prototype-notice-card {
  position: relative;
  width: min(100%, 560px);
  padding: 2.5rem;
  color: var(--text);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  animation: prototype-notice-in 0.25s ease-out;
}
.prototype-notice-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  color: var(--primary);
  background: rgba(34, 211, 157, 0.1);
  border: 1px solid rgba(34, 211, 157, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prototype-notice-card h2 {
  margin: 1rem 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}
.prototype-notice-card p {
  margin: 0 0 1.35rem;
  color: var(--text-soft);
}
.prototype-notice-card .prototype-notice-secondary {
  margin-top: -0.35rem;
  margin-bottom: 1.35rem;
  font-size: 0.92rem;
}
.prototype-notice-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
}
.prototype-notice-close:hover { color: var(--text); }
.prototype-notice-close:focus-visible,
.prototype-notice-contact:focus-visible,
.prototype-notice-email:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.prototype-notice-contact {
  color: #042219;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(34, 211, 157, 0.22);
}
.prototype-notice-contact:hover {
  color: #031c16;
  background: #82efc5;
  border-color: #82efc5;
}
.prototype-notice-email {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.92rem;
}
.prototype-notice.is-hidden { display: none; }
.prototype-notice[hidden] { display: none !important; }
@keyframes prototype-notice-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 20, 17, 0.7);
  border-bottom: 1px solid var(--border);
}
body[data-theme="light"] .site-header {
  background: rgba(255,255,255,0.78);
  border-bottom-color: rgba(18, 63, 52, 0.12);
}
body[data-theme="light"] .site-header.open .site-nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(18, 63, 52, 0.12);
  box-shadow: 0 18px 42px rgba(10, 26, 21, 0.12);
}
body[data-theme="light"] .site-nav,
body[data-theme="light"] .site-nav a,
body[data-theme="light"] .lang-toggle,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button {
  color: var(--text);
}
body[data-theme="light"] .lang-toggle,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .button-secondary,
body[data-theme="light"] .filter-btn {
  background: rgba(255,255,255,0.72);
  border-color: rgba(18, 63, 52, 0.12);
}
body[data-theme="light"] .nav-toggle span {
  background: var(--text);
}
body[data-theme="light"] .brand img,
body[data-theme="light"] .footer-brand img {
  filter: brightness(1.04) saturate(1.18);
  transition: filter 0.2s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.96rem;
  color: var(--text-soft);
}
.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle, .theme-toggle, .nav-toggle {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 999px;
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
}
.lang-toggle {
  padding: 10px 16px;
  font-weight: 600;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.9rem 1.55rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #031c16;
  background: linear-gradient(135deg, var(--primary), #82efc5);
  box-shadow: 0 15px 30px rgba(34, 211, 157, 0.2);
}
.prototype-notice-card .prototype-notice-contact {
  color: #042219;
  background: var(--primary);
  border-color: var(--primary);
}
.prototype-notice-card .prototype-notice-contact:hover {
  color: #031c16;
  background: #82efc5;
  border-color: #82efc5;
}
.button-secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text);
}
.button.small { padding: 0.75rem 1.15rem; font-size: 0.9rem; }
.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  margin-left: 8px;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(35, 206, 156, 0.12);
  border: 1px solid rgba(35, 206, 156, 0.26);
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px 12px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 5px 0;
}

.hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
}
body[data-theme="light"] .hero {
  background: radial-gradient(circle at top left, rgba(48, 214, 171, 0.18), transparent 28%), linear-gradient(135deg, rgba(236, 248, 242, 1), rgba(216, 240, 232, 0.96));
  border-bottom-color: rgba(18, 63, 52, 0.12);
}
body[data-theme="light"] .hero-copy h2,
body[data-theme="light"] .hero-copy p,
body[data-theme="light"] .hero-copy .eyebrow,
body[data-theme="light"] .hero-copy h1,
body[data-theme="light"] .hero-copy strong,
body[data-theme="light"] .hero-copy span {
  color: var(--text);
}
body[data-theme="light"] .hero-visual::before {
  background: radial-gradient(circle, rgba(48, 214, 171, 0.2), transparent 60%);
}
.hero-grid, .vision-wrap, .two-column, .contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}
h1, h2, h3 {
  line-height: 1.3;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}
h3 { font-size: 1.35rem; }
p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-weight: 400;
}
html.bangla-mode h1,
html.bangla-mode h2,
html.bangla-mode h3,
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3 {
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
html.bangla-mode .bangla-heading,
html[lang="bn"] .bangla-heading {
  font-family: "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.35;
}
.hero-copy h2 {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  color: #dffef4;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-visual, .vision-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 12% auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(127, 243, 205, 0.35), transparent 60%);
  border-radius: 50%;
  filter: blur(12px);
}
.hero-visual img, .vision-visual img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); }

.demo-preview { padding-top: 0; }
body[data-theme="light"] .demo-shell,
body[data-theme="light"] .demo-panel,
body[data-theme="light"] .language-demo-card,
body[data-theme="light"] .chat-panel,
body[data-theme="light"] .chat-sidebar,
body[data-theme="light"] .chat-window,
body[data-theme="light"] .panel-card,
body[data-theme="light"] .card-panel,
body[data-theme="light"] .form-panel,
body[data-theme="light"] .info-panel,
body[data-theme="light"] .timeline-content,
body[data-theme="light"] .featured-update,
body[data-theme="light"] .update-card,
body[data-theme="light"] .agent-card,
body[data-theme="light"] .use-case-card,
body[data-theme="light"] .mini-feature,
body[data-theme="light"] .info-card,
body[data-theme="light"] .tag,
body[data-theme="light"] .bubble,
body[data-theme="light"] .ai-bubble,
body[data-theme="light"] .user-bubble,
body[data-theme="light"] .search-box input,
body[data-theme="light"] .field-group input,
body[data-theme="light"] .field-group select,
body[data-theme="light"] .field-group textarea,
body[data-theme="light"] .composer input,
body[data-theme="light"] .prompt-btn,
body[data-theme="light"] .error-state-box,
body[data-theme="light"] .timeline-item .timeline-content {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-color: rgba(18, 63, 52, 0.12);
  box-shadow: var(--shadow);
}
body[data-theme="light"] .site-footer {
  background: rgba(240, 247, 243, 0.96);
  border-top-color: var(--border);
}
body[data-theme="light"] .chat-window {
  background: rgba(248, 252, 250, 0.82);
}
body[data-theme="light"] .empty-state,
body[data-theme="light"] .site-footer .footer-grid ul,
body[data-theme="light"] .site-footer .footer-bottom,
body[data-theme="light"] .site-footer .footer-bottom p,
body[data-theme="light"] .footer-disclosure,
body[data-theme="light"] .site-nav a,
body[data-theme="light"] .nav-actions .lang-toggle,
body[data-theme="light"] .nav-actions .theme-toggle {
  color: var(--text-soft);
}
body[data-theme="light"] .site-footer p,
body[data-theme="light"] .site-footer a,
body[data-theme="light"] .site-footer li,
body[data-theme="light"] .site-footer h3 {
  color: var(--text);
}
body[data-theme="light"] .site-footer .footer-bottom,
body[data-theme="light"] .site-footer .footer-grid ul,
body[data-theme="light"] .site-footer .footer-bottom p {
  color: var(--text-soft);
}
.demo-shell {
  background: linear-gradient(180deg, rgba(15, 39, 35, 0.9), rgba(10, 26, 22, 0.72));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge.neutral { background: rgba(146, 155, 157, 0.14); color: var(--text); }
.badge.planned { background: rgba(33, 179, 142, 0.12); color: #a9f2da; }
.badge.in-dev { background: rgba(99, 167, 255, 0.13); color: #b7d9ff; }
.badge.coming-soon { background: rgba(239, 90, 90, 0.12); color: #ffbcbd; }
.badge.demo { background: rgba(255, 217, 95, 0.14); color: #fcead0; }

.demo-chat {
  display: grid;
  gap: 14px;
  max-width: 700px;
}
.bubble {
  max-width: 75%;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 1rem;
  box-shadow: var(--shadow);
}
.bubble.user { background: rgba(121, 233, 201, 0.12); border: 1px solid rgba(121, 233, 201, 0.2); }
.bubble.ai { background: rgba(84, 109, 255, 0.12); border: 1px solid rgba(108, 138, 255, 0.2); }
.bubble-left { justify-self: start; }
.bubble-right { justify-self: end; }

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}
.section-heading.left-align { text-align: left; margin: 0 0 28px; }
.card-grid, .agent-grid, .feature-grid, .use-case-grid, .updates-grid {
  display: grid;
  gap: 24px;
}
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card, .agent-card, .update-card, .mini-feature, .use-case-card, .panel-card, .card-panel, .form-panel, .info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.info-card {
  padding: 28px 22px;
}
.icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.icon-wrap.green { background: linear-gradient(135deg, rgba(30, 198, 153, 0.25), rgba(56, 221, 167, 0.05)); color: #87f7cb; }
.icon-wrap.blue { background: linear-gradient(135deg, rgba(83, 183, 255, 0.2), rgba(46, 130, 235, 0.04)); color: #99d9ff; }
.icon-wrap.cyan { background: linear-gradient(135deg, rgba(102, 221, 255, 0.22), rgba(86, 115, 255, 0.04)); color: #b5e6ff; }
.icon-wrap.red { background: linear-gradient(135deg, rgba(239, 90, 90, 0.2), rgba(255, 168, 134, 0.08)); color: #ffb0a9; }

.agents-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  max-width: none;
}
.agent-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.filter-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
}
.filter-btn.active {
  color: #031c16;
  background: linear-gradient(135deg, var(--primary), #79f5cb);
  border-color: transparent;
}
.search-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.78rem;
}
.search-box input, .field-group input, .field-group select, .field-group textarea, .chat-lang-picker select, .composer input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--text);
}
body[data-theme="dark"] .field-group select,
body[data-theme="dark"] .field-group select option,
body[data-theme="dark"] .chat-lang-picker select,
body[data-theme="dark"] .chat-lang-picker select option {
  color: #ecfff7;
  background-color: #0c1e1a;
  color-scheme: dark;
}
body[data-theme="light"] .field-group select option,
body[data-theme="light"] .chat-lang-picker select option {
  color: #0d1715;
  background-color: #ffffff;
  color-scheme: light;
}
.search-box input { min-width: 220px; }
.agent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agent-card { overflow: hidden; }
.agent-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border); }
.card-body { padding: 20px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 14px 0;
}
.meta-row strong { color: var(--text); }
.card-body ul, .bullet-list, .contact-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--text-soft);
}
.agent-actions { display: flex; justify-content: space-between; gap: 12px; }
.text-button {
  background: transparent;
  border: none;
  color: var(--primary);
  padding: 0;
  font-weight: 700;
}

.demo-panel { background: rgba(9, 24, 20, 0.5); border: 1px solid var(--border); border-radius: 28px; padding: 28px; }
.language-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #7fe6d0);
  color: #021d18;
  border-color: transparent;
}
.language-demo-card {
  background: rgba(14, 25, 22, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  min-height: 180px;
}
.hidden { display: none; }
.demo-row { display: flex; flex-direction: column; gap: 10px; }
.label-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(135, 220, 255, 0.12);
  color: #bfe4ff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.label-pill.success { background: rgba(54, 224, 167, 0.12); color: #aef8dd; }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-feature {
  display: flex;
  gap: 16px;
  align-items: start;
  padding: 20px 18px;
}
.mini-feature span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 198, 153, 0.2), rgba(71, 134, 255, 0.12));
  color: var(--primary);
  font-size: 1.3rem;
}
.small-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-card { padding: 22px 20px; }

.vision-wrap { align-items: stretch; }
.vision-copy { padding-right: 12px; }

.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 12px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(34, 211, 157, 0.8), rgba(105, 196, 255, 0.28));
}
.timeline-item {
  position: relative;
  padding: 0 0 26px 28px;
}
.timeline-dot {
  position: absolute;
  left: -14px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 0 4px rgba(34, 211, 157, 0.16);
}
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-weight: 700;
}

.site-footer {
  background: rgba(7, 18, 16, 0.92);
  border-top: 1px solid var(--border);
  padding: 55px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text-soft);
}
.footer-brand { margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 16px;
  color: var(--text-soft);
}

.page-hero { padding-top: 72px; }
.narrow-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.two-column { grid-template-columns: 1.2fr 0.8fr; }
.panel-card, .card-panel, .form-panel, .info-panel { padding: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  color: var(--text-soft);
}
.disclosure-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(236, 249, 244, 0.7));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(5, 18, 16, 0.12);
  padding: 28px;
  position: relative;
  overflow: hidden;
  color: var(--text);
}
body[data-theme="light"] .disclosure-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(236, 249, 244, 0.78));
  box-shadow: 0 18px 36px rgba(5, 18, 16, 0.08);
  color: var(--text);
}
body[data-theme="dark"] .disclosure-card {
  background: linear-gradient(135deg, rgba(15, 38, 34, 0.82), rgba(12, 26, 23, 0.72));
  box-shadow: 0 18px 36px rgba(5, 18, 16, 0.18);
  color: #ecfff7;
}
.disclosure-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(41, 224, 180, 0.18), transparent 68%);
  pointer-events: none;
}
.disclosure-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.disclosure-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 198, 153, 0.2), rgba(83, 183, 255, 0.12));
  border: 1px solid rgba(122, 233, 201, 0.28);
  color: var(--primary);
  flex-shrink: 0;
}
.disclosure-copy-wrap {
  flex: 1;
}
.disclosure-intro {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--text-soft);
}
body[data-theme="light"] .disclosure-intro,
body[data-theme="light"] .disclosure-item,
body[data-theme="light"] .footer-disclosure {
  color: var(--text-soft);
}
body[data-theme="dark"] .disclosure-intro,
body[data-theme="dark"] .disclosure-item,
body[data-theme="dark"] .footer-disclosure {
  color: #d8f7ec;
}
.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  position: relative;
  z-index: 1;
}
.disclosure-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(122, 233, 201, 0.12);
  background: rgba(255,255,255,0.04);
}
body[data-theme="dark"] .disclosure-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(122, 233, 201, 0.18);
}
.disclosure-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 0 4px rgba(34, 211, 157, 0.12);
  flex-shrink: 0;
}
.notice-card {
  background: linear-gradient(135deg, rgba(255, 249, 226, 0.82), rgba(235, 250, 243, 0.72));
  border: 1px solid rgba(125, 101, 46, 0.16);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 36px rgba(12, 26, 21, 0.1);
}
body[data-theme="dark"] .notice-card {
  background: linear-gradient(135deg, rgba(24, 33, 29, 0.9), rgba(12, 23, 22, 0.82));
  border-color: rgba(122, 233, 201, 0.18);
}
.notice-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.notice-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(30, 198, 153, 0.2), rgba(255, 193, 92, 0.18));
  border: 1px solid rgba(30, 198, 153, 0.22);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.notice-copy {
  flex: 1;
}
.notice-body {
  display: grid;
  gap: 14px;
}
.notice-body p {
  margin: 0;
}
.footer-disclosure {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.founder-contact { margin: 0 auto; }
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.founder-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}
.founder-links svg,
.contact-list svg {
  flex-shrink: 0;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-page { min-height: calc(100vh - 200px); }
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
}
.chat-sidebar, .chat-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.chat-sidebar { padding: 22px; }
.chat-lang-picker { margin-top: 16px; }
.chat-lang-picker label, .field-group label { display: block; margin-bottom: 10px; font-weight: 600; }
.chat-lang-picker select { width: 100%; }
.prompt-list { margin-top: 28px; }
.prompt-btn {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-top: 10px;
}
.chat-panel { padding: 20px; display: flex; flex-direction: column; min-height: 700px; }
.chat-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.chat-window {
  flex: 1;
  min-height: 440px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(8, 15, 13, 0.38);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
  color: var(--text-soft);
}
.message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.message-row.ai-row { justify-content: flex-start; }
.message-row.user-row { justify-content: flex-end; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #021d18;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}
.ai-bubble, .user-bubble {
  max-width: 70%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.ai-bubble { background: rgba(84, 109, 255, 0.12); }
.user-bubble { background: rgba(121, 233, 201, 0.12); }
.typing-indicator {
  display: inline-flex;
  gap: 8px;
  padding: 12px 14px;
  width: fit-content;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-panel, .info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.stack-form {
  display: grid;
  gap: 16px;
}
.field-group { display: grid; }
.form-error {
  min-height: 18px;
  margin-top: 6px;
  color: #ff8a8a;
  font-size: 0.8rem;
}
.error-input { border-color: rgba(255, 120, 120, 0.8) !important; }
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}
.checkbox-row input { margin-top: 3px; }
.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 600;
}
.form-status.success { color: #96f0d1; }
.form-status.error { color: #ffb1a7; }
.error-bubble {
  align-self: flex-start;
  max-width: 75%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 120, 120, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.3);
  color: #ffd1d1;
}
.error-state-box {
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}
.updates-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}
.featured-update {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.featured-content { padding-right: 18px; }
.featured-visual img { border-radius: 22px; }
.update-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
}
.updates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.update-card {
  padding: 20px 18px;
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(7, 20, 17, 0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .hero-grid, .vision-wrap, .two-column, .contact-grid, .featured-update, .chat-layout { grid-template-columns: 1fr; }
  .agent-grid, .four-grid, .feature-grid, .use-case-grid, .updates-grid, .small-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents-head, .updates-toolbar { display: grid; align-items: stretch; }
  .agent-controls { align-items: stretch; }
  .filters { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .nav-wrap { min-height: 72px; }
  .nav-actions { gap: 8px; }
  .button { width: 100%; }
  .prototype-notice-card { padding: 2rem 1.35rem 1.5rem; }
  .cta-row { flex-direction: column; }
  .agent-grid, .feature-grid, .use-case-grid, .updates-grid, .small-grid, .four-grid { grid-template-columns: 1fr; }
  .demo-header, .chat-topbar { flex-direction: column; align-items: flex-start; }
  .composer { grid-template-columns: 1fr; }
  .bubble { max-width: 90%; }
  .chat-panel { min-height: 560px; }
}
