/* ========================================================= Dealix Landing v2 — Production CSS RTL-first · Arabic-native · accessible ========================================================= */ /* ---------- Tokens ---------- */ :root { --font-ar: "IBM Plex Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif; --font-lt: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif; --ink-900: #0b1220; --ink-800: #0f172a; --ink-700: #1e293b; --ink-600: #334155; --ink-500: #475569; --ink-400: #64748b; --ink-300: #94a3b8; --ink-200: #cbd5e1; --ink-100: #e2e8f0; --ink-50: #f1f5f9; --bg: #ffffff; --bg-muted: #f8fafc; --bg-soft: #f1f5f9; --surface: #ffffff; --border: #e2e8f0; --border-strong: #cbd5e1; --text: var(--ink-900); --text-muted: var(--ink-500); --accent: #0ea5e9; /* cyan-500 */ --accent-2: #22d3ee; /* cyan-400 */ --accent-ink:#0c4a6e; --success: #10b981; --warn: #f59e0b; --danger: #ef4444; --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-xl: 28px; --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05); --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06); --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08); --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.2); --maxw: 1200px; --gutter: clamp(16px, 4vw, 40px); --ease: cubic-bezier(0.2, 0.8, 0.2, 1); } [data-theme="dark"] { --bg: #0a0f1c; --bg-muted: #0f172a; --bg-soft: #111a2e; --surface: #0f172a; --border: #1f2a44; --border-strong: #334155; --text: #e6edf7; --text-muted:#94a3b8; --accent: #22d3ee; --accent-2: #67e8f9; --accent-ink:#155e75; --shadow-sm: 0 4px 12px rgba(0,0,0,0.3); --shadow-md: 0 10px 28px rgba(0,0,0,0.35); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.6); } /* ---------- Reset ---------- */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } body { margin: 0; font-family: var(--font-ar); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } img, svg { display: block; max-width: 100%; } a { color: inherit; text-decoration: none; } button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; } /* A11y helpers */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } .skip-link:focus { position: fixed; top: 12px; right: 12px; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 8px; width: auto; height: auto; clip: auto; z-index: 1000; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; } /* ---------- Layout ---------- */ .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); } .section { padding-block: clamp(64px, 8vw, 120px); } .section--muted { background: var(--bg-muted); } .section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); } .section__title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -0.02em; margin: 8px 0 12px; font-weight: 700; } .section__lede { color: var(--text-muted); font-size: clamp(15px, 1.4vw, 18px); margin: 0; } .kicker { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, transparent); } .kicker--invert { color: var(--bg); background: color-mix(in srgb, var(--bg) 18%, transparent); border-color: color-mix(in srgb, var(--bg) 30%, transparent); } /* ---------- Announce bar ---------- */ .announce { background: linear-gradient(90deg, var(--ink-900), var(--ink-800)); color: #e0f2fe; font-size: 13.5px; } .announce__inner { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 9px 0; } .announce__cta { color: var(--accent-2); font-weight: 600; } .pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; position: relative; } .pulse::after { content:""; position:absolute; inset:-3px; border-radius:50%; background:#22c55e; opacity:.4; animation: pulse 1.8s ease-out infinite; } .pulse--small { width:6px; height:6px; } @keyframes pulse { 0% { transform: scale(.8); opacity:.6; } 100% { transform: scale(2.2); opacity: 0; } } /* ---------- Nav ---------- */ .nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--border); } .nav__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; } .nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text); } .nav__logo { width: 32px; height: 32px; color: var(--accent); } .nav__wordmark { font-family: var(--font-lt); font-weight: 700; } .nav__links { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; font-size: 14.5px; color: var(--text-muted); } .nav__links a:hover { color: var(--text); } .nav__status-link { display: inline-flex; align-items: center; gap: 6px; } .nav__actions { display: flex; align-items: center; gap: 10px; } .icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); border: 1px solid var(--border); } .icon-btn:hover { color: var(--text); background: var(--bg-muted); } .icon-btn--menu { display: none; } @media (max-width: 900px) { .nav__links { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; padding: 16px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--border); display: none; } .nav__links.is-open { display: flex; } .icon-btn--menu { display: inline-flex; } } /* ---------- Buttons ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14.5px; line-height: 1; transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; border: 1px solid transparent; white-space: nowrap; text-align: center; } .btn--sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; } .btn--lg { padding: 15px 26px; font-size: 15.5px; } .btn--block { display: flex; width: 100%; } .btn--primary { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-sm); } .btn--primary:hover { background: var(--ink-800); transform: translateY(-1px); box-shadow: var(--shadow-md); } [data-theme="dark"] .btn--primary { background: var(--accent); color: var(--ink-900); } [data-theme="dark"] .btn--primary:hover { background: var(--accent-2); } .btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); } .btn--ghost:hover { background: var(--bg-muted); border-color: var(--text-muted); } .btn.is-loading .btn__spinner { display: inline-block; } .btn.is-loading .btn__label { opacity: 0.6; } .btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; } /* ---------- Chips / Pills ---------- */ .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); } [data-theme="dark"] .chip { color: var(--accent-2); } .chip--muted { background: var(--bg-muted); color: var(--text-muted); border-color: var(--border); } /* ---------- HERO ---------- */ .hero { position: relative; padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; } .hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; } .hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.35; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%); } .hero__glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .5; } .hero__glow--a { top: -180px; inset-inline-start: -180px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); } .hero__glow--b { bottom: -220px; inset-inline-end: -160px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%); opacity: .35; } .hero__inner { max-width: 920px; text-align: center; margin: 0 auto; } .hero__eyebrow { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; } .hero__title { font-size: clamp(32px, 5.2vw, 64px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 20px; background: linear-gradient(180deg, var(--text) 0%, color-mix(in srgb, var(--text) 70%, transparent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero__sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8; color: var(--text-muted); max-width: 720px; margin: 0 auto 32px; } .hero__sub strong { color: var(--text); font-weight: 600; } .hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; } /* Trust bar */ .trust-bar { display: inline-flex; align-items: center; gap: 24px; padding: 16px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); flex-wrap: wrap; justify-content: center; margin-bottom: 28px; } .trust-bar__item { text-align: center; display: flex; flex-direction: column; gap: 2px; min-width: 72px; } .trust-bar__num { font-size: 22px; font-weight: 700; font-family: var(--font-lt); letter-spacing: -0.02em; } .trust-bar__label { font-size: 12px; color: var(--text-muted); } .trust-bar__div { width: 1px; height: 28px; background: var(--border); } .trust-bar__link { font-size: 13px; color: var(--accent); font-weight: 600; padding-inline-start: 12px; border-inline-start: 1px solid var(--border); } .trust-bar__link:hover { text-decoration: underline; } /* Anti-claim row */ .hero__anti { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; color: var(--text-muted); font-size: 13.5px; } .anti-pill { opacity: .65; } .anti-pill--accent { color: var(--text); font-weight: 600; opacity: 1; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); } .anti-sep { color: var(--text-muted); opacity: .4; } /* ---------- Pillars ---------- */ .pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; } .pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; } .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); } .pillar__icon { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; } .pillar__icon svg { width: 22px; height: 22px; } .pillar h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; } .pillar > p { color: var(--text-muted); margin: 0 0 16px; } .pillar__list { padding: 0; margin: 0; list-style: none; } .pillar__list li { position: relative; padding-inline-start: 22px; font-size: 14.5px; color: var(--text); padding-block: 6px; } .pillar__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } /* ---------- ICP cards ---------- */ .icps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; } .icp { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease); } .icp:hover { border-color: var(--accent); transform: translateY(-2px); } .icp--highlight { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); } .icp__tag { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--bg-muted); color: var(--text-muted); margin-bottom: 14px; } .icp__title { font-size: 18px; margin: 0 0 8px; font-weight: 700; } .icp > p { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; } .icp__pains { padding: 0; margin: 0 0 20px; list-style: none; font-size: 14px; } .icp__pains li { padding: 7px 0; border-bottom: 1px dashed var(--border); color: var(--text); } .icp__pains li:last-child { border-bottom: 0; } .icp__link { margin-top: auto; font-weight: 600; font-size: 13.5px; color: var(--accent); } .icp__link:hover { text-decoration: underline; } /* ---------- Tabs / Sectors ---------- */ .tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; padding: 6px; background: var(--bg-muted); border-radius: 999px; width: max-content; max-width: 100%; margin-inline: auto; border: 1px solid var(--border); } .tab { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted); transition: background .2s, color .2s; } .tab:hover { color: var(--text); } .tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); } .tab-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); } .tab-panel[hidden] { display: none; } .tab-panel h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; } .tab-panel__lede { color: var(--text-muted); margin: 0 0 28px; font-size: 15.5px; } .painlist { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .painlist > div { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); } .pain-num { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink-900); color: #fff; border-radius: 50%; font-weight: 700; font-family: var(--font-lt); } [data-theme="dark"] .pain-num { background: var(--accent); color: var(--ink-900); } /* ---------- Pipeline ---------- */ .pipeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: pipe; } .step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; transition: border-color .2s, transform .2s var(--ease); } .step:hover { border-color: var(--accent); transform: translateY(-2px); } .step__num { width: 32px; height: 32px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-lt); margin-bottom: 12px; } .step h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; } .step p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.55; } .how__callout { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); } .how__callout svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; } .how__callout p { margin: 0; font-size: 14.5px; } /* ---------- Trust cards ---------- */ .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } .trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; } .trust-card__head { margin-bottom: 12px; } .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; } .tag--live { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); } .tag--designed { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); } [data-theme="dark"] .tag--designed { color: var(--accent-2); } .tag--roadmap { background: color-mix(in srgb, var(--warn) 16%, transparent); color: #a16207; } .trust-card h3 { margin: 0 0 8px; font-size: 17px; } .trust-card p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; } .trust-note { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-size: 13.5px; } .trust-note svg { color: var(--warn); flex-shrink: 0; margin-top: 2px; } .trust-note a { color: var(--accent); font-weight: 600; } /* ---------- Plans ---------- */ .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } .plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; } .plan--highlight { border: 2px solid var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--surface)) 0%, var(--surface) 100%); } .plan__badge { position: absolute; top: -10px; inset-inline-start: 20px; background: var(--accent); color: var(--ink-900); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; } .plan h3 { margin: 0; font-size: 22px; font-weight: 700; } .plan__desc { margin: 0; color: var(--text-muted); font-size: 13.5px; } .plan__list { padding: 0; margin: 0; list-style: none; font-size: 14px; } .plan__list li { padding: 6px 0 6px 0; padding-inline-start: 24px; position: relative; } .plan__list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 6px; color: var(--accent); font-weight: 700; } .plans__note { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--text-muted); } /* ---------- Proof ---------- */ .proof { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr; align-items: center; } @media (max-width: 820px) { .proof { grid-template-columns: 1fr; } } .proof__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; margin: 12px 0 14px; letter-spacing: -0.02em; font-weight: 700; } .proof__lede { color: var(--text-muted); margin: 0 0 20px; } .proof__list { padding: 0; margin: 0 0 28px; list-style: none; } .proof__list li { padding-block: 6px; padding-inline-start: 22px; position: relative; } .proof__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } .proof__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); } .proof__card-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; } .proof__stats { display: grid; gap: 14px; margin: 0; } .proof__stats > div { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed var(--border); } .proof__stats > div:last-child { border-bottom: 0; } .proof__stats dt { color: var(--text-muted); font-size: 13.5px; margin: 0; } .proof__stats dd { margin: 0; font-weight: 700; font-size: 20px; font-family: var(--font-lt); } .proof__link { display: block; margin-top: 20px; font-weight: 600; color: var(--accent); } .proof__link:hover { text-decoration: underline; } /* ---------- Partners ---------- */ .partners { text-align: center; } .partners__title { font-size: clamp(22px, 2.8vw, 30px); margin: 10px 0 8px; font-weight: 700; } .partners__lede { color: var(--text-muted); margin: 0 0 30px; } .partners__slots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); max-width: 900px; margin: 0 auto; } .partner-slot { height: 80px; display: grid; place-items: center; background: var(--surface); border: 1.5px dashed var(--border-strong); border-radius: var(--radius); color: var(--text-muted); font-size: 13.5px; font-weight: 500; } /* ---------- FAQ ---------- */ .faq { max-width: 820px; margin: 0 auto; } .faq__list { display: flex; flex-direction: column; gap: 10px; } .faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; transition: border-color .2s; } .faq__item[open] { border-color: var(--accent); } .faq__item summary { padding: 16px 0; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; } .faq__item summary::-webkit-details-marker { display: none; } .faq__item summary::after { content: "+"; color: var(--accent); font-weight: 700; transition: transform .2s; } .faq__item[open] summary::after { content: "—"; } .faq__item p { margin: 0 0 18px; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; } /* ---------- CTA form ---------- */ .cta-section { background: linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 100%); color: #e6edf7; } .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } @media (max-width: 900px) { .cta { grid-template-columns: 1fr; } } .cta__copy .kicker { color: var(--accent-2); background: rgba(34, 211, 238, 0.1); border-color: rgba(34,211,238,0.3); } .cta__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; margin: 14px 0 14px; letter-spacing: -0.02em; font-weight: 700; color: #fff; } .cta__lede { color: #cbd5e1; margin: 0 0 22px; font-size: 15.5px; line-height: 1.7; } .cta__bullets { padding: 0; margin: 0; list-style: none; } .cta__bullets li { padding: 8px 0 8px 0; padding-inline-start: 26px; position: relative; color: #e2e8f0; } .cta__bullets li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent-2); font-weight: 700; } .cta-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(8px); } .cta-form__title { margin: 0 0 20px; font-size: 20px; color: #fff; font-weight: 700; } .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } } .field label { font-size: 13px; color: #cbd5e1; font-weight: 500; } .field label .optional { font-weight: 400; color: #94a3b8; font-size: 12px; } .field input, .field select, .field textarea { font: inherit; font-size: 14.5px; padding: 11px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; color: #fff; transition: border-color .2s, background .2s; font-family: var(--font-ar); } .field input::placeholder, .field textarea::placeholder { color: #64748b; } .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,0.08); } .field select { appearance: none; background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-position: left 12px center; padding-inline-start: 34px; } .field textarea { resize: vertical; min-height: 80px; } .field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); } .hp { position: absolute; left: -9999px; top: -9999px; } .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #cbd5e1; margin: 8px 0 16px; line-height: 1.5; } .consent input { margin-top: 3px; accent-color: var(--accent); } .form-response { margin: 12px 0 0; font-size: 14px; min-height: 22px; } .form-response.is-success { color: #4ade80; } .form-response.is-error { color: #f87171; } .form-foot { font-size: 12px; color: #94a3b8; margin: 8px 0 0; text-align: center; } /* ---------- Footer ---------- */ .footer { background: var(--bg-muted); border-top: 1px solid var(--border); padding: 64px 0 24px; color: var(--text-muted); } .footer__inner { display: grid; gap: 32px; grid-template-columns: 1fr 2fr; } @media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr; } } .footer__brand { max-width: 300px; } .footer__tag { font-size: 13.5px; margin: 12px 0 0; } .footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .footer__cols h4 { font-size: 14px; margin: 0 0 12px; color: var(--text); font-weight: 700; } .footer__cols ul { padding: 0; margin: 0; list-style: none; font-size: 13.5px; } .footer__cols li { padding: 4px 0; } .footer__cols a:hover { color: var(--text); } .footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12.5px; } .footer__bottom p { margin: 0; } .footer__note a { color: var(--accent); } /* ---------- Consent banner ---------- */ .consent-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 200; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; max-width: 680px; margin-inline: auto; animation: slideup .4s var(--ease); } .consent-banner[hidden] { display: none; } @keyframes slideup { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .consent-banner__inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0; } .consent-banner strong { display: block; font-size: 14px; color: var(--text); } .consent-banner p { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); max-width: 440px; } .consent-banner__actions { display: flex; gap: 8px; flex-shrink: 0; } /* ---------- Status page ---------- */ .status-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--border); } .status-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.02em; } .status-hero__lede { color: var(--text-muted); margin: 0; max-width: 720px; font-size: 15.5px; } .status-summary { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .status-sum-card { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); } .status-sum-card__num { font-size: 30px; font-weight: 700; font-family: var(--font-lt); letter-spacing: -0.02em; } .status-sum-card__label { font-size: 12.5px; color: var(--text-muted); } .status-sum-card--live .status-sum-card__num { color: var(--success); } .status-sum-card--partial .status-sum-card__num { color: var(--warn); } .status-sum-card--target .status-sum-card__num { color: var(--text-muted); } .status-cat { margin-top: 48px; } .status-cat h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); } .status-list { display: grid; gap: 10px; } .status-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) 110px 2fr; gap: 18px; align-items: center; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); } @media (max-width: 680px) { .status-row { grid-template-columns: 1fr; gap: 8px; } } .status-row__name { font-weight: 600; font-size: 15px; } .status-row__desc { font-size: 13.5px; color: var(--text-muted); } .status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; width: max-content; } .status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; } .status-pill--live { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); } .status-pill--live::before { background: var(--success); } .status-pill--partial { background: color-mix(in srgb, var(--warn) 16%, transparent); color: #a16207; } .status-pill--partial::before { background: var(--warn); } .status-pill--pilot { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); } .status-pill--pilot::before { background: var(--accent); } .status-pill--target { background: var(--bg-muted); color: var(--text-muted); } .status-pill--target::before { background: var(--ink-300); } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } } /* Print */ @media print { .announce, .nav, .consent-banner, .cta-section, .footer { display: none; } .section { padding-block: 40px; } } /* ================================================ LIVE CHAT DEMO (Saudi dialect showcase) ================================================ */ .hero__demo { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: center; } .chat-demo { width: min(560px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; direction: rtl; } .chat-demo__header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(180deg, var(--bg-muted) 0%, var(--surface) 100%); border-bottom: 1px solid var(--border); } .chat-demo__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; font-family: var(--font-lt); flex-shrink: 0; } .chat-demo__meta { flex: 1; min-width: 0; } .chat-demo__name { font-weight: 700; font-size: 15px; color: var(--text); } .chat-demo__status { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; } .chat-demo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); animation: chatDotPulse 2s infinite; } @keyframes chatDotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } .chat-demo__time { font-size: 11px; color: var(--accent); font-weight: 600; white-space: nowrap; } .chat-demo__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; background: var(--bg); } .chat-msg { display: flex; max-width: 82%; animation: chatSlide 0.4s var(--ease) both; } .chat-msg--user { margin-inline-start: auto; justify-content: flex-start; } .chat-msg--bot { margin-inline-end: auto; justify-content: flex-end; } .chat-msg__bubble { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.6; word-wrap: break-word; } .chat-msg--user .chat-msg__bubble { background: var(--ink-100); color: var(--text); border-bottom-right-radius: 6px; } [data-theme="dark"] .chat-msg--user .chat-msg__bubble { background: var(--ink-700); color: var(--text); } .chat-msg--bot .chat-msg__bubble { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2); } .chat-msg--bot .chat-msg__bubble a { color: white; text-decoration: underline; font-weight: 600; } @keyframes chatSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } /* Stagger animations */ .chat-demo__body .chat-msg:nth-child(1) { animation-delay: 0.1s; } .chat-demo__body .chat-msg:nth-child(2) { animation-delay: 0.3s; } .chat-demo__body .chat-msg:nth-child(3) { animation-delay: 0.5s; } .chat-demo__body .chat-msg:nth-child(4) { animation-delay: 0.7s; } .chat-demo__body .chat-msg:nth-child(5) { animation-delay: 0.9s; } .chat-demo__body .chat-msg:nth-child(6) { animation-delay: 1.1s; } .chat-demo__body .chat-msg:nth-child(7) { animation-delay: 1.3s; } .chat-demo__body .chat-msg:nth-child(8) { animation-delay: 1.5s; } .chat-demo__foot { padding: 12px 18px; background: var(--bg-muted); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .chat-demo__badge { font-size: 11px; color: var(--text-muted); font-weight: 500; } .chat-demo__cta { font-size: 13px; color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform 0.2s var(--ease); } .chat-demo__cta:hover { transform: translateX(-3px); } /* Mobile adjustments */ @media (max-width: 640px) { .chat-demo__body { max-height: 380px; } .chat-msg { max-width: 88%; } .chat-msg__bubble { font-size: 13px; padding: 9px 12px; } .chat-demo__foot { flex-direction: column; align-items: stretch; text-align: center; } } /* ============================================================ */ /* PROSPECTOR (LIVE LEAD MACHINE) */ /* ============================================================ */ .prospector { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04); } .prospector__form { display: grid; gap: 16px; } .prospector__field { display: grid; gap: 6px; } .prospector__field label { font-size: 14px; font-weight: 600; color: var(--text); } .prospector__field textarea, .prospector__field select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; resize: vertical; transition: border-color 0.15s, box-shadow 0.15s; } .prospector__field textarea:focus, .prospector__field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12); } .prospector__row { display: grid; grid-template-columns: 2fr 1fr auto; gap: 14px; align-items: end; } .prospector__field--submit { align-self: end; } .prospector__field--submit .btn { height: 46px; min-width: 140px; } .prospector__note { font-size: 13px; color: var(--muted); margin: 0; } .prospector__status { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #fff8e1; color: #8a6d1e; font-size: 14px; border: 1px solid #f3d37b; } .prospector__status--error { background: #fdecea; color: #a91e1e; border-color: #f5b7b0; } .prospector__status--loading { background: #eaf4ff; color: #0959b1; border-color: #9cc4ec; } .prospector__results { margin-top: 24px; } .prospector__results-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; } .prospector__results-head h3 { margin: 0; font-size: 18px; } .prospector__count { font-size: 13px; color: var(--muted); } .prospector__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } .prospector-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; } .prospector-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .prospector-card__name { margin: 0; font-size: 17px; font-weight: 700; } .prospector-card__name-en { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; } .prospector-card__score { background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; } .prospector-card__meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; } .prospector-card__meta span { background: var(--surface); padding: 3px 8px; border-radius: 6px; } .prospector-card__section { font-size: 14px; } .prospector-card__section h4 { margin: 0 0 4px 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; } .prospector-card__section ul { margin: 0; padding: 0 16px 0 0; list-style: disc inside; } .prospector-card__opening { background: #f5f8ff; border-right: 3px solid var(--accent); padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.55; } .prospector-card__links { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border); font-size: 13px; } .prospector-card__links a { color: var(--accent); text-decoration: none; font-weight: 600; } .prospector-card__links a:hover { text-decoration: underline; } .prospector__notes { margin-top: 18px; padding: 10px 12px; background: var(--surface); border-radius: 8px; font-size: 13px; color: var(--muted); border: 1px dashed var(--border); } /* Dark mode overrides */ [data-theme="dark"] .prospector__status { background: #3a3215; color: #ffe3a6; border-color: #6b5a22; } [data-theme="dark"] .prospector__status--error { background: #3a1818; color: #ffb8b8; border-color: #6b2828; } [data-theme="dark"] .prospector__status--loading { background: #0f2638; color: #aed6ff; border-color: #2d4f75; } [data-theme="dark"] .prospector-card__opening { background: rgba(120, 170, 255, 0.08); } @media (max-width: 720px) { .prospector__row { grid-template-columns: 1fr; } .prospector__field--submit .btn { width: 100%; } }