/* ==========================================================================
   Sawa — El Sewedy In Sawa · Portfolio
   Design system built on the app's real brand tokens (Figma-extracted).
   Navy #161F6E · Cyan #0DBFD6 · Check-in #16C24D · Check-out #B21416
   ========================================================================== */

:root {
  /* Brand (from lib/config/themes/app_palette.dart) */
  --navy: #161F6E;
  --navy-900: #0E143F;
  --navy-700: #10184f;
  --navy-400: #5B6AD0;
  --navy-300: #8B96E0;
  --cyan: #0DBFD6;
  --cyan-deep: #08B8D0;
  --cyan-400: #1FC5DC;
  --green: #16C24D;
  --red: #B21416;
  --warning: #E0A100;

  /* Neutrals */
  --ink: #0d1220;
  --text: #1b2233;
  --text-2: #464646;
  --text-3: #6b7385;
  --bg: #f7f8fc;
  --bg-2: #eef1f9;
  --surface: #ffffff;
  --surface-2: #f4f6fc;
  --border: #e4e7f1;
  --border-strong: #d3d8e8;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16, 24, 79, .06), 0 1px 3px rgba(16, 24, 79, .05);
  --shadow: 0 8px 24px rgba(16, 24, 79, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 79, .16);
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, #1c2a86 45%, var(--cyan-deep) 130%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(13,191,214,.20), transparent 60%),
               radial-gradient(900px 500px at -10% 10%, rgba(91,106,208,.18), transparent 55%);
  --grad-accent: linear-gradient(135deg, var(--cyan) 0%, var(--navy-400) 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* -------- Dark theme -------- */
:root[data-theme="dark"] {
  --ink: #f5f6fa;
  --text: #eef0f7;
  --text-2: #c3c8da;
  --text-3: #9aa1b8;
  --bg: #0b0f1c;
  --bg-2: #10152a;
  --surface: #141a2e;
  --surface-2: #1a2138;
  --border: #263151;
  --border-strong: #33406a;
  --navy: #2b3aa0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(13,191,214,.16), transparent 60%),
               radial-gradient(900px 500px at -10% 10%, rgba(91,106,208,.16), transparent 55%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f5f6fa; --text: #eef0f7; --text-2: #c3c8da; --text-3: #9aa1b8;
    --bg: #0b0f1c; --bg-2: #10152a; --surface: #141a2e; --surface-2: #1a2138;
    --border: #263151; --border-strong: #33406a; --navy: #2b3aa0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 8px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
    --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(13,191,214,.16), transparent 60%),
                 radial-gradient(900px 500px at -10% 10%, rgba(91,106,208,.16), transparent 55%);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 1em; color: var(--text-2); }
ul { color: var(--text-2); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tint { background: var(--bg-2); }
.section--brand { background: var(--grad-brand); color: #fff; }
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }
.section--brand p { color: rgba(255,255,255,.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 1rem;
}
.section--brand .eyebrow { color: var(--cyan-400); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2.title { font-size: clamp(1.75rem, 4.2vw, 2.85rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 22px rgba(13,191,214,.32); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(13,191,214,.42); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.section--brand .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--brand .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand img { height: 30px; width: auto; }
.brand .brand-sub { font-size: .72rem; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-2);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--cyan-deep); background: color-mix(in srgb, var(--cyan) 12%, transparent); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
  transition: transform .18s, border-color .18s, color .18s;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan-deep); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem clamp(1rem,4vw,2.5rem) 1.6rem; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .35s cubic-bezier(.2,.8,.2,1); visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: .85rem 1rem; font-size: 1rem; }
  .nav-toggle { display: grid; }
  .nav .btn--primary.desktop-cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(7rem, 14vw, 10rem); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan-deep);
  border: 1px solid color-mix(in srgb, var(--cyan) 34%, transparent);
  font-size: .8rem; font-weight: 700; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2rem, 5.6vw, 4rem); letter-spacing: -.035em; overflow-wrap: break-word; }
.hero-badge { flex-wrap: wrap; }
.hero h1 .accent { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: 42ch; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.2rem; }
.hero-meta .mi { }
.hero-meta .mi b { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.hero-meta .mi span { font-size: .84rem; color: var(--text-3); }

/* phone showcase */
.phones { position: relative; display: grid; place-items: center; min-height: 480px; }
.phone {
  position: relative; border-radius: 38px; background: var(--surface); padding: 9px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.phone img { border-radius: 30px; width: 240px; height: auto; }
.phone--main { z-index: 3; transform: rotate(-3deg); }
.phone--back { position: absolute; z-index: 2; transform: rotate(7deg) translate(58px, 24px) scale(.92); opacity: .96; }
.phones .float-tag {
  position: absolute; z-index: 4; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); border-radius: 14px; padding: .6rem .85rem; display: flex; gap: .55rem; align-items: center;
  font-size: .82rem; font-weight: 700; color: var(--ink);
}
.float-tag .dot { width: 10px; height: 10px; border-radius: 50%; }
.float-tag.t1 { top: 8%; left: -4%; }
.float-tag.t2 { bottom: 10%; right: -2%; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badge, .eyebrow { }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .phones { margin-top: 1rem; min-height: 440px; }
}
@media (max-width: 520px) {
  .phone img { width: 200px; }
  .float-tag.t1 { left: 0; }
  .float-tag.t2 { right: 0; }
}

/* ==========================================================================
   Trust / logo strip
   ========================================================================== */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.3rem; }
.strip span { font-weight: 600; color: var(--text-3); font-size: .9rem; }
.strip .strip-items { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; }
.strip .strip-items b { color: var(--text); font-weight: 700; font-size: .92rem; display: inline-flex; gap: .4rem; align-items: center; }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan-deep);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; }
.card p { font-size: .96rem; margin-bottom: 0; }
.card .tag-live, .card .tag-prep {
  position: absolute; top: 1.1rem; right: 1.1rem; font-size: .66rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px;
}
.card .tag-live { color: var(--green); background: color-mix(in srgb, var(--green) 15%, transparent); }
.card .tag-prep { color: var(--warning); background: color-mix(in srgb, var(--warning) 16%, transparent); }

.ico--navy { background: color-mix(in srgb, var(--navy) 14%, transparent); color: var(--navy); }
.ico--green { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); }
.ico--red { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
:root[data-theme="dark"] .ico--navy { color: var(--navy-300); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 900px){ .about-grid { grid-template-columns: 1fr; } }
.stat-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-sm);
}
.stat b { font-size: clamp(1.6rem, 3vw, 2.2rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; letter-spacing: -.02em; }
.stat span { font-size: .86rem; color: var(--text-3); font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.checklist li svg { flex: 0 0 22px; color: var(--green); margin-top: 3px; }

/* Why choose us */
.why-card { text-align: left; }
.why-card .n { font-size: .8rem; font-weight: 800; color: var(--cyan-deep); letter-spacing: .1em; }

/* Workflow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 1000px){ .flow { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .flow { grid-template-columns: 1fr; } }
.flow .step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; position: relative; box-shadow: var(--shadow-sm);
}
.flow .step .num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800;
  background: var(--grad-accent); color: #fff; margin-bottom: .9rem;
}
.flow .step h4 { font-size: 1.02rem; margin-bottom: .3rem; }
.flow .step p { font-size: .88rem; margin: 0; }

/* User types */
.persona { border-top: 4px solid var(--cyan); }
.persona.admin { border-top-color: var(--navy); }
:root[data-theme="dark"] .persona.admin { border-top-color: var(--navy-300); }
.persona .role-pill {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem;
  background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--cyan-deep);
}
.persona.admin .role-pill { background: color-mix(in srgb, var(--navy) 15%, transparent); color: var(--navy); }
:root[data-theme="dark"] .persona.admin .role-pill { color: var(--navy-300); }
.perm-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.perm-list li { display: flex; gap: .6rem; font-size: .93rem; color: var(--text-2); }
.perm-list li svg { flex: 0 0 18px; color: var(--cyan-deep); margin-top: 4px; }

/* Architecture */
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
@media (max-width: 900px){ .arch-grid { grid-template-columns: 1fr; } }
.arch-stack { display: grid; gap: .7rem; }
.arch-layer {
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 1rem 1.2rem;
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.arch-layer b { color: #fff; display: block; font-size: 1rem; }
.arch-layer span { color: rgba(255,255,255,.72); font-size: .86rem; }
.arch-flow { display: grid; gap: .5rem; }
.arch-flow .node {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-weight: 600; color: #fff; font-size: .92rem;
}
.arch-flow .node .badge { width: 30px; height: 30px; border-radius: 9px; background: var(--cyan); display: grid; place-items: center; color: var(--navy-900); font-weight: 800; flex: 0 0 auto; }
.arch-flow .arrow { text-align: center; color: var(--cyan-400); font-size: 1.1rem; line-height: 1; }

/* Tech stack */
.tech-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 900px){ .tech-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .tech-grid { grid-template-columns: 1fr; } }
.tech {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s;
}
.tech:hover { transform: translateY(-4px); border-color: var(--cyan); }
.tech b { color: var(--ink); font-size: .98rem; display: flex; align-items: center; gap: .5rem; }
.tech b .v { font-size: .72rem; color: var(--text-3); font-weight: 600; background: var(--surface-2); padding: .1rem .45rem; border-radius: 6px; }
.tech span { font-size: .84rem; color: var(--text-3); }

/* Security / feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.sec-list { display: grid; gap: 1rem; }
.sec-item { display: flex; gap: 1rem; }
.sec-item .ico { flex: 0 0 auto; }
.sec-item h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.sec-item p { margin: 0; font-size: .93rem; }

.token-card {
  background: var(--ink); color: #dfe4f5; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: .84rem; line-height: 1.7; overflow-x: auto;
}
:root[data-theme="dark"] .token-card { background: #05070f; border: 1px solid var(--border); }
.token-card .c-key { color: var(--cyan-400); }
.token-card .c-str { color: #8ee6a0; }
.token-card .c-cmt { color: #6b7385; }
.token-card .c-warn { color: var(--warning); }

/* Demo videos — two phones, matching white frames */
.demo-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem);
  justify-items: center; align-items: start; max-width: 760px; margin-inline: auto;
}
@media (max-width: 620px) { .demo-grid { grid-template-columns: 1fr; } }
.video-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.video-item figcaption { color: rgba(255,255,255,.9); font-weight: 700; font-size: .95rem; text-align: center; }
.video-phone { position: relative; transform: none; padding: 8px; width: min(300px, 78vw); }
.video-phone video {
  display: block; width: 100%; height: auto; border-radius: 30px; background: #000;
}
.video-play {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%;
  border: none; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: var(--grad-accent); box-shadow: 0 12px 34px rgba(13,191,214,.5);
  transition: transform .2s, opacity .2s; z-index: 3;
}
.video-play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.video-play:hover { transform: scale(1.08); }
.video-play.hidden { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .video-play::after { animation: none; } }

/* Localization */
.lang-card { text-align: center; }
.lang-card .flag { font-size: 2.2rem; margin-bottom: .5rem; }
.rtl-demo { direction: rtl; font-family: var(--font); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.filter-btn {
  padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text-2); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .18s;
}
.filter-btn:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.filter-btn.active { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(13,191,214,.3); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.shot {
  cursor: zoom-in; display: flex; flex-direction: column; gap: .8rem; align-items: center;
  background: none; border: none; box-shadow: none; padding: 0;
}
/* Phone frame — screenshot always fully visible (no crop) */
.shot .device {
  position: relative; width: 100%; border-radius: 30px; padding: 7px;
  background: linear-gradient(155deg, #202a4d, #0d1220);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s;
}
:root[data-theme="dark"] .shot .device { border-color: var(--border); }
.shot .device::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 9px; background: #0d1220; border-radius: 0 0 9px 9px; z-index: 2;
}
.shot .device img {
  display: block; width: 100%; border-radius: 24px; aspect-ratio: 1284 / 2778;
  object-fit: cover; object-position: top center; background: #fff;
}
.shot:hover .device { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.shot .cap { font-size: .9rem; font-weight: 700; color: var(--text-2); text-align: center; margin: 0; }
.shot:hover .cap { color: var(--cyan-deep); }
.shot:focus-visible { outline: none; }
.shot:focus-visible .device { outline: 3px solid var(--cyan); outline-offset: 3px; }
.shot.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,9,20,.9); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(90vw, 380px); width: auto; height: auto; object-fit: contain; border-radius: 26px; box-shadow: var(--shadow-lg); background: #fff; }
.lb-cap { position: fixed; bottom: 1.3rem; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: .95rem; background: rgba(0,0,0,.4); padding: .4rem 1rem; border-radius: 999px; }
.lb-btn {
  position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center; transition: background .18s;
}
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 1.4rem; } .lb-next { right: 1.4rem; }
.lb-close { top: 1.4rem; right: 1.4rem; transform: none; width: 46px; height: 46px; }
@media (max-width: 640px){ .lb-btn { width: 42px; height: 42px; } .lb-prev { left: .5rem; } .lb-next { right: .5rem; } }

/* Admin / approvals timeline */
.timeline { display: grid; gap: 0; position: relative; margin-top: 1.5rem; }
.timeline .ev { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding-bottom: 1.6rem; position: relative; }
.timeline .ev:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--border-strong); }
.timeline .ev .bul { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; z-index: 1; }
.timeline .ev.admin-ev .bul { background: var(--navy); }
:root[data-theme="dark"] .timeline .ev.admin-ev .bul { background: var(--navy-400); }
.timeline .ev h4 { margin: 6px 0 .2rem; font-size: 1.05rem; }
.timeline .ev p { margin: 0; font-size: .93rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.3rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--ink); display: flex;
  justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .25s; color: var(--cyan-deep); flex: 0 0 auto; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding-bottom: 1.1rem; margin: 0; font-size: .95rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 900px){ .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price.featured { border-color: var(--cyan); box-shadow: var(--shadow); position: relative; }
.price.featured::after { content: "Recommended"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-accent); color: #fff; font-size: .72rem; font-weight: 800; padding: .28rem .8rem; border-radius: 999px; letter-spacing: .04em; }
.price h3 { font-size: 1.2rem; }
.price .amt { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: .3rem 0 0; }
.price .amt small { font-size: .9rem; color: var(--text-3); font-weight: 600; }
.price .muted { font-size: .8rem; color: var(--text-3); }
.price ul { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .6rem; flex: 1; }
.price ul li { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-2); }
.price ul li svg { flex: 0 0 18px; color: var(--green); margin-top: 4px; }

/* Contact */
.contact-card {
  background: var(--grad-brand); color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem,5vw,3.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.contact-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); opacity: .6; }
.contact-card > * { position: relative; }
@media (max-width: 820px){ .contact-card { grid-template-columns: 1fr; text-align: center; } }
.contact-list { display: grid; gap: .8rem; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: .8rem; color: #fff; font-weight: 600; font-size: .96rem; }
.contact-card .contact-list.center { justify-items: center; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: 0 0 auto; }

/* Footer */
.footer { background: var(--ink); color: #aeb6cf; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
:root[data-theme="dark"] .footer { background: #05070f; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.footer a { color: #aeb6cf; font-size: .92rem; display: block; padding: .28rem 0; transition: color .18s; }
.footer a:hover { color: var(--cyan-400); }
.footer .fbrand img { height: 30px; margin-bottom: 1rem; }
.footer .fbrand p { color: #8891ad; font-size: .9rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #8891ad; }
.footer-bottom .badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-bottom .badges span { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .2rem .7rem; font-size: .76rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* To top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-accent); color: #fff; border: none; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
