/* ===== Tokens (Mobi Zgrada brand, from ACMT / Mobi-Admin / softver za održavanje) ===== */
:root {
  --blue: #2662AE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --navy: #0F3D6E;
  --navy-900: #0A2848;
  --sky: #6FB0E0;
  --sky-light: #BFD6F5;
  --orange: #F7941D;
  --orange-600: #E07F0A;
  --green: #1D7A4F;
  --indigo: #4F46E5;
  --gold: #E8B030;

  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #5B6673;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-tint: #F5F8FC;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -10px rgba(15, 61, 110, .25), 0 4px 12px -4px rgba(15, 23, 42, .08);
  --shadow-lg: 0 40px 80px -30px rgba(15, 61, 110, .45), 0 12px 30px -12px rgba(15, 23, 42, .18);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sky-light); outline-offset: 2px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(38, 98, 174, .7); }
.btn-primary:hover { background: var(--navy); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(247, 148, 29, .8); }
.btn-accent:hover { background: var(--orange-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky-light); color: var(--blue); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--sky) 0%, #5A90C8 55%, var(--blue) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px -4px rgba(38, 98, 174, .6);
}
.brand-mark svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-links a { white-space: nowrap; }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-tint); border: 1px solid var(--line); }
.lang-switch a { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 5px 9px; border-radius: 7px; line-height: 1; transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--blue); }
.lang-switch a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(111, 176, 224, .35) 0%, transparent 60%),
    radial-gradient(40% 50% at 10% 10%, rgba(191, 214, 245, .55) 0%, transparent 60%),
    radial-gradient(30% 40% at 70% 90%, rgba(247, 148, 29, .12) 0%, transparent 60%),
    linear-gradient(180deg, #F4F8FD 0%, #fff 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(38, 98, 174, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 98, 174, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247, 148, 29, .18); }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.grad-text { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-500) 45%, var(--orange) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--green); width: 16px; height: 16px; }

.hero-visual { position: relative; height: 520px; }
.hero-win { position: absolute; top: 72px; left: 0; width: 88%; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.hero-shot { display: block; width: 100%; height: auto; }
.hero-visual .hero-phone { position: absolute; right: 0; bottom: 0; width: 230px; animation: floaty 7s ease-in-out infinite; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, .9); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: 13px;
}
.float-card b { display: block; font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card img { width: 32px; height: 32px; object-fit: contain; }
.float-ticket { left: -10px; bottom: 70px; animation: floaty 6s ease-in-out infinite -2s; }
.float-poll { left: 34%; top: -8px; animation: floaty 8s ease-in-out infinite -4s; }
.poll-ring { position: relative; width: 40px; height: 40px; }
.poll-ring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.poll-ring circle { fill: none; stroke: #E8EEF6; stroke-width: 4; }
.poll-ring .ring { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 77 100; }
.poll-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; }

@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ===== Window mockup ===== */
.win { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.win-bar i:nth-child(1) { background: #FF6B6B; }
.win-bar i:nth-child(2) { background: #FFD166; }
.win-bar i:nth-child(3) { background: #4ECDC4; }
.win-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 500; }

.pill { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.pill-green { background: #E7F5EE; color: var(--green); }
.tx { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pos { color: var(--green); }
.neg { color: #C2410C; }

/* ===== Phone mockup ===== */
.phone {
  position: relative; aspect-ratio: 9 / 19; border-radius: 38px; padding: 10px;
  background: linear-gradient(145deg, #1E293B, #0F172A);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #334155;
}
.phone-lg { width: 280px; margin: 0 auto; }
.phone-screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; }

/* ===== App demo: clickable walkthrough ===== */
.demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-video { aspect-ratio: 440 / 960; padding: 8px; }
.phone-video .phone-screen { border-radius: 31px; background: #E6F0FB; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.hero-video.swap { opacity: 0; }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.demo-video.is-front { opacity: 1; z-index: 1; }
.demo-hit { position: absolute; inset: 0; z-index: 3; width: 100%; border: 0; background: none; cursor: pointer; touch-action: pan-y; }
.demo-hit:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 31px; }
.demo.is-playing .demo-hit { cursor: default; }
.demo-spot {
  position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: rgba(38, 98, 174, .3); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .45); pointer-events: none;
  animation: spot-pulse 1.2s ease-out infinite, spot-in .25s ease-out; transition: opacity .15s;
}
.demo-spot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff;
  animation: spot-ring 1.4s ease-out infinite;
}
.demo.is-playing .demo-spot, .demo.is-done .demo-spot { opacity: 0; animation: none; }
.demo-spot.is-swipe-up { animation: spot-pulse 1.4s ease-out infinite, swipe-up 1.4s ease-in-out infinite; }
.demo-spot.is-swipe-left { animation: spot-pulse 1.4s ease-out infinite, swipe-left 1.4s ease-in-out infinite; }
@keyframes spot-in { from { opacity: 0; transform: scale(.6); } }
@keyframes spot-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.88); } }
@keyframes spot-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2); opacity: 0; } }
@keyframes swipe-up { 0%, 15% { translate: 0 22px; } 75%, 100% { translate: 0 -30px; } }
@keyframes swipe-left { 0%, 15% { translate: 22px 0; } 75%, 100% { translate: -40px 0; } }
.demo-ripple {
  position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(38, 98, 174, .35); pointer-events: none; animation: ripple .42s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.demo-status { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 52px; text-align: center; }
.demo-caption { font-weight: 700; color: var(--navy); font-size: 16px; }
.demo-caption small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E1; transition: background .2s, width .2s; }
.demo-dots i.on { width: 20px; border-radius: 4px; background: var(--orange); }
.demo-dots i.done { background: var(--blue); }
/* Mobi-Admin walkthrough: screenshots in a browser window */
.admin-demo { width: 100%; max-width: 940px; margin: 0 auto; }
.admin-win { width: 100%; }
.admin-screen { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: #F8FAFC; }
.admin-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.admin-shot.is-front { opacity: 1; z-index: 1; }
.admin-shot.fade-in { animation: shot-fade .3s cubic-bezier(.4, 0, .2, 1) forwards; z-index: 1; }
.admin-shot.slide-in { animation: shot-slide-in .38s cubic-bezier(.22, .61, .36, 1) forwards; z-index: 1; }
.admin-shot.slide-out { animation: shot-slide-out .38s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes shot-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shot-slide-in { from { opacity: 1; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes shot-slide-out { from { opacity: 1; transform: none; } to { opacity: 1; transform: translateY(-40%); } }
.admin-cursor {
  position: absolute; z-index: 3; left: var(--cx, 50%); top: var(--cy, 60%); width: 22px; height: 22px; margin: -3px 0 0 -4px;
  pointer-events: none; filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .35));
  transition: left .55s cubic-bezier(.22, .61, .36, 1), top .55s cubic-bezier(.22, .61, .36, 1), transform .1s ease-out;
  will-change: left, top;
}
.admin-demo.is-pressing .admin-cursor { transform: scale(.85); }
.admin-demo .demo-spot { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
@media (hover: none) { .admin-cursor { display: none; } }
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.demo-tab {
  position: relative; overflow: hidden; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.demo-tab:hover { color: var(--navy); }
.demo-tab[aria-selected="true"] { color: var(--navy); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.demo-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ===== Urgency (održavanje 1–4) ===== */
.urg { width: 4px; align-self: stretch; border-radius: 4px; flex: none; }
.urg-1 { background: #22C55E; }
.urg-2 { background: #EAB308; }
.urg-3 { background: #F97316; }
.urg-4 { background: #A855F7; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(168, 85, 247, .25); } }
.float-ticket .urg { height: 34px; align-self: center; }

/* ===== Strip ===== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.strip p { font-weight: 600; color: var(--muted); font-size: 15px; }
.strip-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.strip-apps a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.strip-apps a:hover { border-color: var(--sky-light); box-shadow: var(--shadow-sm); }
.chip-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.chip-ic svg { width: 20px; height: 20px; }
.chip-app { background: linear-gradient(160deg, var(--sky), var(--blue)); }
.chip-dash { background: linear-gradient(160deg, var(--blue-500), #1E40AF); }
.chip-dash svg { width: 16px; height: 16px; }
.chip-img { width: 28px; height: 28px; object-fit: contain; flex: none; }

/* ===== Sections ===== */
.section { padding: 112px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 14px; }
.kicker-light { color: var(--orange); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(160deg, #EAF2FC, #D6E6F8); margin-bottom: 22px; }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { color: var(--muted); }

/* ===== Products ===== */
.product { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.product + .product { margin-top: 128px; }
.product-rev .product-copy { order: 2; }
.product-wide { grid-template-columns: 1fr; gap: 44px; }
.product-wide .product-copy { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 64px; align-items: start; }
.product-wide .product-copy > :not(.feat-list) { grid-column: 1; }
.product-wide .feat-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 4px; }
.product-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.product-badge .chip-ic { width: 24px; height: 24px; border-radius: 7px; }
.product-badge .chip-ic svg { width: 18px; height: 18px; }
.product-badge .chip-dash svg { width: 14px; height: 14px; }
.product-badge .chip-img { width: 24px; height: 24px; }
.product h3 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-top: 18px; }
.product-lead { font-size: 18px; color: var(--muted); margin-top: 14px; }
.feat-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: #E3EEFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232662AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#odrzavanje .feat-list li::before, #maintenance .feat-list li::before { background-color: #EEF2FF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.feat-list b { color: var(--ink); }
.product-visual { position: relative; }
.product-visual::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 176, 224, .45), transparent);
  filter: blur(20px);
}
#odrzavanje .product-visual::before, #maintenance .product-visual::before { background: radial-gradient(closest-side, rgba(79, 70, 229, .25), transparent); }
.product-visual > * { position: relative; z-index: 1; }

.store-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 10px 18px 10px 14px; border-radius: 12px; transition: transform .15s, background .2s; }
.store:hover { transform: translateY(-1px); background: #1E293B; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10.5px; opacity: .75; line-height: 1.1; }
.store b { font-size: 16px; line-height: 1.1; }

/* Maintenance software mock */

/* ===== How it works ===== */
.section-dark {
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(59, 130, 246, .3), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(247, 148, 29, .12), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--sky), var(--indigo), var(--indigo), var(--sky)); opacity: .5; }
.flow li { position: relative; padding: 0 8px; text-align: center; }
.flow-n { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 50%; font-weight: 800; font-size: 18px; background: var(--navy); border: 2px solid rgba(111, 176, 224, .6); box-shadow: 0 0 0 6px var(--navy-900); }
.flow-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.tag-app { background: rgba(111, 176, 224, .2); color: #A9D2F2; }
.tag-desk { background: rgba(129, 120, 255, .22); color: #C7C2FF; }
.flow h4 { font-size: 18px; margin-bottom: 8px; }
.flow p { color: rgba(255,255,255,.68); font-size: 15px; }

/* ===== For residents ===== */
.res-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.res { grid-column: span 2; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.res:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.res-wide { grid-column: span 3; }
.res h3 { font-size: 20px; margin-bottom: 10px; }
.res p { color: var(--muted); }
.res-shot {
  margin: 24px 0 0; margin-top: auto; padding-top: 24px; max-height: 284px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.res-shot img {
  display: block; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.res-wide .res-shot { max-height: 324px; }
.res-last .res-shot { -webkit-mask-image: none; mask-image: none; }
.res-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.res-cta p { font-weight: 600; color: var(--ink-2); }
.res-cta .store-btns { margin-top: 18px; justify-content: center; }

/* ===== Feature grid ===== */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.feat:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); }
.feat > span { font-size: 26px; display: block; margin-bottom: 16px; }
.feat h4 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 24px;
}
.plan-head h3 { font-size: 24px; font-weight: 800; }
.plan-head p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: flex-end; gap: 12px; }
.price > b { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: .9; }
.price > span { font-size: 18px; font-weight: 700; padding-bottom: 6px; }
.price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.price-list { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.price-list .ic { color: var(--blue); margin-top: 3px; }
.price-list-lead { font-weight: 700; }

.plan-premium {
  color: #fff; border-color: transparent; overflow: hidden;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(232, 176, 48, .28), transparent 60%),
    linear-gradient(160deg, #13365F 0%, var(--navy-900) 55%, #071B33 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(232, 176, 48, .35);
}
.plan-premium::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 224, 150, .12) 45%, transparent 60%);
  background-size: 250% 100%; animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.plan-premium .plan-head h3 { background: linear-gradient(100deg, #FFE7A8, var(--gold) 60%, #D4952A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-premium .plan-head p, .plan-premium .price small { color: rgba(255,255,255,.68); }
.plan-premium .price-list { border-color: rgba(255,255,255,.14); }
.plan-premium .price-list li { color: rgba(255,255,255,.9); }
.plan-premium .price-list .ic { color: var(--gold); }
.plan-badge {
  position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; color: #3B2A05;
  background: linear-gradient(100deg, #FFE7A8, var(--gold));
  box-shadow: 0 6px 16px -6px rgba(232, 176, 48, .7);
}
.btn-gold { background: linear-gradient(100deg, #FFD978, var(--gold)); color: #2B1E03; box-shadow: 0 8px 22px -8px rgba(232, 176, 48, .8); }
.btn-gold:hover { filter: brightness(1.06); }

.calc {
  max-width: 1000px; margin: 24px auto 0; padding: 36px 40px; border-radius: 24px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.calc h3 { font-size: 22px; margin-bottom: 18px; }
.calc label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 20px; }
.tier-switch { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line); }
.tier-switch button {
  font: 700 14px var(--font); border: 0; background: none; color: var(--muted); padding: 9px 18px; border-radius: 9px; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tier-switch button.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tier-switch button[data-tier="premium"].on { background: linear-gradient(100deg, #FFE7A8, var(--gold)); color: #3B2A05; }
.tier-switch button:focus-visible { outline: 3px solid var(--sky-light); }
.calc-input { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.calc-input output { min-width: 76px; text-align: center; font-weight: 800; font-size: 18px; padding: 8px 10px; border-radius: 10px; background: var(--bg-tint); border: 1px solid var(--line); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 8px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent-fill, var(--blue)) 0%, var(--accent-fill, var(--blue)) var(--fill, 12%), #E2E8F0 var(--fill, 12%), #E2E8F0 100%);
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-fill, var(--blue)); box-shadow: 0 4px 10px rgba(38, 98, 174, .35); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-fill, var(--blue)); box-shadow: 0 4px 10px rgba(38, 98, 174, .35); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px var(--sky-light); }
.calc.is-premium { --accent-fill: #C9921C; }
.calc-ticks { display: flex; justify-content: space-between; margin: 10px 92px 0 0; font-size: 11.5px; color: var(--muted); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.calc-result > div { padding: 18px; border-radius: 14px; background: var(--bg-tint); }
.calc-result small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-result b { white-space: nowrap; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-result > div:first-child b { color: var(--blue); }
.calc.is-premium .calc-result > div:first-child b { color: #A97614; }
.calc-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.calc-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232662AE' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--sky-light); outline-offset: -3px; border-radius: 16px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ===== CTA ===== */
.cta-section { padding-top: 0; }
.cta-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 32px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(111, 176, 224, .45), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(247, 148, 29, .25), transparent 60%),
    linear-gradient(140deg, var(--blue), var(--navy));
  box-shadow: var(--shadow-lg);
}
.cta-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); margin-bottom: 24px; }
.cta-mark svg { width: 40px; height: 40px; }
.cta-copy h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.cta-copy p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.8); }
.hero-points-light { color: rgba(255,255,255,.9); justify-content: flex-start !important; }
.hero-points-light .ic { color: var(--orange); }
.cta-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select { font: 500 15px var(--font); padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #F8FAFC; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.field input.invalid { border-color: #DC2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.2em; text-align: center; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #DC2626; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 300px; font-size: 15px; }
.footer-cols { display: flex; gap: 72px; }
.footer-cols h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 15px; font-weight: 500; margin-bottom: 10px; color: var(--ink-2); }
.footer-cols a:hover { color: var(--blue); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.made-by a { color: var(--ink-2); font-weight: 600; }
.made-by a:hover { color: var(--blue); }

/* ===== Reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Building mark watermarks ===== */
:root { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M27 26 A32 32 0 0 1 73 26' stroke-width='4.5'/%3E%3Cpath d='M35 34 A21 21 0 0 1 65 34' stroke-width='4.5'/%3E%3Cpath d='M33 48 L50 36 L50 86 L33 86 Z' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cpath d='M24 86 H33 M67 86 H78' stroke-width='3.5'/%3E%3C/g%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M50 36 L67 44 L67 86 L50 86 Z M56 48 L60 48 L60 54 L56 54 Z M56 61 L60 61 L60 67 L56 67 Z M56 76 L60 76 L60 86 L56 86 Z'/%3E%3Crect x='40' y='52' width='3.5' height='6' fill='%23000'/%3E%3Crect x='40' y='65' width='3.5' height='6' fill='%23000'/%3E%3C/svg%3E"); }
.hero-bg::before, .section-dark::before, #za-stanare::before, #residents::before,
.plan-premium::after, .cta-card::before, .value::after, .res::after {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
}
@keyframes markFloat { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-18px) rotate(calc(var(--r, 0deg) + 3deg)); } }

.hero-bg::before {
  width: clamp(320px, 40vw, 560px); aspect-ratio: 1; left: -7%; bottom: -16%; z-index: 0; --r: 9deg;
  background: linear-gradient(160deg, var(--sky), var(--blue)); opacity: .08;
  animation: markFloat 14s ease-in-out infinite;
}
.section-dark { position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before {
  width: clamp(320px, 42vw, 600px); aspect-ratio: 1; left: -8%; bottom: -18%; --r: 10deg;
  background: linear-gradient(160deg, #fff, var(--sky)); opacity: .06;
  animation: markFloat 16s ease-in-out infinite;
}
#za-stanare, #residents { position: relative; overflow: hidden; isolation: isolate; }
#za-stanare::before, #residents::before {
  width: clamp(280px, 34vw, 480px); aspect-ratio: 1; right: -7%; top: -4%; --r: 12deg;
  background: linear-gradient(200deg, var(--sky), var(--blue)); opacity: .07;
  animation: markFloat 15s ease-in-out infinite reverse;
}
.plan-premium { isolation: isolate; }
.plan-premium::after {
  width: 300px; aspect-ratio: 1; right: -70px; bottom: -60px; transform: rotate(-12deg);
  background: linear-gradient(160deg, #FFE7A8, var(--gold)); opacity: .1;
}
.cta-card { isolation: isolate; }
.cta-card::before {
  width: 420px; aspect-ratio: 1; left: -90px; bottom: -120px; --r: 8deg;
  background: #fff; opacity: .08;
  animation: markFloat 13s ease-in-out infinite;
}
.value, .res { position: relative; overflow: hidden; isolation: isolate; }
.value::after, .res::after {
  width: 130px; aspect-ratio: 1; right: -26px; bottom: -30px; transform: rotate(-10deg);
  background: var(--blue); opacity: .045; transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.value:hover::after, .res:hover::after { opacity: .12; transform: translate(-10px, -10px) rotate(0deg) scale(1.08); }

@media (max-width: 600px) {
  .hero-bg::before { left: -30%; bottom: auto; top: 18%; opacity: .06; }
  .plan-premium::after { width: 220px; }
  .cta-card::before { width: 300px; left: -80px; bottom: auto; top: -60px; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .product { grid-template-columns: 1fr; gap: 48px; }
  .product-rev .product-copy { order: 0; }
  .product-wide .product-copy { display: block; }
  .product-copy { max-width: 640px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .res, .res-wide { grid-column: span 1; }
  .res-last { grid-column: span 2; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .flow::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .calc { grid-template-columns: 1fr; max-width: 560px; gap: 24px; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta-mobile { display: inline-flex; margin-top: 16px; padding: 14px; }
  .nav-actions > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .value-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .res-last { grid-column: span 1; }
  .strip-inner { justify-content: center; text-align: center; }
  .strip-apps { justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .lead { font-size: 17px; }
  .hero-visual { height: 488px; }
  .hero-win { width: 100%; transform: none; top: 0; }
  .hero-visual .hero-phone { width: 160px; right: -4px; top: 132px; bottom: auto; }
  .float-poll { display: none; }
  .float-ticket { left: 0; top: 268px; bottom: auto; max-width: 60%; padding: 10px 12px; gap: 10px; z-index: 2; }
  .float-ticket img { width: 26px; height: 26px; }
  .float-ticket b { font-size: 12.5px; }
  .float-ticket small { display: block; font-size: 11px; line-height: 1.35; }
  .phone-lg { width: 240px; }
  .feat-grid, .flow { grid-template-columns: 1fr; }
  .plan, .calc { padding: 28px 22px; }
  .plan-badge { position: static; align-self: flex-start; margin-bottom: -8px; }
  .price > b { font-size: 56px; }
  .calc-result { grid-template-columns: 1fr; }
  .calc-result b { font-size: 22px; }
  .calc-ticks { margin-right: 92px; }
  .calc-ticks span:nth-child(2), .calc-ticks span:nth-child(4) { display: none; }
  .cta-card { padding: 28px 20px; border-radius: 24px; }
  .cta-form { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { gap: 48px; }
  .btn-lg { padding: 15px 20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

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