/* =========================================================
   ZAD HR — Portfolio / Landing Page
   Brand palette extracted from the Flutter app (AppColors):
   navy #001e54 · indigo #202053 · green #54a22b · sky #B4D4FC
   ========================================================= */

:root {
  /* Brand */
  --navy:        #001e54;
  --navy-700:    #00286f;
  --indigo:      #202053;
  --green:       #54a22b;
  --green-600:   #4a921f;
  --green-300:   #7dc255;
  --sky:         #b4d4fc;
  --sky-soft:    #eaf2fe;

  /* Neutrals */
  --ink:         #0d1330;
  --slate:       #46506b;
  --muted:       #6a7390;
  --line:        #e7ebf4;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fd;
  --bg-deep:     #0a1233;
  --card:        #ffffff;

  /* Effects */
  --grad-brand:  linear-gradient(120deg, #001e54 0%, #202053 55%, #2a3a86 100%);
  --grad-green:  linear-gradient(120deg, #54a22b 0%, #7dc255 100%);
  --grad-hero:   radial-gradient(1200px 600px at 15% -10%, rgba(84,162,43,.28), transparent 60%),
                 radial-gradient(1000px 700px at 100% 0%, rgba(84,124,220,.35), transparent 55%),
                 linear-gradient(160deg, #011046 0%, #001e54 45%, #202053 100%);
  --shadow-sm:   0 1px 2px rgba(13,19,48,.06), 0 2px 8px rgba(13,19,48,.05);
  --shadow-md:   0 10px 30px rgba(13,19,48,.10);
  --shadow-lg:   0 24px 60px rgba(13,19,48,.18);
  --shadow-glow: 0 20px 60px rgba(84,162,43,.28);

  --radius:      18px;
  --radius-lg:   26px;
  --radius-sm:   12px;
  --maxw:        1200px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", var(--font);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--slate); }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Section framing ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #dfe6fb; }
.section--deep p { color: #aab6e0; }
.section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.section--deep .eyebrow { color: var(--green-300); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-green); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(84,162,43,.4); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green); color: var(--green-600); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
.nav.scrolled .brand { color: var(--navy); }
.brand__logo { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: var(--shadow-sm); background:#fff; }
.brand small { display:block; font-family: var(--font); font-weight: 500; font-size: 11px; letter-spacing:.12em; text-transform: uppercase; opacity:.7; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); transition: color .2s; }
.nav.scrolled .nav__links a { color: var(--slate); }
.nav__links a:hover { color: var(--green-300); }
.nav.scrolled .nav__links a:hover { color: var(--green-600); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: .3s; color:#fff; }
.nav.scrolled .nav__toggle span { color: var(--navy); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); color: #fff; padding: 150px 0 90px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: 13px; font-weight: 600; letter-spacing: .03em; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); box-shadow: 0 0 0 4px rgba(125,194,85,.25); }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); color: #fff; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(100deg,#7dc255,#b4d4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 19px; color: #c3cef0; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; }
.hero__stats .lbl { font-size: 13px; color: #9fb0e0; letter-spacing: .02em; }

/* Hero phones */
.hero__visual { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; border-radius: 34px; padding: 9px; background: linear-gradient(160deg,#0b1436,#1c245a);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
}
.phone img { width: 100%; border-radius: 26px; display: block; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #05091d; border-radius: 0 0 14px 14px; z-index: 2; }
.phone--main { left: 50%; top: 20px; transform: translateX(-58%); z-index: 3; }
.phone--back { left: 50%; top: 70px; transform: translateX(4%) scale(.86); z-index: 1; opacity: .92; filter: saturate(1.05); }
.hero__blob { position: absolute; width: 340px; height: 340px; right: -30px; top: 90px; background: var(--grad-green); filter: blur(90px); opacity: .35; border-radius: 50%; z-index: 0; }

/* Marquee / trusted strip */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); background:#fff; }
.trust__inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.trust .chip { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-weight: 600; font-size: 15px; }
.trust .chip svg { width: 20px; height: 20px; color: var(--green-600); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(84,162,43,.14), rgba(84,124,220,.14)); color: var(--navy);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; margin: 0; }
.card__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing:.08em; text-transform: uppercase; color: var(--green-600); background: rgba(84,162,43,.1); padding: 4px 10px; border-radius: 999px; }

/* Feature list variant */
.feature-card { background:#fff; }
.feature-card .card__icon { background: var(--grad-brand); color: #fff; }

/* ---------- Why choose (split) ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why__list { display: grid; gap: 20px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; }
.why__item .tick { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-green); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-glow); }
.why__item h4 { font-size: 17px; margin: 2px 0 4px; }
.why__item p { font-size: 14.5px; margin: 0; }
.why__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background:#fff; }
.why__media img { width: 100%; }

/* ---------- Workflow / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative; }
.step { text-align: left; padding: 28px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); position: relative; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- User types ---------- */
.role-card { border-radius: var(--radius-lg); padding: 34px; color: #fff; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.role-card--employee { background: var(--grad-brand); }
.role-card--manager { background: linear-gradient(140deg,#1d3f7a,#2a3a86); }
.role-card--admin { background: var(--grad-green); }
.role-card h3 { color:#fff; font-size: 24px; }
.role-card p { color: rgba(255,255,255,.85); font-size: 15px; }
.role-card .role-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 20px; }
.role-card ul { margin-top: auto; display: grid; gap: 10px; }
.role-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.92); }
.role-card li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; opacity: .9; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch__layer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; }
.arch__layer h4 { color:#fff; font-size: 18px; display:flex; align-items:center; gap:10px; }
.arch__layer h4 .badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(84,162,43,.22); color: var(--green-300); font-weight: 700; letter-spacing:.06em; }
.arch__layer ul { display: grid; gap: 8px; margin-top: 14px; }
.arch__layer li { color: #aeb9e4; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.arch__layer li::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-300); }
.arch__flow { margin-top: 34px; text-align:center; color:#9fb0e0; font-size: 14px; }

/* ---------- Tech stack ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tech {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tech:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.tech__logo { width: 46px; height: 46px; display: grid; place-items: center; }
.tech__logo svg, .tech__logo img { width: 100%; height: 100%; object-fit: contain; }
.tech__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.tech__cat { font-size: 11px; color: var(--muted); }

/* ---------- Security ---------- */
.sec-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.sec-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.sec-card .card__icon { background: rgba(84,162,43,.16); color: var(--green-300); }
.sec-card h4 { color: #fff; font-size: 18px; }
.sec-card p { color: #aab6e0; font-size: 14.5px; margin: 0; }

/* ---------- Localization / notifications split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.panel--green { background: linear-gradient(150deg, #f3fbee, #ffffff); border-color: #e2f2d6; }
.panel--blue { background: linear-gradient(150deg, var(--sky-soft), #ffffff); border-color: #dbe8fb; }
.panel h3 { font-size: 24px; }
.lang-pill { display:inline-flex; align-items:center; gap:8px; padding: 8px 16px; border-radius: 999px; background:#fff; border:1px solid var(--line); font-weight:600; font-size:14px; margin: 4px 6px 4px 0; box-shadow: var(--shadow-sm); }
.lang-pill span.flag { font-size: 18px; }

/* ---------- Analytics counters ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.stat .num { font-family: var(--font-display); font-size: clamp(30px,4vw,46px); font-weight: 800; background: linear-gradient(100deg,#7dc255,#b4d4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: #aab6e0; font-size: 14px; margin-top: 6px; }

/* ---------- Video showcase ---------- */
.video-show { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.video-frame {
  position: relative; width: 300px; max-width: 100%; margin: 0 auto;
  border-radius: 40px; padding: 12px; background: linear-gradient(160deg,#0b1436,#1c245a);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14);
}
.video-frame__notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #05091d; border-radius: 0 0 16px 16px; z-index: 4; }
.video-frame video { width: 100%; border-radius: 30px; display: block; background: #05091d; aspect-ratio: 640 / 1322; object-fit: cover; }
.video-frame__play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad-green); border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-glow); z-index: 5; transition: transform .2s, opacity .3s;
}
.video-frame__play:hover { transform: scale(1.08); }
.video-frame__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-frame.playing .video-frame__play { opacity: 0; pointer-events: none; }
.video-frame__badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  background: rgba(5,9,29,.7); backdrop-filter: blur(6px); color: #dfe6fb; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
}
.video-frame__badge .mute-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-300); }
.video-show__meta .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.video-show__meta .vchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #dfe6fb; font-size: 14px; font-weight: 600;
}
.video-show__meta .vchip svg { width: 16px; height: 16px; color: var(--green-300); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background:#fff; color: var(--slate); font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; }
.filter-btn:hover { border-color: var(--green); color: var(--green-600); }
.filter-btn.active { background: var(--navy); color:#fff; border-color: var(--navy); }
.gallery { column-count: 4; column-gap: 18px; }
.shot {
  break-inside: avoid; margin-bottom: 18px; border-radius: 20px; overflow: hidden; cursor: pointer;
  border: 7px solid #fff; box-shadow: var(--shadow-md); background:#fff; position: relative; transition: transform .25s, box-shadow .25s;
}
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; display: block; border-radius: 13px; }
.shot__cap { position:absolute; left:10px; bottom:10px; right:10px; color:#fff; font-size:12px; font-weight:600; opacity:0; transform: translateY(8px); transition:.25s; background: linear-gradient(transparent, rgba(0,10,40,.75)); padding: 24px 8px 8px; border-radius: 0 0 13px 13px; }
.shot:hover .shot__cap { opacity:1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,10,30,.9); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fade .3s ease; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 18px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color:#fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px; transition: .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 26px; }
.lightbox__nav.next { right: 26px; }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color:#cfd8f5; font-size: 14px; font-weight:600; }

/* ---------- Admin dashboard mock ---------- */
.dash { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.dash__panel { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow:hidden; }
.dash__bar { display:flex; align-items:center; gap:8px; padding: 14px 18px; background: var(--bg-alt); border-bottom:1px solid var(--line); }
.dash__bar .d { width:11px; height:11px; border-radius:50%; }
.dash__body { padding: 22px; display:grid; gap:16px; }
.dash__kpis { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.kpi { background: var(--bg-alt); border-radius: 14px; padding: 16px; }
.kpi .k-num { font-family: var(--font-display); font-weight:800; font-size:24px; color: var(--navy); }
.kpi .k-lbl { font-size:12px; color: var(--muted); }
.dash__rows { display:grid; gap:8px; }
.d-row { display:grid; grid-template-columns: 1fr auto; gap: 10px; align-items:center; padding: 12px 14px; border:1px solid var(--line); border-radius: 12px; font-size: 14px; }
.d-row .who { font-weight:600; }
.pill { font-size:11px; font-weight:700; padding: 4px 10px; border-radius:999px; }
.pill--ok { background: rgba(84,162,43,.14); color: var(--green-600); }
.pill--wait { background: #fff3d6; color: #b7791f; }
.pill--no { background: #fde2dc; color: #c0392b; }

/* ---------- Mobile app showcase ---------- */
.mobile-show { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.mobile-show__phones { display:flex; gap: 18px; justify-content:center; }
.mobile-show .phone { position: relative; left:auto; top:auto; transform:none; width: 220px; }
.mobile-show .phone:nth-child(2) { margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background:#fff; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); font-family: var(--font-display); }
.faq-q .plus { flex:0 0 auto; width: 30px; height:30px; border-radius:50%; background: var(--bg-alt); display:grid; place-items:center; transition:.25s; color: var(--green-600); font-size: 18px; }
.faq-item.open .plus { background: var(--grad-green); color:#fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { background:#fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display:flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border: 2px solid var(--green); box-shadow: var(--shadow-glow); }
.price-card--featured::before { content:"Most Popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--grad-green); color:#fff; font-size:12px; font-weight:700; padding: 6px 16px; border-radius:999px; letter-spacing:.04em; }
.price-card h3 { font-size: 21px; }
.price-card .price { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--navy); margin: 8px 0 2px; }
.price-card .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card .price-note { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-card ul { display: grid; gap: 11px; margin: 10px 0 26px; }
.price-card li { display:flex; gap:10px; align-items:flex-start; font-size: 14.5px; color: var(--slate); }
.price-card li svg { flex:0 0 auto; width:18px; height:18px; color: var(--green-600); margin-top:3px; }
.price-card .btn { margin-top: auto; }

/* ---------- Contact / CTA ---------- */
.cta { background: var(--grad-hero); border-radius: var(--radius-lg); padding: 64px; text-align: center; color:#fff; position: relative; overflow: hidden; }
.cta h2 { color:#fff; font-size: clamp(28px,4vw,42px); }
.cta p { color:#c3cef0; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta__actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.contact-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.contact-card { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; text-align:center; }
.contact-card .card__icon { margin: 0 auto 14px; background: rgba(255,255,255,.12); color:#fff; }
.contact-card h4 { color:#fff; font-size: 16px; margin-bottom: 4px; }
.contact-card a, .contact-card p { color:#c3cef0; font-size: 14px; margin:0; }

/* ---------- Footer ---------- */
.footer { background: #060b22; color: #aeb9e4; padding: 64px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color:#fff; margin-bottom: 16px; }
.footer h5 { color:#fff; font-family: var(--font-display); font-size: 14px; letter-spacing:.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14.5px; transition: color .2s; }
.footer a:hover { color: var(--green-300); }
.footer__bottom { display:flex; align-items:center; justify-content:space-between; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer__social { display:flex; gap:12px; }
.footer__social a { width: 38px; height:38px; border-radius:50%; background: rgba(255,255,255,.06); display:grid; place-items:center; }
.footer__social a:hover { background: var(--grad-green); }
.footer__social svg { width:18px; height:18px; }

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

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.floaty { animation: float 6s ease-in-out infinite; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad-green); z-index: 300; width: 0; transition: width .1s; }

/* Mobile nav drawer */
.nav__links.mobile-open { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .gallery { column-count: 3; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 480px; margin-top: 10px; }
  .why__grid, .split, .dash, .mobile-show, .video-show { grid-template-columns: 1fr; gap: 40px; }
  .video-show__meta { text-align: center; }
  .video-show__meta .chips { justify-content: center; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .arch, .sec-grid, .stats-band, .contact-grid, .pricing { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav__links {
    position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 6px;
    background:#fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-lg); display: none;
  }
  .nav__links a { color: var(--slate) !important; padding: 10px 12px; border-radius: 10px; }
  .nav__links a:hover { background: var(--bg-alt); }
  .nav__toggle { display: block; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
  .grid-4, .grid-3, .grid-2, .tech-grid, .steps, .arch, .sec-grid, .stats-band, .contact-grid, .pricing, .roles-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .cta { padding: 40px 24px; }
  .hero__stats { gap: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; }
  .phone { width: 210px; }
}
@media (max-width: 420px) {
  .gallery { column-count: 1; }
  body { font-size: 16px; }
}

/* Ultra-wide */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  body { font-size: 18px; }
}

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