* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 640px at 12% 10%, rgba(79, 140, 255, 0.25), transparent 60%),
    radial-gradient(800px 560px at 90% 15%, rgba(91, 191, 90, 0.18), transparent 55%),
    radial-gradient(700px 520px at 70% 90%, rgba(244, 182, 58, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 48%, var(--bg) 100%);
  z-index: -2;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      45deg,
      var(--noise) 0,
      var(--noise) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--noise) 0,
      var(--noise) 1px,
      transparent 1px,
      transparent 12px
    );
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(
    180deg,
    var(--header-strong) 0%,
    var(--header-soft) 100%
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
  z-index: 5;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw 10px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: min(1200px, 100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--accent);
  font-size: 12px;
  pointer-events: none;
}

.lang-select {
  background-color: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--stroke));
  color: var(--text);
  padding: 8px 36px 8px 14px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: "DM Sans", "Inter", "Apple Color Emoji", "Segoe UI Emoji",
    "Noto Color Emoji", system-ui, sans-serif;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
}

.lang-select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 65%, var(--stroke));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent),
    0 12px 26px color-mix(in srgb, var(--accent) 18%, transparent);
}

.brand {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 24px;
  margin: 0;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.main {
  padding: 24px 7vw 90px;
  max-width: 1200px;
  margin: 0 auto;
  width: min(1200px, 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
  padding: 40px 0 28px;
  animation: fadeUp 0.8s ease-out both;
}

.hero-title {
  display: inline;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
}

.hero-logo img {
  height: 174px;
  width: auto;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow-spacer {
  height: 4px;
  margin-bottom: 6px;
}

h1 {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(36px, 4.2vw, 60px);
  margin: 0 0 18px;
  line-height: 1.05;
  font-weight: 700;
}

h2,
h3 {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
}

.accent {
  background: linear-gradient(120deg, #4f8cff, #7ec9ff, #5bbf5a);
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta-primary {
  background: linear-gradient(120deg, rgba(79, 140, 255, 0.85), rgba(126, 201, 255, 0.9));
  color: #fff;
  border: 1px solid rgba(126, 201, 255, 0.35);
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.35);
}

.cta-outline {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
}

.cta-ghost {
  border: 1px dashed var(--stroke);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.micro {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.downloads-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.platform-pills {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 420px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--stroke));
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.platform-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.platform-pill svg path,
.platform-pill svg rect {
  fill: currentColor;
}

.platform-pill svg path,
.platform-pill svg rect {
  vector-effect: non-scaling-stroke;
}

.platform-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--stroke));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 20%, transparent);
}


.hero-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: floatIn 1s ease-out both;
}

.card-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.card-title {
  font-size: 22px;
  margin: 16px 0 10px;
  font-weight: 600;
}

.card-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.card-body .arrow {
  padding: 0 8px;
  font-weight: 700;
  color: var(--text);
}

.card-footer {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.phone-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 18px;
  animation: floatIn 1s ease-out both;
}

.phone-badge {
  position: absolute;
  top: 0;
  left: 18px;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--stroke);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phone-shell {
  width: min(320px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(126, 201, 255, 0.2);
  position: relative;
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  border-radius: 16px;
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.notch-speaker {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.notch-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(126, 201, 255, 0.7);
  box-shadow: 0 0 8px rgba(126, 201, 255, 0.8);
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  background: #0d1117;
  padding: 44px 18px 28px;
  position: relative;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 180px at 70% 20%, rgba(79, 140, 255, 0.12), transparent 60%),
    radial-gradient(200px 180px at 20% 90%, rgba(91, 191, 90, 0.12), transparent 65%);
  pointer-events: none;
}

.screen-stack {
  position: relative;
  height: 100%;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #f4f6fa;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  animation: screenSwap 32s infinite;
  animation-delay: var(--screen-delay, 0s);
}

.screen-0 {
  --screen-delay: 0s;
}

.screen-1 {
  --screen-delay: 8s;
}

.screen-2 {
  --screen-delay: 16s;
}

.screen-3 {
  --screen-delay: 24s;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-title {
  font-weight: 700;
  font-size: 17px;
}

.screen-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(140deg, #f5e24b, #b46bff);
  box-shadow: 0 0 8px rgba(180, 107, 255, 0.4);
}

.preview-search {
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.search-icon {
  position: relative;
  width: 14px;
  height: 10px;
}

.search-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.45),
    0 8px 0 rgba(255, 255, 255, 0.4);
}

.search-placeholder {
  letter-spacing: 0.1px;
}

.preview-list {
  flex: 1;
  overflow: hidden;
  display: flex;
}

.preview-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  animation: listScroll 32s infinite ease-in-out;
  animation-delay: var(--screen-delay, 0s);
  will-change: transform;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.preview-item.email {
  padding: 7px 10px;
}

.preview-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(180, 107, 255, 0.9), rgba(86, 190, 255, 0.9));
  box-shadow: 0 0 6px rgba(180, 107, 255, 0.4);
  flex-shrink: 0;
}

.preview-avatar.alt {
  background: linear-gradient(135deg, rgba(120, 220, 137, 0.9), rgba(255, 188, 90, 0.9));
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.preview-dot.active {
  background: rgba(180, 107, 255, 0.9);
  box-shadow: 0 0 8px rgba(180, 107, 255, 0.7);
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.preview-name {
  font-weight: 600;
  font-size: 11px;
}

.preview-snippet {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.preview-cta {
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(180, 107, 255, 0.9);
  color: #13081d;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(180, 107, 255, 0.35);
}

.preview-cta.subtle {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(19, 8, 29, 0.25);
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}

.screen-tabbar {
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tab-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
}

.tab-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-icon.active {
  color: rgba(180, 107, 255, 0.95);
  filter: drop-shadow(0 0 6px rgba(180, 107, 255, 0.6));
}

.tab-center {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #050505;
  border: 2px solid rgba(180, 107, 255, 0.75);
  box-shadow:
    0 0 20px rgba(180, 107, 255, 0.6),
    0 0 30px rgba(180, 107, 255, 0.25);
  display: grid;
  place-items: center;
  margin: -18px 0;
}

.tab-center img,
.tab-center picture {
  width: 30px;
  height: auto;
  display: block;
}

@media (prefers-color-scheme: light) {
  .tab-center img {
    content: url("/assets/icons/APOS_black.png");
  }
}

.email-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
}

.email-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.email-subject {
  font-size: 12px;
  font-weight: 700;
}

.email-body {
  display: grid;
  gap: 6px;
}

.email-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.email-line.short {
  width: 40%;
}

.email-line.mid {
  width: 60%;
}

.email-line.long {
  width: 85%;
}

.translate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.translate-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.translate-button {
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: rgba(180, 107, 255, 0.95);
  color: #12081b;
  font-size: 10px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  cursor: default;
}

.screen-3 .translate-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(180, 107, 255, 0.7);
  opacity: 0;
  animation: translatePulse 32s infinite;
  animation-delay: var(--screen-delay, 0s);
}

.email-translation {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(180, 107, 255, 0.12);
  border: 1px solid rgba(180, 107, 255, 0.3);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(6px);
  animation: translationReveal 32s infinite;
  animation-delay: var(--screen-delay, 0s);
}

.screen-0 .tab-center {
  animation: centerPulse 32s infinite;
  animation-delay: var(--screen-delay, 0s);
}

.assistant-header {
  display: flex;
  justify-content: center;
  padding: 8px 0 10px;
}

.assistant-logo {
  display: block;
  height: 36px;
}

.assistant-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.assistant-card {
  flex: 1;
  min-height: 0;
  margin: 0 6px 6px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(20, 24, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(120%);
  opacity: 0;
  animation: sheetRise 32s infinite;
  animation-delay: var(--screen-delay, 0s);
}

.assistant-messages {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.assistant-bubble {
  align-self: flex-start;
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 6px 20px 20px 20px;
  background: rgba(180, 107, 255, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.assistant-inputbar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
}

.assistant-add {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #c08bff, #9f5cff);
  display: grid;
  place-items: center;
  box-shadow:
    0 8px 16px rgba(180, 107, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.assistant-add svg {
  width: 18px;
  height: 18px;
  fill: #150b21;
}

.assistant-input {
  flex: 1;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 19px;
  border: 1px solid rgba(180, 107, 255, 0.55);
  background: rgba(18, 22, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.assistant-placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.5);
}

.assistant-mic {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: rgba(180, 107, 255, 0.95);
}

.assistant-mic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.translation-title {
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 4px;
  color: #dcc9ff;
}

.translation-body {
  line-height: 1.4;
}

.screen-search {
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.screen-line {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.screen-line.short {
  width: 40%;
}

.screen-line.mid {
  width: 60%;
}

.screen-line.long {
  width: 85%;
}

.screen-empty {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.screen-pill {
  align-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(180, 107, 255, 0.18);
  border: 1px solid rgba(180, 107, 255, 0.35);
  color: #d8c1ff;
  font-size: 10px;
  font-weight: 700;
}

.screen-pill.muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.screen-pill.accent {
  background: rgba(79, 140, 255, 0.2);
  border-color: rgba(79, 140, 255, 0.4);
  color: #c8ddff;
}

.screen-card {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
}

.screen-card-title {
  font-size: 13px;
  font-weight: 700;
}

.screen-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(79, 140, 255, 0.2), rgba(180, 107, 255, 0.2));
  border: 1px solid rgba(126, 201, 255, 0.3);
  font-size: 13px;
  line-height: 1.4;
}

.screen-input {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-nav {
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.screen-nav span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.screen-nav span.active {
  background: rgba(180, 107, 255, 0.95);
  box-shadow: 0 0 12px rgba(180, 107, 255, 0.6);
}

.screen-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.screen-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.screen-dots .dot.active {
  width: 18px;
  background: rgba(180, 107, 255, 0.9);
}

.home-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

@keyframes listScroll {
  0%,
  12% {
    transform: translateY(0);
  }
  18%,
  24% {
    transform: translateY(-46%);
  }
  100% {
    transform: translateY(-46%);
  }
}

@keyframes translatePulse {
  0%,
  12% {
    opacity: 0;
    transform: scale(0.8);
  }
  16% {
    opacity: 0.7;
    transform: scale(1);
  }
  20% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes translationReveal {
  0%,
  14% {
    opacity: 0;
    transform: translateY(6px);
  }
  20%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheetRise {
  0%,
  8% {
    opacity: 0;
    transform: translateY(120%);
  }
  12%,
  24% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes centerPulse {
  0%,
  16% {
    box-shadow:
      0 0 20px rgba(180, 107, 255, 0.6),
      0 0 30px rgba(180, 107, 255, 0.25);
  }
  24% {
    box-shadow:
      0 0 28px rgba(180, 107, 255, 0.8),
      0 0 40px rgba(180, 107, 255, 0.35);
  }
  32% {
    box-shadow:
      0 0 20px rgba(180, 107, 255, 0.6),
      0 0 30px rgba(180, 107, 255, 0.25);
  }
  100% {
    box-shadow:
      0 0 20px rgba(180, 107, 255, 0.6),
      0 0 30px rgba(180, 107, 255, 0.25);
  }
}

@keyframes screenSwap {
  0%,
  4% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.98);
  }
  8%,
  24% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  28%,
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
  }
}

.section {
  padding: 60px 0 20px;
  animation: fadeUp 0.8s ease-out both;
}

.section h2 {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
  font-weight: 600;
}

.section-lead {
  margin: -6px 0 24px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-status {
  margin-top: 14px;
  color: var(--muted);
}

.pricing-status.hidden {
  display: none;
}

.pricing-compare {
  display: grid;
  gap: 14px;
  margin: 10px 0 28px;
}

.compare-title {
  font-weight: 600;
  font-size: 18px;
}

.compare-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
}

.compare-scroll::-webkit-scrollbar {
  height: 6px;
}

.compare-scroll::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--stroke) 70%, transparent);
  border-radius: 999px;
}

.compare-table {
  display: grid;
  gap: 10px;
  min-width: var(--compare-min-width, 720px);
}

.compare-row {
  display: grid;
  grid-template-columns: var(--compare-columns);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.compare-row.compare-header {
  background: transparent;
  border: none;
  padding: 0 6px 4px;
}

.compare-cell {
  font-size: 14px;
  color: var(--text);
}

.compare-feature {
  font-weight: 600;
  color: var(--muted);
}

.compare-label {
  font-weight: 600;
}

.compare-plan {
  --plan-border: color-mix(in srgb, var(--text) 15%, transparent);
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.compare-plan[data-plan="basic"] {
  --plan-border: rgba(79, 140, 255, 0.55);
}

.compare-plan[data-plan="premium"] {
  --plan-border: rgba(244, 182, 58, 0.55);
}

.compare-plan[data-plan="family"] {
  --plan-border: rgba(91, 191, 90, 0.55);
}

.compare-plan-title {
  font-weight: 700;
  font-size: 15px;
}

.compare-plan-price {
  font-size: 12px;
  color: var(--text);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--plan-border) 70%, transparent);
  background: color-mix(in srgb, var(--plan-border) 18%, transparent);
  display: grid;
  gap: 2px;
  justify-items: center;
}

.compare-plan-price span {
  font-size: 11px;
  color: var(--muted);
}

.compare-value-cell {
  text-align: center;
  display: flex;
  justify-content: center;
}

.compare-value {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  font-weight: 700;
  font-size: 13px;
}

.compare-icon {
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  line-height: 1;
}

.compare-icon.ok {
  color: var(--accent);
}

.compare-icon.error {
  color: #e25656;
}

.compare-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.compare-actions {
  display: flex;
  justify-content: flex-start;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.plan-modal.hidden {
  display: none;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(12px);
}

.plan-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 80px);
  display: grid;
  gap: 12px;
  z-index: 1;
}

.plan-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px;
}

.plan-modal-title {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.plan-modal-close,
.plan-modal-nav {
  border: none;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.plan-modal-close:hover,
.plan-modal-nav:not(:disabled):hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  transform: translateY(-1px);
}

.plan-modal-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.plan-modal-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.plan-modal-card {
  max-height: calc(100vh - 220px);
  overflow: auto;
  width: 100%;
  padding: 6px;
}

.plan-modal-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 4px;
  width: 100%;
}

.plan-modal-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 20%, transparent);
}

.plan-modal-dot.active {
  width: 18px;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
}

body.modal-open {
  overflow: hidden;
}

.plan-card {
  --plan-border: color-mix(in srgb, var(--text) 15%, transparent);
  border-radius: var(--radius-card);
  border: 2px solid var(--plan-border);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 0 12px 1px color-mix(in srgb, var(--plan-border) 25%, transparent);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.03);
  box-shadow: 0 16px 28px color-mix(in srgb, var(--plan-border) 35%, transparent);
}

@media (hover: none) {
  .plan-card {
    transform: none;
  }
}

.plan-card[data-plan="basic"] {
  --plan-border: rgba(79, 140, 255, 0.55);
}

.plan-card[data-plan="premium"] {
  --plan-border: rgba(244, 182, 58, 0.55);
}

.plan-card[data-plan="family"] {
  --plan-border: rgba(91, 191, 90, 0.55);
}

.plan-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.plan-title {
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
}

.plan-subline {
  color: var(--muted);
  font-weight: 500;
}

.plan-price {
  padding: 8px 12px;
  border-radius: var(--radius-chip);
  border: 1px solid color-mix(in srgb, var(--plan-border) 65%, transparent);
  background: color-mix(in srgb, var(--plan-border) 18%, transparent);
  text-align: right;
  min-width: 110px;
}

.plan-price strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.plan-price span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.plan-divider {
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--plan-border) 20%, transparent);
  margin: 0;
}

.plan-feature {
  display: grid;
  gap: 6px;
  padding: 8px 0;
}

.plan-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-feature-label {
  font-weight: 700;
}

.plan-feature-value {
  padding: 4px 10px;
  border-radius: var(--radius-chip);
  background: color-mix(in srgb, var(--plan-border) 18%, transparent);
  font-weight: 800;
  color: var(--text);
}

.plan-feature-value:empty {
  display: none;
}

.plan-feature-icon {
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  line-height: 1;
}

.plan-feature-icon.ok {
  color: var(--accent);
}

.plan-feature-icon.error {
  color: #e25656;
}

.plan-feature-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.plan-feature .quota-track {
  margin-top: 8px;
}

.quota-track {
  height: 8px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--quota-color) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--quota-color) 25%, transparent);
  box-shadow: 0 0 var(--glow-blur) color-mix(in srgb, var(--quota-color) 18%, transparent);
}

.quota-track[data-level="ok"] {
  --quota-color: rgba(91, 191, 90, 0.9);
}

.quota-track[data-level="warn"] {
  --quota-color: rgba(244, 182, 58, 0.9);
}

.quota-track[data-level="low"] {
  --quota-color: rgba(226, 86, 86, 0.9);
}

.quota-fill {
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--quota-color) 90%, transparent);
}

.plan-action {
  margin-top: auto;
  padding-top: 10px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.plan-action-button {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius-input);
  border: 1.4px solid color-mix(in srgb, var(--plan-border) 80%, transparent);
  background: color-mix(in srgb, var(--plan-border) 85%, transparent);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow:
    0 12px 18px color-mix(in srgb, var(--plan-border) 35%, transparent),
    0 4px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.plan-action-button:not(:disabled):hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--plan-border) 90%, transparent);
}

.plan-action-button:not(:disabled):active {
  transform: translateY(1px);
  box-shadow:
    0 8px 12px color-mix(in srgb, var(--plan-border) 30%, transparent),
    0 3px 3px rgba(0, 0, 0, 0.35);
}

.plan-action-button:disabled,
.plan-action-button[data-current="true"] {
  background: color-mix(in srgb, var(--text) 12%, transparent);
  border-color: color-mix(in srgb, var(--text) 18%, transparent);
  color: color-mix(in srgb, var(--text) 70%, transparent);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.usecase-grid {
  margin-top: 18px;
}

.visuals .split {
  align-items: center;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.visual-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  height: 100%;
}

.visual-screen {
  border-radius: 18px;
  padding: 14px;
  min-height: 180px;
  background: linear-gradient(160deg, rgba(24, 28, 36, 0.95), rgba(14, 18, 25, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  flex: 1;
}

.visual-screen > * {
  position: relative;
  z-index: 1;
}

.visual-hero-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.visual-hero-icon svg {
  width: 120px;
  height: 120px;
  color: color-mix(in srgb, var(--text) 85%, transparent);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
}

.visual-icon {
  width: 20px;
  height: 20px;
  color: color-mix(in srgb, var(--accent) 60%, #ffffff 20%);
}

.visual-icon svg {
  width: 100%;
  height: 100%;
}

.visual-arrow {
  font-size: 14px;
  color: var(--muted);
}

.visual-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.visual-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.visual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 70%, #ffffff 10%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
}

.visual-chip {
  margin-left: auto;
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 40%, transparent);
}

.visual-block {
  height: 14px;
  width: 70%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.visual-lines {
  display: grid;
  gap: 8px;
}

.visual-line {
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.visual-line.highlight {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.visual-line.short {
  width: 55%;
}

.visual-bubble {
  height: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.visual-bubble.primary {
  width: 80%;
  background: rgba(180, 107, 255, 0.18);
}

.visual-bubble.short {
  width: 55%;
}

.visual-screen-todo {
  display: grid;
  gap: 12px;
}

.visual-check {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: center;
}

.visual-check-dot {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 60%, transparent);
}

.visual-caption h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.visual-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.visual-caption {
  margin-top: auto;
}

.topic-main {
  padding-top: 18px;
}

.topic-hero {
  padding: 18px 0 12px;
}

.topic-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.topic-grid .tile {
  min-height: 120px;
}

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

.topic-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--stroke);
}

.topic-card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.tile {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  min-height: 140px;
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--text);
}

.tile h3 {
  margin: 0 0 10px;
  font-weight: 600;
}

.tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.link-tile {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.link-tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--stroke));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 28px;
  align-items: center;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}

.status {
  display: flex;
  justify-content: center;
}

.status-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  padding: 32px;
  max-width: 560px;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.legal-strip {
  display: flex;
  justify-content: center;
}

.legal-card {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 28px 30px;
  max-width: 680px;
  text-align: left;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.legal-card p {
  color: var(--muted);
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.legal-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.legal-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 18%, transparent);
  background: color-mix(in srgb, var(--accent) 24%, transparent);
}


.fineprint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 30px 7vw 50px;
  font-size: 13px;
  color: var(--muted);
  max-width: 1200px;
  margin: 0 auto;
  width: min(1200px, 100%);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 7vw 90px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}

.legal-card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-top: 0;
}

.legal-text {
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 1.6;
  color: var(--muted);
  font-size: 14px;
}

.steps .tile {
  min-height: 160px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.faq-item {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--stroke);
  padding: 18px 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 8px;
}

html[dir='rtl'] body {
  direction: rtl;
  text-align: right;
}

html[dir='rtl'] .nav {
  direction: rtl;
}

html[dir='rtl'] .pill-list {
  justify-content: flex-end;
}

html[dir='rtl'] .lang-select {
  padding: 8px 14px 8px 36px;
}

html[dir='rtl'] .lang-select-wrap::after {
  right: auto;
  left: 14px;
}

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .site-header-inner {
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .phone-badge {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .phone-shell {
    width: min(300px, 90vw);
  }

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

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 720px) {
  .assistant-input-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
