:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --surface: #f8fafc;
  --surface-strong: #eef4ff;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --green: #16a34a;
  --red: #dc2626;
  --shadow: 0 26px 70px rgba(15, 23, 42, .12);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, .08);
  --radius: 18px;
  --font: "Inter", "Noto Sans Myanmar", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 105px 0; }
.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;
}
.skip-link {
  position: fixed; left: 18px; top: -90px; z-index: 1000;
  padding: 10px 16px; color: white; background: var(--ink); border-radius: 10px;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(219, 228, 240, .78);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink); font-size: 23px; font-weight: 800;
}
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--blue), var(--cyan));
  border-radius: 12px; font-weight: 800;
}
.primary-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 700; }
.primary-nav a { color: #475569; transition: color .2s; }
.primary-nav a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.language-toggle {
  display: inline-flex; padding: 4px; background: #eef2f7; border: 1px solid var(--line); border-radius: 999px;
}
.language-toggle button {
  min-width: 72px; padding: 7px 12px; color: #475569; background: transparent;
  border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer;
}
.language-toggle button.active { color: white; background: var(--ink); box-shadow: 0 6px 16px rgba(15, 23, 42, .16); }
.menu-toggle { display: none; margin-left: auto; padding: 8px; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 22px; color: white; background: var(--blue);
  border: 1px solid var(--blue); border-radius: 11px; font-size: 14px; font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .22); cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 16px 32px rgba(37, 99, 235, .26); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.button-outline { color: var(--blue); background: white; box-shadow: none; }
.button-outline:hover { color: white; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 800; }
.text-link:hover { color: var(--blue); }

.hero { position: relative; overflow: hidden; padding: 112px 0 118px; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 78%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 82% 8%, rgba(37, 99, 235, .12), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(6, 182, 212, .1), transparent 30%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 62px; align-items: center; }
.eyebrow {
  margin: 0 0 13px; color: var(--blue); font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0 0 24px; max-width: 650px;
  font-size: clamp(42px, 5vw, 68px); line-height: 1.16; letter-spacing: -.04em;
}
.hero-copy > p:not(.eyebrow) { margin: 0; max-width: 630px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 35px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-strip span {
  padding: 7px 12px; color: #334155; background: white; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; font-weight: 800; box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}

.product-board {
  position: relative; padding: 24px; background: rgba(255, 255, 255, .86);
  border: 1px solid #d8e3f4; border-radius: 28px; box-shadow: var(--shadow);
}
.product-board::before {
  content: ""; position: absolute; inset: 10px; z-index: -1;
  background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(6, 182, 212, .14));
  border-radius: 28px; transform: rotate(-3deg);
}
.board-header, .approval-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; background: #0f172a; border-radius: 17px; color: white;
}
.board-header strong, .board-header span { display: block; }
.board-header span:not(.status-dot) { color: #bfdbfe; font-size: 12px; }
.status-dot {
  padding: 5px 10px; color: #bbf7d0; background: rgba(22, 163, 74, .15);
  border: 1px solid rgba(187, 247, 208, .3); border-radius: 999px; font-size: 11px; font-weight: 800;
}
.chat-card {
  margin-top: 16px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white;
  box-shadow: var(--shadow-soft);
}
.chat-card span, .approval-card span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.chat-card p { margin: 0; color: #334155; font-size: 14px; }
.chat-card.customer { margin-left: 40px; background: var(--blue); border-color: var(--blue); }
.chat-card.customer span, .chat-card.customer p { color: white; }
.chat-card.bot { margin-right: 40px; }
.approval-card { margin-top: 16px; background: white; border: 1px solid var(--line); color: var(--ink); }
.approval-card strong { display: block; font-size: 15px; }
.approval-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 178px; }
.approval-actions button {
  padding: 9px 12px; color: white; background: var(--green); border: 0; border-radius: 9px;
  font-size: 12px; font-weight: 800;
}
.approval-actions .reject { background: var(--red); }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 48px); line-height: 1.22; letter-spacing: -.03em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; }

.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .price-plan, .flow-steps > div, .demo-form {
  background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.service-card { padding: 25px; }
.service-card span {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  color: var(--blue); background: var(--surface-strong); border-radius: 11px; font-size: 12px; font-weight: 900;
}
.service-card h3 { margin: 22px 0 10px; font-size: 18px; line-height: 1.4; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }

.workflow { background: #0f172a; color: white; }
.workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.workflow .section-heading p:not(.eyebrow) { color: #cbd5e1; }
.workflow .eyebrow { color: #67e8f9; }
.flow-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-steps > div { padding: 22px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.flow-steps span {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  color: #0f172a; background: #67e8f9; border-radius: 10px; font-size: 12px; font-weight: 900;
}
.flow-steps strong { display: block; margin-bottom: 8px; }
.flow-steps p { margin: 0; color: #cbd5e1; font-size: 13px; }

.pricing { background: var(--surface-strong); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-plan { position: relative; display: flex; flex-direction: column; padding: 32px; }
.price-plan.featured { border: 2px solid var(--blue); transform: translateY(-10px); }
.recommended {
  position: absolute; top: 0; right: 0; left: 0; padding: 7px;
  color: white; background: var(--blue); border-radius: 15px 15px 0 0; text-align: center; font-size: 11px; font-weight: 800;
}
.featured h3 { margin-top: 18px !important; }
.price-plan h3 { margin: 0 0 7px; font-size: 25px; }
.price-plan p { min-height: 56px; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.price-plan > strong { display: block; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--blue); font-size: 20px; }
.price-plan ul { flex: 1; margin: 20px 0 28px; padding: 0; list-style: none; }
.price-plan li { position: relative; margin: 10px 0; padding-left: 24px; color: #475569; font-size: 13px; }
.price-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.contact { background: #0f172a; color: white; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.contact .eyebrow { color: #67e8f9; }
.contact-copy h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.24; letter-spacing: -.03em; }
.contact-copy p:not(.eyebrow) { margin: 0; color: #cbd5e1; }
.contact-links { display: grid; gap: 10px; margin-top: 28px; }
.messenger-link { display: inline-flex; color: #bfdbfe; font-weight: 800; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; color: var(--ink); }
.field label, .field legend { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 12px 13px; color: var(--ink); background: #fbfdff;
  border: 1px solid #cfd9e8; border-radius: 10px; outline: none; font-size: 14px;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.field input.invalid { border-color: var(--red); }
.channel-options { margin: 0; padding: 0; border: 0; }
.channel-options label { display: flex; align-items: center; gap: 8px; margin: 7px 0; color: #475569; font-weight: 600; }
.channel-options input { accent-color: var(--blue); }
.full-field { grid-column: 1 / -1; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#form-status { margin: 0; color: var(--muted); font-size: 12px; }
#form-status.success { color: var(--green); }
#form-status.error { color: var(--red); }
.demo-form button[disabled] { opacity: .65; cursor: wait; }

.site-footer { color: #cbd5e1; background: #020617; border-top: 1px solid #1e293b; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding: 48px 0 34px; }
.footer-brand { color: white; }
.footer-main p { max-width: 480px; margin: 14px 0 0; font-size: 13px; }
.footer-main nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 12px; }
.footer-main nav a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; border-top: 1px solid #1e293b; font-size: 11px; }

.legal-page { min-height: 100vh; background: var(--surface); }
.legal-header { background: white; border-bottom: 1px solid var(--line); }
.legal-nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.legal-nav > a:last-child { color: var(--blue); font-size: 13px; font-weight: 800; }
.legal-content { max-width: 820px; margin: 70px auto 100px; padding: 50px 55px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.legal-content h1 { margin: 0 0 8px; color: var(--ink); font-size: 38px; }
.legal-updated { margin: 0 0 40px; color: var(--muted); font-size: 12px; }
.legal-content h2 { margin: 34px 0 10px; color: var(--ink); font-size: 20px; }
.legal-content p, .legal-content li { color: #536078; font-size: 14px; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 76px 0 auto; display: grid; gap: 0; margin: 0; padding: 12px 20px 24px;
    background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
    transform: translateY(-135%); transition: transform .3s ease;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 12px; }
  .nav-actions { margin-left: 0; }
  .hero-grid, .workflow-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .price-plan.featured { transform: none; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 78px 0; }
  .nav-wrap { min-height: 68px; gap: 12px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  .primary-nav { inset: 68px 0 auto; }
  .nav-actions { width: 100%; justify-content: space-between; order: 3; padding-bottom: 12px; }
  .nav-wrap { flex-wrap: wrap; }
  .button-small { display: none; }
  .language-toggle { margin-left: auto; }
  .language-toggle button { min-width: 64px; padding: 7px 10px; }
  .hero { padding: 76px 0 82px; }
  .hero-grid { gap: 42px; }
  .hero-copy h1 { font-size: 38px; letter-spacing: -.035em; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .product-board { padding: 16px; border-radius: 22px; }
  .chat-card.customer, .chat-card.bot { margin-right: 0; margin-left: 0; }
  .approval-card { align-items: stretch; flex-direction: column; }
  .approval-actions { min-width: 0; width: 100%; }
  .service-grid, .flow-steps { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; padding: 24px; }
  .full-field { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .legal-content { margin: 30px 14px 70px; padding: 34px 24px; }
  .legal-content h1 { font-size: 30px; }
}
