:root {
  --g: #25cc91;
  --g-dark: #1aa876;
  --g-light: #e8faf4;
  --p: #b770ff;
  --p-light: #f5ebff;
  --p-mid: #e8d4ff;
  --p-dark: #9450e0;
  --hl-blue: #2563eb;
  --hl-blue-light: #dbeafe;
  --hl-blue-dark: #1d4ed8;
  --select-background: #3367d1;
  --select-color: #ffffff;
  --ink: #222;
  --ink-60: rgba(17, 17, 17, 0.6);
  --ink-30: rgba(17, 17, 17, 0.3);
  --ink-08: rgba(17, 17, 17, 0.08);
  --ink-04: rgba(17, 17, 17, 0.04);
  --white: #ffffff;
  --paper: #f9f9f9;
  --border: rgba(17, 17, 17, 0.12);
  --r: 8px;
  --r-lg: 14px;
  --r-pill: 100px;
  --primary-color: #25cc91;
  --purple-color: #a855f7;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 200;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}

.nav-icon {
  width: 32px;
  height: 32px;
  background: var(--g);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  color: var(--ink-60);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--ink);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g);
  color: var(--white);
  padding: 11px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background .18s, transform .15s;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
}

.btn-green:hover {
  background: var(--g-dark);
  transform: translateY(-1px);
}

.btn-green svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 56px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  /* align-items: center; */
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g-light);
  color: var(--g-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-eyebrow span:first-child {
  width: 5px;
  height: 5px;
  background: var(--g);
  border-radius: 50%;
  display: inline-block;
}

h1 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 440px;
  margin-top: 16px;
}

.hero-note {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.7;
  margin-top: 28px;
}

.hero-note strong {
  color: var(--g-dark);
  font-weight: 600;
}

.document-mock-title {
	display: flex;
	gap: 16px;
}

/* ── BROWSER MOCK ── */
.browser {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(17, 17, 17, .09);
  overflow: hidden;
}

.browser-bar {
  background: #f4f2ee;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-08);
}

.dots i:first-child {
  background: #FF6057;
}

.dots i:nth-child(2) {
  background: #FFBD2E;
}

.dots i:nth-child(3) {
  background: #27C93F;
}

.b-url {
  flex: 1;
  background: var(--white);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--ink-30);
  border: 1px solid var(--border);
}

.browser-body {
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.hl {
  background: Highlight;
  color: HighlightText;
}

.tr-popup {
  font-family: "Noto Sans", sans-serif;
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(17, 17, 17, .08);
}

.tr-lang {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  color: var(--ink-30);
  margin-bottom: 8px;
  text-transform: lowercase;
  font-size: 12px;
  font-weight: 700;
  color: rgb(107, 114, 128);
}

.tr-orig {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--primary-color);
  margin-bottom: 8px;
}

.tr-orig span, .tr-dest span {
  background: var(--primary-color);
  color: var(--select-color);
  padding: 1px 3px;
  font-weight: normal;
}

.tr-dest {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: 8px;
  /* border-bottom: 1px solid var(--ink-08); */
  margin-bottom: 10px;
}

.tr-saved {
  font-size: 11.5px;
  color: var(--g-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tr-saved span {
  color: var(--ink-30);
  font-weight: 400;
  margin-left: auto;
}

/* ── SECTION BASE ── */
.section-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-dark);
  margin-bottom: 12px;
}

.section-h {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-tagline {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-sub {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.7;
  /* max-width: 540px; */
  margin-bottom: 40px;
}

/* ── STEPS ── */
.steps-section {
  background: var(--paper);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}

.step-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 20px;
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--g-light);
    color: var(--g-dark);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--ink-60);
  line-height: 1.6;
}

/* ── WHERE ── */
.where-section {
  padding: 80px 0;
}

.where-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}

.where-card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

.where-card:hover {
  border-color: var(--g);
  box-shadow: 0 4px 20px rgba(37, 204, 145, .12);
}

.where-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.where-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.where-desc {
  font-size: 13.5px;
  color: var(--ink-60);
  line-height: 1.6;
}

/* file icons */ .file-icons {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.file-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.file-badge {
  width: 44px;
  height: 54px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6px;
  position: relative;
  box-shadow: 0 2px 6px rgba(17, 17, 17, .07);
}

.file-badge::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  border-radius: 0 4px 0 0;
}

.file-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  letter-spacing: .03em;
}

.ft-pdf {
  background: #e03c2c;
}

.ft-doc {
  background: #2b67d0;
}

.ft-ppt {
  background: #e07a2c;
}

.ft-xls {
  background: #1fa851;
}

.ft-epub {
  background: #9450e0;
}

.file-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}

/* ── VOCAB ── */
.vocab-section {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vocab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.vocab-mock {
  background: var(--white);
  border: 1.5px solid var(--border);
  /* border-radius: var(--r-lg); */
  /* overflow: hidden; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.vm-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.vm-brand {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  font-size: 16px;
}

.vm-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 14px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
}

.vm-buttons > a {
  flex: 1;
}

.vm-tab {
  text-align: center;
}

.vm-tab:hover {
	text-decoration: underline;
}

.vm-lang {
  font-size: 13px;
  color: var(--ink-30);
  float: right;
  margin-top: -24px;
}

.vm-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: bold;
}

.vm-tabs-label {
  color: var(--ink-60);
  font-size: 13px;
}

.vm-tab {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-color);
  text-decoration: none;
  cursor: pointer;
  padding: 0 4px;
}

.vm-body {
  padding: 14px 16px;
  position: relative;
}

.vm-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.word-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 16px;
  font-family: "Noto Sans", sans-serif;
}

.word-item:last-child {
  margin-bottom: 0;
}

.word-text {
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
}

.word-text:hover {
  text-decoration: underline;
}

.demo-vocabulary-translation-panel {
  position: absolute;
  z-index: 2147483647;
  min-width: 420px;
  max-width: 520px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.16);
  color: var(--ink);
  font-family: "Noto Sans", sans-serif;
}

.demo-vocabulary-translation-panel .sentence-highlighter-panel_header {
  cursor: default;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(107, 114, 128);
}

.demo-vocabulary-translation-panel .sentence-highlighter-panel_body {
  padding: 0 14px 14px;
}

.sentence-highlighter-panel_divider {
  margin: 10px 0px;
  background: none;
  border-top: 1px solid var(--primary-color);
}

#demo-vocabulary-translation-source {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

#demo-vocabulary-translation-source span,
#demo-vocabulary-translation-dest span:not(.sentence-highlighter-translation-error) {
  background: var(--primary-color);
  color: var(--select-color);
  padding: 1px 3px;
  font-weight: normal;
}

#demo-vocabulary-translation-dest {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.word-lang {
  font-size: 12px;
  color: var(--ink-30);
  font-weight: 500;
  color: #6b7280;
  font-size: 12px;
  font-family: "Noto Sans", sans-serif;
}

.vm-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vm-btn-green {
  background: var(--g);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  text-align: center;
  border-radius: 8px;
}

.vm-btn-gray {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 11px;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
}

.vm-btn-gray:hover {
  text-decoration: none;
}

/* ── FREE vs SUB ── */
.learn-words-section {
  padding: 80px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}

.plan-card.sub {
  border-color: var(--g);
  background: var(--g-light);
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 8px;
}

.plan-card.sub .plan-badge {
  color: var(--g-dark);
}

.plan-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-color);
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-60);
  line-height: 1.5;
}

.plan-features li::before {
  content: '✓';
  color: var(--g);
  font-weight: 800;
  flex-shrink: 0;
}

.plan-card.sub .plan-features li {
  color: var(--g-dark);
}

/* ── HOW TO START ── */
.start-section {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.start-step {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}

.start-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--g-light);
  color: var(--g-dark);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.start-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.start-desc {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.6;
}

/* ── PRICING ── */
.pricing-section {
  padding: 80px 0;
  background: var(--white);
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  max-width: 720px;
}

.p-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color .2s, box-shadow .2s;
}

.p-card:hover {
  box-shadow: 0 4px 20px rgba(17, 17, 17, .07);
}

.p-card.best {
  background: var(--p-light);
  border-color: var(--p-mid);
}

.p-left {
  flex: 1;
}

.p-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.p-period {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}

.p-best-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--g-dark);
  background: var(--g-light);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}

.p-desc {
  font-size: 13px;
  color: var(--ink-60);
  margin-bottom: 4px;
}

.p-save {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-color);
}

.p-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 160px;
}

.p-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 2px;
}

.p-price sup {
  font-size: 18px;
  vertical-align: super;
}

.p-monthly {
  font-size: 12px;
  color: var(--ink-30);
  margin-bottom: 12px;
}

.p-btn {
  display: block;
  text-align: center;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s;
  font-family: 'Noto Sans', sans-serif;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.p-btn-fill {
  background: var(--g);
  color: var(--white);
}

.p-btn-fill:hover {
  background: var(--g-dark);
}

.free-bar {
  padding: 20px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 16px;
}

.free-bar-text {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.free-bar-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-color);
}

.free-bar-btn {
  background: var(--g);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-section {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.faq-inner {
  max-width: 680px;
  padding: 0 56px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--g);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.7;
  margin-top: 10px;
}

/* ── FOOTER CTA ── */
.footer-cta {
  background: var(--ink);
  padding: 88px 56px;
  text-align: center;
}

.footer-cta h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.footer-cta .tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-color);
  margin-bottom: 12px;
}

.footer-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 30px;
}

.footer-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .3);
  margin-top: 14px;
}

.footer-note strong {
  color: rgba(255, 255, 255, .5);
}

footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 12.5px;
  color: rgba(255, 255, 255);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left {
  animation: fadeUp .5s ease both;
}

.hero-right {
  animation: fadeUp .5s .12s ease both;
}

/* ── Utility classes extracted from inline HTML styles ── */
.hero-section {
  background: var(--white);
}

.text-purple {
  color: var(--purple-color);
}

.hero-cta {
  font-size: 15px;
  padding: 13px 28px;
}

.hero-cta-mobile {
	display: none;
}

.free-bar-btn-mobile {
	display: none;
	background: var(--g);
	color: var(--white);
	padding: 11px 22px;
	border-radius: var(--r-pill);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.hero-cta-desc {
	display: none;
	font-size: 11.5px;
    color: #888;
    text-align: center;
    line-height: 1.5;
    padding: 0 8px;
}

.free-bar-desc {
	display: none;
	font-size: 11.5px;
    color: #888;
    text-align: center;
    line-height: 1.5;
    padding: 0 8px;
}

.tr-lang {
  margin-bottom: 10px;
}

/* Начальное состояние обоих выделяемых фрагментов */
.tr-full span,
.tr-full strong,
.browser-body .tr-full span,
.browser-body .tr-full strong,
.document-mock-body .tr-full span,
.document-mock-body .tr-full strong {
	color: inherit;
	background-image: linear-gradient(
		90deg,
		#b3d4fc 0%,
		#b3d4fc 100%
	);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
}

/* strong в исходном тексте не должен выглядеть жирным */
.tr-full strong {
	font-weight: inherit;
}

/* Первое выделение — span */
.browser-body.tr-full-highlight-ready .tr-full span,
.document-mock-body.tr-full-highlight-ready .tr-full span {
	animation: tr-full-highlight-fill 3s ease-out forwards;
}

/* Второе выделение — strong */
.browser-body.tr-full-strong-highlight-ready .tr-full strong,
.document-mock-body.tr-full-strong-highlight-ready .tr-full strong {
	animation: tr-full-highlight-fill 3s ease-out forwards;
}

@keyframes tr-full-highlight-fill {
	from {
		background-size: 0% 100%;
	}

	to {
		background-size: 100% 100%;
	}
}

.mb-0 {
  margin-bottom: 0;
}

.documents-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 0;
}

.documents-formats-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-30);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.file-icons-docs {
  gap: 20px;
  margin-bottom: 28px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.check-list--docs {
  gap: 9px;
}

.check-list--vocab {
  gap: 8px;
}

.check-list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-60);
}

.checkmark {
  color: var(--g);
  font-weight: 800;
}

.document-mock {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(17, 17, 17, .07);
  overflow: hidden;
}

.document-mock-bar {
  background: #f4f2ee;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.document-mock-url {
  flex: 1;
  background: var(--white);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--ink-30);
  border: 1px solid var(--border);
}

.document-mock-body {
  padding: 20px 22px;
  position: relative;
}

.document-file-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.document-file-meta {
  font-size: 11px;
  color: var(--ink-30);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-08);
}

.document-preview-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
}

.vm-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.vm-current-lang {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  color: var(--ink-30);
  margin-bottom: 8px;
  text-transform: lowercase;
  font-size: 12px;
  font-weight: 700;
  color: rgb(107, 114, 128);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.pricing-card {
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.pricing-card--base {
  background: var(--g-light);
  transition: box-shadow .2s;
  position: relative;
}

.pricing-card--plain {
  background: var(--white);
  transition: box-shadow .2s;
}

.pricing-card--plain:hover {
  box-shadow: 0 6px 24px rgba(17, 17, 17, .07);
}

.pricing-card--best {
  background: var(--p-light);
  position: relative;
}

.pricing-base-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--g);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: .04em;
}

.pricing-best-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-color);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: .04em;
}

.pricing-card-period {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  color: #000000;
}

.pricing-card-period--best {
  color: var(--p-dark);
}

.pricing-card-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 2px;
}

.pricing-card-currency {
  font-size: 20px;
  vertical-align: super;
}

.pricing-card-monthly {
  font-size: 12px;
  margin-bottom: 4px;
}

.pricing-card-monthly--plain {
  color: #000000;
}

.pricing-card-monthly--best {
  color: var(--p-dark);
  opacity: .7;
}

.pricing-card-save {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-color);
  margin-bottom: 20px;
}

.pricing-card-save--empty {
  min-height: 16px;
}

.pricing-card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}

.pricing-card-divider--best {
  background: var(--p-mid);
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.pricing-feature {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.pricing-feature--plain {
  color: var(--ink-60);
}

.pricing-feature--best {
  color: var(--p-dark);
}

.pricing-checkmark {
  color: var(--g);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-subscribe {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Noto Sans', sans-serif;
}

.pricing-subscribe--outline {
  border: 2px solid var(--border);
  color: var(--ink);
}

.pricing-subscribe--fill {
  background: var(--g);
  color: var(--white);
}

.img-icon-youtube {
  height: 30px;
}

.img-icon-pdf {
  height: 55px;
  vertical-align: bottom;
}

/* ── YouTube section ── */
.youtube-section {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.youtube-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.youtube-eyebrow-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-dark);
}

.youtube-video-frame {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(17, 17, 17, .10);
  aspect-ratio: 16 / 9;
  margin-top: 32px;
}

.youtube-video-frame .tap-hint {
	display: none;
}

.youtube-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── Books section ── */
.books-section {
  background: var(--p);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.books-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--white);
  opacity: .06;
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.books-wrap {
  position: relative;
  z-index: 1;
}

.books-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.books-content {
  flex: 1;
  max-width: 480px;
}

.books-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .2);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.books-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.books-title-accent {
  color: #111111;
}

.books-description {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: 28px;
}

.books-format-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.books-format-badge {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--r-pill);
}

.books-format-badge--active {
  background: rgba(255, 255, 255, .25);
  color: var(--white);
}

/* ── Decorative book stack ── */
.book-stack {
  flex-shrink: 0;
  position: relative;
  width: 190px;
  height: 210px;
}

.book-cover {
  position: absolute;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 6px 8px 24px rgba(0, 0, 0, .35);
}

.book-cover--red {
  width: 118px;
  height: 168px;
  background: #c0392b;
  top: 28px;
  left: 46px;
  transform: rotate(7deg);
}

.book-cover--blue {
  width: 118px;
  height: 174px;
  background: #2c4a8a;
  top: 16px;
  left: 24px;
  transform: rotate(-4deg);
}

.book-cover--green {
  width: 122px;
  height: 180px;
  background: #1a5c4a;
  top: 0;
  left: 0;
  transform: rotate(-1deg);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 4px 0 0 4px;
}

.book-spine--dark {
  background: rgba(0, 0, 0, .2);
}

.book-spine--light {
  background: rgba(255, 255, 255, .35);
}

.book-cover-title {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.5;
  font-family: "Noto Sans", sans-serif;
}

.book-cover-title--muted {
  color: rgba(255, 255, 255, .5);
}

.book-cover-title--soft {
  color: rgba(255, 255, 255, .55);
}

.book-cover-title--strong {
  color: rgba(255, 255, 255, .8);
}

.book-page-lines {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-page-line {
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .12);
}

.book-page-line--medium {
  width: 75%;
}

.book-page-line--short {
  width: 55%;
}

.book-page-line--long {
  width: 85%;
}

.book-status-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  background: var(--g);
  border-radius: 50%;
}

/* ── Language selection modal ── */
.language-modal-open {
  overflow: hidden;
}

.language-modal-overlay[hidden] {
  display: none;
}

.language-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.48);
  backdrop-filter: blur(6px);
}

.language-modal {
  width: min(100%, 460px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.24);
  padding: 30px;
  animation: fadeUp .25s ease both;
}

.language-modal-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--p-light);
  font-size: 24px;
}

.language-modal-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.language-modal-subtitle {
  margin: 0 0 22px;
  color: var(--ink-60);
  font-size: 14px;
  line-height: 1.65;
}

.language-modal-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.language-modal-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.language-modal-select {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
  font: 14px "Noto Sans", sans-serif;
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.language-modal-select:focus {
  border-color: var(--purple-color);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, .14);
}

.language-modal-button {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  background: var(--primary-color);
  color: var(--white);
  font: 700 14px "Noto Sans", sans-serif;
  cursor: pointer;
  transition:
    background .18s ease,
    transform .15s ease;
}

.language-modal-button:hover {
  background: var(--g-dark);
  transform: translateY(-1px);
}

.hero-selection {
  background: Highlight;
  color: HighlightText;
}

#learn-words-root {
  height: 500px !important;
}

.learn-words-root-body {
  position: relative;
}

.learn-words-root-body .hero-click-hint {
  bottom: 5px;
  top: auto;
}

.demo-selection-translate-button {
  position: absolute;
  z-index: 9999;
  transform: translateX(-50%);
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.demo-selection-translate-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.sentence-highlighter-translate-btn {
	display: none;
	position: absolute;
	width: 36px;
	height: 36px;
	color: rgb(255, 255, 255);
	line-height: 1;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2147483647;
	box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 20px;
	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	border-width: medium;
	border-style: none;
	border-color: currentcolor;
	border-image: initial;
	border-radius: 999px;
	background: var(--primary-color);
	transform: translateX(-50%);
}

.sentence-highlighter-translate-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

.sentence-highlighter-icon {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
	pointer-events: none;
}

.helgio-browser-badge__icon .sentence-highlighter-icon {
	fill: #ffffff;
}

#demo-vocabulary-translation-dest span.sentence-highlighter-translation-error, .tr-dest span.sentence-highlighter-translation-error {
  color: #a855f7;
  background: none;
  padding: 0px;
}

.sentence-highlighter-translate-wrap {
  position: absolute;
  z-index: 2147483647;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
}


#sentence-highlighter-translate-wrap .sentence-highlighter-translate-btn {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  z-index: 2;
}

.hero-sub-wrap {
  position: relative;
  display: inline-block;
}

.sub-translate-btn {
  display: inline-flex;
  width: 36px;
  height: 36px;
  color: #ffffff;
  line-height: 1;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 20px;
  border-radius: 999px;
  background: var(--primary-color);
}

.hero-sub-translate-btn {
  position: absolute;
  display: inline-flex;
  width: 36px;
  height: 36px;
  color: #ffffff;
  line-height: 1;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 20px;
  border-radius: 999px;
  background: var(--primary-color);

  left: 130px;
  top: 40px;
}

.hero-sub-translate-btn .sentence-highlighter-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header {
	position: absolute;
	top: 16px; 
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	padding: 0px 56px;
	background: none;
	z-index: 100;
	pointer-events: none;
	height: 38px;
}

.header .language-switch-button {
	position: absolute;
	display: inline-flex;
	align-items: center;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	cursor: pointer;
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	pointer-events: auto;
	left: 56px;
	text-transform: lowercase;
    font-weight: 700;
    color: rgb(107, 114, 128);
}

.header .language-switch-button:hover {
	color: var(--ink);
	text-decoration: underline;
}

.header .language-switch-button:active,
.header .language-switch-button:visited {
	color: var(--ink);
}

.header .language-switch-button-text {
	white-space: nowrap;
}

.header .start-now {
	position: fixed;
	top: 16px;
	right: 56px;
	z-index: 1000;

	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--g);
	color: var(--white);
	padding: 11px 24px;
	border-radius: var(--r-pill);
	text-decoration: none;
	transition: background .18s, transform .15s;
	border: none;
	cursor: pointer;
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	pointer-events: auto;
}

.header .start-now:hover {
	background: var(--g-dark);
	transform: translateY(-1px);
	text-decoration: none;
}

.header .start-now svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ── YouTube caption demo panel ── */
.youtube-demo-frame {
  position: relative;
  overflow: visible;
}

.youtube-demo-frame .youtube-video-iframe {
  display: block;
  border-radius: 10px;
}

.helgio-youtube-live-word.is-visible-youtube-caption-word,
.helgio-youtube-live-space.is-visible-youtube-caption-word {
  background: rgb(83, 83, 83);
  color: #ffffff;
}

.helgio-youtube-live-space {
  display: inline;
}

.helgio-youtube-live-word.is-visible-youtube-caption-word:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.helgio-youtube-live-caption {
  font-size: 20px;
  line-height: 1.55;
  color: #ffffff;
}

.helgio-youtube-live-word {
  border: none;
  background: transparent;
  padding: 0 3px;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.helgio-youtube-live-word:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.helgio-youtube-live-translation-placeholder {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 1.45;
}

.helgio-youtube-live-controls {
  position: absolute;
  inset: 0;
  z-index: 21;
  pointer-events: none;
}

.helgio-youtube-live-control-btn {
  position: absolute;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helgio-youtube-live-control-btn:hover {
  filter: brightness(0.96);
}

.helgio-youtube-live-control-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
  pointer-events: none;
}

#helgio-youtube-live-collapse-btn {
  top: -17px;
  right: -17px;
}

#helgio-youtube-live-play-toggle-btn {
  top: 40px;
  right: -17px;
  transform: translateY(-50%);
}

#helgio-youtube-caption-panel {
  display: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -50px;
  width: auto;
  min-width: 0;
  max-width: none;
  transform: none;
  background: #000000;
  border: 1px solid #212222;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  overflow: visible;
  box-sizing: border-box;
}

.helgio-youtube-caption-panel_header {
  font-size: 12px;
  font-weight: 700;
  color: #8c94a5;
  letter-spacing: 0.02em;
  padding: 12px 52px 12px 14px;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.helgio-youtube-caption-panel_body {
  padding: 0 14px 12px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

.hero-browser-body .tr-popup, .document-mock-body .tr-popup {
  display: none;
}

#helgio-youtube-caption-source,
#helgio-youtube-caption-translation {
  font-size: 20px;
  line-height: 1.5;
  word-break: break-word;
  user-select: text;
  -webkit-user-select: text;
}

#helgio-youtube-caption-source span,
#helgio-youtube-caption-translation span {
  background: var(--primary-color);
  padding: 2px 5px;
  color: #ffffff;
  border-radius: 3px;
}

#helgio-youtube-caption-translation .sentence-highlighter-translation-error {
  font-size: 17px;
  color: rgb(200 143 255);
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.helgio-youtube-live-word.helgio-youtube-selected-word,
.helgio-youtube-live-word.is-selected-youtube-caption-word {
  background: var(--primary-color);
  color: #ffffff;
}

.helgio-youtube-divider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  margin: 10px 0;
  height: 34px;
  background: transparent;
}

.helgio-youtube-divider-controls::before,
.helgio-youtube-divider-controls::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--primary-color);
  border-radius: 999px;
  opacity: 0.9;
}

.helgio-youtube-divider-control-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--primary-color);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.helgio-youtube-divider-control-btn.is-main {
  width: 82px;
  height: 40px;
  border-radius: 999px;
}

.helgio-youtube-divider-control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#helgio-youtube-rewind-back-btn,
#helgio-youtube-rewind-forward-btn {
  position: relative;
}

#helgio-youtube-caption-panel.is-youtube-live-collapsed {
  width: 34px !important;
  min-width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  box-shadow: none;
}

#helgio-youtube-caption-panel.is-youtube-live-collapsed .helgio-youtube-caption-panel_header {
  padding: 0;
  width: 34px;
  height: 34px;
  display: block;
}

#helgio-youtube-caption-panel.is-youtube-live-collapsed .helgio-youtube-caption-lang,
#helgio-youtube-caption-panel.is-youtube-live-collapsed .sentence-highlighter-panel_header_deepl,
#helgio-youtube-caption-panel.is-youtube-live-collapsed .helgio-youtube-caption-panel_body {
  display: none !important;
}

#helgio-youtube-caption-panel.is-youtube-live-collapsed #helgio-youtube-live-play-toggle-btn {
  display: none !important;
}

#helgio-youtube-caption-panel.is-youtube-live-collapsed #helgio-youtube-live-collapse-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.youtube-video-frame.youtube-demo-frame {
  display: none;
}

.youtube-video-frame.youtube-demo-frame.is-youtube-demo-ready {
  display: block;
}

.hero-browser-body {
  position: relative;
}

.tr-full-hint {
	position: relative;
}

.tap-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--purple-color);
  font-family: "Noto Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
  position: absolute;
  /* top: 35px; */
  bottom: 14px;
  left: 50px;
  z-index: 5;
}

.tap-hint-hand-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tap-hint-ripple {
  position: absolute;
  left: 17px;
  top: 0px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  animation: tapHintRipple 1.45s ease-out infinite;
  pointer-events: none;
}

.tap-hint-ripple-delay {
  animation-delay: 0.42s;
}

.tap-hint-hand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.tap-hint-hand-svg {
  width: 44px;
  height: 44px;
  overflow: visible;
  display: block;
  animation: tapHintHandPress 1.45s ease-in-out infinite;
  transform-origin: 54% 82%;
}

.tap-hint-text {
  color: currentColor;
  font-weight: 700;
  text-align: center;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff,
     0    2px 8px rgba(255, 255, 255, 0.9);
}

.vm-body .tap-hint {
	top: 170px;
}

.free-bar-body {
	position: relative;
}

.free-bar-body .tap-hint {
	top: 20px;
    bottom: unset;
    left: calc(50% - 20px);
}

@keyframes tapHintHandPress {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  38% {
    transform: translateY(4px) scale(0.96);
  }

  58% {
    transform: translateY(0) scale(1);
  }
}

@keyframes tapHintRipple {
  0%, 35% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }

  45% {
    opacity: 0.65;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

/* Demo translate button shared styling override */

#sentence-highlighter-translate-btn,
#sentence-highlighter-translate-btn-document {
	display: none;
	position: absolute;
	width: 36px;
	height: 36px;
	color: rgb(255, 255, 255);
	line-height: 1;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 100;
	box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 20px;
	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	border-width: medium;
	border-style: none;
	border-color: currentcolor;
	border-image: initial;
	border-radius: 999px;
	background: var(--primary-color);
	transform: translateX(-50%);
}

#sentence-highlighter-translate-btn:disabled,
#sentence-highlighter-translate-btn-document:disabled {
	opacity: 0.7;
	cursor: default;
}

#sentence-highlighter-translate-wrap,
#sentence-highlighter-document-translate-wrap {
	position: absolute;
	z-index: 100;
	transform: translateX(-50%);
	display: none;
	align-items: center;
	justify-content: center;
}


#sentence-highlighter-translate-wrap #sentence-highlighter-translate-btn,
#sentence-highlighter-document-translate-wrap #sentence-highlighter-translate-btn-document {
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	z-index: 2;
}

.sentence-highlighter-translate-wrap .tap-hint {
	bottom: -30px;
    left: 0px;
}

#helgio-youtube-caption-translation {
	position: relative;
}

.helgio-youtube-translation-loading {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
  position: absolute;
  left: 0px;
  top: -20px;
}

.title-line {
	margin-bottom: 20px;
}

.helgio-browser-badge {
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 44px;
	padding: 7px 20px 7px 8px;

	background: var(--g-light);
	border-radius: 999px;
	box-shadow:
		0 1px 2px rgba(17, 24, 39, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);

	color: #171717;
	font-family: "Noto Sans", Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	margin-bottom: 20px;
}

.helgio-browser-badge__text-short {
	display: none;
	color: var(--g-dark);
	font-size: 13px;
	font-weight: 700;
}

.helgio-browser-title {
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.helgio-browser-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;

	background: #2dcc91;
	border-radius: 50%;
	color: #ffffff;
	box-shadow: 0 2px 5px rgba(45, 204, 145, 0.28);
}

.helgio-browser-badge__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.helgio-browser-badge__brand {
	font-size: 13px;
	font-weight: 700;
}

.helgio-browser-badge__divider {
	width: 1px;
	height: 22px;
	font-size: 18px;
	background: #d8dfdc;
}

.helgio-browser-badge__text {
	color: var(--g-dark);
	font-size: 13px;
	font-weight: 700;
}

.header .helgio-browser-badge {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: auto;
	min-height: 38px;
	height: 38px;
	padding: 4px 14px 4px 5px;
	gap: 9px;
}

.header .helgio-browser-badge:hover {
	transform: translateX(-50%) translateY(-1px);
}

.helgio-browser-badge__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
}

.helgio-browser-badge__icon svg {
	width: 16px;
	height: 16px;
}

.helgio-browser-badge__divider {
	height: 16px;
}

.toolbar {
  width: 400px;
  height: 40px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.address-bar {
  height: 32px;
  flex: 1;
  min-width: 0;
  padding: 0 7px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f4f9;
  border-radius: 18px;
}

.plugin-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #30343b;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
}

.plugin-title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.settings-icon {
  color: #4b5563;
  font-size: 18px;
  line-height: 1;
  transform: rotate(90deg);
}

.icon-button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
}

.icon-button:hover {
  background: #e4e8ef;
}

.star {
  font-size: 25px;
  line-height: 1;
}

.language {
  width: 27px;
  height: 27px;
  background: #21bf88;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.language:hover {
  background: #18a876;
}

.extensions svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.browser-frame {
    background: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 760px;
    margin-bottom: 10px;
	border: 1.5px solid var(--border);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.address-bar {
    flex: 1;
    background: #eef1f6;
    border-radius: 100px;
    padding: 4px 6px 4px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.site-info-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    flex-shrink: 0;
    transition: background .15s;
}
.site-info-btn:hover { background: rgba(0,0,0,0.06); }

.url-text {
    flex: 1;
    font-size: 14px;
    color: #1f1f1f;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: text;
}

.ab-icons {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-shrink: 0;
}

.ab-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    transition: background .15s;
}
.ab-btn:hover { background: rgba(0,0,0,0.06); }

.toolbar-icons {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: 4px;
    flex-shrink: 0;
}

.tb-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    transition: background .15s;
}
.tb-btn:hover { background: rgba(0,0,0,0.06); }

.helgio-browser-badge__icon:hover { background: rgba(0,0,0,0.06); }

.start-step strong {
	color: var(--purple-color);
}

.tr-full {
	font-size: 14px;
}

.modal-overlay {
	display: none;
}

.hero-rating {
	font-size: 15px;
    color: var(--ink-60);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 440px;
    margin-top: 16px;
}


/* === MODAL === */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  .modal-overlay.active { display: flex; }
  .modal {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    width: 100%;
    max-width: 380px;
    position: relative;
    animation: slideUp 0.25s ease-out;
  }
  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    color: #bbb;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
  }
  .modal-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }
  .modal-icon {
    width: 56px;
    height: 56px;
    background: #e8faf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-icon.success { background: #25cc91; }
  .modal-title {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .modal-text {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .modal-input {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 100px;
    padding: 12px 18px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    margin-bottom: 10px;
    outline: none;
    transition: border-color .15s;
  }
  .modal-input:focus { border-color: #25cc91; }
  .modal-btn {
    width: 100%;
    background: #25cc91;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 100px;
    font-size: 14px; font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
    cursor: pointer;
  }
  .modal-btn:active { background: #1aa876; }



/* ── Partner program badge ── */
.helgio-partner-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 44px;
	margin: 0 0 20px 10px;
	padding: 7px 18px 7px 8px;
	background: var(--g-light);
	border: 1px solid rgba(37, 204, 145, 0.16);
	border-radius: 999px;
	box-shadow:
		0 1px 2px rgba(17, 24, 39, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	color: var(--g-dark);
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	vertical-align: top;
	transition:
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.helgio-partner-badge:hover {
	background: #dcf8ee;
	box-shadow:
		0 5px 14px rgba(37, 204, 145, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	color: var(--g-dark);
	text-decoration: none;
	transform: translateY(-1px);
}

.helgio-partner-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--g);
	color: #ffffff;
	box-shadow: 0 2px 5px rgba(45, 204, 145, 0.28);
}

.helgio-partner-badge__icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

#helgio-youtube-caption-source .helgio-youtube-live-caption {
	cursor: text;
	user-select: text;
	-webkit-user-select: text;
}

#helgio-youtube-caption-source .helgio-youtube-caption-progress {
	background: rgb(83, 83, 83);
	color: #ffffff;
	font-weight: inherit;
}

#helgio-youtube-caption-source .helgio-youtube-caption-selection {
	background: var(--primary-color);
	color: #ffffff;
	border-radius: 3px;
	padding: 2px 5px;
}
