/* Chakra Petch and Geist (SIL Open Font License), self-hosted: no request to Google. Written by a one-off script from Google Fonts. */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/chakra-petch-500-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/chakra-petch-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/chakra-petch-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/chakra-petch-600-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/chakra-petch-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/chakra-petch-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/chakra-petch-700-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/chakra-petch-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/chakra-petch-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-400-700-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-400-700-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-400-700-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-400-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/geist-400-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* AllSpeak AI website — "Arena" design (design canvas option C). */

:root {
  --bg: #07090d;
  --bg-band: #0a0d13;
  --surface: #0e1219;
  --surface-featured: #111827;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5f9;
  --body: #a7b2c3;
  --muted: #8793a6;
  --chip: #c9d3e2;
  --accent: #2563eb;
  --accent-soft: #7fa8ff;
  --glow: rgba(37, 99, 235, 0.38);
  --glow-soft: rgba(37, 99, 235, 0.14);
  --highlight: #f5a524;
  --display: "Chakra Petch", "Geist", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--chip); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 80px; }

.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 868px; }
.hl { color: var(--highlight); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }

/* Header (Unitra-style bar) */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(7, 9, 13, 0.74); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nav { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; }
.brand:hover { color: #fff; }
.brand-sm { font-size: 16px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.09); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px; color: var(--muted); font-size: 15px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--chip); border: 1px solid rgba(255, 255, 255, 0.12); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 48px; min-width: 220px; display: flex; flex-direction: column; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.menu-panel a { padding: 10px 12px; border-radius: 8px; color: var(--chip); }
.menu-panel a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

/* Buttons (Unitra-style glow) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-weight: 600; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; gap: 8px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; height: 48px; border-radius: 12px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 24px var(--glow), 0 0 60px var(--glow-soft); }
.btn-primary:hover { color: #fff; background: #2f6ef0; box-shadow: 0 0 30px var(--glow), 0 0 72px var(--glow-soft); transform: translateY(-1px); }
.btn-secondary { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.beta { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 5px; background: var(--highlight); color: #111; }

/* Hero */
.hero { padding: 104px 0 96px; text-align: center; background-color: var(--bg); background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 64px 64px; }
.hero-copy { max-width: 1120px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--chip); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--highlight); flex: none; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6vw, 86px); line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; }
.display-md { font-size: clamp(38px, 5vw, 68px); line-height: 1; }
.lead { max-width: 660px; font-size: 19px; line-height: 1.55; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.note { font-size: 14px; color: var(--muted); }

/* Demo video spot */
.demo { position: relative; max-width: 1120px; margin: 72px auto 0; padding: 14px; }
.corner { position: absolute; width: 36px; height: 36px; border-color: var(--accent); border-style: solid; border-width: 0; }
.corner.tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.corner.tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.corner.bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.corner.br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.demo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.demo-media { width: 100%; height: 100%; border: 0; background: #000; }
.demo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.demo-tag, .demo-langs { position: absolute; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; background: rgba(7, 9, 13, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.demo-tag { left: 18px; color: var(--text); }
.demo-langs { right: 18px; color: var(--body); }
.play { width: 80px; height: 80px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 0 32px var(--glow), 0 0 80px var(--glow-soft); }
.play:hover { color: #fff; transform: translateY(-1px); }
.demo-soon { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.demo-note { font-size: 14px; color: var(--muted); }
.chat-cards { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; max-width: min(470px, calc(100% - 36px)); text-align: left; }
.chat-card { background: rgba(7, 9, 13, 0.88); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 8px; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.chat-card .said { color: var(--muted); }
.chat-card .said span { font-weight: 600; }
.chat-card .translated { color: var(--text); }

/* Stats */
.stats { border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: var(--bg-band); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; color: #fff; }
.stat-label { font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding: 112px 0; }
.section-tight-top { padding-top: 0; }
.section-band { background: var(--bg-band); border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 48px; }
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; text-transform: uppercase; color: #fff; }
.section-lead { max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--body); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-features { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-pricing { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; font-weight: 600; color: #fff; }
.card p { font-size: 16px; line-height: 1.6; color: var(--body); }
.step { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--highlight); }
.card-icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(37, 99, 235, 0.16); color: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.chip { padding: 7px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; color: var(--chip); }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.price-card.featured { background: var(--surface-featured); border-color: var(--accent); box-shadow: 0 0 48px var(--glow-soft); }
.price-head { display: flex; flex-direction: column; gap: 6px; }
.price-head p { font-size: 15px; color: var(--body); }
.price-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-name h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.badge { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; background: var(--highlight); color: #111; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.amount { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; color: #fff; }
.per { font-size: 16px; color: var(--body); }
.price-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--chip); }
.price-list li { display: flex; gap: 10px; }
.price-list .icon { flex: none; color: var(--accent-soft); }
.price-card .btn-block { margin-top: auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--body); }

/* Final call to action */
.cta-band { border-radius: 16px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.09); padding: 80px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 40px 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 24px; font-size: 13px; line-height: 1.6; color: #7a8699; }

/* Pricing page and legal pages */
.page-top { height: 24px; }
.legal-wrap { padding: 56px 24px 96px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal { color: var(--body); font-size: 16px; line-height: 1.7; }
.legal h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: #fff; margin-bottom: 12px; }
.legal h2 { font-size: 22px; color: #fff; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; color: #fff; margin: 28px 0 10px; }
.legal p { margin: 12px 0; }
.legal ul { margin: 12px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.not-found { padding: 120px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .nav-links, .lang-switch, .icon-btn { display: none; }
  .menu { display: block; }
  .nav { gap: 16px; }
  .brand { font-size: 17px; }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 80px 0; }
  .section-tight-top { padding-top: 0; }
  .btn-lg { width: 100%; }
  .demo { margin-top: 48px; padding: 8px; }
  .corner { width: 22px; height: 22px; }
  .demo-langs, .chat-cards { display: none; }
  .play { width: 64px; height: 64px; }
  .cta-band { padding: 56px 20px; }
  .card, .price-card { padding: 24px; }
  .nav-actions .btn-sm .beta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .play { transition: none; }
}
