/*
 * 2plus landing page (/products/2plus). Brand: navy #06101C / blue #3B82F6 / cyan #2EC4FF / green #3DDC84,
 * Inter + IBM Plex Sans Arabic. Logical properties only, so the same file serves RTL and LTR.
 */
:root {
  --bg: #06101c;
  --bg-2: #0b1730;
  --bg-3: #10203c;
  --card: rgba(16, 32, 60, 0.6);
  --line: rgba(120, 180, 255, 0.14);
  --line-strong: rgba(120, 180, 255, 0.28);
  --text: #e8f1ff;
  --muted: #9bb0cc;
  --cyan: #2ec4ff;
  --blue: #3b82f6;
  --green: #3ddc84;
  --white: #fff;
  --radius: 20px;
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(46, 196, 255, 0.16), transparent 55%),
    radial-gradient(700px 480px at 105% 10%, rgba(61, 220, 132, 0.08), transparent 50%),
    radial-gradient(900px 640px at 50% 115%, rgba(59, 130, 246, 0.12), transparent 55%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }
ul, ol { list-style: none; }
h1, h2, h3 { color: var(--white); letter-spacing: -0.02em; line-height: 1.2; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.lw { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* Buttons */
.lb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.lb--lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.lb--primary { background: linear-gradient(90deg, #19b4ff, #3b82f6); color: #041018; box-shadow: 0 10px 30px rgba(46, 196, 255, 0.25); }
.lb--primary:hover { color: #041018; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46, 196, 255, 0.35); }
.lb--ghost { background: rgba(255, 255, 255, 0.03); color: var(--white); border-color: var(--line-strong); }
.lb--ghost:hover { border-color: var(--cyan); color: var(--white); }

/* Header */
.lh { position: sticky; top: 0; z-index: 50; transition: background 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.lh.is-scrolled { background: rgba(6, 16, 28, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.lh__bar { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.lh__q2t { height: 34px; width: auto; }
.lh__divider { width: 1px; height: 28px; background: var(--line-strong); }
.lh__product { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; color: var(--white); font-weight: 800; font-size: 1.05rem; }
.lh__product img { width: 34px; height: 34px; border-radius: 9px; }
.lh__nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.lh__nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.lh__nav a:hover { color: var(--white); }
.lh__nav-actions { display: none; }
.lh__end { display: flex; align-items: center; gap: 10px; }
.lh__lang { color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 0.85rem; }
.lh__lang:hover { border-color: var(--cyan); }
.lh__toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--white); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.lh__toggle .icon { width: 22px; height: 22px; }

/* Shared section parts */
.tp-section { padding-block: 72px; }
.tp-head { max-width: 760px; margin-inline: auto; text-align: center; margin-block-end: 44px; }
.tp-head--start { text-align: start; margin-inline: 0; }
.tp-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-block-end: 14px; }
.tp-head p { color: var(--muted); font-size: 1.08rem; }
.tp-head .lb { margin-block-start: 24px; }
.tp-eyebrow { display: inline-block; color: var(--cyan); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-block-end: 12px; }
html[lang="ar"] .tp-eyebrow { letter-spacing: 0; font-size: 0.9rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero */
.tp-hero { padding-block: 56px 72px; }
.tp-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.tp-hero__wordmark { width: min(300px, 70%); margin-block-end: 18px; }
.tp-kicker { color: var(--cyan); font-weight: 700; font-size: 0.85rem; margin-block-end: 14px; }
.tp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-block-end: 20px; }
.tp-gradient { background: linear-gradient(90deg, #2ec4ff, #3b82f6 55%, #3ddc84); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tp-lead { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin-block-end: 30px; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-actions--center { justify-content: center; }
.tp-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-block-start: 18px; }
.tp-note .icon { color: var(--green); }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 22px; }
.tp-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.tp-chips .icon { color: var(--green); }

/* Hero inbox illustration */
.tp-demo { position: relative; }
.tp-demo__window { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(16, 32, 60, 0.95), rgba(8, 18, 34, 0.96)); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.tp-demo__glow { position: absolute; inset: 10% 6%; background: radial-gradient(circle, rgba(46, 196, 255, 0.35), transparent 65%); filter: blur(40px); z-index: 0; }
.tp-demo__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.tp-demo__head small { display: block; color: var(--muted); font-size: 0.78rem; }
.tp-demo__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2ec4ff, #3b82f6); color: #041018; font-weight: 800; }
.tp-demo__status { margin-inline-start: auto; font-size: 0.75rem; font-weight: 700; color: var(--green); background: rgba(61, 220, 132, 0.12); border-radius: 999px; padding: 4px 10px; }
.tp-demo__body { display: grid; gap: 14px; padding: 20px; }
.tp-bubble { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 0.92rem; }
.tp-bubble small { display: block; text-align: end; color: rgba(4, 16, 24, 0.6); font-size: 0.72rem; margin-block-start: 4px; }
.tp-bubble--in { justify-self: start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-start-start-radius: 4px; }
.tp-bubble--out { justify-self: end; background: linear-gradient(135deg, #3ddc84, #2ec4ff); color: #041018; font-weight: 600; border-start-end-radius: 4px; }
.tp-voice { display: flex; align-items: center; gap: 10px; }
.tp-voice__play { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #041018; }
.tp-voice__wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.tp-voice__wave i { display: block; width: 3px; border-radius: 3px; background: var(--muted); animation: tp-wave 1.6s ease-in-out infinite; }
.tp-voice__wave i:nth-child(3n) { animation-delay: 0.2s; }
.tp-voice__wave i:nth-child(3n + 1) { animation-delay: 0.45s; }
.tp-voice__time { color: var(--muted); font-size: 0.78rem; }
@keyframes tp-wave { 50% { transform: scaleY(0.45); } }
.tp-ai { border: 1px solid rgba(46, 196, 255, 0.35); background: rgba(46, 196, 255, 0.08); border-radius: 16px; padding: 14px 16px; font-size: 0.9rem; }
.tp-ai__label { display: flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 700; font-size: 0.78rem; margin-block-end: 4px; }
.tp-ai__label--muted { color: var(--muted); margin-block-start: 10px; }
.tp-ai__transcript { color: var(--muted); font-style: italic; }
.tp-demo__reminder { display: flex; align-items: center; gap: 8px; justify-self: center; font-size: 0.8rem; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 6px 14px; }

/* Channels */
.tp-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tp-channel { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; transition: border-color 0.25s, transform 0.25s; }
.tp-channel:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tp-channel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-block-end: 18px; color: var(--white); }
.tp-channel__icon .icon { width: 26px; height: 26px; }
.tp-channel--whatsapp .tp-channel__icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.tp-channel--messenger .tp-channel__icon { background: linear-gradient(135deg, #00b2ff, #006aff); }
.tp-channel--instagram .tp-channel__icon { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); }
.tp-channel h3 { font-size: 1.2rem; margin-block-end: 8px; }
.tp-channel p { color: var(--muted); }

/* AI */
.tp-ai-section { background: linear-gradient(180deg, transparent, rgba(46, 196, 255, 0.05), transparent); }
.tp-ai-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.tp-ai-list { display: grid; gap: 14px; }
.tp-ai-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.tp-ai-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(46, 196, 255, 0.12); color: var(--cyan); }
.tp-ai-card__icon .icon { width: 22px; height: 22px; }
.tp-ai-card h3 { font-size: 1.05rem; margin-block-end: 4px; }
.tp-ai-card p { color: var(--muted); font-size: 0.95rem; }

/* Features */
.tp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tp-feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color 0.25s, background 0.25s; }
.tp-feature:hover { border-color: var(--line-strong); background: rgba(16, 32, 60, 0.85); }
.tp-feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(59, 130, 246, 0.14); color: #7fb2ff; margin-block-end: 16px; }
.tp-feature__icon .icon { width: 22px; height: 22px; }
.tp-feature h3 { font-size: 1.05rem; margin-block-end: 6px; }
.tp-feature p { color: var(--muted); font-size: 0.94rem; }

/* Steps */
.tp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.tp-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tp-step__number { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2ec4ff, #3b82f6); color: #041018; font-weight: 800; font-size: 1.1rem; margin-block-end: 18px; }
.tp-step h3 { font-size: 1.15rem; margin-block-end: 6px; }
.tp-step p { color: var(--muted); }

/* Plans */
.tp-plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tp-plan { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; }
.tp-plan h3 { font-size: 1.15rem; }
.tp-plan p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.tp-plan .lb { width: 100%; }
.tp-plan--featured { border-color: rgba(46, 196, 255, 0.55); background: linear-gradient(180deg, rgba(46, 196, 255, 0.12), rgba(16, 32, 60, 0.7)); }

/* FAQ */
.tp-faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start; }
.tp-faq { display: grid; gap: 12px; }
.tp-faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.tp-faq__item[open] { border-color: var(--line-strong); }
.tp-faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 700; color: var(--white); }
.tp-faq__item summary::-webkit-details-marker { display: none; }
.tp-faq__item summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform 0.2s; }
.tp-faq__item[open] summary::after { transform: rotate(45deg); }
.tp-faq__item p { color: var(--muted); padding-block-end: 20px; }

/* Provider statement, data handling, company details */
.tp-provider { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 20px; align-items: stretch; }
.tp-provider__statement { background: linear-gradient(180deg, rgba(46, 196, 255, 0.08), rgba(16, 32, 60, 0.55)); border: 1px solid rgba(46, 196, 255, 0.28); border-radius: 24px; padding: 34px; }
.tp-provider__statement h2 { font-size: 1.7rem; margin-block-end: 16px; }
.tp-provider__statement h3 { font-size: 1.25rem; margin-block: 26px 10px; }
.tp-provider__statement p { margin-block-end: 12px; color: var(--text); }
.tp-provider__statement strong { color: var(--white); }
.tp-provider__card { background: linear-gradient(180deg, rgba(16, 32, 60, 0.95), rgba(8, 18, 34, 0.95)); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.tp-provider__card img { width: 72px; height: 72px; border-radius: 18px; margin-block-end: 18px; }
.tp-provider__card h3 { font-size: 1.15rem; margin-block-end: 10px; }
.tp-provider__card p { color: var(--muted); font-size: 0.95rem; }
.tp-stamp { display: flex; gap: 8px; align-items: center; margin-block-start: 18px; padding: 10px 12px; border-radius: 10px; background: rgba(61, 220, 132, 0.1); color: var(--green) !important; font-weight: 700; font-size: 0.88rem !important; }
.tp-privacy { margin-block-start: 20px; background: rgba(11, 23, 48, 0.7); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.tp-privacy h2 { font-size: 1.45rem; margin-block-end: 12px; }
.tp-privacy p { color: var(--muted); }

.tp-company { background: #f4f7fb; color: #102033; border-radius: 26px; padding: 38px; }
.tp-company__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-block-end: 24px; }
.tp-company h2 { color: #06101c; font-size: 1.7rem; margin-block-end: 6px; }
.tp-company__head p { color: #42566e; }
.tp-company__head img { width: 220px; }
.tp-company__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid #d5deea; }
.tp-company__list div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid #d5deea; }
.tp-company__list dt { font-weight: 700; color: #24364d; }
.tp-company__list dd { color: #06101c; font-weight: 600; overflow-wrap: anywhere; }
.tp-company__list a { color: #0b5cab; }
[dir="rtl"] .tp-company__list dd[dir="ltr"] { text-align: end; }

/* Final CTA */
.tp-final { padding-block: 40px 90px; }
.tp-final__box { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(46, 196, 255, 0.22), transparent 70%), linear-gradient(180deg, rgba(16, 32, 60, 0.9), rgba(8, 18, 34, 0.95)); border: 1px solid var(--line-strong); border-radius: 30px; padding: 56px 24px; }
.tp-final__box img { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 20px; }
.tp-final__box h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-block-end: 12px; }
.tp-final__box > p { color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.tp-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-block-start: 28px; }
.tp-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.tp-contact a:hover { color: var(--cyan); }

/* Footer */
.lf { border-top: 1px solid var(--line); padding-block: 40px 28px; color: var(--muted); font-size: 0.92rem; }
.lf__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.lf__brand img { height: 34px; width: auto; margin-block-end: 12px; }
.lf__links { display: grid; gap: 8px; }
.lf__links a, .lf__contact a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.lf__links a:hover, .lf__contact a:hover { color: var(--white); }
.lf__contact { display: grid; gap: 8px; }
.lf__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-block-start: 28px; padding-block-start: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* Responsive */
@media (max-width: 1199px) {
  .lh__nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: rgba(6, 16, 28, 0.97); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; }
  .lh__nav.is-open { display: flex; }
  .lh__nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lh__nav-actions { display: flex; gap: 10px; padding-block-start: 14px; }
  .lh__nav-actions a { flex: 1; border-bottom: 0; padding: 11px 14px; }
  .lh__end { margin-inline-start: auto; }
  .lh__action { display: none; }
  .lh__toggle { display: inline-flex; }
  .lh { background: rgba(6, 16, 28, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
@media (max-width: 1100px) {
  .tp-plans { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .tp-hero__grid, .tp-ai-grid, .tp-faq-grid, .tp-provider { grid-template-columns: 1fr; }
  .tp-hero__grid { gap: 40px; }
  .tp-channels, .tp-features, .tp-steps { grid-template-columns: repeat(2, 1fr); }
  .tp-company__list { grid-template-columns: 1fr; }
  .lf__grid { grid-template-columns: 1fr 1fr; }
  .tp-head--start { text-align: center; margin-inline: auto; }
}
@media (max-width: 640px) {
  .lw { width: calc(100% - 32px); }
  .lh__bar { min-height: 66px; gap: 10px; }
  .lh__q2t { height: 26px; }
  .lh__product span { display: none; }
  .tp-section { padding-block: 52px; }
  .tp-hero { padding-block: 32px 48px; }
  .tp-channels, .tp-features, .tp-steps, .tp-plans { grid-template-columns: 1fr; }
  .tp-actions .lb { flex: 1 1 100%; }
  .tp-company { padding: 26px 20px; }
  .tp-company__list div { grid-template-columns: 1fr; gap: 2px; }
  .tp-provider__statement, .tp-provider__card, .tp-privacy { padding: 24px; }
  .lf__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tp-voice__wave i { animation: none; }
  .lb { transition: none; }
}
