/* Alpha Group landing site — shared styles for index, privacy and terms */
:root {
  --night: #0e1317;
  --night-2: #161d23;
  --night-3: #1f2830;
  --ink: #151b20;
  --text: #2a3239;
  --muted: #69757f;
  --line: #e7ebee;
  --cream: #fff8f1;
  --bg: #f7f8fa;
  --white: #ffffff;
  --orange: #ff7a1a;
  --orange-2: #f25c05;
  --orange-3: #c2410c;
  --peach: #ffd2ad;
  --soft: #fff1e6;
  --green: #16a34a;
  --display: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 18px 50px rgba(15, 23, 30, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); font-family: var(--body); line-height: 1.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.3; }
a { color: var(--orange-3); }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 22px; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 16px; font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-orange { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 14px 30px rgba(242, 92, 5, .35); }
.btn-orange:hover { box-shadow: 0 18px 38px rgba(242, 92, 5, .45); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-white { color: var(--orange-3); background: #fff; }
.btn-dark { color: #fff; background: var(--ink); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(14, 19, 23, .82); border-bottom: 1px solid rgba(255, 255, 255, .07); backdrop-filter: blur(16px); }
.site-head.light { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.logo img { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.logo span { font: 800 19px/1 var(--display); letter-spacing: .2px; }
.logo b { color: var(--orange); }
.light .logo { color: var(--ink); }
.menu { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.menu a { padding: 9px 13px; border-radius: 11px; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.light .menu a { color: var(--muted); }
.light .menu a:hover, .light .menu a[aria-current="page"] { color: var(--orange-3); background: var(--soft); }
.head-cta { padding: 11px 20px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; margin-inline-start: auto; border: 1px solid rgba(255, 255, 255, .18); border-radius: 13px; color: #fff; background: rgba(255, 255, 255, .06); cursor: pointer; }
.light .burger { color: var(--ink); border-color: var(--line); background: #fff; }
.burger svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 420px at 85% -10%, rgba(255, 122, 26, .38), transparent 70%),
  radial-gradient(520px 380px at 5% 105%, rgba(242, 92, 5, .22), transparent 70%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 46px 46px,
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 46px 46px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding: 84px 22px 110px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; color: var(--peach); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; }
.badge i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-style: normal; font-size: 12px; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.2px; }
.hero h1 .hl { color: transparent; background: linear-gradient(90deg, #ffb27a, var(--orange)); -webkit-background-clip: text; background-clip: text; }
.hero .lead { max-width: 560px; margin: 0 0 32px; color: rgba(255, 255, 255, .72); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--orange); }

/* phone mockup */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.stage::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(rgba(255, 122, 26, .35), transparent 65%); filter: blur(10px); }
.phone { position: relative; width: 290px; height: 590px; padding: 11px; border-radius: 46px; background: linear-gradient(160deg, #2b343c, #0b0f12); box-shadow: 0 50px 90px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12); transform: rotate(-3deg); }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #f5f6f8; color: var(--ink); font-size: 11px; line-height: 1.5; }
.notch { position: absolute; top: 8px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 99px; background: #0b0f12; z-index: 3; }
.s-head { padding: 44px 16px 18px; color: #fff; background: linear-gradient(135deg, #b8470b, #3a2a22 60%, #1d252b); border-radius: 0 0 24px 24px; }
.s-head small { color: rgba(255, 255, 255, .7); }
.s-head b { display: block; margin: 2px 0 12px; font: 800 18px/1.3 var(--display); }
.s-search { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 12px; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .13); }
.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.s-stats div { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .09); }
.s-stats strong { display: block; font-size: 15px; }
.s-card { margin: 12px 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.s-cover { height: 58px; background: linear-gradient(120deg, #f25c05, #ffb020); }
.s-cover.b { background: linear-gradient(120deg, #2b3a48, #f25c05); }
.s-body { padding: 8px 11px 10px; }
.s-body b { display: block; font-size: 12.5px; }
.s-row { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.s-pill { padding: 2px 8px; border-radius: 99px; color: var(--green); background: #e7f6ec; font-size: 9.5px; font-weight: 700; }
.s-bar { width: 70px; height: 5px; border-radius: 99px; background: #eef1f3; overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--orange); }
.s-nav { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-around; padding: 9px 6px 14px; border-top: 1px solid var(--line); background: #fff; font-size: 9.5px; color: var(--muted); }
.s-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.s-nav span.on { color: var(--orange-2); font-weight: 700; }
.s-nav svg { width: 17px; height: 17px; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); font-size: 13px; animation: bob 5s ease-in-out infinite; }
.float i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; font-style: normal; font-weight: 800; }
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--muted); }
.float.one { top: 70px; inset-inline-start: -10px; }
.float.one i { color: var(--green); background: #e7f6ec; }
.float.two { bottom: 92px; inset-inline-end: -16px; animation-delay: -2.5s; }
.float.two i { color: var(--orange-2); background: var(--soft); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }
.head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 12px; padding: 5px 14px; border-radius: 99px; color: var(--orange-3); background: var(--soft); font-size: 14px; font-weight: 700; }
.head h2 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; }
.head p { margin: 0; color: var(--muted); font-size: 18px; }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.tile.w3 { grid-column: span 3; }
.tile.w2 { grid-column: span 2; }
.tile.dark { color: #fff; border: 0; background: linear-gradient(150deg, var(--night-3), var(--night)); }
.tile.hot { color: #fff; border: 0; background: linear-gradient(150deg, var(--orange), var(--orange-3)); }
.ico { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 20px; border-radius: 18px; color: var(--orange-2); background: var(--soft); }
.dark .ico, .hot .ico { color: #fff; background: rgba(255, 255, 255, .14); }
.ico svg { width: 28px; height: 28px; }
.tile h3 { margin: 0 0 8px; color: var(--ink); font-size: 21px; font-weight: 800; }
.dark h3, .hot h3 { color: #fff; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.dark p, .hot p { color: rgba(255, 255, 255, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; }
.tile:not(.dark):not(.hot) .chips span { color: var(--orange-3); background: var(--soft); }

/* audiences */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.aud { padding: 38px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aud.dark { color: #fff; border: 0; background: radial-gradient(500px 300px at 100% 0, rgba(255, 122, 26, .25), transparent 70%), var(--night-2); }
.aud .tag { display: inline-block; padding: 5px 13px; border-radius: 99px; color: var(--orange-3); background: var(--soft); font-size: 13.5px; font-weight: 700; }
.aud.dark .tag { color: var(--peach); background: rgba(255, 255, 255, .08); }
.aud h3 { margin: 14px 0 6px; font-size: 27px; font-weight: 800; color: var(--ink); }
.aud.dark h3 { color: #fff; }
.aud > p { margin: 0 0 22px; color: var(--muted); font-size: 16.5px; }
.aud.dark > p { color: rgba(255, 255, 255, .7); }
.list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; }
.list li::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; margin-top: 3px; border-radius: 8px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat; }
.aud.dark .list li::before { background-color: var(--orange); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 18px; color: transparent; font: 800 48px/1 var(--display); -webkit-text-stroke: 1.5px var(--orange); }
.step h3 { margin: 0 0 6px; color: var(--ink); font-size: 21px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; color: var(--ink); font: 700 17.5px/1.5 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--orange-3); background: var(--soft); font: 700 20px/1 var(--body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* cta */
.cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 54px; border-radius: 34px; color: #fff; background: radial-gradient(600px 300px at 0 100%, rgba(255, 210, 173, .25), transparent 70%), linear-gradient(130deg, var(--orange-2), #8f340a 70%, #3a2a22); box-shadow: 0 30px 60px rgba(194, 65, 12, .3); }
.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 17px; }

/* ---------- legal pages ---------- */
.legal-hero { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0, rgba(255, 122, 26, .3), transparent 70%), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 46px 46px, linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 46px 46px; }
.legal-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 16px; color: rgba(255, 255, 255, .55); font-size: 14px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.legal-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; }
.legal-hero p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 17px; }
.switch { display: inline-flex; gap: 4px; margin-top: 26px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.switch a { padding: 10px 20px; border-radius: 12px; color: rgba(255, 255, 255, .78); font-weight: 700; text-decoration: none; }
.switch a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 8px 18px rgba(242, 92, 5, .35); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.meta span { padding: 6px 13px; border-radius: 99px; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .07); font-size: 13.5px; }
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: -32px; padding-bottom: 90px; position: relative; z-index: 2; }
.toc { position: sticky; top: 96px; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.toc b { display: block; margin-bottom: 10px; color: var(--ink); font: 800 16px/1.4 var(--display); }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: 14.5px; text-decoration: none; }
.toc a::before { content: counter(t); display: grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: var(--orange-3); background: var(--soft); font-size: 12px; font-weight: 700; }
.toc a:hover { color: var(--ink); background: var(--bg); }
.doc { padding: 42px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc h2 { display: flex; align-items: center; gap: 12px; margin: 40px 0 12px; color: var(--ink); font-size: 23px; font-weight: 800; scroll-margin-top: 100px; }
.doc h2:first-of-type { margin-top: 0; }
.doc h2 .n { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); font: 800 16px/1 var(--display); }
.doc p, .doc li { color: #3b4650; font-size: 16.5px; }
.doc ul { margin: 8px 0; padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--orange); }
.callout { display: flex; gap: 14px; margin: 18px 0; padding: 18px 20px; border-radius: 18px; color: #7c2d12; background: var(--soft); border: 1px solid #ffe0c7; }
.callout svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--orange-2); margin-top: 2px; }
.callout p { margin: 0; color: inherit; }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 34px; }
.summary div { padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.summary b { display: block; margin-bottom: 4px; color: var(--ink); font: 800 16px/1.4 var(--display); }
.summary span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- footer ---------- */
.foot { color: rgba(255, 255, 255, .66); background: var(--night); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-top: 64px; padding-bottom: 40px; }
.foot .logo { margin-bottom: 14px; }
.foot p { margin: 0; max-width: 320px; font-size: 15px; }
.foot h4 { margin: 0 0 14px; color: #fff; font-size: 16px; font-weight: 800; }
.foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.foot a { color: rgba(255, 255, 255, .66); text-decoration: none; }
.foot a:hover { color: var(--peach); }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.foot-bar a { color: var(--peach); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 80px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .actions, .trust { justify-content: center; }
  .stage { min-height: 520px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.w3, .tile.w2 { grid-column: span 1; }
  .tile.wide-m { grid-column: 1 / -1; }
  .duo, .steps { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); margin-top: -24px; }
  .toc { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu, .head-cta { display: none; }
  .burger { display: grid; place-items: center; }
  .site-head.open .menu { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 4px; padding: 12px 22px 20px; background: var(--night-2); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-head.light.open .menu { background: #fff; border-bottom-color: var(--line); }
  .site-head.open .menu a { padding: 13px 14px; font-size: 16px; }
  .site-head.open .menu .menu-cta { display: inline-flex; margin-top: 6px; color: #fff; }
}
@media (min-width: 861px) { .menu .menu-cta { display: none; } }
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .head { margin-bottom: 38px; }
  .hero .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .stage { min-height: 500px; }
  .phone { transform: scale(.92) rotate(-3deg); }
  .float.one { inset-inline-start: 0; }
  .float.two { inset-inline-end: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 26px; }
  .aud { padding: 28px 24px; }
  .cta { padding: 36px 26px; border-radius: 28px; }
  .cta .actions { width: 100%; }
  .doc { padding: 26px 20px; }
  .summary { grid-template-columns: minmax(0, 1fr); }
  .switch { display: flex; }
  .switch a { flex: 1; text-align: center; padding: 10px 8px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .btn { transition: none; }
}
.nowrap { white-space: nowrap; }
