:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef4ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe3ef;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --button-start: #1d4ed8;
  --button-end: #0f766e;
  --green: #0f9f6e;
  --pink: #db2777;
  --orange: #f97316;
  --yellow: #facc15;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: 1160px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f172a;
  --bg-soft: #111d33;
  --surface: #1e293b;
  --surface-strong: #172554;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: #334155;
  --primary: #60a5fa;
  --primary-strong: #93c5fd;
  --button-start: #2563eb;
  --button-end: #0f766e;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent 48%);
  pointer-events: none;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 5rem;
  line-height: 1.02;
  max-width: 790px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 3.4rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 1.08rem;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 168px minmax(320px, 1fr) 356px;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(18px, calc((100vw - var(--container)) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

.nav {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: min(100%, 480px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 356px;
}

.select,
.icon-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}

.language-select {
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
  padding-inline: 12px 30px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.select {
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.icon-button {
  width: 44px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--button-start), var(--button-end));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.24);
  border: 0;
}

.button:hover {
  filter: brightness(0.96);
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 72%, white);
  outline-offset: 3px;
}

.button-small {
  display: block;
  flex: 0 0 124px;
  width: 124px;
  min-height: 40px;
  line-height: 40px;
  padding-inline: 16px;
  font-size: 0.92rem;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 92px 0;
}

.page-main {
  min-height: 70vh;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding-top: 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .button {
  display: block;
  width: 214px;
  line-height: 52px;
  padding-inline: 16px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 700;
}

.trust-label,
.quote span {
  color: var(--primary);
  letter-spacing: 0;
  font-weight: 850;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof > span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-proof strong {
  color: var(--text);
}

.phone-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.glow {
  display: none;
}

.phone-shell {
  position: relative;
  width: min(calc(var(--screenshot-width, 286px) + 24px), calc(100vw - 32px));
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(145deg, #0f172a, #334155);
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 999px;
  background: #0b1220;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-shell img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.app-mock {
  --mock-bg: #f7f8fb;
  --mock-surface: #ffffff;
  --mock-text: #172033;
  --mock-muted: #758096;
  --mock-line: #e3e7ef;
  --mock-primary: #356df3;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mock-bg);
  color: var(--mock-text);
  font-size: clamp(8px, 1.1vw, 13px);
  line-height: 1.35;
  direction: inherit;
}

html[data-theme="dark"] .app-mock {
  --mock-bg: #111827;
  --mock-surface: #1f2937;
  --mock-text: #f8fafc;
  --mock-muted: #aeb8ca;
  --mock-line: #374151;
  --mock-primary: #73a2ff;
}

.app-mock-home {
  aspect-ratio: 432 / 960;
  display: grid;
  grid-template-rows: 4.5% 7% 78.5% 7% 3%;
  padding: 0;
  font-size: 13px;
}

.phone-main::before {
  display: none;
}

.app-mock-home svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-status,
.home-appbar,
.home-language-row,
.home-status-icons,
.home-recent-title,
.home-recent-card > span {
  display: flex;
  align-items: center;
}

.home-status {
  justify-content: space-between;
  padding: 0 5%;
  background: var(--mock-surface);
  color: var(--mock-text);
  font-size: 0.82em;
  font-weight: 750;
}

.home-status-icons {
  gap: 0.55em;
  height: 100%;
}

.home-status-icons b,
.home-battery {
  display: inline-grid;
  place-items: center;
  height: 1.25em;
  padding: 0 0.25em;
  border: 0.14em solid currentColor;
  border-radius: 0.18em;
  font-size: 0.62em;
  font-style: normal;
  line-height: 1;
}

.home-signal {
  width: 1.2em;
  height: 0.9em;
  background: linear-gradient(to top, currentColor 0 100%) 0 100% / 15% 35% no-repeat,
    linear-gradient(to top, currentColor 0 100%) 28% 100% / 15% 55% no-repeat,
    linear-gradient(to top, currentColor 0 100%) 56% 100% / 15% 75% no-repeat,
    linear-gradient(to top, currentColor 0 100%) 84% 100% / 15% 100% no-repeat;
}

.home-wifi {
  width: 1.15em;
  height: 0.8em;
  border-top: 0.16em solid currentColor;
  border-radius: 50%;
  position: relative;
}

.home-wifi::before,
.home-wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border-top: 0.15em solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.home-wifi::before { top: 0.2em; width: 70%; height: 0.45em; }
.home-wifi::after { top: 0.47em; width: 0.2em; height: 0.2em; background: currentColor; }

.home-appbar {
  position: relative;
  justify-content: center;
  background: var(--mock-surface);
  color: var(--mock-text);
  border-bottom: 1px solid color-mix(in srgb, var(--mock-line) 38%, transparent);
}

.home-appbar strong {
  max-width: 68%;
  overflow: hidden;
  font-size: 1.42em;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-profile {
  position: absolute;
  inset-inline-end: 4.8%;
  display: grid;
  place-items: center;
  width: 2.25em;
  height: 2.25em;
  color: #4b5c73;
}

.home-profile svg {
  width: 1.55em;
  height: 1.55em;
  fill: currentColor;
  stroke-width: 0;
}

.home-content {
  min-height: 0;
  overflow: hidden;
  padding: 3.2% 4.2% 0;
  background: var(--mock-bg);
}

.home-translation-card {
  height: 15.77em;
  padding: 0 4.2% 3.5%;
  border: 1px solid var(--mock-line);
  border-radius: 1.5em;
  background: var(--mock-surface);
}

.home-language-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.8em minmax(0, 1fr);
  align-items: center;
  height: 39%;
  color: var(--mock-primary);
}

.home-language-row > span {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}

.home-language-row > span b {
  min-width: 0;
  overflow: hidden;
  font-size: 1.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-language-row > span svg {
  flex: 0 0 1.15em;
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.6;
}

.home-language-row > i {
  display: grid;
  place-items: center;
  width: 3.7em;
  height: 3.7em;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mock-primary) 9%, var(--mock-surface));
  font-style: normal;
}

.home-language-row > i svg {
  width: 1.65em;
  height: 1.65em;
  stroke-width: 2.5;
}

.home-input {
  height: 56%;
  padding: 1.45em 1.35em;
  overflow: hidden;
  border-radius: 1.35em;
  background: color-mix(in srgb, var(--mock-bg) 78%, var(--mock-surface));
  color: color-mix(in srgb, var(--mock-text) 70%, var(--mock-muted));
  font-size: 1.13em;
  line-height: 1.45;
}

.home-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5%;
  height: 7.69em;
  margin-top: 1.38em;
}

.home-mode-card {
  display: grid;
  grid-template-rows: 1fr 2em;
  place-items: center;
  min-width: 0;
  padding: 1em 0.5em 0.8em;
  overflow: hidden;
  border: 1px solid var(--mock-line);
  border-radius: 1.35em;
  background: var(--mock-surface);
  color: var(--mock-primary);
}

.home-mode-card svg {
  width: 2.25em;
  height: 2.25em;
  stroke-width: 2.4;
}

.home-mode-card span {
  width: 100%;
  overflow: hidden;
  color: color-mix(in srgb, var(--mock-text) 76%, var(--mock-muted));
  font-size: 0.95em;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-section-title,
.home-recent-title {
  height: 1.85em;
  color: var(--mock-muted);
  font-size: 1em;
  line-height: 1.85em;
}

.home-section-title {
  margin-top: 1.54em;
}

.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 0.77em 0.92em;
  height: 13.08em;
  margin-top: 0.62em;
}

.home-tool-card {
  display: grid;
  grid-template-columns: 3.3em minmax(0, 1fr);
  align-items: center;
  gap: 0.8em;
  min-width: 0;
  padding: 0.8em 0.9em;
  overflow: hidden;
  border: 1px solid var(--mock-line);
  border-radius: 1.25em;
  background: var(--mock-surface);
}

.home-tool-icon,
.home-recent-card i {
  display: grid;
  place-items: center;
  width: 3.3em;
  height: 3.3em;
  border-radius: 1em;
}

.home-tool-icon svg,
.home-recent-card i svg {
  width: 1.8em;
  height: 1.8em;
  stroke-width: 2.35;
}

.home-tool-card > span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.3em;
}

.home-tool-card b,
.home-tool-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-tool-card b {
  color: var(--mock-text);
  font-size: 0.95em;
}

.home-tool-card small {
  color: var(--mock-muted);
  font-size: 0.78em;
}

.tool-orange .home-tool-icon { background: #fff0e7; color: #f97316; }
.tool-purple .home-tool-icon { background: #f2edff; color: #8b5cf6; }
.tool-green .home-tool-icon { background: #e7f8ef; color: #16a765; }
.tool-pink .home-tool-icon,
.home-recent-card i.tool-pink { background: #ffedf7; color: #ec4899; }

html[data-theme="dark"] .tool-orange .home-tool-icon { background: #4a291c; }
html[data-theme="dark"] .tool-purple .home-tool-icon { background: #332650; }
html[data-theme="dark"] .tool-green .home-tool-icon { background: #173d2d; }
html[data-theme="dark"] .tool-pink .home-tool-icon,
html[data-theme="dark"] .home-recent-card i.tool-pink { background: #4a2038; }

.home-recent-title {
  justify-content: space-between;
  margin-top: 2.08em;
}

.home-recent-title b {
  max-width: 42%;
  overflow: hidden;
  color: var(--mock-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-recent-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(13em, 1fr));
  gap: 0.92em;
  height: 12.15em;
  margin-top: 0.69em;
}

.home-recent-card {
  display: grid;
  grid-template-rows: 2.5em 1.6em 2em 1.5em;
  min-width: 0;
  padding: 0.9em;
  overflow: hidden;
  border: 1px solid var(--mock-line);
  border-radius: 1.3em 1.3em 0 0;
  background: var(--mock-surface);
}

.home-recent-card > span {
  gap: 0.7em;
  min-width: 0;
}

.home-recent-card i {
  flex: 0 0 2.45em;
  width: 2.45em;
  height: 2.45em;
}

.home-recent-card i svg {
  width: 1.4em;
  height: 1.4em;
}

.home-recent-card b,
.home-recent-card small,
.home-recent-card strong,
.home-recent-card em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-recent-card small { color: var(--mock-muted); }
.home-recent-card strong { align-self: end; color: var(--mock-text); font-size: 1.08em; }
.home-recent-card em { color: var(--mock-primary); font-style: normal; }

.home-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: var(--mock-surface);
  box-shadow: 0 -0.35em 1em color-mix(in srgb, var(--mock-text) 7%, transparent);
}

.home-bottom-nav > span {
  display: grid;
  grid-template-rows: 2em 1.3em;
  place-items: center;
  min-width: 0;
  color: #9aabc1;
}

.home-bottom-nav svg {
  width: 1.75em;
  height: 1.75em;
  stroke-width: 2.2;
}

.home-bottom-nav b {
  width: 90%;
  overflow: hidden;
  font-size: 0.72em;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-bottom-nav .is-active {
  color: var(--mock-primary);
}

.home-system-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  background: color-mix(in srgb, var(--mock-bg) 72%, var(--mock-surface));
  color: var(--mock-text);
}

.home-system-nav i {
  width: 1.25em;
  height: 0.16em;
  border-radius: 999px;
  background: currentColor;
}

.home-system-nav b {
  width: 0.9em;
  height: 0.9em;
  border: 0.16em solid currentColor;
  border-radius: 0.2em;
}

.home-system-nav span {
  width: 0.9em;
  height: 0.9em;
  border-left: 0.16em solid currentColor;
  border-bottom: 0.16em solid currentColor;
  transform: rotate(45deg);
}

.app-mock-preview {
  aspect-ratio: 9 / 16;
  border-radius: 0;
  padding: 7% 6% 6%;
  font-size: clamp(8px, 0.82vw, 12px);
}

.app-mock-credits {
  aspect-ratio: 360 / 800;
  padding: 7% 6% 6%;
}

.mock-status,
.mock-appbar,
.mock-language-row,
.mock-section-title,
.mock-credit-pack {
  display: flex;
  align-items: center;
}

.mock-status {
  justify-content: space-between;
  min-height: 4%;
  margin-bottom: 5%;
  color: var(--mock-text);
  font-size: 0.78em;
  font-weight: 750;
}

.mock-appbar {
  gap: 3%;
  min-height: 5%;
  margin-bottom: 5%;
  font-size: 1.18em;
}

.mock-appbar img {
  width: 9%;
  border-radius: 7px;
}

.mock-appbar strong,
.mock-section-title strong,
.mock-preview-title,
.mock-center-label,
.mock-camera-action {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mock-balance {
  margin-inline-start: auto;
  padding: 0.35em 0.65em;
  border-radius: 999px;
  background: #e9b949;
  color: #302100;
  font-weight: 850;
}

.mock-language-row {
  justify-content: space-between;
  gap: 4%;
  min-height: 5%;
  margin-bottom: 4%;
  padding: 0.8em 1em;
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  background: var(--mock-surface);
  font-weight: 750;
}

.mock-language-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-language-row span:last-child {
  text-align: end;
}

.mock-language-row b {
  color: var(--mock-primary);
}

.mock-input-panel,
.mock-large-input,
.mock-credit-balance {
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  background: var(--mock-surface);
}

.mock-input-panel {
  position: relative;
  min-height: 15%;
  padding: 1em;
  color: var(--mock-muted);
}

.mock-input-panel button {
  position: absolute;
  inset-block-start: 0.7em;
  inset-inline-end: 0.7em;
  border: 0;
  background: transparent;
  color: var(--mock-primary);
  font: inherit;
  font-weight: 750;
}

.mock-input-action,
.mock-primary-action {
  display: grid;
  place-items: center;
  min-height: 2.8em;
  border-radius: 6px;
  background: var(--mock-primary);
  color: #fff;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.mock-input-action {
  position: absolute;
  inset-inline: 0.8em;
  inset-block-end: 0.8em;
}

.mock-section-title {
  justify-content: space-between;
  gap: 1em;
  margin: 5% 0 3%;
}

.mock-section-title span {
  color: var(--mock-primary);
  font-size: 0.85em;
  white-space: nowrap;
}

.mock-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2%;
}

.mock-tool-grid div {
  display: grid;
  justify-items: center;
  gap: 0.55em;
  min-width: 0;
  text-align: center;
}

.mock-tool-grid i,
.mock-list i {
  display: grid;
  place-items: center;
  width: 2.9em;
  height: 2.9em;
  border-radius: 7px;
  background: color-mix(in srgb, var(--mock-primary) 14%, var(--mock-surface));
  color: var(--mock-primary);
  font-size: 0.82em;
  font-style: normal;
  font-weight: 850;
}

.mock-tool-grid span {
  width: 100%;
  min-height: 2.7em;
  overflow: hidden;
  font-size: 0.83em;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.mock-list {
  display: grid;
  gap: 0.55em;
  margin-top: 5%;
}

.mock-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em;
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  background: var(--mock-surface);
}

.mock-list span {
  display: grid;
  min-width: 0;
}

.mock-list b,
.mock-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-list small,
.mock-credit-pack small,
.mock-credit-balance small {
  color: var(--mock-muted);
}

.mock-list em {
  color: var(--mock-muted);
  font-size: 1.5em;
  font-style: normal;
}

.mock-empty {
  display: grid;
  place-items: center;
  min-height: 6%;
  border: 1px dashed var(--mock-line);
  border-radius: 7px;
  color: var(--mock-muted);
  text-align: center;
}

.mock-preview-title {
  min-height: 6%;
  margin-bottom: 7%;
  font-size: 1.15em;
  font-weight: 850;
  text-align: center;
}

.mock-large-input {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 28%;
  padding: 1em;
  color: var(--mock-muted);
}

.mock-large-input small {
  align-self: flex-end;
}

.mock-primary-action {
  margin-top: 6%;
}

.mock-result-lines,
.mock-wave {
  display: flex;
  gap: 0.45em;
}

.mock-result-lines {
  flex-direction: column;
  margin-top: 12%;
}

.mock-result-lines i,
.mock-history-item i {
  height: 0.7em;
  border-radius: 999px;
  background: var(--mock-line);
}

.mock-result-lines i:nth-child(2) { width: 88%; }
.mock-result-lines i:nth-child(3) { width: 64%; }

.mock-mic {
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  margin: 20% auto 8%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mock-primary) 18%, var(--mock-surface));
}

.mock-mic span {
  width: 30%;
  height: 46%;
  border: 0.25em solid var(--mock-primary);
  border-radius: 999px;
}

.mock-center-label,
.mock-center-note,
.mock-camera-action {
  display: block;
  text-align: center;
}

.mock-center-note {
  margin: 0.7em 0 12%;
  color: var(--mock-muted);
  font-size: 0.9em;
}

.mock-wave {
  justify-content: center;
  align-items: center;
  height: 8%;
}

.mock-wave i {
  width: 0.3em;
  border-radius: 999px;
  background: var(--mock-primary);
}

.mock-wave i:nth-child(1), .mock-wave i:nth-child(7) { height: 28%; }
.mock-wave i:nth-child(2), .mock-wave i:nth-child(6) { height: 52%; }
.mock-wave i:nth-child(3), .mock-wave i:nth-child(5) { height: 78%; }
.mock-wave i:nth-child(4) { height: 100%; }

.mock-camera-screen {
  background: #10141d;
  color: #fff;
}

.mock-status-dark,
.mock-title-dark {
  color: #fff;
}

.mock-camera-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 56%;
  margin-top: 5%;
  background: linear-gradient(145deg, #273244, #0e1521 62%);
  color: #d8deea;
}

.mock-camera-frame i {
  position: absolute;
  width: 18%;
  height: 18%;
  border-color: #fff;
  border-style: solid;
}

.mock-camera-frame i:nth-child(1) { inset: 7% auto auto 7%; border-width: 2px 0 0 2px; }
.mock-camera-frame i:nth-child(2) { inset: 7% 7% auto auto; border-width: 2px 2px 0 0; }
.mock-camera-frame i:nth-child(3) { inset: auto auto 7% 7%; border-width: 0 0 2px 2px; }
.mock-camera-frame i:nth-child(4) { inset: auto 7% 7% auto; border-width: 0 2px 2px 0; }

.mock-camera-frame span {
  max-width: 72%;
  text-align: center;
  overflow-wrap: anywhere;
}

.mock-shutter {
  display: grid;
  place-items: center;
  width: 20%;
  aspect-ratio: 1;
  margin: 8% auto 3%;
  border: 2px solid #fff;
  border-radius: 50%;
}

.mock-shutter span {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.mock-camera-action {
  color: #d8deea;
}

.mock-history-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3%;
  margin-bottom: 9%;
  color: var(--mock-muted);
  text-align: center;
}

.mock-history-tabs span:first-child {
  padding-bottom: 0.55em;
  border-bottom: 2px solid var(--mock-primary);
  color: var(--mock-primary);
  font-weight: 800;
}

.mock-history-item {
  display: grid;
  gap: 0.65em;
  margin-bottom: 5%;
  padding: 1em;
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  background: var(--mock-surface);
}

.mock-history-item small {
  color: var(--mock-muted);
}

.mock-credit-balance {
  display: grid;
  place-items: center;
  min-height: 20%;
  margin: 5% 0 8%;
}

.mock-credit-balance strong {
  color: var(--mock-primary);
  font-size: 2.5em;
}

.mock-credit-pack {
  position: relative;
  justify-content: space-between;
  gap: 0.7em;
  min-height: 11%;
  margin-bottom: 4%;
  padding: 0.9em;
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  background: var(--mock-surface);
}

.mock-credit-pack.is-featured {
  border-color: var(--mock-primary);
}

.mock-credit-pack span {
  display: grid;
  min-width: 0;
}

.mock-credit-pack b {
  overflow-wrap: anywhere;
}

.mock-credit-pack em {
  max-width: 34%;
  padding: 0.45em 0.7em;
  border-radius: 6px;
  background: var(--mock-primary);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.mock-credit-pack mark {
  position: absolute;
  inset-block-start: -0.65em;
  inset-inline-start: 0.8em;
  max-width: 48%;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  background: #e9b949;
  color: #302100;
  font-size: 0.72em;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-mock-credits > p {
  margin-top: 8%;
  color: var(--mock-muted);
  font-size: 0.82em;
  text-align: center;
}

.phone-main {
  transform: translate3d(0, 0, 0) rotateY(-10deg) rotateX(4deg);
  animation: phone-float 5.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

.float-tag {
  position: absolute;
  z-index: 4;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: tag-float 4.2s ease-in-out infinite;
  will-change: transform;
}

.tag-one { left: 0; top: 120px; --tag-shift: -9px; }
.tag-two { right: 6px; top: 188px; --tag-shift: 8px; animation-delay: -1.1s; }
.tag-three { left: 18px; bottom: 162px; --tag-shift: -7px; animation-delay: -2.2s; }
.tag-four { right: 0; bottom: 92px; --tag-shift: 10px; animation-delay: -3.15s; }

.home-language-row > i {
  animation: swap-breathe 3.4s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes phone-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotateY(-10deg) rotateX(4deg);
  }
  50% {
    transform: translate3d(0, -13px, 0) rotateY(-7deg) rotateX(2deg);
  }
}

@keyframes tag-float {
  0%, 100% {
    transform: translate3d(0, 0, 22px);
  }
  50% {
    transform: translate3d(var(--tag-shift), -8px, 34px);
  }
}

@keyframes swap-breathe {
  0%, 72%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--mock-primary) 0%, transparent);
  }
  84% {
    transform: scale(1.08);
    box-shadow: 0 0 0 0.65em color-mix(in srgb, var(--mock-primary) 8%, transparent);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  font-size: 1.05rem;
}

.screenshot-section,
.why,
.download-section {
  background: var(--bg-soft);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-screen,
.card,
.mini-card,
.detail-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.feature-screen {
  overflow: hidden;
}

.feature-screen > img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.feature-screen > div:not(.app-mock),
.card,
.mini-card,
.detail-card > div:not(.app-mock) {
  padding: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--surface-strong);
  color: var(--primary);
  font-weight: 900;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card p,
.mini-card p,
.feature-screen p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.steps div {
  position: relative;
  min-height: 136px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.steps p {
  color: var(--text);
  font-weight: 800;
}

.cta-panel,
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 6vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.96), rgba(15, 118, 110, 0.96)),
    var(--primary);
  color: #fff;
  overflow: hidden;
}

.cta-panel p,
.cta-panel .eyebrow,
.download-panel p,
.download-panel .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.cta-panel .button {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 54px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 750;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #030712;
  color: #fff;
  font-weight: 850;
}

.play-badge small {
  display: block;
  color: #cbd5e1;
  font-size: 0.68rem;
}

.play-icon {
  color: #22c55e;
  font-size: 1.5rem;
}

.qr {
  width: 180px;
  height: 180px;
  border: 10px solid #fff;
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
}

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr) minmax(200px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.footer-company {
  min-width: 0;
}

.footer-company p {
  margin: 10px 0 0;
  line-height: 1.5;
}

.footer-company p + p {
  margin-top: 2px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.footer-contact strong {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-email {
  min-width: 0;
  color: var(--muted);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-links {
  display: grid;
  justify-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.feature-detail-grid {
  display: grid;
  gap: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  overflow: hidden;
}

.detail-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}

.detail-mock {
  width: 180px;
  height: 260px;
  padding: 18px 14px;
  border-radius: 0;
  font-size: 9px;
}

.detail-mock .mock-mic {
  margin-top: 14%;
}

.mock-chat-bubble {
  max-width: 84%;
  margin-top: 16px;
  padding: 10px;
  border-radius: 7px;
  background: var(--mock-surface);
  overflow-wrap: anywhere;
}

.mock-chat-end {
  margin-inline-start: auto;
  background: color-mix(in srgb, var(--mock-primary) 16%, var(--mock-surface));
}

.mock-language-list {
  display: grid;
  gap: 8px;
}

.mock-language-list span {
  padding: 7px 9px;
  border-bottom: 1px solid var(--mock-line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js.language-navigation .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    gap: 14px;
  }

  .header-actions {
    justify-self: end;
    width: auto;
  }

  .hero-grid,
  .split,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: 560px;
  }

  .screens-grid,
  .cards.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .site-header {
    padding-inline: 14px;
    gap: 10px;
  }

  .brand span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions .button-small {
    display: none;
  }

  .select {
    width: 104px;
    max-width: 104px;
  }

  .language-select {
    flex-basis: 104px;
  }

  .app-mock-home {
    font-size: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-row,
  .hero-proof {
    align-items: flex-start;
  }

  .phone-stage {
    min-height: 480px;
  }

  .phone-shell {
    width: min(calc(var(--screenshot-width, 231px) + 24px), 76vw);
  }

  .float-tag {
    display: none;
  }

  .screens-grid,
  .feature-list,
  .cards.four,
  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-links {
    justify-items: start;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card img {
    height: 420px;
  }

  .detail-mock {
    width: 100%;
    height: 420px;
    padding: 28px 24px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
