
:root {
  --bg: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #e9edf5;
  --soft: #f5f8ff;
  --blue: #0b63f6;
  --blue-2: #3584ff;
  --blue-dark: #074cc0;
  --purple: #7657ff;
  --green: #16a874;
  --orange: #f68b2c;
  --navy: #071a35;
  --shadow: 0 24px 70px rgba(22, 57, 114, .12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(233,237,245,.82);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-name { font-size: 23px; letter-spacing: -.4px; direction: ltr; }
.brand-mark {
  width: 38px;
  height: 38px;
  position: relative;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue), #6ea5ff);
  box-shadow: 0 8px 20px rgba(11,99,246,.25);
}
.brand-dot {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: block;
}
.brand-tail {
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(20deg);
  left: 8px;
  bottom: 7px;
  border-radius: 1px;
}
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.desktop-nav a { color: #344054; font-size: 14px; font-weight: 700; transition: .2s ease; }
.desktop-nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  min-height: 44px;
  border-radius: 13px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 28px rgba(11,99,246,.2); }
.btn-primary:hover { box-shadow: 0 16px 32px rgba(11,99,246,.28); }
.btn-ghost { border-color: var(--line); color: #344054; background: #fff; }
.btn-soft { background: #eef4ff; color: var(--blue); border-color: #e1ebff; }
.btn-lg { min-height: 54px; padding: 0 24px; border-radius: 16px; font-size: 15px; }
.btn-white { background: white; color: var(--blue); box-shadow: 0 12px 25px rgba(1,18,46,.18); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: #344054; border-radius: 8px; }
.mobile-menu {
  padding: 10px 20px 20px;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  display: block;
  padding: 13px 8px;
  border-bottom: 1px solid #f0f2f6;
  font-weight: 700;
  color: #344054;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 85% 24%, rgba(11,99,246,.08), transparent 24%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.18fr; gap: 65px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}
.hero h1, .section-heading h2, .split-copy h2, .security-copy h2, .webapp-copy h2, .about-grid h2, .cta-card h2 {
  margin: 0;
  letter-spacing: -1.7px;
  line-height: 1.35;
}
.hero h1 { font-size: clamp(42px, 5vw, 68px); max-width: 560px; }
.hero-lead { color: var(--muted); font-size: 18px; max-width: 600px; margin: 22px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-pills span {
  padding: 7px 11px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; direction: ltr; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .7; pointer-events: none; }
.hero-glow-one { width: 280px; height: 280px; background: rgba(61,136,255,.11); right: -80px; top: 40px; }
.hero-glow-two { width: 180px; height: 180px; background: rgba(118,87,255,.08); left: 30%; bottom: 0; }
.orbit { position: absolute; border: 1px solid rgba(11,99,246,.08); border-radius: 50%; }
.orbit-one { width: 600px; height: 600px; }
.orbit-two { width: 460px; height: 460px; }

.app-window {
  width: min(100%, 680px);
  background: white;
  border: 1px solid #e5eaf2;
  border-radius: 27px;
  box-shadow: 0 35px 90px rgba(33,68,130,.17);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}
.app-topbar {
  height: 52px;
  border-bottom: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  background: #fbfcfe;
}
.window-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; color: #344054; }
.mini-logo { width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(145deg,var(--blue),#6ea5ff); }
.window-actions { display: flex; gap: 5px; }
.window-actions i { width: 8px; height: 8px; border-radius: 50%; background: #d0d5dd; }
.app-body { min-height: 390px; display: grid; grid-template-columns: 220px 1fr; }
.chat-list { padding: 14px 11px; border-right: 1px solid #eef1f6; background: #fcfdff; }
.search-mock { height: 32px; background: #f1f4f8; border-radius: 10px; margin-bottom: 10px; }
.chat-item { display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 12px; margin-bottom: 4px; }
.chat-item.active { background: #eaf2ff; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; font-weight: 900; width: 34px; height: 34px; }
.avatar-blue { background: linear-gradient(135deg,#0b63f6,#6aa3ff); }
.avatar-purple { background: linear-gradient(135deg,#7657ff,#a98cff); }
.avatar-green { background: linear-gradient(135deg,#13a874,#61cfaa); }
.avatar-orange { background: linear-gradient(135deg,#f68b2c,#ffbd72); }
.chat-lines { min-width: 0; flex: 1; display: flex; flex-direction: column; direction: rtl; text-align: right; }
.chat-lines b { font-size: 11px; color: #263244; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-lines small { font-size: 9px; color: #98a2b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item em { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--blue); color: white; font-size: 8px; font-style: normal; }

.conversation { display: flex; flex-direction: column; background: linear-gradient(145deg,#f4f8ff,#eef4fb); }
.conversation-head { height: 58px; display: flex; align-items: center; gap: 9px; padding: 0 13px; background: rgba(255,255,255,.88); border-bottom: 1px solid #edf0f4; direction: rtl; }
.conversation-head div { display: flex; flex-direction: column; text-align: right; }
.conversation-head b { font-size: 11px; }
.conversation-head small { color: #98a2b3; font-size: 9px; }
.more { margin-right: auto; color: #98a2b3; font-weight: 900; }
.messages { flex: 1; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; direction: rtl; }
.bubble { max-width: 72%; padding: 9px 11px; font-size: 10px; border-radius: 13px; line-height: 1.65; text-align: right; box-shadow: 0 4px 12px rgba(50,69,100,.05); }
.bubble-in { background: white; border-bottom-right-radius: 4px; }
.bubble-out { align-self: flex-end; background: #dcecff; border-bottom-left-radius: 4px; }
.message-meta { display: block; color: #7092b7; font-size: 7px; text-align: left; margin-top: 2px; }
.attachment { display: flex; gap: 8px; align-items: center; min-width: 160px; }
.attachment span:last-child { display: flex; flex-direction: column; }
.attachment b { font-size: 9px; }
.attachment small { color: #98a2b3; font-size: 8px; }
.file-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #edf5ff; font-size: 14px; }
.reaction-row { display: flex; gap: 5px; margin-top: -3px; }
.reaction-row span { background: white; border: 1px solid #e4e9f0; border-radius: 99px; padding: 2px 7px; font-size: 8px; }
.composer { min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: rgba(255,255,255,.9); direction: rtl; }
.composer > div { flex: 1; min-height: 33px; border-radius: 11px; background: #f3f5f8; color: #a0a8b3; font-size: 9px; display: flex; align-items: center; padding: 0 11px; }
.composer button { width: 33px; height: 33px; border: 0; background: var(--blue); color: #fff; border-radius: 50%; cursor: pointer; }

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(228,234,244,.95);
  box-shadow: 0 18px 45px rgba(28,62,120,.14);
  border-radius: 16px;
  padding: 10px 13px;
  direction: rtl;
}
.floating-card-one { left: -8px; top: 70px; }
.floating-card-two { right: -5px; bottom: 66px; }
.float-icon { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: #eff5ff; }
.floating-card div { display: flex; flex-direction: column; text-align: right; }
.floating-card b { font-size: 10px; }
.floating-card small { font-size: 8px; color: #98a2b3; }

.brand-strip { border-block: 1px solid var(--line); background: #fbfcfe; }
.strip-inner { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 28px; color: #667085; font-size: 13px; }
.strip-items { display: flex; align-items: center; gap: 18px; color: #344054; }
.strip-items i { width: 4px; height: 4px; background: #c7cfda; border-radius: 50%; }

.section { padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2, .split-copy h2, .security-copy h2, .webapp-copy h2, .about-grid h2, .cta-card h2 { font-size: clamp(30px, 3.4vw, 46px); }
.section-heading p, .split-copy p, .webapp-copy p, .about-grid p { color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card {
  min-height: 255px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
  transition: .25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(27,60,117,.08); border-color: #dfe8f8; }
.feature-card-large {
  grid-column: span 2;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(145deg,#f9fbff,#eef5ff);
}
.feature-card h3 { font-size: 19px; margin: 16px 0 7px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #eff5ff; font-size: 21px; }
.feature-icon.blue { background: #edf5ff; }
.feature-icon.purple { background: #f2efff; }
.feature-icon.green { background: #eafaf4; }
.feature-icon.orange { background: #fff4e9; }
.feature-visual { min-height: 230px; display: grid; place-items: center; }
.mini-thread { width: 100%; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid #e4eaf4; box-shadow: 0 22px 42px rgba(49,84,145,.09); display: flex; flex-direction: column; gap: 10px; direction: rtl; }
.mini-bubble { max-width: 82%; border-radius: 13px; padding: 9px 11px; font-size: 11px; }
.mini-bubble.in { background: #f2f4f7; align-self: flex-start; }
.mini-bubble.out { background: #dcecff; align-self: flex-end; }
.mini-file { align-self: flex-start; background: #f7f9fc; border: 1px solid #e8ecf2; border-radius: 12px; padding: 8px 10px; font-size: 10px; }

.alt-section { background: #f7f9fc; overflow: hidden; }
.split-section { display: grid; grid-template-columns: .94fr 1.06fr; gap: 80px; align-items: center; }
.split-copy p { max-width: 590px; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: center; color: #344054; font-weight: 700; font-size: 14px; }
.check-list span { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #e9f3ff; color: var(--blue); font-weight: 900; }
.text-link { color: var(--blue); font-weight: 900; font-size: 14px; }

.community-showcase { min-height: 500px; position: relative; direction: ltr; }
.community-card {
  width: 360px;
  background: white;
  border: 1px solid #e3e8f1;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: absolute;
}
.community-card.back { left: 0; top: 25px; transform: rotate(-7deg) scale(.93); opacity: .78; }
.community-card.front { right: 0; bottom: 0; z-index: 3; }
.community-banner { height: 112px; background: linear-gradient(135deg,#0b63f6,#6ca6ff); }
.purple-bg { background: linear-gradient(135deg,#7657ff,#b4a2ff)!important; }
.blue-bg { background: linear-gradient(135deg,#0b63f6,#68a3ff)!important; }
.community-info { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -30px; padding-bottom: 18px; direction: rtl; }
.avatar.big { width: 62px; height: 62px; border: 5px solid white; margin-bottom: 8px; }
.community-info b { font-size: 16px; }
.community-info small { color: #98a2b3; font-size: 11px; }
.post-preview { border-top: 1px solid #edf0f5; padding: 16px; direction: rtl; text-align: right; }
.post-image { height: 118px; border-radius: 15px; display: block; margin-bottom: 13px; background: linear-gradient(135deg,#dcecff,#c7d8ff 42%,#f1f5ff); position: relative; overflow: hidden; }
.post-image::after { content:"CM"; position:absolute; inset:0; display:grid; place-items:center; font-size:42px; font-weight:900; color:rgba(11,99,246,.22); direction:ltr; }
.post-preview p { color: #667085; font-size: 11px; line-height: 1.7; }
.post-stats { display: flex; gap: 7px; }
.post-stats span { font-size: 9px; padding: 4px 7px; background: #f6f8fb; border-radius: 99px; }

.explore-section { overflow: hidden; }
.explore-visual { display: grid; place-items: center; min-height: 580px; position: relative; }
.explore-visual::before { content:""; position:absolute; width:440px; height:440px; border-radius:50%; background:#eff5ff; }
.explore-phone { width: 310px; min-height: 520px; background: #fff; border: 8px solid #16263a; border-radius: 38px; position: relative; z-index: 2; box-shadow: 0 30px 80px rgba(27,59,112,.19); overflow: hidden; transform: rotate(3deg); }
.phone-head { height: 58px; display:flex; align-items:center; justify-content:space-between; padding:0 17px; border-bottom:1px solid #edf0f5; direction:rtl; }
.explore-post { display:grid; grid-template-columns:34px 1fr; gap:8px; padding:14px; border-bottom:1px solid #edf0f5; direction:rtl; }
.post-avatar { width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,#0b63f6,#68a3ff); }
.explore-post > div:nth-child(2) { display:flex; flex-direction:column; }
.explore-post b { font-size:11px; }
.explore-post small { font-size:8px; color:#98a2b3; }
.post-thumb { grid-column:1/-1; height:145px; border-radius:14px; background:linear-gradient(135deg,#e6efff,#cadcff); }
.thumb-one { position:relative; overflow:hidden; }
.thumb-one::after { content:"CodeMeet"; position:absolute; inset:0; display:grid; place-items:center; font-size:26px; font-weight:900; color:rgba(11,99,246,.25); direction:ltr; }
.thumb-two { height:80px; background:linear-gradient(135deg,#efeaff,#d9d1ff); }
.explore-post p { grid-column:1/-1; margin:0; color:#475467; font-size:10px; line-height:1.75; }
.post-reactions { grid-column:1/-1; font-size:9px; color:#667085; }
.explore-post.second { opacity:.8; }
.stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:28px; }
.stat-row div { border:1px solid var(--line); border-radius:17px; padding:14px; display:flex; flex-direction:column; }
.stat-row b { color:var(--blue); font-size:15px; }
.stat-row small { color:#98a2b3; font-size:10px; }

.security-section { padding-top: 30px; }
.security-card {
  min-height: 460px;
  padding: 58px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 28%, rgba(71,144,255,.26), transparent 24%),
    linear-gradient(135deg,#071a35,#0a2c5a);
  color: white;
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:70px;
  align-items:center;
  overflow:hidden;
}
.eyebrow.light { color:#9fc4ff; }
.security-copy p { color:#bed1ea; max-width:580px; }
.security-badges { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.security-badges span { padding:8px 11px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.06); font-size:11px; }
.devices { display:grid; gap:12px; }
.device-card { min-height:74px; border-radius:18px; background:rgba(255,255,255,.94); color:#172033; display:flex; align-items:center; gap:12px; padding:12px 14px; box-shadow:0 16px 40px rgba(0,0,0,.15); }
.device-icon { width:42px; height:42px; border-radius:13px; display:grid; place-items:center; background:#eef4ff; font-size:18px; }
.device-card div { display:flex; flex-direction:column; flex:1; }
.device-card b { font-size:12px; direction:ltr; text-align:right; }
.device-card small { color:#98a2b3; font-size:9px; }
.online-dot { width:9px; height:9px; background:#23bd7a; border-radius:50%; }
.device-menu { color:#98a2b3; }

.webapp-section { padding-top: 70px; }
.webapp-card { padding: 58px; border:1px solid var(--line); border-radius:38px; background:linear-gradient(145deg,#fbfcff,#f2f7ff); display:grid; grid-template-columns:.8fr 1.2fr; gap:55px; align-items:center; overflow:hidden; }
.webapp-copy p { margin-bottom:25px; }
.browser-mock { direction:ltr; border:1px solid #dde4ef; background:#fff; border-radius:22px; overflow:hidden; box-shadow:0 25px 55px rgba(27,61,119,.13); transform:translateY(22px); }
.browser-bar { height:46px; background:#f7f8fa; border-bottom:1px solid #e7eaf0; display:flex; align-items:center; gap:6px; padding:0 12px; }
.browser-bar i { width:8px; height:8px; border-radius:50%; background:#c8ced8; }
.address { margin-left:10px; flex:1; height:27px; background:white; border:1px solid #e4e7ec; border-radius:8px; display:flex; align-items:center; padding:0 10px; color:#98a2b3; font-size:8px; }
.browser-content { min-height:280px; display:grid; grid-template-columns:130px 1fr; }
.browser-sidebar { background:#fafbfc; border-right:1px solid #edf0f4; }
.browser-chat { position:relative; background:linear-gradient(145deg,#f3f7fc,#eef3f8); padding:20px; }
.line { display:block; height:8px; border-radius:6px; background:#dfe5ed; margin-bottom:9px; }
.l1 { width:35%; } .l2 { width:60%; } .l3 { width:46%; }
.browser-bubble { position:absolute; height:40px; border-radius:13px; }
.bb1 { width:43%; left:28px; top:105px; background:white; }
.bb2 { width:52%; right:26px; top:163px; background:#dcecff; }
.bb3 { width:34%; left:32px; top:224px; background:white; }

.about-section { padding-top:40px; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.about-grid p { margin:45px 0 0; }

.cta-section { padding: 30px 0 105px; }
.cta-card { min-height:250px; border-radius:38px; padding:48px 54px; background:linear-gradient(135deg,var(--blue),#4e91ff); color:white; display:flex; align-items:center; justify-content:space-between; gap:35px; box-shadow:0 28px 65px rgba(11,99,246,.2); }
.cta-card h2 { max-width:720px; }

.site-footer { border-top:1px solid var(--line); background:#fbfcfe; padding:60px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.footer-brand p { color:#667085; max-width:340px; font-size:13px; }
.footer-logo .brand-mark { width:34px; height:34px; border-radius:12px; }
.footer-links { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
.footer-links > div { display:flex; flex-direction:column; gap:10px; }
.footer-links b { font-size:13px; margin-bottom:4px; }
.footer-links a { color:#667085; font-size:12px; }
.footer-links a:hover { color:var(--blue); }
.footer-bottom { margin-top:45px; padding-top:20px; border-top:1px solid var(--line); display:flex; justify-content:space-between; color:#98a2b3; font-size:11px; direction:rtl; }

@media (max-width: 1050px) {
  .desktop-nav { display:none; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { text-align:center; }
  .hero h1, .hero-lead { margin-inline:auto; }
  .hero-actions, .hero-pills { justify-content:center; }
  .hero-visual { width:min(100%,760px); margin-inline:auto; }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .feature-card-large { grid-column:span 2; }
  .split-section { gap:45px; }
  .security-card { grid-template-columns:1fr; gap:35px; }
  .webapp-card { grid-template-columns:1fr; }
  .browser-mock { transform:none; }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .site-header .desktop-only { display:none; }
  .menu-toggle { display:flex; }
  .header-inner { min-height:68px; }
  .brand-name { font-size:20px; }
  .brand-mark { width:34px; height:34px; border-radius:12px; }
  .hero { padding:65px 0 70px; min-height:auto; }
  .hero h1 { font-size:40px; letter-spacing:-1px; }
  .hero-lead { font-size:15px; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }
  .hero-visual { min-height:360px; margin-top:25px; }
  .app-window { transform:none; border-radius:20px; }
  .app-body { grid-template-columns:1fr; }
  .chat-list { display:none; }
  .floating-card { display:none; }
  .orbit-one { width:390px; height:390px; }
  .orbit-two { width:310px; height:310px; }
  .brand-strip { display:none; }
  .section { padding:75px 0; }
  .section-heading { margin-bottom:30px; }
  .section-heading h2, .split-copy h2, .security-copy h2, .webapp-copy h2, .about-grid h2, .cta-card h2 { font-size:30px; letter-spacing:-.8px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-card-large { grid-column:span 1; grid-template-columns:1fr; min-height:auto; }
  .feature-card { min-height:auto; }
  .feature-visual { min-height:180px; order:2; }
  .split-section { grid-template-columns:1fr; gap:35px; }
  .reverse-mobile .explore-visual { order:2; }
  .community-showcase { min-height:420px; transform:scale(.82); transform-origin:center top; margin-bottom:-70px; }
  .community-card { width:330px; }
  .explore-visual { min-height:480px; }
  .explore-phone { width:285px; min-height:490px; }
  .stat-row { grid-template-columns:1fr; }
  .security-card, .webapp-card { padding:30px 22px; border-radius:27px; }
  .security-card { min-height:auto; }
  .browser-content { min-height:220px; grid-template-columns:90px 1fr; }
  .about-grid { grid-template-columns:1fr; gap:10px; }
  .about-grid p { margin-top:0; }
  .cta-section { padding-bottom:75px; }
  .cta-card { min-height:auto; padding:32px 24px; border-radius:27px; flex-direction:column; align-items:flex-start; }
  .cta-card .btn { width:100%; }
  .footer-grid { grid-template-columns:1fr; gap:35px; }
  .footer-bottom { flex-direction:column; gap:5px; }
}

@media (max-width: 430px) {
  .header-actions .btn-primary { display:none; }
  .hero h1 { font-size:34px; }
  .community-showcase { transform:scale(.72); margin-inline:-40px; margin-bottom:-110px; }
  .explore-phone { transform:none; }
}


html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] select {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
}
html[dir="ltr"] body { direction: ltr; }
html[dir="ltr"] .hero-copy,
html[dir="ltr"] .split-copy,
html[dir="ltr"] .security-copy,
html[dir="ltr"] .webapp-copy,
html[dir="ltr"] .about-grid,
html[dir="ltr"] .footer-brand,
html[dir="ltr"] .footer-links { text-align: left; }
html[dir="ltr"] .eyebrow::before { order: -1; }

.language-switcher { display:flex; align-items:center; }
.language-select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #344054;
  background: #fff;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}
.language-select:focus { border-color: #b8d0ff; box-shadow: 0 0 0 3px rgba(11,99,246,.08); }

.audience-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(118,87,255,.07), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(11,99,246,.08), transparent 24%),
    #fff;
}
.audience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.audience-card {
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:26px;
  background:#fff;
  min-height:260px;
  transition:.25s ease;
}
.audience-card:hover {
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(27,60,117,.08);
  border-color:#dfe8f8;
}
.audience-icon {
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#eef5ff,#f6f2ff);
  color:var(--blue);
  font-weight:900;
  font-size:18px;
  direction:ltr;
}
.audience-card h3 { margin:18px 0 8px; font-size:19px; }
.audience-card p { margin:0; color:var(--muted); font-size:14px; }

@media (max-width:1050px) {
  .audience-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px) {
  .language-select { min-height:40px; max-width:105px; padding-left:8px; padding-right:24px; }
  .audience-grid { grid-template-columns:1fr; }
  .audience-card { min-height:auto; }
}
@media (max-width:430px) {
  .language-switcher { margin-inline-start:auto; }
  .language-select { max-width:92px; font-size:11px; }
}


/* ===== Language-aware header v2 ===== */
.site-header .container.header-inner {
  width: min(calc(100% - 40px), 1400px);
}

.header-inner {
  min-height: 76px;
  gap: 22px;
}

.desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(18px, 1.7vw, 30px);
  margin-inline-start: 22px;
  min-width: 0;
}

.desktop-nav a {
  white-space: nowrap;
  line-height: 1;
  font-size: 13px;
}

.header-actions {
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-cta {
  min-width: 148px;
  white-space: nowrap;
}

.language-switcher,
.language-select {
  display: none !important;
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-trigger {
  height: 44px;
  min-width: 128px;
  border: 1px solid #e4e9f2;
  background: #fff;
  border-radius: 13px;
  color: #344054;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(16,24,40,.02);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.language-trigger:hover,
.language-picker.open .language-trigger {
  border-color: #c8d9f7;
  background: #fbfdff;
  box-shadow: 0 7px 18px rgba(27,61,119,.07);
}

.language-globe {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef5ff;
  flex: 0 0 auto;
}

.language-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
}

.language-current-name {
  font-size: 12px;
  font-weight: 800;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-current-code {
  display: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  color: #98a2b3;
}

.language-chevron {
  color: #98a2b3;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}

.language-picker.open .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 278px;
  padding: 10px;
  background: rgba(255,255,255,.98);
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(21,45,84,.16);
  backdrop-filter: blur(18px);
}

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

.language-menu-head {
  display: flex;
  flex-direction: column;
  padding: 8px 9px 10px;
  border-bottom: 1px solid #eef1f5;
  margin-bottom: 6px;
}

.language-menu-head > span {
  font-size: 13px;
  font-weight: 900;
  color: #1d2939;
}

.language-menu-head small {
  font-size: 10px;
  color: #98a2b3;
  margin-top: 1px;
}

.language-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.language-option {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 0 10px;
  background: transparent;
  color: #344054;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background .15s ease, color .15s ease;
}

.language-option:hover {
  background: #f4f7fb;
}

.language-option.active {
  color: var(--blue);
  background: #edf4ff;
}

.language-native {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.language-meta {
  font-size: 9px;
  font-weight: 900;
  color: #98a2b3;
  letter-spacing: .4px;
}

.language-option.active .language-meta {
  color: #6a9ce8;
}

/* More breathing room for verbose LTR languages */
html[dir="ltr"] .desktop-nav {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

html[dir="ltr"] .desktop-nav a {
  font-size: 12.5px;
}

html[lang="ru"] .desktop-nav,
html[lang="de"] .desktop-nav,
html[lang="fr"] .desktop-nav {
  gap: 17px;
}

html[lang="ru"] .desktop-nav a,
html[lang="de"] .desktop-nav a,
html[lang="fr"] .desktop-nav a {
  font-size: 12px;
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] button {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

html[lang="ru"] body,
html[lang="de"] body,
html[lang="fr"] body,
html[lang="es"] body,
html[lang="tr"] body,
html[lang="en"] body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

/* Hero typography must adapt instead of pretending every language has Persian line lengths */
html[dir="ltr"] .hero h1 {
  letter-spacing: -2.4px;
  max-width: 640px;
  font-size: clamp(44px, 4.5vw, 66px);
}

html[lang="ru"] .hero h1,
html[lang="de"] .hero h1 {
  font-size: clamp(40px, 4vw, 59px);
  line-height: 1.24;
}

html[lang="zh-CN"] .hero h1 {
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.28;
  letter-spacing: -.8px;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(40px, 4.3vw, 61px);
  line-height: 1.45;
}

html[dir="ltr"] .hero-lead {
  max-width: 620px;
  line-height: 1.85;
}

html[dir="ltr"] .hero-actions,
html[dir="ltr"] .hero-pills {
  justify-content: flex-start;
}

/* Keep the app mockup visually independent of page language */
.app-window,
.community-showcase,
.explore-phone,
.browser-mock {
  direction: ltr;
}

.app-window .conversation,
.app-window .chat-lines,
.app-window .messages,
.app-window .composer,
.community-showcase .community-info,
.community-showcase .post-preview {
  direction: rtl;
}

/* Mobile language panel */
.mobile-language-row {
  padding: 10px 8px 14px;
  border-bottom: 1px solid #eef1f5;
  margin-bottom: 4px;
}

.mobile-language-row > span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: #667085;
  margin-bottom: 9px;
}

.mobile-language-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  direction: ltr;
}

.mobile-language-buttons button {
  height: 31px;
  min-width: 38px;
  padding: 0 8px;
  border: 1px solid #e4e9f1;
  border-radius: 9px;
  background: #fff;
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.mobile-language-buttons button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* Tablet: simplify header before it can become ugly */
@media (max-width: 1240px) {
  .site-header .container.header-inner {
    width: min(calc(100% - 32px), 1180px);
  }

  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .language-trigger {
    min-width: 47px;
    width: 47px;
    padding: 0 8px;
    justify-content: center;
  }

  .language-current {
    display: none;
  }

  .language-chevron {
    display: none;
  }

  .header-cta {
    min-width: auto;
    padding-inline: 15px;
  }
}

/* Switch to mobile navigation earlier, before verbose languages wrap */
@media (max-width: 1040px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .language-picker {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .container.header-inner {
    width: min(calc(100% - 24px), 1180px);
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .header-cta {
    font-size: 12px;
    min-height: 42px;
  }

  html[dir="ltr"] .hero h1,
  html[lang="ru"] .hero h1,
  html[lang="de"] .hero h1,
  html[lang="zh-CN"] .hero h1,
  html[lang="ar"] .hero h1 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -1px;
  }
}

@media (max-width: 500px) {
  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }
}


/* =========================================================
   Language Picker V3 - simple and robust
   ========================================================= */

.language-picker,
.language-trigger,
.language-menu,
.mobile-language-row {
  display: none !important;
}

.lang-picker {
  position: relative;
  flex: 0 0 auto;
  display: block;
}

.lang-button {
  height: 44px;
  min-width: 132px;
  padding: 0 11px;
  border: 1px solid #e3e8f0;
  border-radius: 13px;
  background: #fff;
  color: #344054;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lang-button:hover,
.lang-picker.open .lang-button {
  border-color: #bcd1f5;
  background: #fbfdff;
  box-shadow: 0 7px 20px rgba(27,61,119,.08);
}

.lang-button-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #edf4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.lang-button-label {
  font-size: 12px;
  font-weight: 800;
  flex: 1;
  text-align: start;
}

.lang-button-code {
  display: none;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
}

.lang-button-arrow {
  color: #98a2b3;
  font-size: 16px;
  line-height: 1;
  transition: transform .18s ease;
}

.lang-picker.open .lang-button-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  inset-inline-end: 0;
  z-index: 500;
  width: 250px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(23,46,86,.17);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.lang-picker.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #344054;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #f5f7fb;
}

.lang-menu button.active {
  background: #edf4ff;
  color: var(--blue);
}

.lang-menu button span {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.lang-menu button small {
  font-size: 9px;
  font-weight: 900;
  color: #98a2b3;
  letter-spacing: .4px;
}

.lang-menu button.active small {
  color: #6b9be4;
}

/* Mobile language choices */
.mobile-lang-section {
  padding: 9px 8px 14px;
  border-bottom: 1px solid #eef1f5;
  margin-bottom: 4px;
}

.mobile-lang-title {
  font-size: 11px;
  font-weight: 900;
  color: #667085;
  margin-bottom: 9px;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  direction: ltr;
}

.mobile-lang-grid button {
  height: 32px;
  border: 1px solid #e3e8f0;
  border-radius: 9px;
  background: #fff;
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.mobile-lang-grid button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* Keep desktop picker visible until mobile nav actually starts */
@media (max-width: 1240px) {
  .lang-button {
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
  }

  .lang-button-label,
  .lang-button-arrow {
    display: none;
  }

  .lang-button-code {
    display: none;
  }

  .lang-menu {
    width: 250px;
  }
}

@media (max-width: 1040px) {
  .lang-picker {
    display: none;
  }
}

@media (max-width: 520px) {
  .mobile-lang-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Prevent any parent from clipping the dropdown */
.site-header,
.header-inner,
.header-actions {
  overflow: visible !important;
}
\n\n/* V4 defensive language-picker layer */\n#langPicker { position: relative !important; display: block !important; flex: 0 0 auto !important; }\n#langButton {\n  appearance: none !important; -webkit-appearance: none !important;\n  height: 44px !important; min-width: 132px !important; padding: 0 11px !important;\n  border: 1px solid #e3e8f0 !important; border-radius: 13px !important;\n  background: #fff !important; color: #344054 !important;\n  display: flex !important; align-items: center !important; gap: 8px !important;\n  font: inherit !important; cursor: pointer !important; box-shadow: none !important;\n}\n#langMenu {\n  position: absolute !important; top: calc(100% + 9px) !important; inset-inline-end: 0 !important;\n  z-index: 9999 !important; width: 250px !important; padding: 7px !important;\n  background: #fff !important; border: 1px solid #e4e9f1 !important; border-radius: 16px !important;\n  box-shadow: 0 22px 55px rgba(23,46,86,.17) !important;\n  display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4px !important;\n  opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;\n  transform: translateY(-5px) !important; transition: .14s ease !important;\n}\n#langPicker.open #langMenu {\n  opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateY(0) !important;\n}\n#langMenu > button {\n  appearance: none !important; -webkit-appearance: none !important;\n  min-height: 40px !important; border: 0 !important; border-radius: 10px !important;\n  background: transparent !important; color: #344054 !important; padding: 0 9px !important;\n  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 7px !important;\n  font: inherit !important; cursor: pointer !important;\n}\n#langMenu > button:hover { background: #f5f7fb !important; }\n#langMenu > button.active { background: #edf4ff !important; color: #0b63f6 !important; }\n@media (max-width:1240px) {\n  #langButton { width: 46px !important; min-width: 46px !important; padding: 0 !important; justify-content: center !important; }\n  #langButton .lang-button-label, #langButton .lang-button-arrow, #langButton .lang-button-code { display: none !important; }\n}\n@media (max-width:1040px) { #langPicker { display: none !important; } }\n

/* v5: selected language also controls demo/mockup direction */
.check-list .check-text {
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

html[dir="ltr"] .app-window .chat-lines {
  direction: ltr;
  text-align: left;
}
html[dir="ltr"] .app-window .conversation-head,
html[dir="ltr"] .app-window .messages,
html[dir="ltr"] .app-window .composer,
html[dir="ltr"] .floating-card,
html[dir="ltr"] .community-showcase .community-info,
html[dir="ltr"] .community-showcase .post-preview {
  direction: ltr;
  text-align: left;
}
html[dir="ltr"] .app-window .conversation-head div,
html[dir="ltr"] .floating-card div {
  text-align: left;
}
html[dir="ltr"] .app-window .more {
  margin-right: 0;
  margin-left: auto;
}
html[dir="ltr"] .app-window .messages .bubble-in {
  align-self: flex-start;
  border-bottom-right-radius: 13px;
  border-bottom-left-radius: 4px;
}
html[dir="ltr"] .app-window .messages .bubble-out {
  align-self: flex-end;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 4px;
}
html[dir="ltr"] .app-window .message-meta {
  text-align: right;
}
html[dir="ltr"] .app-window .composer > div {
  text-align: left;
}
