/* UP-Smart showcase — the app's own identity: its dark palette, the icon's
   cyan → magenta → indigo gradient, Alexandria / IBM Plex Sans Arabic /
   JetBrains Mono, and the 45° «signal line» + diamond motif from the S logo.
   (style.css stays for privacy.html / delete-account.html.) */
:root {
  --bg: #060B18; --bg2: #0B1430; --card: rgba(16, 28, 58, .55); --card2: #0F1B38;
  --ink: #F2F5FF; --mut: #8E9BB8; --line: rgba(140, 170, 255, .14);
  --acc: #7EA6FF; --cyan: #2BCAD9; --warn: #E08C2F;
  --g1: #14A6E8; --g2: #8E2A8B; --g3: #2A1F5E;
  --grad: linear-gradient(110deg, var(--g1), var(--g2) 62%, var(--g3));
  --r: 24px; --wrap: 1180px;
  --display: Alexandria, "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--body);
  line-height: 1.75; overflow-x: clip; -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><rect x='48' y='48' width='24' height='24' rx='4' transform='rotate(45 60 60)' fill='none' stroke='rgba(140,170,255,0.05)' stroke-width='1.5'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.wrap.narrow { max-width: 820px; }
.url { white-space: nowrap; unicode-bidi: isolate; }
.mono { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk { background: var(--grad); color: #fff; padding: 0 .22em .04em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: .55em; font: 700 1rem var(--body); padding: .9em 1.5em; border-radius: 16px; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(20, 166, 232, .55); }
.btn-grad:hover { box-shadow: 0 16px 40px -8px rgba(142, 42, 139, .6); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-white { background: #fff; color: #1b1440; }
.btn-ghost.light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; border-radius: 12px; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn .ic use[href="#i-play"] { fill: currentColor; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 14px; transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 11, 24, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-block: 10px; }
.nav-in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 800 1.2rem var(--display); }
.links { display: flex; gap: 26px; margin-inline-start: auto; }
.links a { color: var(--mut); font-weight: 600; font-size: .95rem; transition: color .2s; }
.links a:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.a1 { width: 560px; height: 560px; background: #14A6E8; top: -160px; left: -120px; opacity: .28; }
.a2 { width: 620px; height: 620px; background: #8E2A8B; bottom: -260px; right: 20%; opacity: .30; animation-delay: -6s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px; background: rgba(126, 166, 255, .08); border: 1px solid var(--line); color: var(--acc); font-weight: 700; font-size: .92rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(43, 202, 217, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(43, 202, 217, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 202, 217, 0); } }
h1 { font: 900 clamp(2.6rem, 6vw, 4.6rem)/1.25 var(--display); margin: 22px 0 18px; letter-spacing: -.01em; text-wrap: balance; }
.lead { color: var(--mut); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ctas.center { justify-content: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--mut); font-size: .93rem; }
.chips li { display: flex; align-items: center; gap: 8px; }
.chips .ic { color: var(--cyan); }

.hero-visual { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 166, 232, .45), rgba(142, 42, 139, .28) 55%, transparent 75%); filter: blur(20px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .8; } }
.phone { position: relative; width: 290px; aspect-ratio: 390 / 844; border-radius: 46px; background: #0B0F1C; padding: 11px; box-shadow: 0 0 0 1.5px rgba(140, 170, 255, .28), 0 40px 90px -20px rgba(0, 0, 0, .7), 0 0 120px -10px rgba(20, 166, 232, .35); }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #060B18; position: relative; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .notch { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #0B0F1C; }
.phone.tilt { transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg)) rotateZ(2deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(15, 27, 56, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); font-size: .88rem; transition: transform .4s cubic-bezier(.2, .7, .2, 1); opacity: 0; animation: pop .8s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.float b { display: block; font-weight: 700; } .float small { color: var(--mut); }
.f1 { top: 70px; right: -10px; animation-delay: .9s; }
.f2 { bottom: 140px; left: -20px; animation-delay: 1.2s; }
.f3 { bottom: 40px; right: 10px; animation-delay: 1.5s; }
.f-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.f-date { font: 800 1.25rem var(--mono); direction: ltr; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
.signal { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 90px; pointer-events: none; }
.signal path { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s .4s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── sections ── */
.sec { padding: 110px 0; position: relative; }
.eyebrow { display: inline-block; font: 700 .85rem var(--body); letter-spacing: .08em; color: var(--cyan); margin-bottom: 10px; }
.h2 { font: 800 clamp(1.9rem, 4vw, 2.9rem)/1.3 var(--display); text-wrap: balance; margin-bottom: 14px; }
.sub { color: var(--mut); font-size: 1.1rem; max-width: 40em; }
.grid { display: grid; gap: 20px; margin-top: 46px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; transition: transform .35s, border-color .35s, background .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(126, 166, 255, .32); background: rgba(16, 28, 58, .75); }

/* problem */
.problem { text-align: center; }
.problem .sub { margin-inline: auto; }
.converge { position: relative; max-width: 640px; height: 380px; margin: 50px auto 30px; }
.converge .lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.converge .lines path { fill: none; stroke: url(#g); stroke-width: 2.5; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s .5s ease; }
.converge.in .lines path { stroke-dashoffset: 0; }
.src { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); font-weight: 700; z-index: 2; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 1s; white-space: nowrap; }
.src .ic { color: var(--acc); }
.s1 { top: 10px; right: 0; transform: translate(-40px, -30px) rotate(6deg); }
.s2 { top: 10px; left: 0; transform: translate(40px, -30px) rotate(-7deg); }
.s3 { bottom: 10px; right: 0; transform: translate(-30px, 30px) rotate(-5deg); }
.s4 { bottom: 10px; left: 0; transform: translate(30px, 30px) rotate(5deg); }
.converge.in .src { transform: none; }
.hub { position: absolute; top: 50%; left: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 28px; overflow: hidden; z-index: 3; transform: scale(.4); opacity: 0; transition: transform .8s 1.2s cubic-bezier(.2, .9, .3, 1.3), opacity .6s 1.2s; box-shadow: 0 0 0 8px rgba(20, 166, 232, .12), 0 0 80px rgba(142, 42, 139, .5); }
.converge.in .hub { transform: none; opacity: 1; }
.punch { font: 800 clamp(1.3rem, 2.6vw, 1.8rem) var(--display); }

/* features */
.feats { grid-template-columns: repeat(3, 1fr); }
.feat.big { grid-row: span 3; display: flex; flex-direction: column; }
.feat.wide { grid-column: span 2; }
.f-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; box-shadow: 0 10px 26px -8px rgba(20, 166, 232, .5); }
.feat h3 { font: 800 1.25rem var(--display); margin-bottom: 8px; }
.feat p { color: var(--mut); }
.tag { position: absolute; top: 22px; left: 22px; font-size: .78rem; font-weight: 700; color: var(--cyan); border: 1px solid rgba(43, 202, 217, .35); padding: 2px 10px; border-radius: 99px; }
.mini-list { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mini-list div { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 600; }
.mini-list .mono { font-weight: 800; font-size: 1.1rem; min-width: 3.4em; }
.mini-list .hot { border: 1.5px solid transparent; background: linear-gradient(var(--card2), var(--card2)) padding-box, var(--grad) border-box; }
.mini-list .hot .mono { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 26px; padding: 16px 22px; border-radius: 18px; border: 1px dashed rgba(126, 166, 255, .3); color: var(--mut); font-size: .95rem; }
.soon i { width: 5px; height: 5px; border-radius: 50%; background: var(--mut); opacity: .5; }
.soon-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.soon-badge .ic { color: var(--cyan); }

/* showcase */
.show-in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.tabs button { text-align: start; background: transparent; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; color: var(--ink); cursor: pointer; font: inherit; position: relative; overflow: hidden; transition: background .3s, border-color .3s; }
.tabs button b { display: block; font: 700 1.05rem var(--display); }
.tabs button small { color: var(--mut); }
.tabs button.on { background: var(--card); border-color: rgba(126, 166, 255, .35); }
.tabs button::after { content: ""; position: absolute; bottom: 0; right: 0; height: 3px; width: 0; background: var(--grad); }
.tabs button.on::after { animation: bar 4.5s linear forwards; }
@keyframes bar { to { width: 100%; } }
.showcase { overflow: hidden; }
.show-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.screen.stack img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .8s; }
.screen.stack img.on { opacity: 1; transform: none; }

/* calendar timeline */
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.timeline::before { content: ""; position: absolute; top: 9px; right: 0; left: 0; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; top: 9px; right: 0; height: 2px; width: 0; background: var(--grad); transition: width 1.8s cubic-bezier(.6, .1, .2, 1); }
.timeline.in::after { width: 100%; }
.timeline li { position: relative; padding-top: 38px; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.timeline.in li { opacity: 1; transform: none; }
.timeline li::before { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 20px; border-radius: 5px; transform: rotate(45deg); background: var(--bg); border: 3px solid var(--acc); }
.timeline li.hot::before { background: var(--grad); border-color: transparent; box-shadow: 0 0 22px rgba(20, 166, 232, .6); }
.t-date { display: block; font: 800 1.9rem var(--mono); direction: ltr; text-align: right; }
.hot .t-date { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline b { display: block; font: 700 1.02rem var(--display); margin-top: 4px; }
.timeline small { color: var(--mut); }
.fine { color: var(--mut); font-size: .85rem; margin-top: 34px; opacity: .8; }

/* steps */
.steps { grid-template-columns: repeat(3, 1fr); }
.step .n { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; font: 800 1.3rem var(--mono); color: #fff; background: var(--grad); }
.step h3 { font: 800 1.2rem var(--display); margin-bottom: 6px; }
.step p { color: var(--mut); }

/* trust */
.trust-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; }
.link-arrow .ic { transition: transform .25s; } .link-arrow:hover .ic { transform: translateX(-5px); }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.trust-list li { display: flex; gap: 18px; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.trust-list li > span { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; color: var(--cyan); background: rgba(43, 202, 217, .1); font-size: 1.3rem; }
.trust-list b { display: block; font: 700 1.05rem var(--display); margin-bottom: 2px; }
.trust-list small { color: var(--mut); font-size: .95rem; }

/* faq */
.faq { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(126, 166, 255, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.05rem var(--display); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.6rem var(--mono); color: var(--acc); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mut); padding-bottom: 20px; }

/* cta */
.cta-card { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 34px; background: var(--grad); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><rect x='34' y='34' width='22' height='22' rx='4' transform='rotate(45 45 45)' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2'/></svg>"); animation: slide 30s linear infinite; }
@keyframes slide { to { background-position: 900px 0; } }
.cta-card > * { position: relative; }
.cta-logo { margin: 0 auto 18px; animation: floaty 6s ease-in-out infinite; }
.cta-card h2 { font: 900 clamp(2rem, 4.5vw, 3.2rem)/1.3 var(--display); color: #fff; }
.cta-card p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; margin-top: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--mut); margin-top: 12px; max-width: 30em; font-size: .95rem; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b { font: 700 1rem var(--display); margin-bottom: 4px; }
.foot-col a { color: var(--mut); } .foot-col a:hover { color: var(--ink); }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mut); font-size: .88rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }

/* responsive */
@media (max-width: 980px) {
  .hero-in, .show-in, .trust-in { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-copy { text-align: center; } .lead { margin-inline: auto; } .ctas, .chips { justify-content: center; }
  .hero-visual { height: 560px; }
  .feats { grid-template-columns: 1fr 1fr; } .feat.big { grid-column: span 2; grid-row: auto; } .feat.wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-right: 36px; }
  .timeline::before, .timeline::after { top: 0; bottom: 0; right: 9px; left: auto; width: 2px; height: auto; }
  .timeline::after { height: 0; } .timeline.in::after { width: 2px; height: 100%; transition: height 1.8s cubic-bezier(.6, .1, .2, 1); }
  .timeline li { padding-top: 0; } .timeline li::before { right: -36px; top: 8px; }
  .t-date { text-align: right; }
  .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  .links { position: fixed; top: 64px; right: 16px; left: 16px; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; background: rgba(11, 20, 48, .97); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .links.open { opacity: 1; pointer-events: auto; transform: none; }
  .links a { padding: 10px 12px; border-radius: 10px; } .links a:hover { background: rgba(255, 255, 255, .05); }
  .menu-btn { display: block; } .nav-cta { margin-inline-start: auto; }
  .sec { padding: 80px 0; }
  .feats { grid-template-columns: 1fr; } .feat.big, .feat.wide { grid-column: auto; }
  .phone { width: 250px; border-radius: 40px; } .phone .screen { border-radius: 31px; }
  .hero-visual { height: 520px; }
  .f1 { right: 0; top: 30px; } .f2 { left: 0; bottom: 120px; } .f3 { right: 4px; bottom: 20px; }
  .float { font-size: .8rem; padding: 10px 12px; }
  .converge { height: 320px; }
  .src { font-size: .85rem; padding: 9px 12px; }
  .show-visual { min-height: 560px; }
  .cta-card { padding: 54px 20px; border-radius: 26px; }
}
@media (max-width: 420px) { .nav-cta { display: none; } .menu-btn { margin-inline-start: auto; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .float, .timeline li { opacity: 1; transform: none; }
  .signal path, .converge .lines path { stroke-dashoffset: 0; }
  .converge .src, .hub { transform: none; opacity: 1; }
  .timeline::after { width: 100%; }
}
