/* ═══════════════════════════════════════════════════════════════════════
   Beztamek — White & Blue Theme
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ───────────────────────────────────────────────────────── */
:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --navy:     #0f2d5e;

  --white:    #ffffff;
  --surface:  #f7faff;
  --surface2: #f1f5f9;
  --border:   #e2e8f0;

  --text-900: #0f172a;
  --text-700: #1e293b;
  --text-500: #475569;
  --text-300: #94a3b8;

  --shadow-sm:   0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:   0 4px 16px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.18);
  --shadow-lg:   0 24px 64px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.06);

  --max-w:      1180px;
  --nav-h:      72px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --t:          .25s;
}

/* ─── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ─── BASE ────────────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--text-700);
  overflow-x: hidden;
  cursor: none;
}

/* ─── SCROLLBAR ───────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--blue-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-400); }

/* ─── CUSTOM CURSOR ───────────────────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--blue-600);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s var(--ease), height .15s var(--ease), background .15s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(37,99,235,.35);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}

/* ─── NAVIGATION ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(37,99,235,.07);
  transition: box-shadow var(--t) var(--ease), background var(--t);
  animation: navIn .55s var(--ease) both;
}
nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 24px rgba(15,23,42,.08);
}
@keyframes navIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.15rem; color: var(--text-900);
  letter-spacing: -.025em;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.nav-links {
  display: flex; align-items: center; gap: .2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px; padding: .32rem .38rem;
}
.nav-links a {
  padding: .38rem 1rem; border-radius: 50px;
  font-size: .875rem; font-weight: 500; color: var(--text-500);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover  { color: var(--text-900); background: var(--white); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--blue-600); color: var(--white);
  padding: .55rem 1.3rem; border-radius: 50px;
  font-size: .875rem; font-weight: 600;
  box-shadow: var(--shadow-blue);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
  cursor: none;
}
.nav-cta:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(37,99,235,.3);
}

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
main { padding-top: var(--nav-h); }

.section { padding: 6rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ─── SECTION HEADER COMPONENTS ──────────────────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: 50px; padding: .28rem .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 1.25rem;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500);
  animation: tagPulse 2.2s ease infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.45); }
  50%       { box-shadow: 0 0 0 5px rgba(37,99,235,0); }
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.035em; color: var(--text-900);
  margin-bottom: 1.1rem;
}
.section-sub {
  font-size: 1.05rem; line-height: 1.78; color: var(--text-500);
  max-width: 540px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-600); color: var(--white);
  padding: .8rem 1.8rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-blue);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
  cursor: none;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37,99,235,.32);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--blue-600); font-weight: 600; font-size: .95rem;
  padding: .78rem 1.5rem; border-radius: 50px;
  border: 1.5px solid var(--blue-200);
  transition: background var(--t) var(--ease), border-color var(--t), color var(--t);
  cursor: none;
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  color: var(--blue-700);
}

/* ─── HERO ────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 3rem;
  padding: 4rem 3rem 3rem;
  max-width: var(--max-w); margin: 0 auto;
  position: relative;
}

/* Decorative background */
.hero-bg {
  position: absolute;
  inset: -120px -200px -120px -350px;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px); will-change: transform;
}
.orb-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(37,99,235,.11) 0%, transparent 70%);
  top: -180px; right: -60px;
  animation: orbDrift 9s ease-in-out infinite;
}
.orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(96,165,250,.09) 0%, transparent 70%);
  bottom: -120px; left: 80px;
  animation: orbDrift 11s ease-in-out infinite reverse;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(147,197,253,.14) 0%, transparent 70%);
  top: 30%; left: -40px;
  animation: orbDrift 7s ease-in-out infinite 2s;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(18px,-18px) scale(1.04); }
  66%      { transform: translate(-14px,12px) scale(.97); }
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(37,99,235,.11) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 0%, transparent 100%);
}

.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: 50px; padding: .32rem .9rem .32rem .5rem;
  font-size: .73rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--blue-700);
  margin-bottom: 1.6rem;
  animation: fadeUp .6s .08s var(--ease) both;
}
.eyebrow-pulse {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: white; flex-shrink: 0;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -.04em; color: var(--text-900);
  margin-bottom: 1.4rem;
  animation: fadeUp .6s .18s var(--ease) both;
}
.hero-desc {
  font-size: 1.08rem; line-height: 1.8; color: var(--text-500);
  max-width: 450px; margin-bottom: 2.2rem;
  animation: fadeUp .6s .28s var(--ease) both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp .6s .38s var(--ease) both;
}
.hero-stats {
  display: flex; gap: 2.5rem;
  animation: fadeUp .6s .48s var(--ease) both;
}
.stat { display: flex; flex-direction: column; gap: .12rem; }
.stat-val {
  font-size: 1.6rem; font-weight: 800;
  color: var(--text-900); letter-spacing: -.04em;
}
.stat-lbl { font-size: .78rem; font-weight: 500; color: var(--text-300); }

/* ─── PHONE MOCKUP (hero) ─────────────────────────────────────────────── */
.hero-right {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp .7s .28s var(--ease) both;
}
.phones-scene {
  position: relative; width: 320px; height: 560px;
}
.phones-glow {
  position: absolute; inset: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.13) 0%, transparent 70%);
  filter: blur(24px);
}
.phone-wrap {
  position: absolute;
  background: var(--white);
  border-radius: 38px; border: 7px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37,99,235,.05);
}
.phone-main {
  width: 250px; height: 510px;
  top: 0; left: 50%;
  animation: floatMain 5s ease-in-out infinite;
  z-index: 2;
}
.phone-back {
  width: 215px; height: 440px;
  top: 50px; right: -8px;
  z-index: 1; opacity: .7;
  filter: blur(.8px);
  animation: floatBack 5s ease-in-out infinite 1.4s;
}
@keyframes floatMain {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-14px); }
}
@keyframes floatBack {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.phone-notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 22px;
  background: var(--border); border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.phone-badge {
  position: absolute; z-index: 5;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .65rem .9rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem;
  min-width: 170px;
}
.badge-1 { top: 28px; left: -72px; animation: badgeBob 4.2s ease-in-out infinite; }
.badge-2 { bottom: 55px; right: -55px; animation: badgeBob 4.2s ease-in-out infinite 1.6s; }
@keyframes badgeBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.badge-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  flex-shrink: 0;
}
.badge-icon.green { background: #dcfce7; }
.badge-icon.blue  { background: var(--blue-50); }
.badge-info { display: flex; flex-direction: column; gap: .08rem; }
.badge-title { font-size: .78rem; font-weight: 700; color: var(--text-900); }
.badge-sub   { font-size: .68rem; color: var(--text-300); }

/* ─── TICKER ──────────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; padding: 1.1rem 0;
  background: var(--blue-600);
}
.ticker { display: flex; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: tickerRoll 30s linear infinite;
}
.ticker-track + .ticker-track { animation-delay: -15s; }
.ticker-item {
  padding: 0 2.2rem; display: inline-flex; align-items: center; gap: .55rem;
  font-size: .83rem; font-weight: 600; letter-spacing: .03em;
  color: rgba(255,255,255,.88);
}
.ticker-item span { color: rgba(255,255,255,.35); font-size: .65rem; }
@keyframes tickerRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ─── FEATURES GRID ───────────────────────────────────────────────────── */
.features-section { background: var(--surface); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  cursor: default;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-200);
}
.feat-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.2rem;
  transition: background var(--t), transform var(--t) var(--ease);
}
.feat-card:hover .feat-icon { background: var(--blue-100); transform: scale(1.08); }
.feat-title { font-size: 1rem; font-weight: 700; color: var(--text-900); margin-bottom: .5rem; }
.feat-desc  { font-size: .88rem; line-height: 1.65; color: var(--text-500); }
.feat-link  {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 1.1rem; font-size: .83rem; font-weight: 600; color: var(--blue-600);
  transition: gap var(--t) var(--ease), color var(--t);
}
.feat-card:hover .feat-link { gap: .55rem; color: var(--blue-700); }

/* ─── APP PREVIEW ─────────────────────────────────────────────────────── */
.preview-section { background: var(--white); }
.preview-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.preview-phones {
  position: relative; height: 480px;
}
.preview-phone {
  position: absolute; background: var(--white);
  border-radius: 34px; border: 7px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.preview-phone-1 {
  width: 220px; height: 450px;
  left: 40px; bottom: 0; z-index: 2;
  animation: floatMain 5s ease-in-out infinite;
}
.preview-phone-2 {
  width: 200px; height: 410px;
  right: 30px; bottom: 20px; z-index: 1;
  opacity: .82; filter: blur(.6px);
  animation: floatBack 5s ease-in-out infinite .9s;
}
/* override because no translateX(-50%) here */
.preview-phone-1 { animation: ppFloat1 5s ease-in-out infinite; }
.preview-phone-2 { animation: ppFloat2 5s ease-in-out infinite .9s; }
@keyframes ppFloat1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ppFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px);  } }
.preview-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.preview-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0; }
.preview-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.preview-item:last-child { border-bottom: none; }
.preview-item-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  margin-top: .1rem;
}
.pitem-title { font-size: .93rem; font-weight: 700; color: var(--text-900); margin-bottom: .22rem; }
.pitem-desc  { font-size: .85rem; color: var(--text-500); line-height: 1.5; }

/* ─── EARLY ACCESS ────────────────────────────────────────────────────── */
.early-access {
  background: linear-gradient(140deg, var(--blue-800) 0%, var(--blue-600) 55%, #3b7cf8 100%);
  position: relative; overflow: hidden;
}
.early-access::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.early-access::after {
  content: '';
  position: absolute; bottom: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}
.early-access-inner {
  max-width: 700px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1; padding: 6rem 2rem;
}
.ea-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  border-radius: 50px; padding: .28rem .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1.5rem;
}
.ea-title {
  font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.035em; color: var(--white);
  margin-bottom: 1rem;
}
.ea-sub {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,.78); margin-bottom: 2.5rem;
}
.ea-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--white); color: var(--blue-700);
  padding: .9rem 2.2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  cursor: none;
}
.ea-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 52px rgba(0,0,0,.32); }
.ea-note { margin-top: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.5); }

/* ─── WAVE DIVIDER ────────────────────────────────────────────────────── */
.wave { line-height: 0; overflow: hidden; }
.wave svg { display: block; width: 100%; }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
footer { background: var(--text-900); padding: 3rem 2rem 2rem; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.05rem; color: var(--white);
}
.footer-logo-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.28); font-size: .78rem; }

/* ─── PAGE HERO (inner pages) ─────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--white) 60%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem 4.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.09) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.page-hero-inner { max-width: 660px; margin: 0 auto; position: relative; z-index: 1; }

/* ─── FEATURE DETAIL (features.html) ─────────────────────────────────── */
.feature-detail { padding: 5rem 2rem; }
.feature-detail.alt { background: var(--surface); }
.feature-detail-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.feature-detail-inner.reversed .fd-phone { order: 2; }
.feature-detail-inner.reversed .fd-text  { order: 1; }

.fd-phone { display: flex; justify-content: center; }
.detail-phone {
  width: 248px; height: 506px;
  background: var(--white); border-radius: 38px;
  border: 7px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-blue);
  position: relative;
  animation: floatBack 5s ease-in-out infinite;
}
.detail-phone-notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--border); border-radius: 0 0 12px 12px; z-index: 5;
}
.detail-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.fd-label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .9rem; }
.fd-title { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; color: var(--text-900); margin-bottom: 1rem; }
.fd-desc  { font-size: .98rem; line-height: 1.75; color: var(--text-500); margin-bottom: 1.8rem; }
.fd-points { display: flex; flex-direction: column; gap: .7rem; }
.fd-point {
  display: flex; align-items: flex-start; gap: .75rem;
}
.fd-check {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue-50); border: 1.5px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; color: var(--blue-600); margin-top: .12rem;
  font-weight: 700;
}
.fd-point-text { font-size: .88rem; color: var(--text-700); line-height: 1.5; }

/* ─── SCREENS GRID (screens.html) ────────────────────────────────────── */
.screens-section { background: var(--surface); padding: 4rem 2rem 6rem; }
.screens-inner { max-width: var(--max-w); margin: 0 auto; }
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.screen-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  cursor: default;
}
.screen-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-blue); }
.screen-card img { width: 100%; display: block; }
.screen-label { padding: .65rem .9rem; font-size: .78rem; font-weight: 600; color: var(--text-500); border-top: 1px solid var(--border); }

/* ─── PRICING ─────────────────────────────────────────────────────────── */
.pricing-section { background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  cursor: default;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.pricing-featured {
  background: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-600) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-blue), 0 0 0 1px rgba(37,99,235,.2);
  transform: scale(1.04);
  padding-top: 2.6rem;
}
.pricing-featured:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 28px 68px rgba(37,99,235,.38);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue-400), #5b9cf6);
  color: var(--white); font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  white-space: nowrap;
}
.pricing-header { margin-bottom: 1.3rem; }
.pricing-icon { font-size: 1.6rem; margin-bottom: .65rem; }
.pricing-name {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em;
  color: var(--text-900); margin-bottom: .28rem;
}
.pricing-featured .pricing-name { color: var(--white); }
.pricing-desc { font-size: .83rem; color: var(--text-500); }
.pricing-featured .pricing-desc { color: rgba(255,255,255,.68); }

.pricing-price {
  display: flex; align-items: baseline; gap: .35rem;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pricing-featured .pricing-price { border-bottom-color: rgba(255,255,255,.18); }
.price-amount {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em;
  color: var(--text-900); line-height: 1;
}
.pricing-featured .price-amount { color: var(--white); }
.price-decimal { font-size: 1.35rem; }
.price-period { font-size: .82rem; color: var(--text-300); }
.pricing-featured .price-period { color: rgba(255,255,255,.52); }

.pricing-features {
  display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: 1.8rem;
}
.pf-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .855rem; color: var(--text-700); line-height: 1.45;
}
.pricing-featured .pf-item { color: rgba(255,255,255,.9); }
.pf-check {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: .1rem;
  background: var(--blue-50); border: 1.5px solid var(--blue-200);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; color: var(--blue-600);
}
.pricing-featured .pf-check {
  background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.pf-lock { flex-shrink: 0; font-size: .8rem; margin-top: .1rem; line-height: 1.45; }
.pf-item.pf-locked { opacity: .38; }

.pricing-btn {
  display: block; text-align: center;
  padding: .8rem 1.4rem; border-radius: 50px;
  font-size: .9rem; font-weight: 700;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t), border-color var(--t);
  cursor: none;
}
.pricing-btn-primary {
  background: var(--white); color: var(--blue-700);
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
}
.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(0,0,0,.22);
}
.pricing-btn-outline {
  background: transparent; color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}
.pricing-btn-outline:hover {
  background: var(--blue-50); border-color: var(--blue-400);
  transform: translateY(-2px);
}

/* ─── SCROLL REVEAL ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ─── KEYFRAMES ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 3.5rem 2rem; }
  .hero-desc { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-right  { margin-top: 2.5rem; }
  .badge-1, .badge-2 { display: none; }
  .phones-scene { width: 260px; height: 480px; }
  .phone-back  { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-5px); }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-phones { height: 380px; }
  .preview-phone-2 { display: none; }
  .preview-phone-1 { left: 50%; transform: translateX(-50%); }
  .feature-detail-inner { grid-template-columns: 1fr; }
  .feature-detail-inner.reversed .fd-phone,
  .feature-detail-inner.reversed .fd-text { order: unset; }
}
@media (max-width: 720px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .section { padding: 4rem 1.25rem; }
  .hero { padding: 2.5rem 1.25rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: 1rem; }
}

/* ─── NAV RIGHT GROUP ─────────────────────────────────────────────────── */
.nav-right {
  display: flex; align-items: center; gap: .75rem;
}

/* ─── LANGUAGE SWITCHER ───────────────────────────────────────────────── */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: 8px; padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  background: none; border: none;
  padding: 4px 10px; border-radius: 6px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-500); font-family: inherit; line-height: 1.4;
  transition: background .15s var(--ease), color .15s var(--ease),
              box-shadow .15s var(--ease);
  cursor: none;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--white); color: var(--blue-600);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
@media (max-width: 720px) {
  .lang-switcher { padding: 2px; }
  .lang-btn { padding: 3px 8px; font-size: .68rem; }
}

/* ─── RTL SUPPORT (Arabic) ────────────────────────────────────────────── */
[dir="rtl"] body {
  font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}
[dir="rtl"] .hero-desc { margin-right: 0; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .preview-item { flex-direction: row-reverse; }
[dir="rtl"] .fd-point { flex-direction: row-reverse; }
[dir="rtl"] .fd-point-text { text-align: right; }
[dir="rtl"] .badge-info { text-align: right; }
[dir="rtl"] .nav-logo { flex-direction: row-reverse; }
[dir="rtl"] .footer-logo { flex-direction: row-reverse; }
@media (max-width: 720px) {
  [dir="rtl"] .footer-inner { align-items: flex-end; }
}
