/* Castmira website styles. Palette and type from the Castmira Brand Guidelines (2026-11-04). */
:root {
  --violet: #7C3AED;
  --night: #3D1270;
  --royal: #6D28D9;
  --iris: #8B5CF6;
  --orchid: #A78BFA;
  --lavender: #C4B5FD;
  --mist: #F3EDFE;
  --white: #FFFFFF;
  --ink: #1E1430;
  --muted: #5B4F70;
  --line: #E4DAFB;
  --radius: 14px;
  --font: "Nunito Sans", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Tajawal", "Nunito Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
a:hover { color: var(--royal); }
.ar { font-family: var(--font-ar); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Preview banner: remove before going live */
.preview-banner {
  background: var(--ink); color: var(--white); text-align: center;
  font-size: 13px; padding: 6px 12px; letter-spacing: .02em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); }
.brand img { width: 40px; height: 40px; }
.brand .name { font-weight: 800; font-size: 22px; letter-spacing: .01em; }
.brand .name-ar { font-family: var(--font-ar); font-weight: 700; font-size: 16px; color: var(--iris); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--violet); }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--night); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-family: var(--font); transition: background .15s, color .15s;
}
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--royal); color: var(--white); }
.btn-light { background: var(--white); color: var(--night); }
.btn-light:hover { background: var(--mist); color: var(--night); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, var(--royal) 0%, transparent 60%), var(--night);
  color: var(--white); padding: 88px 0 96px; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--lavender); margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: #E9E1FD; margin: 0 0 30px; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { justify-self: center; width: min(340px, 80%); filter: drop-shadow(0 20px 50px rgba(0,0,0,.35)); }

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; font-weight: 800; color: var(--night); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--night); }
.card p { margin: 0; color: var(--muted); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: var(--white);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--white); border: 1px solid var(--lavender); color: var(--night); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: var(--radius); padding: 40px; }
.panel h3 { font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.panel ul { padding-left: 20px; margin: 0 0 26px; }
.panel li { margin-bottom: 8px; }
.panel-dark { background: var(--night); color: var(--white); }
.panel-dark li { color: #E9E1FD; }
.panel-light { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.panel-light h3 { color: var(--night); }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--night); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta-band { background: var(--violet); color: var(--white); text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; font-weight: 800; }
.cta-band p { margin: 0 0 26px; color: #F1EAFE; }
.cta-band .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #CFC6E2; padding: 48px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #CFC6E2; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #3A2E52; padding-top: 20px; font-size: 13px; color: #9C90B5; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { color: var(--white); font-weight: 800; font-size: 20px; }

/* Page header for inner pages */
.page-head { background: var(--night); color: var(--white); padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; font-weight: 800; }
.page-head p { margin: 0; color: #E9E1FD; max-width: 640px; font-size: 18px; }

/* Forms */
.form-wrap { max-width: 820px; margin: 0 auto; }
form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 10px;
  margin: 0 0 24px; background: var(--white);
}
form legend { font-weight: 800; color: var(--night); font-size: 19px; padding: 0 8px; }
.fhint { color: var(--muted); font-size: 14px; margin: -4px 0 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .group-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.req { color: var(--violet); }
.field input[type=text], .field input[type=password], .field input[type=email], .field input[type=tel], .field input[type=number],
.field input[type=date], .field input[type=url], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; font-size: 15px; }
.check input { margin-top: 4px; accent-color: var(--violet); width: 17px; height: 17px; flex: none; }
.consent .check { margin-bottom: 12px; }
.small { font-size: 13px; color: var(--muted); }
.photo-slot { border: 1.5px dashed var(--lavender); border-radius: 12px; padding: 14px; background: var(--mist); }
.photo-slot input { font-size: 14px; width: 100%; }
.photo-preview { margin-top: 10px; display: none; width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.form-msg { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; display: none; }
.form-msg.ok { display: block; background: #ECFDF3; border: 1px solid #A6E9C1; color: #14532D; }
.form-msg.err { display: block; background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D; }
.field-error { color: #B91C1C; font-size: 13px; margin-top: 4px; }

/* Legal pages */
.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-doc h2 { color: var(--night); font-size: 22px; margin: 36px 0 10px; }
.legal-doc .draft-note { background: #FFF7E6; border: 1px solid #F5D08A; padding: 14px 18px; border-radius: 10px; font-size: 15px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split, .grid-3, .grid-2, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-mark { width: 200px; order: -1; }
  .hero { padding: 56px 0 64px; }
  section { padding: 56px 0; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
  .row, .row-3 { grid-template-columns: 1fr; }
  form fieldset { padding: 20px 16px 6px; }
  .panel { padding: 28px 22px; }
  .wrap { padding: 0 16px; }
}

/* ===================== v2: young and fun layer ===================== */
:root { --grad: linear-gradient(120deg, #7C3AED 0%, #A78BFA 50%, #6D28D9 100%); --shadow: 0 18px 40px -18px rgba(61,18,112,.45); }
h1, h2, h3 { letter-spacing: -.01em; }
.grad-text { background: linear-gradient(90deg, #C4B5FD, #fff 45%, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-dark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero::before { width: 380px; height: 380px; background: #8B5CF6; left: -120px; bottom: -160px; }
.hero::after { width: 260px; height: 260px; background: #C4B5FD; right: 8%; top: -120px; opacity: .25; }
.hero .wrap { position: relative; z-index: 1; }
.hero-stack { position: relative; height: 420px; justify-self: center; width: 100%; max-width: 400px; }
.polaroid { position: absolute; width: 190px; background: #fff; border-radius: 18px; padding: 10px 10px 14px; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s; }
.polaroid .ph { aspect-ratio: 3/4; border-radius: 12px; display: grid; place-items: center; font-size: 64px; }
.polaroid .cap { font-weight: 800; font-size: 14px; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.polaroid .cap span { font-weight: 700; font-size: 11px; background: var(--mist); color: var(--royal); padding: 3px 8px; border-radius: 999px; }
.polaroid.p1 { left: 0; top: 40px; transform: rotate(-8deg); }
.polaroid.p2 { right: 0; top: 0; transform: rotate(7deg); }
.polaroid.p3 { left: 22%; top: 170px; transform: rotate(-2deg); z-index: 2; }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.ph.g1 { background: linear-gradient(160deg, #C4B5FD, #7C3AED); }
.ph.g2 { background: linear-gradient(160deg, #F3EDFE, #A78BFA); }
.ph.g3 { background: linear-gradient(160deg, #8B5CF6, #3D1270); }
.sticker { position: absolute; z-index: 4; background: #fff; color: var(--night); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.sticker.s1 { right: -6px; bottom: 40px; transform: rotate(-6deg); }
.sticker.s2 { left: -10px; top: 0; transform: rotate(5deg); background: var(--violet); color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span { font-size: 14px; font-weight: 700; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 14px; border-radius: 999px; }

.marquee { background: var(--violet); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; font-weight: 800; font-size: 18px; }
.marquee .track { display: inline-block; animation: scroll 38s linear infinite; }
.marquee .track span { margin: 0 22px; }
.marquee .track span.dot { opacity: .6; margin: 0; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

.card { transition: transform .2s, box-shadow .2s; border-radius: 20px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { font-size: 34px; margin-bottom: 12px; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mist); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); border-color: var(--lavender); }
.cat .emo { font-size: 30px; }
.cat h3 { margin: 8px 0 4px; font-size: 18px; color: var(--night); }
.cat p { margin: 0; font-size: 14px; color: var(--muted); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare th { background: var(--night); color: #fff; font-weight: 800; }
.compare th.us, .compare td.us { background: #F7F2FF; color: var(--night); font-weight: 700; }
.compare thead th.us { background: var(--violet); color: #fff; }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.scam-note { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px dashed var(--lavender); border-radius: 18px; padding: 18px 22px; margin-top: 28px; }
.scam-note .emo { font-size: 26px; }

/* ===================== Sign-up wizard ===================== */
.wizard-top { position: sticky; top: 68px; z-index: 5; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 10px; }
.steps li { flex: 1; height: 8px; border-radius: 999px; background: var(--line); transition: background .3s; }
.steps li.done { background: var(--violet); }
.steps li.now { background: var(--orchid); }
.wizard-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--muted); }
.wizard-meta b { color: var(--night); }
.strength { display: inline-flex; align-items: center; gap: 8px; }
.strength .bar { width: 90px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.strength .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }

.step-panel { display: none; animation: pop .25s ease-out; }
.step-panel.active { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-title { font-size: 28px; font-weight: 800; color: var(--night); margin: 28px 0 4px; }
.step-sub { color: var(--muted); margin: 0 0 22px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 40px; }
.btn-ghost { background: var(--mist); color: var(--night); }
.btn-ghost:hover { background: var(--lavender); color: var(--night); }

.dob { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 10px; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }

/* chips = big tappable multi-select */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; transition: all .15s; user-select: none; }
.chip input:checked + span { background: var(--violet); color: #fff; border-color: var(--violet); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(124,58,237,.3); }

/* Media uploader */
.dropzone { border: 2.5px dashed var(--orchid); border-radius: 22px; background: var(--mist); padding: 30px 20px; text-align: center; transition: background .2s, border-color .2s; }
.dropzone.drag { background: #E9DEFF; border-color: var(--violet); }
.dropzone .big { font-size: 42px; }
.dropzone h4 { margin: 6px 0 4px; font-size: 19px; color: var(--night); }
.dropzone p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.dz-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dz-buttons label { cursor: pointer; }
.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 18px; }
.thumb { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: 0 4px 12px -6px rgba(61,18,112,.4); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(30,20,48,.75); color: #fff; font-size: 16px; cursor: pointer; line-height: 1; }
.thumb .badge { position: absolute; left: 6px; bottom: 6px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.thumb .star { position: absolute; left: 6px; top: 6px; background: rgba(255,255,255,.9); border: 0; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 4px 8px; cursor: pointer; color: var(--night); }
.media-count { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 10px; }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 13px; text-align: center; }
.tip b { display: block; font-size: 22px; }
.link-list .link-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 8px; }
.upload-progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0; display: none; }
.upload-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.success-card { text-align: center; padding: 50px 24px; border-radius: 26px; background: var(--grad); color: #fff; margin: 30px 0 60px; }
.success-card h2 { font-size: 34px; margin: 10px 0; }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .hero-stack { height: 330px; max-width: 330px; } .polaroid { width: 150px; } .tips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .wizard-top { top: 68px; } .step-title { font-size: 24px; } .dob { grid-template-columns: 1fr 1.3fr 1.1fr; } .chip span { padding: 9px 14px; font-size: 14px; } }
[hidden] { display: none !important; }
@media (max-width: 760px) { .wizard-meta { font-size: 13px; } .strength .label { display: none; } .strength .bar { width: 70px; } }

/* v3: lighter hero and page headers (2026-11-04) */
.hero { background: radial-gradient(900px 480px at 85% -10%, #C4B5FD 0%, transparent 60%), linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }
.hero::before { background: #C4B5FD; opacity: .45; }
.hero::after { background: #FFFFFF; opacity: .2; }
.hero p.lead { color: #FFFFFF; }
.eyebrow { color: #F3EDFE; }
.grad-text { background: linear-gradient(90deg, #FFFFFF, #F3EDFE 50%, #FFFFFF); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: underline; text-decoration-color: #C4B5FD; text-underline-offset: 6px; }
.hero-badges span { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.page-head { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }
.page-head p { color: #FFFFFF; }
.marquee { background: #6D28D9; }

.social-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.social-links a { text-decoration: underline; text-underline-offset: 3px; }

.pw-meter { margin-top: 6px; }
.pw-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.pw-red .pw-bar i { background: #D92D20; } .pw-amber .pw-bar i { background: #F79009; } .pw-green .pw-bar i { background: #12B76A; }
.pw-text { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pw-red .pw-text { color: #B42318; } .pw-amber .pw-text { color: #B54708; } .pw-green .pw-text { color: #027A48; }
.pw-wrap { position: relative; }
.pw-show { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--violet); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* v4 design layer (2026-11-06): richer hero, icons, tiles, animations */
.btn { display: inline-flex; align-items: center; gap: 8px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.ic-inline { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.hero-v4 { overflow: hidden; padding-bottom: 110px; background: radial-gradient(800px 420px at 90% -10%, #DDD6FE 0%, transparent 60%), radial-gradient(600px 400px at -10% 110%, #A78BFA 0%, transparent 60%), linear-gradient(135deg, #A78BFA 0%, #8B5CF6 45%, #7C3AED 100%); }
.hero-v4 h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; }
.hero-aperture { position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; color: #fff; opacity: .09; pointer-events: none; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.polaroid .ph { position: relative; overflow: hidden; }
.polaroid .sil { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 78%; height: 88%; color: rgba(255,255,255,.55); }
.polaroid .ph-ic { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: rgba(255,255,255,.9); color: var(--violet); }
.polaroid.p1 { animation: float1 7s ease-in-out infinite; }
.polaroid.p2 { animation: float2 8s ease-in-out infinite; }
@keyframes float1 { 50% { transform: rotate(-6deg) translateY(-10px); } }
@keyframes float2 { 50% { transform: rotate(5deg) translateY(-12px); } }
.sticker { display: inline-flex; align-items: center; gap: 6px; }
.sticker.s3 { left: 30%; bottom: -14px; transform: rotate(3deg); background: #12B76A; color: #fff; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }
.marquee { padding: 16px 0; }
.marquee .track span { display: inline-flex; align-items: center; gap: 10px; }
.marquee .track svg { width: 22px; height: 22px; opacity: .85; }

.stats-band { background: #fff; padding: 0; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; transform: translateY(-34px); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

.eyebrow-dark { color: var(--violet); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; text-align: left; }
.featured { padding-top: 30px; }
.feat-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.feat { position: relative; display: block; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #C4B5FD, #7C3AED); box-shadow: var(--shadow); color: #fff; text-decoration: none; transition: transform .25s; }
.feat:hover { transform: translateY(-5px); color: #fff; }
.feat img { width: 100%; height: 100%; object-fit: cover; }
.feat .cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(30,20,48,.8)); font-weight: 800; }
.feat .cap span { display: block; font-size: 12px; font-weight: 600; opacity: .9; }

.card .icon { color: var(--violet); background: linear-gradient(140deg, #F3EDFE, #E4DAFB); }
.card .icon svg { width: 30px; height: 30px; }
.scam-note .emo svg { width: 28px; height: 28px; color: var(--violet); }
.section-soft { background: linear-gradient(180deg, #F7F2FF 0%, #F3EDFE 100%); }
.cat { display: block; text-decoration: none; color: inherit; position: relative; overflow: hidden; }
.cat .ci { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(124,58,237,.7); }
.cat .ci svg { width: 26px; height: 26px; }
.cat .go { position: absolute; right: 16px; top: 22px; width: 20px; height: 20px; color: var(--lavender); transition: transform .2s, color .2s; }
.cat:hover .go { transform: translateX(4px); color: var(--violet); }

.split-visual { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; color: var(--night); font-weight: 800; }
.muted-lead { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mist); color: var(--violet); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(61,18,112,.55); transform: rotate(1.5deg); }
.mock-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--night); }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-head b { margin-left: 8px; font-size: 15px; }
.mock-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; margin-bottom: 8px; background: #FBF9FF; }
.mock-row b { display: block; color: var(--night); font-size: 15px; }
.mock-row span { font-size: 13px; color: var(--muted); }
.mock-row em { font-style: normal; font-weight: 800; color: var(--violet); font-size: 13px; white-space: nowrap; }
.mock-ph { width: 52px; height: 64px; border-radius: 12px; display: grid; place-items: end center; overflow: hidden; }
.mock-ph svg { width: 44px; height: 54px; color: rgba(255,255,255,.65); }
.mock-ph.g1 { background: linear-gradient(160deg, #C4B5FD, #7C3AED); } .mock-ph.g2 { background: linear-gradient(160deg, #DDD6FE, #A78BFA); } .mock-ph.g3 { background: linear-gradient(160deg, #8B5CF6, #3D1270); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--muted); }
.mock-btn { background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 999px; }
.mock-note { text-align: right; font-size: 11px; color: var(--muted); margin: 8px 0 0; }

.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0 0 26px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 50px; margin-bottom: 16px; min-height: 34px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--violet); color: #fff; }
.panel { border-radius: 24px; }
.panel-dark { background: linear-gradient(150deg, #6D28D9, #3D1270); }
.panel-dark .steps-list li::before { background: #fff; color: var(--night); }
.faq details { border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--lavender); box-shadow: 0 10px 30px -18px rgba(61,18,112,.4); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--violet); display: grid; place-items: center; font-weight: 800; transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--violet); color: #fff; }

.cta-v4 { position: relative; overflow: hidden; background: radial-gradient(600px 300px at 20% 0%, #C4B5FD 0%, transparent 60%), linear-gradient(135deg, #8B5CF6, #6D28D9); padding: 84px 0; }
.cta-v4 .wrap { position: relative; z-index: 1; }
.cta-v4 h2 { font-size: clamp(30px, 4.4vw, 48px); }
.cta-aperture { position: absolute; width: 420px; height: 420px; left: -120px; bottom: -180px; color: #fff; opacity: .1; }
.page-head { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 90% -20%, #DDD6FE 0%, transparent 60%), linear-gradient(135deg, #A78BFA 0%, #8B5CF6 45%, #7C3AED 100%); }
.page-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; background: url("aperture-white-mono.svg") center/contain no-repeat; opacity: .1; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.site-footer { background: linear-gradient(180deg, #2A1A47 0%, #1E1430 100%); }
.site-footer .social-links a { display: inline-flex; padding: 6px 14px; border: 1px solid #4A3A68; border-radius: 999px; text-decoration: none; }
.site-footer .social-links a:hover { background: #3A2E52; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-aperture, .polaroid.p1, .polaroid.p2 { animation: none; }
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split-visual { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .hero-aperture { width: 420px; height: 420px; right: -180px; }
}
@media (max-width: 760px) {
  .hero-v4 { padding-bottom: 90px; }
  .stat b { font-size: 24px; }
  .stat { padding: 16px 10px; }
  .feat-strip { grid-template-columns: repeat(2, 1fr); }
  .cat .go { display: none; }
  .btn-lg { padding: 14px 22px; font-size: 16px; }
}
/* v4 fixes */
.stats { transform: none; padding: 34px 20px 10px; }
.eyebrow.eyebrow-dark { color: var(--violet); }
.section-head.row-head { max-width: none; }
.feat-strip { grid-template-columns: repeat(6, 1fr); }
.sticker.s3 { left: -24px; bottom: 70px; transform: rotate(-4deg); }
@media (max-width: 900px) { .feat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .feat-strip { grid-template-columns: repeat(2, 1fr); } .sticker.s3 { left: -6px; bottom: 40px; } }

/* UAE dirham symbol (new CBUAE sign), drawn as an icon so every browser shows it */
.aed { display: inline-block; width: .9em; height: .9em; margin-right: .14em; vertical-align: -.04em; background: currentColor;
  -webkit-mask: url("aed.svg") center / contain no-repeat; mask: url("aed.svg") center / contain no-repeat; }

/* Founding roster */
.founding-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: 12px 16px; font-weight: 700; font-size: 15px; }
.founding-bar b { font-size: 18px; }
.founding-bar .fb-meter { flex: 1 1 140px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; min-width: 120px; }
.founding-bar .fb-meter i { display: block; height: 100%; background: #fff; border-radius: 99px; }
.founding-note { background: var(--mist); border: 1px solid var(--lavender); border-radius: 16px; padding: 14px 18px; margin: 18px 0 0; font-size: 15px; color: var(--night); }
.badge-founding { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #F5C451, #E9A23B); color: #3D1270; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.tcard .badge-founding { position: absolute; left: 10px; top: 10px; z-index: 2; }
.soon-panel { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 44px 24px; box-shadow: var(--shadow); max-width: 720px; margin: 10px auto 40px; }
.soon-panel h2 { color: var(--night); margin: 0 0 10px; }
.soon-panel .actions { justify-content: center; margin-top: 18px; }
.ref-box { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ref-box input { flex: 1 1 260px; }
.pw-wrap input { padding-right: 64px !important; } .pw-show { top: 50%; transform: translateY(-50%); }
