/* ==========================================================================
   Tellu — marketing site
   Design tokens mirror the app (tellu_app/lib/theme/app_colors.dart):
   primary #00C6A7 · secondary #365CFF · accent #FF5D7A · success #10B981
   dark background #0B1220 · dark surface #162033 · Inter typeface.
   ========================================================================== */

:root {
  /* Brand */
  --teal: #00c6a7;
  --teal-ink: #00806c; /* teal for text on light backgrounds (AA contrast) */
  --indigo: #365cff;
  --coral: #ff5d7a;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #e5484d;

  /* Dark (hero, AI, final CTA) */
  --ink: #0b1220;
  --ink-2: #0f1829;
  --ink-surface: #162033;
  --ink-line: #243047;
  --ink-text: #f1f5f9;
  --ink-muted: #94a3b8;

  /* Light (product sections) */
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6b82;
  --border: #e3e9f0;

  --signature: linear-gradient(120deg, var(--teal), var(--indigo));

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --fs-hero: clamp(2.6rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.35rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);

  /* Space, shape, motion */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(84px, 6rem + 4vw, 168px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 40px 80px -30px rgba(2, 8, 23, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 600;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ Buttons */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    color 0.25s;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0, 198, 167, 0.7);
}
.btn-primary:hover {
  background: #1bd9ba;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(0, 198, 167, 0.8);
}
.btn-ghost {
  color: var(--ink-text);
  border-color: rgba(241, 245, 249, 0.2);
}
.btn-ghost:hover {
  border-color: rgba(241, 245, 249, 0.5);
  background: rgba(255, 255, 255, 0.04);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #1c2940;
  transform: translateY(-1px);
}
.btn-light {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}
.btn-light:hover {
  border-color: #c9d3de;
}
.btn-sm {
  --h: 42px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
}
.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover svg {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------ Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: #067a55;
}
.badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.on-dark .badge-live {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}
.badge-soon {
  background: rgba(54, 92, 255, 0.1);
  color: #3350d6;
  border: 1px dashed rgba(54, 92, 255, 0.45);
}
.on-dark .badge-soon {
  background: rgba(54, 92, 255, 0.14);
  color: #aab9ff;
  border-color: rgba(170, 185, 255, 0.4);
}

/* ------------------------------------------------------------------ Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ink-text);
  transition:
    background-color 0.3s,
    backdrop-filter 0.3s,
    box-shadow 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  transition: height 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav.is-scrolled .nav-inner {
  height: 62px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1.3rem/1 var(--font-display);
  letter-spacing: -0.03em;
  text-decoration: none;
  color: inherit;
}
.logo svg {
  width: 34px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current='true'] {
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-btn span::before {
  top: -6px;
}
.menu-btn span::after {
  top: 6px;
}
.menu-btn[aria-expanded='true'] span {
  background: transparent;
}
.menu-btn[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-menu {
  display: none;
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    inset: 62px 0 auto;
    display: grid;
    gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: rgba(11, 18, 32, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s,
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .nav.menu-open {
    background: rgba(11, 18, 32, 0.97);
  }
  .nav.menu-open .nav-inner {
    height: 62px;
  }
  .nav.menu-open .mobile-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .mobile-menu a:not(.btn) {
    padding: 14px 4px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-text);
    border-bottom: 1px solid var(--ink-line);
  }
  .mobile-menu .btn {
    margin-top: 16px;
  }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  color: var(--ink-text);
  background: var(--ink);
  padding: calc(76px + clamp(40px, 7vw, 96px)) 0 clamp(72px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* soft brand light behind the phone */
  content: '';
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  right: -260px;
  top: -220px;
  background:
    radial-gradient(closest-side, rgba(0, 198, 167, 0.22), transparent 70%),
    radial-gradient(closest-side at 70% 70%, rgba(54, 92, 255, 0.25), transparent 70%);
  filter: blur(10px);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.on-dark .eyebrow {
  color: var(--teal);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hero h1 {
  margin-top: 22px;
  font-size: var(--fs-hero);
  max-width: 14ch;
}
.hero h1 .accent {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 24px;
  max-width: 36ch;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 36px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.hero-trust strong {
  color: var(--ink-text);
  font-weight: 600;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
}
.hero-visual .phone {
  --w: 300px;
  animation: float 9s ease-in-out infinite;
}

/* Floating status chips around the hero phone */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(22, 32, 51, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  font-size: 0.84rem;
  line-height: 1.25;
  color: var(--ink-text);
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
}
.chip small {
  display: block;
  color: var(--ink-muted);
  font-size: 0.75rem;
}
.chip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
}
.chip-icon svg {
  width: 17px;
  height: 17px;
}
.chip-1 {
  top: 12%;
  left: -2%;
}
.chip-2 {
  top: 30%;
  right: -6%;
  animation-delay: -2s;
}
.chip-3 {
  bottom: 24%;
  left: -8%;
  animation-delay: -4s;
}
.chip-4 {
  bottom: 8%;
  right: 0;
  animation-delay: -5.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1,
  .hero-lead {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    min-height: 0;
    margin-top: 12px;
  }
  .hero-visual .phone {
    --w: 270px;
  }
  .chip-1 {
    left: 2%;
  }
  .chip-2 {
    right: 2%;
  }
  .chip-3 {
    left: 0;
  }
  .chip-4 {
    right: 2%;
  }
}
@media (max-width: 520px) {
  .chip {
    font-size: 0.76rem;
    padding: 8px 11px 8px 8px;
  }
  .chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .chip small {
    display: none;
  }
  /* Narrow screens: two chips on the phone's top and bottom edges, clear of the screen content. */
  .chip-2,
  .chip-3 {
    display: none;
  }
  .chip-1 {
    top: -5%;
    left: 0;
  }
  .chip-4 {
    bottom: -4%;
    right: 0;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* ------------------------------------------------------------------ Sections */
.section {
  padding-block: var(--section);
  position: relative;
}
.section-dark {
  background: var(--ink);
  color: var(--ink-text);
}
.section-tint {
  background: linear-gradient(180deg, var(--bg), #eef3f8);
}
.section-head {
  max-width: 720px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-top: 18px;
  font-size: var(--fs-h2);
}
.section-head p {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 58ch;
}
.section-head.center p {
  margin-inline: auto;
}
.on-dark .section-head p,
.section-dark .section-head p {
  color: var(--ink-muted);
}

/* Split feature layout: copy + phone */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.feature.reverse .feature-copy {
  order: 2;
}
.feature-copy .badge {
  margin-bottom: 18px;
}
.feature-copy h2 {
  font-size: var(--fs-h2);
}
.feature-copy > p {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 46ch;
}
.section-dark .feature-copy > p {
  color: var(--ink-muted);
}
.points {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.points .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 198, 167, 0.1);
  color: var(--teal-ink);
}
.section-dark .points .ico {
  background: rgba(0, 198, 167, 0.12);
  color: var(--teal);
}
.points .ico svg {
  width: 19px;
  height: 19px;
}
.points b {
  display: block;
  font-weight: 600;
}
.points span {
  color: var(--muted);
  font-size: 0.96rem;
}
.section-dark .points span {
  color: var(--ink-muted);
}
.feature-copy .cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
}
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  border-radius: 48px;
  background: radial-gradient(closest-side, rgba(0, 198, 167, 0.14), transparent 75%);
  z-index: 0;
}
.feature-visual .phone {
  position: relative;
  z-index: 1;
}

@media (max-width: 1120px) {
  .feature {
    /* minmax(0,…) لا 1fr: وإلا يتمدد العمود لأعرض محتوى غير قابل للكسر (صندوق الأسعار بخط النسخ الأردي) فتتجاوز الصفحة عرض الهاتف */
    grid-template-columns: minmax(0, 1fr);
  }
  .feature.reverse .feature-copy {
    order: 0;
  }
  .feature-visual .phone {
    --w: 264px;
  }
}

/* ------------------------------------------------------------------ Live overview */
.live-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.live-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  background: var(--surface);
  text-decoration: none;
  transition: background-color 0.25s;
}
.live-item:hover {
  background: #fbfdff;
}
.live-item .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 6px;
}
.live-item .ico svg {
  width: 21px;
  height: 21px;
}
.live-item h3 {
  font-size: 1.08rem;
}
.live-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}
.live-item .badge {
  align-self: flex-start;
  margin-top: auto;
}
/* «مباشر» و«تجريبي» معًا في سطر واحد (كانت «تجريبي» تظهر فوق «مباشر» على الهاتف) */
.live-item .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
}
.live-item .badges .badge { margin: 0; }

/* ------------------------------------------------------------------ Globe */
.world {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.world-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.world-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.globe-arc {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  animation: dash 3.5s linear infinite;
}
.globe-dot {
  fill: var(--teal);
}
.globe-pulse {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3s ease-out infinite;
}
.globe-label {
  font: 600 13px var(--font);
  fill: var(--ink-text);
}
.globe-label-sub {
  font: 500 11px var(--font);
  fill: var(--ink-muted);
}
@keyframes dash {
  to {
    stroke-dashoffset: -140;
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
}
.stats b {
  display: block;
  font: 700 clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem) / 1.1 var(--font-display);
  letter-spacing: -0.03em;
}
.stats span {
  display: block;
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
@media (max-width: 1120px) {
  .world {
    grid-template-columns: 1fr;
  }
  .world-visual {
    max-width: 440px;
  }
}
@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ------------------------------------------------------------------ Steps (eSIM, how it works) */
.steps {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.steps b {
  display: block;
  font-weight: 600;
}
.steps span {
  color: var(--muted);
  font-size: 0.94rem;
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.how li {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.how li::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--signature);
}
.how .num {
  display: block;
  font: 700 clamp(3rem, 2rem + 3vw, 4.6rem) / 1 var(--font-display);
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--text), rgba(15, 23, 42, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.how h3 {
  margin-top: 18px;
}
.how p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 32ch;
}
@media (max-width: 760px) {
  .how {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Coming soon (AI + future) */
.soon {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(54, 92, 255, 0.18), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(0, 198, 167, 0.1), transparent 60%),
    var(--ink-2);
  color: var(--ink-text);
}
.soon-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.translate-demo {
  position: relative;
  margin-top: 56px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: rgba(22, 32, 51, 0.45);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.translate-demo .preview-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink-2);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bubble {
  padding: 16px 18px;
  border-radius: 18px;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 500;
  min-height: 3.2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bubble small {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bubble-src {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.bubble-out {
  background: linear-gradient(120deg, rgba(0, 198, 167, 0.14), rgba(54, 92, 255, 0.16));
  border: 1px solid rgba(0, 198, 167, 0.25);
}
.bubble .tx {
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease);
}
.bubble .tx.is-swapping {
  opacity: 0;
  transform: translateY(4px);
}
.translate-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--teal);
}
.translate-arrow svg {
  width: 20px;
  height: 20px;
}
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.soon-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px dashed rgba(148, 163, 184, 0.28);
  background: rgba(22, 32, 51, 0.35);
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
.soon-card:hover {
  border-color: rgba(170, 185, 255, 0.45);
  background: rgba(22, 32, 51, 0.55);
}
.soon-card .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  color: #aab9ff;
  margin-bottom: 18px;
}
.soon-card .ico svg {
  width: 20px;
  height: 20px;
}
.soon-card h3 {
  font-size: 1.08rem;
}
.soon-card p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.soon-card .badge {
  margin-top: 18px;
}
@media (max-width: 720px) {
  .translate-demo {
    grid-template-columns: 1fr;
  }
  .translate-arrow {
    transform: rotate(90deg);
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------------ Security */
.security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sec-list li {
  padding: 26px 24px;
  background: var(--surface);
}
.sec-list .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--teal);
  margin-bottom: 16px;
}
.sec-list .ico svg {
  width: 19px;
  height: 19px;
}
.sec-list h3 {
  font-size: 1.02rem;
}
.sec-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}
.sec-foot {
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--muted);
}
@media (max-width: 1120px) {
  .security {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .sec-list {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Showcase */
.showcase {
  overflow: hidden;
}
.showcase-track {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 56px;
  padding: 12px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.showcase-track::-webkit-scrollbar {
  display: none;
}
.showcase-item {
  flex: none;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.showcase-item .phone {
  --w: 236px;
}
.showcase-item figcaption {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.showcase-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.round-btn:hover {
  border-color: #b8c4d2;
}
.round-btn:active {
  transform: scale(0.94);
}
.round-btn svg {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------------ Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quote .stars {
  color: #f5a524;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: -12px;
}
.quote blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.92rem;
}
.quote-flag {
  display: inline-block;
  margin-inline-start: 8px;
  border-radius: 3px;
  vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.quote figcaption b {
  display: block;
  font-weight: 600;
}
.quote figcaption span {
  color: var(--muted);
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex: none;
}
.placeholder-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}
@media (max-width: 1120px) {
  .quotes {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------------ Final CTA */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--ink-text);
  background: var(--ink);
  isolation: isolate;
}
.final::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 198, 167, 0.28), rgba(54, 92, 255, 0.16) 55%, transparent 80%);
}
.final .wave-bg {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 12%;
  width: min(1100px, 140vw);
  transform: translateX(-50%);
  opacity: 0.14;
}
.final h2 {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  max-width: 14ch;
  margin: 18px auto 0;
}
.final p {
  margin: 22px auto 0;
  max-width: 44ch;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 11px 22px 11px 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  text-align: start;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.store-btn.is-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(255, 255, 255, 0.4);
}
.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-btn small {
  display: block;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.2;
}
.store-btn b {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
}
.store-status {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------ Footer */
.footer {
  background: var(--ink);
  color: var(--ink-muted);
  padding: 72px 0 36px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
}
.footer .logo {
  color: var(--ink-text);
}
.footer-brand p {
  margin-top: 16px;
  max-width: 30ch;
  line-height: 1.55;
}
.footer h2 {
  font: 600 0.82rem/1.2 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-text);
}
.footer li { overflow-wrap: anywhere; hyphens: auto; }
.footer ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.footer a {
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--ink-text);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.86rem;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--ink-line);
}
.socials a:hover {
  border-color: #3a4a66;
}
.socials svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 1120px) {
  .footer-grid {
    /* minmax(0,…): كلمة روسية طويلة في روابط التذييل كانت توسّع العمود فتتجاوز الصفحة 360px */
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Phone mockup + app screens (mirror the real Tellu UI, dark theme)
   ========================================================================== */
.phone {
  --w: 280px;
  --r: calc(var(--w) * 0.16);
  position: relative;
  width: var(--w);
  aspect-ratio: 9 / 19.3;
  padding: calc(var(--w) * 0.035);
  border-radius: var(--r);
  background: linear-gradient(145deg, #2a3548, #0b1220 40%, #1d273a);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    var(--shadow-lg);
  font-size: calc(var(--w) * 0.043); /* scales all screen text with the phone */
  flex: none;
}
.phone::before {
  /* dynamic island */
  content: '';
  position: absolute;
  z-index: 5;
  top: calc(var(--w) * 0.058);
  left: 50%;
  width: 30%;
  height: calc(var(--w) * 0.085);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.screen {
  position: relative;
  text-align: left;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--r) - var(--w) * 0.035);
  background: #0b1220;
  color: #f1f5f9;
  font-family: var(--font);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.screen * {
  box-sizing: border-box;
}
.sb {
  /* status bar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05em 1.55em 0.4em;
  font-size: 0.72em;
  font-weight: 600;
}
.sb i {
  display: inline-block;
  width: 1.9em;
  height: 0.85em;
  border-radius: 0.25em;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  position: relative;
}
.sb i::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  right: 30%;
  background: #fff;
  border-radius: 1px;
}
.scr-body {
  flex: 1;
  padding: 0.5em 1em 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.av {
  --s: 2.4em;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1em;
  color: #fff;
  position: relative;
}
.av.ring {
  box-shadow:
    0 0 0 0.12em #0b1220,
    0 0 0 0.24em var(--teal);
}
.av .on {
  position: absolute;
  right: 0.02em;
  bottom: 0.02em;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.15em #0b1220;
}
.g1 {
  background: linear-gradient(135deg, #365cff, #00c6a7);
}
.g2 {
  background: linear-gradient(135deg, #ff5d7a, #ff9f6b);
}
.g3 {
  background: linear-gradient(135deg, #8b5cf6, #365cff);
}
.g4 {
  background: linear-gradient(135deg, #10b981, #00c6a7);
}
.g5 {
  background: linear-gradient(135deg, #f59e0b, #ff5d7a);
}
.g6 {
  background: linear-gradient(135deg, #0ea5e9, #365cff);
}

.row {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.grow {
  flex: 1;
  min-width: 0;
}
.t-strong {
  font-weight: 650;
  font-size: 0.95em;
}
.t-muted {
  color: #8b98b8;
  font-size: 0.78em;
}
.t-teal {
  color: var(--teal);
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-s {
  background: #162033;
  border: 1px solid #1f2b42;
  border-radius: 1em;
  padding: 0.8em;
}
.pill-s {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.35em 0.5em 0.35em 0.75em;
  border-radius: 999px;
  background: #162033;
  font-weight: 700;
  font-size: 0.85em;
}
.pill-s .plus {
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--signature);
  font-weight: 700;
}
.search-s {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65em 0.85em;
  border-radius: 999px;
  background: #162033;
  color: #64748b;
  font-size: 0.8em;
}
.search-s svg {
  width: 1.1em;
  height: 1.1em;
}
.label-s {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.tabs-s {
  display: flex;
  justify-content: space-around;
  margin: auto 0.7em 0.8em;
  padding: 0.55em 0.3em;
  border-radius: 1.3em;
  background: #162033;
  font-size: 0.6em;
  color: #8b98b8;
}
.tabs-s span {
  display: grid;
  justify-items: center;
  gap: 0.25em;
  padding: 0.35em 0.5em;
  border-radius: 0.9em;
}
.tabs-s span.on {
  color: var(--teal);
  background: rgba(0, 198, 167, 0.14);
}
.tabs-s svg {
  width: 1.9em;
  height: 1.9em;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3em;
  text-align: center;
  font-size: 0.66em;
}
.services .si {
  display: grid;
  justify-items: center;
  gap: 0.45em;
}
.services .si b {
  display: grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  border-radius: 50%;
  color: #fff;
}
.services .si b svg {
  width: 1.6em;
  height: 1.6em;
}
.s-call {
  background: linear-gradient(135deg, #00c6a7, #365cff);
}
.s-esim {
  background: linear-gradient(135deg, #22d3ee, #00c6a7);
}
.s-top {
  background: linear-gradient(135deg, #365cff, #8b5cf6);
}
.s-tr {
  background: linear-gradient(135deg, #ff5d7a, #ff9f6b);
}
.list-s {
  display: grid;
  gap: 0;
}
.list-s .row {
  padding: 0.55em 0;
  border-bottom: 1px solid #1c2740;
}
.list-s .row:last-child {
  border-bottom: 0;
}
.dir {
  width: 1em;
  height: 1em;
}
.free-tag {
  font-size: 0.66em;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0, 198, 167, 0.12);
  padding: 0.2em 0.5em;
  border-radius: 999px;
}
.call-btn-s {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--signature);
}
.call-btn-s svg {
  width: 1em;
  height: 1em;
}

/* Chat */
.chat-head {
  padding: 0.3em 1em 0.7em;
  border-bottom: 1px solid #1c2740;
}
.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  padding: 0.8em 0.9em;
  font-size: 0.86em;
  background:
    radial-gradient(circle at 20% 20%, rgba(54, 92, 255, 0.07), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 198, 167, 0.06), transparent 40%);
}
.day-sep {
  align-self: center;
  font-size: 0.72em;
  color: #8b98b8;
  background: #162033;
  padding: 0.25em 0.7em;
  border-radius: 999px;
}
.msg {
  max-width: 78%;
  padding: 0.55em 0.75em 0.4em;
  border-radius: 1em;
  line-height: 1.35;
}
.msg .meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25em;
  margin-top: 0.15em;
  font-size: 0.72em;
  opacity: 0.75;
}
.msg .meta svg {
  width: 1.2em;
  height: 1.2em;
}
.msg-in {
  align-self: flex-start;
  background: #162033;
  border-bottom-left-radius: 0.3em;
}
.msg-out {
  align-self: flex-end;
  background: linear-gradient(135deg, #0aa892, #2f55e6);
  border-bottom-right-radius: 0.3em;
}
.msg-img {
  width: 11em;
  height: 7.2em;
  border-radius: 0.7em;
  margin-bottom: 0.3em;
  background:
    radial-gradient(circle at 70% 30%, #ffd79a 0 12%, transparent 13%),
    linear-gradient(180deg, #7dd3fc 0%, #a5b4fc 45%, #1e3a8a 46%, #0f766e 100%);
}
.voice {
  display: flex;
  align-items: center;
  gap: 0.55em;
  min-width: 11em;
}
.voice .play {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2f55e6;
  flex: none;
}
.voice .play svg {
  width: 0.9em;
  height: 0.9em;
}
.voice .bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.13em;
  height: 1.6em;
}
.voice .bars i {
  flex: 1;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
}
.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 0.25em;
  padding: 0.65em 0.8em;
  border-radius: 1em;
  background: #162033;
}
.typing i {
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: #8b98b8;
  animation: typing 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-0.25em);
    opacity: 1;
  }
}
.composer {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.8em 1em;
}
.composer .field {
  flex: 1;
  padding: 0.6em 0.9em;
  border-radius: 999px;
  background: #162033;
  color: #64748b;
  font-size: 0.8em;
}

/* Call screen */
.call-scr {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(0, 198, 167, 0.25), transparent 60%),
    radial-gradient(120% 60% at 50% 100%, rgba(54, 92, 255, 0.18), transparent 60%),
    #0b1220;
  text-align: center;
}
.call-top {
  display: grid;
  justify-items: center;
  gap: 0.45em;
  padding-top: 1.6em;
}
.call-top .av {
  --s: 2.6em;
  font-size: 2em;
  margin-bottom: 0.5em;
}
.call-name {
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hd {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.25em 0.6em;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-size: 0.68em;
  font-weight: 700;
}
.intl-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.28em 0.65em;
  border-radius: 999px;
  background: rgba(54, 92, 255, 0.2);
  color: #aab9ff;
  font-size: 0.7em;
  font-weight: 600;
}
.call-wave {
  margin: 1.2em auto 0;
  width: 70%;
  opacity: 0.9;
}
.call-controls {
  margin-top: auto;
  padding: 0 1.4em 1.6em;
  display: grid;
  gap: 1.4em;
}
.ctrls {
  display: flex;
  justify-content: space-between;
}
.ctrl {
  display: grid;
  justify-items: center;
  gap: 0.4em;
  font-size: 0.66em;
  color: #8b98b8;
}
.ctrl b {
  display: grid;
  place-items: center;
  width: 4.4em;
  height: 4.4em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.ctrl b.active {
  background: #fff;
  color: #0b1220;
}
.ctrl b svg {
  width: 2em;
  height: 2em;
}
.end {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 50%;
  background: #ff5d7a;
  box-shadow: 0 0.6em 1.6em -0.4em rgba(255, 93, 122, 0.6);
}
.end svg {
  width: 1.6em;
  height: 1.6em;
  transform: rotate(135deg);
}

/* Wallet */
.balance-card {
  border-radius: 1.2em;
  padding: 1.1em 1.1em 1.2em;
  background: linear-gradient(120deg, #00c6a7, #365cff);
}
.balance-card small {
  display: block;
  opacity: 0.85;
  font-size: 0.72em;
}
.balance-card b {
  display: block;
  margin-top: 0.2em;
  font-size: 2em;
  letter-spacing: -0.03em;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3em;
  padding: 0.3em;
  border-radius: 999px;
  background: #162033;
  font-size: 0.72em;
  font-weight: 600;
  text-align: center;
}
.seg span {
  padding: 0.55em;
  border-radius: 999px;
  color: #8b98b8;
}
.seg span.on {
  background: #0b1220;
  color: var(--teal);
}
.code-in {
  padding: 0.75em;
  border-radius: 0.8em;
  background: #0b1220;
  border: 1px solid #243047;
  text-align: center;
  letter-spacing: 0.18em;
  color: #64748b;
  font-weight: 600;
  font-size: 0.85em;
}
.btn-s {
  display: block;
  padding: 0.75em;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85em;
  background: var(--signature);
}
.amount-pos {
  color: #34d399;
  font-weight: 700;
  font-size: 0.85em;
}
.amount-neg {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.85em;
}

/* eSIM */
.region-row {
  display: flex;
  gap: 0.5em;
}
.region {
  flex: 1;
  height: 5.4em;
  border-radius: 0.9em;
  padding: 0.6em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 0.72em;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.region span {
  font-size: 1.8em;
  position: absolute;
  top: 0.25em;
  right: 0.3em;
}
.r1 {
  background: linear-gradient(135deg, #365cff, #0ea5e9);
}
.r2 {
  background: linear-gradient(135deg, #dc2626, #f59e0b);
}
.r3 {
  background: linear-gradient(135deg, #0f766e, #00c6a7);
}
.plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em 0.85em;
  border-radius: 0.9em;
  background: #162033;
  border: 1.5px solid transparent;
  font-size: 0.85em;
}
.plan.sel {
  border-color: var(--teal);
  background: rgba(0, 198, 167, 0.08);
}
.radio {
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  border: 2px solid #475569;
}
.plan.sel .radio {
  border: 0.32em solid var(--teal);
}
.usage-ring {
  --p: 64;
  width: 6.2em;
  height: 6.2em;
  border-radius: 50%;
  margin: 0.3em auto;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), #1f2b42 0);
}
.usage-ring > div {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: #162033;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72em;
  line-height: 1.2;
}
.usage-ring b {
  display: block;
  font-size: 1.5em;
}

/* Profile */
.profile-top {
  display: grid;
  justify-items: center;
  gap: 0.35em;
  padding: 0.6em 0 0.4em;
}
.profile-top .av {
  --s: 4.8em;
}
.menu-s .row {
  padding: 0.7em 0.2em;
  border-bottom: 1px solid #1c2740;
  font-size: 0.86em;
}
.menu-s .row:last-child {
  border-bottom: 0;
}
.menu-s svg {
  width: 1.2em;
  height: 1.2em;
  color: #8b98b8;
}
.verified {
  font-size: 0.72em;
  font-weight: 700;
  color: #34d399;
}

/* ------------------------------------------------------------------ Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

/* Live features on phones: compact rows (icon beside text) instead of tall cards. */
@media (max-width: 560px) {
  .live-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
    padding: 18px 16px;
  }
  .live-item .ico {
    grid-row: 1 / 3;
    margin: 0;
  }
  .live-item h3 {
    grid-column: 2;
    align-self: center;
  }
  .live-item p {
    grid-column: 2 / 4;
    font-size: 0.9rem;
  }
  .live-item .badge {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    align-self: center;
  }
  /* بطاقة بشارتين: الشارتان تحت النص بجانب بعض (لا عمود ضيق للعنوان) */
  .live-item .badges {
    grid-column: 2 / 4;
    grid-row: 3;
    margin: 6px 0 0;
  }
}

/* Coming-soon cards on phones: two per row, tighter. */
@media (max-width: 560px) {
  .soon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .soon-card {
    padding: 18px 14px;
  }
  .soon-card .ico {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }
  .soon-card h3 {
    font-size: 0.98rem;
  }
  .soon-card p {
    font-size: 0.86rem;
  }
  .soon-card .badge {
    margin-top: 12px;
    font-size: 0.7rem;
  }
}

/* Very narrow phones: keep the hero eyebrow on one tidy line. */
@media (max-width: 400px) {
  .hero .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }
  .hero .eyebrow::before {
    display: none;
  }
}

/* ==========================================================================
   Multilingual: language switcher, RTL (Arabic) and script-specific type
   ========================================================================== */
.world-title {
  margin-top: 18px;
  font-size: var(--fs-h2);
}
.world-lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
  max-width: 46ch;
}
.gtag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  background: #162033;
  border: 1px solid #243047;
  color: var(--ink-text);
  font: 600 13px/1.2 var(--font);
  white-space: nowrap;
}

/* Language menu (desktop) */
.lang {
  position: relative;
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover,
.lang[open] summary {
  color: var(--ink-text);
  border-color: rgba(255, 255, 255, 0.35);
}
.lang summary svg {
  width: 16px;
  height: 16px;
}
.lang summary .chev {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.lang[open] summary .chev {
  transform: rotate(180deg);
}
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: #111a2c;
  border: 1px solid var(--ink-line);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
}
.lang-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.lang-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-text);
}
.lang-list a[aria-current='page'] {
  color: var(--teal);
  font-weight: 600;
}

/* Language chips (mobile menu, footer) */
.lang-row,
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-row {
  padding: 16px 0 4px;
}
.lang-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  color: var(--ink-muted);
  font-size: 0.86rem;
  text-decoration: none;
}
.mobile-menu a.lang-chip {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--ink-line);
}
.mobile-menu a.lang-chip[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
  border-color: var(--teal);
}
.lang-chip:hover {
  color: var(--ink-text);
  border-color: #3a4a66;
}
.lang-chip[aria-current='page'] {
  color: var(--ink);
  background: var(--teal);
  border-color: var(--teal);
  font-weight: 600;
}

/* Right-to-left (Arabic) */
[dir='rtl'] .screen {
  text-align: right;
}
[dir='rtl'] .skip-link {
  left: auto;
  right: 12px;
}
[dir='rtl'] .how li::after {
  left: auto;
  right: 0;
}
[dir='rtl'] .translate-demo .preview-tag {
  left: auto;
  right: 24px;
}
[dir='rtl'] .text-link svg,
[dir='rtl'] .translate-arrow svg,
[dir='rtl'] .round-btn svg {
  transform: scaleX(-1);
}
[dir='rtl'] .text-link:hover svg {
  transform: scaleX(-1) translateX(3px);
}
[dir='rtl'] .av .on {
  right: auto;
  left: 0.02em;
}
[dir='rtl'] .region span {
  right: auto;
  left: 0.3em;
}
[dir='rtl'] .msg-in {
  border-bottom-left-radius: 1em;
  border-bottom-right-radius: 0.3em;
}
[dir='rtl'] .msg-out {
  border-bottom-right-radius: 1em;
  border-bottom-left-radius: 0.3em;
}
[dir='rtl'] .chip-1 {
  left: auto;
  right: -2%;
}
[dir='rtl'] .chip-2 {
  right: auto;
  left: -6%;
}
[dir='rtl'] .chip-3 {
  left: auto;
  right: -8%;
}
[dir='rtl'] .chip-4 {
  right: auto;
  left: 0;
}
[dir='rtl'] .chip {
  padding: 10px 10px 10px 14px;
}
[dir='rtl'] .store-btn {
  padding: 11px 18px 11px 22px;
}
@media (max-width: 720px) {
  [dir='rtl'] .translate-arrow {
    transform: rotate(-90deg);
  }
}
@media (max-width: 960px) {
  [dir='rtl'] .chip-1 {
    right: 2%;
  }
  [dir='rtl'] .chip-2 {
    left: 2%;
  }
  [dir='rtl'] .chip-3 {
    right: 0;
  }
  [dir='rtl'] .chip-4 {
    left: 2%;
  }
}
@media (max-width: 520px) {
  [dir='rtl'] .chip-1 {
    right: 0;
  }
  [dir='rtl'] .chip-4 {
    left: 0;
  }
}

/* Arabic type: a proper Arabic face, no negative tracking, looser leading. */
:lang(ar) {
  --font: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  --font-display: 'IBM Plex Sans Arabic', 'Inter Tight', system-ui, sans-serif;
}
[lang='ar'] h1,
[lang='ar'] h2,
[lang='ar'] h3,
[lang='ar'] .eyebrow,
[lang='ar'] .stats b,
[lang='ar'] .logo {
  letter-spacing: 0;
}
[lang='ar'] h1,
[lang='ar'] h2 {
  line-height: 1.25;
}
[lang='ar'] .eyebrow,
[lang='ar'] .label-s {
  text-transform: none;
}

/* Hero never waits for JavaScript: it animates in with CSS alone (first paint = content). */
.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 0.9s var(--ease) both;
}
.hero .reveal-d1 {
  animation-delay: 0.08s;
}
.hero .reveal-d2 {
  animation-delay: 0.16s;
}
.hero .reveal-d3 {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* شريط تبويبات الهاتف كما في التطبيق: "جسر" دائرة بارزة بتدرّج الهوية في المنتصف. */
.tabs-s span { padding: 0.35em 0.25em; }
.tabs-s span.raise { color: #e6ecf5; font-weight: 700; padding-top: 0; }
.tabs-s span.raise i {
  display: grid;
  place-items: center;
  width: 2.9em;
  height: 2.9em;
  margin-top: -1.5em;
  border-radius: 50%;
  border: 0.22em solid #162033;
  background: linear-gradient(135deg, #00c6a7, #365cff);
  box-shadow: 0 0.4em 1em rgba(54, 92, 255, 0.35);
  color: #fff;
  font-style: normal;
}
.tabs-s span.raise svg { width: 1.6em; height: 1.6em; }

/* ==========================================================================
   v2 (2026-10): Tellu Bridge section, People + Moments, AI helper, new screens
   ========================================================================== */
.bridge-sec {
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(0, 198, 167, 0.1), transparent 70%),
    radial-gradient(50% 50% at 90% 80%, rgba(54, 92, 255, 0.1), transparent 70%),
    var(--bg);
}
.bridge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 56px;
}
.bridge-copy .steps { margin-top: 0; }
.bridge-copy .points { margin-top: 28px; }
.bridge-copy .cta-row { margin-top: 32px; }
.bridge-visual {
  position: relative;
  padding: 10px 0 70px;
  min-height: 600px;
}
.bridge-visual .phone-sm {
  --w: 220px;
  position: absolute;
  inset-inline-end: 0;
  top: 270px;
  z-index: 2;
}
.browser {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 150px), 460px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #eef2f7;
  border-bottom: 1px solid var(--border);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar .dots i:first-child { background: #ff5f57; }
.browser-bar .dots i:nth-child(2) { background: #febc2e; }
.browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 0.8em;
  direction: ltr;
}
.browser-bar .url svg { width: 12px; height: 12px; color: #10b981; }
.browser-page {
  padding: 18px 18px 16px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, #f6fbfb, #fff 40%);
  color: var(--text);
}
.bp-head { display: flex; align-items: center; gap: 12px; }
.bp-head .av { font-size: 15px; }
.bp-title { font-weight: 700; font-size: 1.02em; line-height: 1.25; }
.bp-sub { color: var(--muted); font-size: 0.82em; }
.bp-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--signature);
  color: #fff;
  font-weight: 600;
  font-size: 0.82em;
  white-space: nowrap;
}
.bp-call svg, .bp-chips svg { width: 14px; height: 14px; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 198, 167, 0.1);
  color: var(--teal-ink);
  font-size: 0.76em;
  font-weight: 600;
}
.bp-chat { display: flex; flex-direction: column; gap: 8px; font-size: 0.9em; padding: 4px 0; }
.bp-chat .msg { color: #fff; }
.bp-chat .msg-in { background: #eef2f7; color: var(--text); }
.bp-tr {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.78em;
  color: var(--teal-ink);
}
.bp-tr svg { width: 12px; height: 12px; }
.bp-notify {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(54, 92, 255, 0.07);
  color: #3350d6;
  font-size: 0.8em;
}
.bp-notify svg { width: 16px; height: 16px; flex: none; }
.bp-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  padding-inline: 14px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #94a3b8;
  font-size: 0.85em;
}
.bp-input .call-btn-s { width: 32px; height: 32px; color: #fff; }
.bp-input .call-btn-s svg { width: 15px; height: 15px; }
[dir="rtl"] .bp-input .call-btn-s svg { transform: scaleX(-1); }
.share-card {
  position: absolute;
  z-index: 3;
  inset-inline-start: 6%;
  bottom: 0;
  display: flex;
  width: min(340px, 80%);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -16px rgba(2, 8, 23, 0.35);
}
.sc-img {
  flex: none;
  width: 92px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b1220, #0b3b3a);
  color: #fff;
}
.sc-img svg { width: 60px; height: 30px; }
.sc-body { display: grid; gap: 2px; padding: 10px 12px; font-size: 0.82rem; min-width: 0; }
.sc-body small { color: var(--muted); font-size: 0.72rem; }
.sc-body b { font-size: 0.86rem; line-height: 1.25; }
.sc-body span { color: var(--muted); font-size: 0.74rem; line-height: 1.35; }
@media (max-width: 960px) {
  .bridge-layout { grid-template-columns: 1fr; }
  .bridge-visual { max-width: 580px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  .bridge-visual { min-height: 0; padding-bottom: 0; display: grid; gap: 18px; justify-items: center; }
  .bridge-visual .phone-sm { position: relative; inset: auto; top: auto; }
  .share-card { position: relative; inset: auto; width: 100%; }
  .browser { font-size: 14px; width: 100%; }
}

/* Two phones (People section) */
.feature-visual.duo { min-height: 620px; }
.feature-visual.duo .phone { --w: 260px; }
.feature-visual.duo .phone-back {
  position: absolute;
  z-index: 0;
  inset-inline-start: 0;
  top: 12%;
  transform: scale(0.84) rotate(-4deg);
  opacity: 0.85;
}
.feature-visual.duo .phone:not(.phone-back) { transform: translateX(16%); }
[dir="rtl"] .feature-visual.duo .phone:not(.phone-back) { transform: translateX(-16%); }
[dir="rtl"] .feature-visual.duo .phone-back { transform: scale(0.84) rotate(4deg); }
@media (max-width: 560px) {
  .feature-visual.duo { min-height: 0; }
  .feature-visual.duo .phone-back { display: none; }
  .feature-visual.duo .phone:not(.phone-back),
  [dir="rtl"] .feature-visual.duo .phone:not(.phone-back) { transform: none; }
}

/* New screen parts */
.screen { text-align: start; }
.moment-pill {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.85em;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  font-size: 0.78em;
}
.moment-pill svg { width: 1.15em; height: 1.15em; flex: none; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45em; }
.pcard {
  display: grid;
  justify-items: center;
  gap: 0.25em;
  padding: 0.7em 0.3em 0.6em;
  border-radius: 1em;
  background: #162033;
  border: 1px solid #1f2b42;
  text-align: center;
}
.pcard b { font-size: 0.8em; }
.pcard > span { font-size: 0.62em; color: #8b98b8; }
.pcard .pc-free { color: #34d399; font-weight: 700; }
.pcard .call-btn-s { width: 1.8em; height: 1.8em; margin-top: 0.15em; font-style: normal; }
.pcard .call-btn-s svg { width: 0.85em; height: 0.85em; }
.bridge-av { background: linear-gradient(135deg, #00c6a7, #365cff); }
.bridge-av svg { width: 1.3em; height: 0.8em; }
.evt {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: #162033;
  color: #8b98b8;
  font-size: 0.72em;
}
.evt svg { width: 1.1em; height: 1.1em; color: var(--teal); }
.evt-credit svg { color: #ff9f6b; }
.ai-btn {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  flex: none;
}
.ai-btn svg { width: 1.1em; height: 1.1em; }
.moments-row { display: flex; gap: 0.5em; overflow: hidden; }
.moments-row .mo {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding-block: 0.25em;
  padding-inline: 0.25em 0.6em;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  white-space: nowrap;
}
.moments-row .mo .av { font-size: 0.7em; }
.moments-row .mo b { font-size: 0.66em; color: #6ee7b7; }
.rel-tag, .mo-tag {
  display: inline-block;
  padding: 0.1em 0.5em;
  border-radius: 999px;
  background: rgba(54, 92, 255, 0.18);
  color: #aab9ff;
  font-size: 0.68em;
  font-weight: 600;
  vertical-align: middle;
}
.mo-tag { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
.invite-s {
  padding: 0.35em 0.75em;
  border-radius: 999px;
  border: 1px solid #2b3a55;
  color: var(--teal);
  font-size: 0.68em;
  font-weight: 700;
}
.new-bridge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.45em 0.8em;
  border-radius: 999px;
  background: var(--signature);
  font-size: 0.72em;
  font-weight: 700;
}
.new-bridge b { font-size: 1.2em; line-height: 1; }
.bcard {
  display: grid;
  gap: 0.55em;
  padding: 0.75em;
  border-radius: 1em;
  background: #162033;
  border: 1px solid #1f2b42;
}
.bcard.closed { opacity: 0.55; }
.b-ico {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c6a7, #365cff);
  flex: none;
}
.bcard.closed .b-ico { background: #2b3a55; }
.b-ico svg { width: 1.5em; height: 0.9em; }
.b-left {
  padding: 0.25em 0.55em;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  font-size: 0.64em;
  font-weight: 700;
  white-space: nowrap;
}
.b-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.62em;
  color: #8b98b8;
}
.b-link { display: inline-flex; align-items: center; gap: 0.3em; color: var(--teal); }
.b-link svg { width: 1.2em; height: 1.2em; }
.pactions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; text-align: center; font-size: 0.66em; color: #c8d2e3; }
.pactions span { display: grid; justify-items: center; gap: 0.4em; }
.pactions b {
  display: grid;
  place-items: center;
  width: 3.3em;
  height: 3.3em;
  border-radius: 50%;
  background: #162033;
  border: 1px solid #1f2b42;
  color: var(--teal);
}
.pactions span:nth-child(2) b { background: var(--signature); color: #fff; border: 0; }
.pactions span:nth-child(3) b { color: #ff9f6b; }
.pactions svg { width: 1.5em; height: 1.5em; }
.tl-ico {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: rgba(0, 198, 167, 0.14);
  color: var(--teal);
  flex: none;
}
.tl-ico.credit { background: rgba(255, 159, 107, 0.16); color: #ff9f6b; }
.tl-ico svg { width: 1em; height: 1em; }
.ai-sheet {
  margin-top: auto;
  display: grid;
  gap: 0.6em;
  padding: 0.9em 0.9em 1.1em;
  border-radius: 1.2em 1.2em 0 0;
  background: #121b2d;
  border-top: 1px solid #243047;
  box-shadow: 0 -1em 2em rgba(0, 0, 0, 0.35);
}
.ai-sheet b { font-size: 0.9em; }
.ai-badge {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ff5d7a);
  flex: none;
}
.ai-badge svg { width: 1em; height: 1em; }
.ai-draft {
  padding: 0.55em 0.75em;
  border-radius: 0.8em;
  background: #0b1220;
  color: #8b98b8;
  font-size: 0.74em;
  border: 1px dashed #2b3a55;
}
.ai-chips { display: flex; flex-wrap: wrap; gap: 0.35em; }
.ai-chips span {
  padding: 0.35em 0.65em;
  border-radius: 999px;
  background: #162033;
  border: 1px solid #243047;
  font-size: 0.66em;
  color: #c8d2e3;
}
.ai-chips span.on { background: rgba(139, 92, 246, 0.2); border-color: #8b5cf6; color: #ddd6fe; font-weight: 700; }
.ai-result {
  padding: 0.65em 0.8em;
  border-radius: 0.8em;
  background: rgba(0, 198, 167, 0.1);
  border: 1px solid rgba(0, 198, 167, 0.35);
  font-size: 0.78em;
  line-height: 1.4;
}
.ai-sheet .btn-s { text-align: center; }
.ai-sheet .t-muted { font-size: 0.64em; }
.med-card {
  align-self: stretch;
  display: grid;
  gap: 0.4em;
  padding: 0.7em 0.8em;
  border-radius: 0.9em;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(255, 93, 122, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.med-card .ai-badge { width: 1.6em; height: 1.6em; }
.med-card b { font-size: 0.9em; }
.med-card p { margin: 0; font-size: 0.86em; line-height: 1.4; color: #e6ecf5; }

/* Live language tools: a "Beta" badge next to "Live" */
.badge-beta {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.soon-card .badge + .badge { margin-inline-start: 6px; }
.soon-card:has(.badge-live) { border-style: solid; border-color: rgba(0, 198, 167, 0.28); }

/* Rate box ("Which country are you calling?") */
.rate-box { margin: 22px 0 6px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rate-box label { display: block; margin-bottom: 10px; }
.rate-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rate-row input { flex: 1 1 220px; width: 100%; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); text-overflow: ellipsis; }
/* على الهاتف: الحقل بعرض كامل والزر تحته بعرض كامل، ويُسمح لنصه بالكسر لسطرين (لغات بكلمات طويلة) */
@media (max-width: 560px) {
  .rate-row input { flex-basis: 100%; }
  .rate-row .btn { flex: 1 1 100%; min-width: 0; white-space: normal; line-height: 1.25; text-align: center; padding-block: 8px; }
  /* أزرار أقسام الميزات (مثل «تصفح باقات eSIM» بالروسية عند 360) تنكسر بدل أن تتجاوز الشاشة */
  .feature-copy .cta-row .btn { max-width: 100%; white-space: normal; line-height: 1.25; text-align: center; padding-block: 8px; }
}
.rate-out { margin: 12px 0 0; font-weight: 600; }
.rate-out a { color: var(--teal-ink); }
.rate-all { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Offer strip (live minute offers under the rate box) */
.offer-strip { display: grid; gap: 8px; margin: 14px 0 6px; }
.offer-strip[hidden] { display: none; }
.offer-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(0, 198, 167, 0.10), rgba(54, 92, 255, 0.10)); border: 1px solid rgba(0, 198, 167, 0.35); }
.offer-item img { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; flex: none; }
.offer-text { flex: 1; min-width: 0; font-weight: 600; font-size: 0.95rem; }
.offer-save { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--success); color: #fff; font-weight: 700; font-size: 0.8rem; }

/* ------------------------------------------------------------------ New in Tellu */
.badge-new {
  background: linear-gradient(135deg, rgba(255, 93, 122, 0.14), rgba(139, 92, 246, 0.14));
  color: #c0265a;
}
.badge-new::before {
  content: '✦';
  font-size: 0.72rem;
}
.new-strip {
  margin-top: 40px;
}
.new-strip {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1120px) {
  .new-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .new-strip { grid-template-columns: 1fr; }
}

/* ==========================================================================
   "السماء بيننا" (2026-10-22) — the site follows the app's new look: light sky,
   blue accent, floating glass; phones show real app screenshots (shots/<lang>/).
   The former dark sections keep their markup; their tokens turn light here.
   ========================================================================== */
.on-dark,
.nav,
.mobile-menu,
.footer {
  --ink-surface: rgba(255, 255, 255, 0.72);
  --ink-line: rgba(14, 23, 38, 0.08);
  --ink-text: #0e1726;
  --ink-muted: #5b6676;
}
:root {
  --sky-top: #d9ecfb;
  --sky-mid: #eaf3fb;
  --bg: #f4f7fa;
  --action: #2f5bff;
  --signature: linear-gradient(120deg, #00c6a7, #365cff);
}
body {
  background: var(--bg);
}
.btn-primary {
  background: var(--signature);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(47, 91, 255, 0.65);
}
.btn-primary:hover {
  background: var(--signature);
  filter: brightness(1.05);
}
.btn-ghost {
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(14, 23, 38, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(14, 23, 38, 0.14);
}
.on-dark .eyebrow {
  color: var(--action);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(14, 23, 38, 0.06);
}

/* Sky: soft blue fading into the page, with the app's thin wave lines. */
.hero,
.sx-hero,
.section-dark,
.final,
.soon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30 C20 30 25 12 40 12 S60 48 80 48 S100 18 120 30 S150 10 165 22 S195 44 210 36 S230 30 240 30' fill='none' stroke='%232f5bff' stroke-opacity='0.08' stroke-width='1.6'/%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, var(--sky-top), var(--sky-mid) 55%, var(--bg));
}
.hero::before {
  background:
    radial-gradient(closest-side, rgba(0, 198, 167, 0.14), transparent 70%),
    radial-gradient(closest-side at 70% 70%, rgba(54, 92, 255, 0.14), transparent 70%);
}
.hero-grid-lines {
  display: none;
}
.chip {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 23, 38, 0.06);
  color: var(--ink-text);
  box-shadow: 0 18px 40px -20px rgba(20, 60, 140, 0.35);
}
.chip small {
  color: var(--ink-muted);
}
.footer {
  background: #fff;
  border-top: 1px solid rgba(14, 23, 38, 0.06);
}

/* Real screenshot inside a light device frame. */
.phone.shot {
  aspect-ratio: 9 / 20;
  padding: calc(var(--w) * 0.03);
  background: linear-gradient(145deg, #ffffff, #e9eef5);
  box-shadow:
    inset 0 0 0 1px rgba(14, 23, 38, 0.06),
    0 40px 80px -36px rgba(20, 60, 140, 0.45),
    0 12px 28px -18px rgba(14, 23, 38, 0.25);
}
.phone.shot::before {
  display: none;
}
.phone.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--r) - var(--w) * 0.03);
  background: #f4f7fa;
}
.gtag {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(14, 23, 38, 0.08);
  box-shadow: 0 10px 24px -16px rgba(20, 60, 140, 0.35);
}
@media (max-width: 1120px) {
  .mobile-menu,
  .nav.menu-open {
    background: rgba(255, 255, 255, 0.97);
  }
}
.translate-demo,
.soon-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(47, 91, 255, 0.18);
}
.soon-card:hover {
  background: #fff;
  border-color: rgba(47, 91, 255, 0.35);
}
/* اللغات ذات الخطوط الخاصة (fonts-<lang>.css): الأوردو والهندية والبنغالية واليابانية والصينية. */
:lang(ur){--font:'Noto Naskh Arabic','Inter',system-ui,sans-serif;--font-display:'Noto Naskh Arabic','Inter Tight',system-ui,sans-serif}
:lang(hi){--font:'Inter','Noto Sans Devanagari',system-ui,sans-serif;--font-display:'Inter Tight','Noto Sans Devanagari',system-ui,sans-serif}
:lang(bn){--font:'Inter','Noto Sans Bengali',system-ui,sans-serif;--font-display:'Inter Tight','Noto Sans Bengali',system-ui,sans-serif}
:lang(ja){--font:'Inter','Noto Sans JP',system-ui,sans-serif;--font-display:'Inter Tight','Noto Sans JP',system-ui,sans-serif}
:lang(zh){--font:'Inter','Noto Sans SC',system-ui,sans-serif;--font-display:'Inter Tight','Noto Sans SC',system-ui,sans-serif}
/* نفس ضبط العربية للغات غير اللاتينية: بلا تباعد حروف سالب، وسطور أعلى للعناوين. */
:is([lang='ur'], [lang='hi'], [lang='bn'], [lang='ja'], [lang='zh']) :is(h1, h2, h3, .eyebrow, .stats b) {
  letter-spacing: 0;
}
:is([lang='ur'], [lang='hi'], [lang='bn']) :is(h1, h2) {
  line-height: 1.3;
}
[lang='ur'] h1,
[lang='ur'] h2 {
  line-height: 1.6;
}
/* الدعوة الأخيرة على السماء الفاتحة: موجة أخفّ، وأزرار المتجر بإطار وظل حتى تُرى. */
.final .wave-bg {
  opacity: 0.06;
}
.store-btn {
  color: #0e1726;
  border: 1px solid rgba(14, 23, 38, 0.1);
  box-shadow: 0 14px 30px -18px rgba(20, 60, 140, 0.45);
}
/* خلايا شبكة الميزات الفارغة في آخر صف: بلون الصفحة لا رمادية. */
.live-strip {
  background: rgba(14, 23, 38, 0.06);
}
/* صفحات الأسعار وeSIM (يرسمها الخادم): بطاقة السعر زجاج فاتح كبقية الموقع. */
.on-dark,
.nav,
.footer {
  --ink-2: #eef5fb;
}
.sx-ratecard {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(14, 23, 38, 0.08);
  box-shadow: 0 30px 60px -34px rgba(20, 60, 140, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* زر "للأعلى" الزجاجي العائم */
.to-top {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 22px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(14, 23, 38, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  color: #2f5bff;
  box-shadow: 0 14px 30px -14px rgba(20, 60, 140, 0.45);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.to-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: #fff;
}
.to-top svg {
  width: 22px;
  height: 22px;
}
/* الشعار الأبيض على السماء الفاتحة: ظل أزرق خفيف حتى يظهر. */
.logo svg {
  filter: drop-shadow(0 3px 8px rgba(47, 91, 255, 0.35));
}
/* اقتراحات الدول تحت مربع "إلى أي بلد تتصل؟" */
.rate-row { position: relative; }
.rate-suggest {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 6px);
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid rgba(14, 23, 38, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -24px rgba(20, 60, 140, 0.45);
}
.rate-suggest[hidden] { display: none; }
.rate-suggest li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.rate-suggest li:hover,
.rate-suggest li[aria-selected='true'] { background: rgba(47, 91, 255, 0.08); }
.rate-suggest img { border-radius: 3px; flex: none; }
.rate-suggest span { flex: 1; font-weight: 600; }
.rate-suggest small { color: var(--muted); }
/* قائمة اللغات: زجاج فاتح كبقية الموقع (كانت داكنة بنص باهت). */
.lang-list {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 23, 38, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px -24px rgba(20, 60, 140, 0.45);
}
.lang-list a {
  color: #0e1726;
}
.lang-list a:hover {
  background: rgba(47, 91, 255, 0.08);
  color: #0e1726;
}
.lang-list a[aria-current='page'] {
  color: #2f5bff;
  background: rgba(47, 91, 255, 0.1);
  font-weight: 700;
}
.lang summary {
  color: #0e1726;
}
/* مبدّل العملة ($ / €) في الشريط العلوي — نفسه في صفحات الخادم */
.sx-cur{display:inline-flex;flex:none;white-space:nowrap;gap:2px;padding:3px;border:1px solid rgba(148,163,184,.28);border-radius:999px;background:rgba(255,255,255,.04);font-weight:700;font-size:14px;line-height:1;align-self:center}
.sx-cur a{display:grid;place-items:center;min-width:30px;height:30px;padding:0 9px;border-radius:999px;color:inherit;text-decoration:none;opacity:.7;transition:opacity .2s,background .2s}
.sx-cur a:hover{opacity:1}
.sx-cur a[aria-current]{opacity:1;background:var(--teal,#00c6a7);color:#04221d}
.mobile-menu .sx-cur{align-self:flex-start;margin:6px 0}
