/* Tarus — site de prezentare (tarus.app). Static, fără build. Minimalist. */
:root {
  --paper: #F7F3EC;
  --paper-2: #EFE8DC;
  --ink: #241710;
  --ink-2: #6B5A4D;
  --muted: #9A8A7C;
  --line: rgba(36, 23, 16, .1);
  --wood: #A4622F;
  --night: #120D09;
  --cream: #F3EADB;
  --grass: #4B7A2F;
  --red: #B3322B;
  --wrap: 1400px;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Jost", "DM Sans", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
       -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- tipografie ---------- */
.eyebrow { font-family: var(--display); font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--wood); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
h1 b, h2 b { font-weight: 500; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 34rem; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.45rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
       transition: background .2s, color .2s, gap .2s; white-space: nowrap; }
.btn:hover { gap: .9rem; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--cream); color: var(--night); }
.link { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.4rem; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, color .3s, border-color .3s;
               border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(247, 243, 236, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
                        border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 46px; width: auto; }
.brand .logo-light { display: none; }
.menu { display: flex; align-items: center; gap: 2rem; list-style: none; padding: 0; font-size: .92rem; }
.menu a { opacity: .7; transition: opacity .2s; }
.menu a:hover, .menu a[aria-current] { opacity: 1; }
.menu .btn { opacity: 1; padding: .6rem 1.1rem; font-size: .88rem; }
/* peste hero întunecat */
.over-dark .site-header:not(.scrolled) { color: var(--cream); }
.over-dark .site-header:not(.scrolled) .logo-dark { display: none; }
.over-dark .site-header:not(.scrolled) .logo-light { display: block; }
.over-dark .site-header:not(.scrolled) .menu .btn { background: var(--cream); color: var(--night); }

.burger { display: none; }
@media (max-width: 900px) {
  .menu { display: none; }
  .burger { display: block; position: relative; }
  .burger summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; }
  .burger summary::-webkit-details-marker { display: none; }
  .burger summary i { width: 20px; height: 1.5px; background: currentColor; position: relative; display: block; }
  .burger summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 1.5px; background: currentColor; }
  .burger summary i { transform: translateY(-3px); }
  .burger nav { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--paper); color: var(--ink);
                border-radius: 16px; padding: .5rem; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
  .burger nav a { display: block; padding: .7rem .9rem; border-radius: 10px; }
  .burger nav a:hover { background: var(--paper-2); }
  .burger nav .btn { display: flex; justify-content: center; margin-top: .3rem; }
}

/* ---------- splash (prima vizită) ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; transition: opacity .6s var(--ease); }
.splash > div { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.splash img.stake { height: 120px; animation: stakeDrop 1s var(--ease) both; transform-origin: bottom center; }
.splash img.wm { height: 20px; animation: fadeUp .7s .45s var(--ease) both; }
.splash.out { opacity: 0; pointer-events: none; }
@keyframes stakeDrop { 0% { transform: translateY(-60px); opacity: 0; } 60% { transform: translateY(4px); opacity: 1; }
                       80% { transform: translateY(-2px) scaleY(.98); } 100% { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.no-splash .splash { display: none; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; background: var(--night); color: var(--cream); display: flex; align-items: flex-end;
        overflow: hidden; padding: 0 0 12vh !important; }
.hero-video { position: absolute; inset: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-video::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 9, .88) 0%, rgba(18, 13, 9, .55) 38%, rgba(18, 13, 9, 0) 70%),
              linear-gradient(0deg, rgba(18, 13, 9, .75) 0%, rgba(18, 13, 9, 0) 40%),
              linear-gradient(180deg, rgba(18, 13, 9, .55) 0%, rgba(18, 13, 9, 0) 18%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 560px; }
.hero h1 { color: var(--cream); }
.hero .lead { color: rgba(243, 234, 219, .78); margin-top: 1.4rem; }
.hero .eyebrow { color: #D9A56F; display: block; margin-bottom: 1.4rem; }
.hero .link { color: var(--cream); }
.hero .scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 1px; height: 46px; background: rgba(243, 234, 219, .2); overflow: hidden; }
.hero .scroll-cue::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--cream); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 46px; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 9vh !important; }
  .hero-video video { object-position: 40% 50%; }
  .hero-video::after { background: linear-gradient(0deg, rgba(18, 13, 9, .95) 0%, rgba(18, 13, 9, .6) 45%, rgba(18, 13, 9, .15) 75%),
                                    linear-gradient(180deg, rgba(18, 13, 9, .5) 0%, rgba(18, 13, 9, 0) 20%); }
  .hero .scroll-cue { display: none; }
}
/* videoul intră după splash: ușor zoom-out */
.hero-video video { transform: scale(1.08); opacity: 0; transition: transform 2.4s var(--ease), opacity 1.2s var(--ease); }
.ready .hero-video video { transform: none; opacity: 1; }
/* intrare hero după splash */
.hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ready .hero-copy > * { opacity: 1; transform: none; }
.ready .hero-copy > :nth-child(2) { transition-delay: .12s; }
.ready .hero-copy > :nth-child(3) { transition-delay: .24s; }
.ready .hero-copy > :nth-child(4) { transition-delay: .36s; }

/* ---------- secțiuni ---------- */
section { padding: 140px 0; }
@media (max-width: 700px) { section { padding: 88px 0; } }
.head { max-width: 40rem; margin-bottom: 4rem; }
.head h2 { margin-top: 1.1rem; }
.head p { margin-top: 1.2rem; color: var(--ink-2); font-size: 1.1rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.dark { background: var(--night); color: var(--cream); }
.dark .head p, .dark .lead { color: rgba(243, 234, 219, .65); }
.dark .eyebrow { color: #D9A56F; }
.rule { border: 0; border-top: 1px solid var(--line); }

/* ---------- secțiune fixată, pas cu pas (ca la babelkit) ---------- */
.pinned { position: relative; padding: 0; }
.pinned .sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.pinned .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.steps-nav { list-style: none; padding: 0; margin-top: 2.6rem; display: grid; gap: 4px; }
.steps-nav li { display: grid; grid-template-columns: 38px 1fr; gap: 0 10px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer;
                color: var(--muted); transition: color .4s var(--ease); }
.steps-nav li:last-child { border-bottom: 1px solid var(--line); }
.steps-nav .n { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; padding-top: 5px; }
.steps-nav h3 { font-size: 1.3rem; color: inherit; transition: color .4s; }
.steps-nav p { grid-column: 2; font-size: .96rem; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden;
               transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s; }
.steps-nav .more { grid-column: 2; font-size: .88rem; font-weight: 500; color: var(--wood); max-height: 0; opacity: 0; overflow: hidden; transition: all .5s var(--ease); }
.steps-nav li.on { color: var(--ink); }
.steps-nav li.on .n { color: var(--wood); }
.steps-nav li.on p { max-height: 8em; opacity: 1; margin-top: .45rem; }
.steps-nav li.on .more { max-height: 2em; opacity: 1; margin-top: .6rem; }
.dark .steps-nav li { border-color: rgba(243, 234, 219, .12); color: rgba(243, 234, 219, .35); }
.dark .steps-nav li.on { color: var(--cream); }
.dark .steps-nav p { color: rgba(243, 234, 219, .65); }
.progress { height: 1px; background: var(--line); margin-top: 1.4rem; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--wood); transition: width .15s linear; }

.stage { position: relative; height: min(80svh, 720px); display: grid; place-items: center; }

/* ---------- iPhone (vizualul central) ---------- */
.iphone { position: relative; height: 100%; max-height: 720px; aspect-ratio: 600 / 1303; background: #17110D; border-radius: 14% / 6.5%;
          box-shadow: 0 60px 100px -50px rgba(36, 23, 16, .6), inset 0 0 0 1px #3a2c22; }
.iphone::before { content: ""; position: absolute; z-index: 3; top: 2.6%; left: 50%; transform: translateX(-50%); width: 28%; height: 2.4%;
                  background: #000; border-radius: 99px; }
/* ramă de ~2% din lățime: 2% lățime = 0,92% înălțime (raport 600/1303) */
.iphone .screen { position: absolute; top: .92%; bottom: .92%; left: 2%; right: 2%; border-radius: 12.6% / 5.8%; overflow: hidden; background: #fff; }
.iphone .screen > * { position: absolute; inset: 0; }
.iphone .screen > img { width: 100%; height: 100%; object-fit: cover; }
[data-frames] > * { opacity: 0; transform: scale(1.035); transition: opacity .7s var(--ease), transform 1s var(--ease); }
[data-frames] > .on { opacity: 1; transform: none; }
.iphone.solo { height: auto; width: min(100%, 340px); margin: 0 auto; }

/* ecrane desenate în iPhone (stil aplicație) */
.app { background: #EFE8DC; font-size: 12px; display: flex; flex-direction: column; color: var(--ink); }
.app .status { height: 11%; flex: none; }
.app .title { padding: 0 7% 4%; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.app .sub { padding: 0 7% 3%; font-size: 11px; color: var(--muted); margin-top: -3%; }
.app .seg { display: flex; gap: 4px; padding: 0 5% 4%; overflow: hidden; }
.app .seg span { padding: 5px 9px; border-radius: 99px; font-size: 10.5px; white-space: nowrap; color: var(--ink-2); background: #fff; transition: all .4s; }
.app .seg span.on { background: var(--ink); color: var(--paper); }
.app .list { padding: 0 5%; display: grid; gap: 6px; align-content: start; flex: 1; position: relative; }
.app .item { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; gap: 3px; }
.app .item b { font-weight: 500; font-size: 12px; }
.app .item small { color: var(--muted); font-size: 10.5px; }
.app .item.mono small { font-family: ui-monospace, "SF Mono", monospace; font-size: 10px; }
.app .item .meta { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.app .mapbit { height: 30%; margin: 0 5% 4%; border-radius: 14px; background: url("/img/phone-offline.jpg") center 35%/cover; flex: none; }
.app .tabbar { height: 9%; flex: none; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; background: #fff; }
.app .tabbar i { width: 18px; height: 18px; border-radius: 6px; background: var(--paper-2); }
.app .tabbar i.on { background: var(--wood); }
.app .pane { position: absolute; inset: 0 5%; display: grid; gap: 6px; align-content: start; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.app .pane.on { opacity: 1; transform: none; }

@media (max-width: 900px) {
  /* pe mobil: fără fixare, lista devine carduri simple */
  .pinned { height: auto !important; padding: 88px 0; }
  .pinned .sticky { position: static; height: auto; display: block; }
  .pinned .grid { grid-template-columns: 1fr; gap: 0; }
  .pinned .stage { display: none; }
  .steps-nav .shot .iphone { height: auto; width: min(100%, 280px); }
  .steps-nav li { grid-template-columns: 1fr; padding: 28px 0; color: var(--ink); cursor: default; }
  .steps-nav .n { color: var(--wood); padding: 0 0 .4rem; }
  .steps-nav p, .steps-nav .more { grid-column: 1; max-height: none; opacity: 1; margin-top: .45rem; }
  .steps-nav .shot { display: block !important; margin-top: 1.4rem; }
}
.steps-nav .shot { display: none; }

/* ---------- device ---------- */
.phone { background: #17110D; border-radius: 42px; padding: 9px; box-shadow: 0 40px 80px -40px rgba(36, 23, 16, .55); }
.phone img { border-radius: 34px; width: 100%; height: 100%; object-fit: cover; }
.tablet { background: #17110D; border-radius: 30px; padding: 12px; box-shadow: 0 40px 80px -40px rgba(36, 23, 16, .55); }
.tablet img { border-radius: 20px; width: 100%; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 56px; } .split.rev > :first-child { order: 0; } }

/* ---------- listă simplă de puncte ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.point .n { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; color: var(--wood); }
.point h3 { margin: .9rem 0 .5rem; }
.point p { color: var(--ink-2); font-size: .98rem; }
.dark .point p { color: rgba(243, 234, 219, .6); }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; gap: 40px; } }

.checks { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .9rem; }
.checks li { padding-left: 1.6rem; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--wood); }
.checks li b { color: var(--ink); font-weight: 500; }

/* ---------- hero pagini funcție ---------- */
.page-hero { padding: 168px 0 120px; }
.page-hero .eyebrow { display: block; margin-bottom: 1.6rem; }
.page-hero .lead { margin-top: 1.6rem; }
@media (max-width: 700px) { .page-hero { padding: 120px 0 72px; } }

/* ---------- prețuri ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.plan { padding: 48px 48px 48px 0; }
.plan + .plan { padding: 48px 0 48px 48px; border-left: 1px solid var(--line); }
.plan .price { font-family: var(--display); font-weight: 300; font-size: 4rem; line-height: 1; margin: 1.2rem 0 .2rem; letter-spacing: -.03em; }
.plan .price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.plan .btn { margin-top: 2.2rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan, .plan + .plan { padding: 40px 0; border-left: 0; } .plan + .plan { border-top: 1px solid var(--line); } }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; background: var(--night); color: var(--cream); text-align: center; padding: 180px 0; }
.cta .bg { position: absolute; inset: -10% 0; background: url("/img/lada-cta.jpg") center 38%/cover; opacity: .42; will-change: transform; }
.cta .wrap { position: relative; }
.cta h2 { max-width: 16ch; margin: 1.2rem auto 0; }
.cta .actions { justify-content: center; }
.cta .link { color: var(--cream); }
.soon { margin-top: 2.2rem; font-size: .85rem; color: rgba(243, 234, 219, .55); }

/* ---------- următoarea funcție ---------- */
.next { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.next a { padding: 32px 24px 32px 0; transition: color .2s; }
.next a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.next small { font-family: var(--display); font-size: .7rem; letter-spacing: .2em; color: var(--muted); }
.next b { display: block; margin-top: .4rem; font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.next a:hover b { color: var(--wood); }
@media (max-width: 900px) { .next { grid-template-columns: 1fr 1fr; } .next a:nth-child(3) { padding-left: 0; border-left: 0; }
  .next a:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- footer ---------- */
.site-footer { padding: 72px 0 36px; font-size: .88rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--display); font-weight: 500; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a:hover { color: var(--ink); }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { margin-top: 1rem; max-width: 18rem; }
.foot-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- mockup Proiect ---------- */
.mock { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(36, 23, 16, .45); overflow: hidden; font-size: .85rem; }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-top b { font-weight: 500; }
.mock-top span { font-size: .75rem; color: var(--muted); }
.tabs { display: flex; gap: 2px; padding: 8px 10px; border-bottom: 1px solid var(--line); overflow: hidden; }
.tabs span { padding: .35rem .7rem; border-radius: 999px; font-size: .76rem; white-space: nowrap; color: var(--ink-2); transition: background .4s, color .4s; }
.tabs span.on { background: var(--ink); color: var(--paper); }
.panes { position: relative; height: 300px; }
.pane { position: absolute; inset: 0; padding: 14px; display: grid; gap: 8px; align-content: start; opacity: 0; transform: translateX(14px);
        transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pane.on { opacity: 1; transform: none; }
.pane.map { padding: 0; background: url("/img/ipad-navigare.jpg") center 45%/cover; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 11px; background: var(--paper); }
.row b { font-weight: 500; font-size: .82rem; }
.row small { color: var(--muted); font-size: .74rem; }
.row.mono small { font-family: ui-monospace, "SF Mono", monospace; }

/* ---------- mockup Organizare (board animat) ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; padding: 14px; overflow-x: auto; }
.col { background: var(--paper); border-radius: 12px; padding: 9px; display: grid; gap: 7px; align-content: start; min-height: 250px; }
.col h5 { font-size: .72rem; font-weight: 500; color: var(--ink-2); padding: 2px 3px 4px; }
.task { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: grid; gap: 6px; }
.task b { font-size: .78rem; font-weight: 500; line-height: 1.3; }
.task .meta { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: .64rem; padding: .12rem .42rem; border-radius: 5px; background: var(--paper-2); color: var(--ink-2); }
.chip.hot { background: #F6DCD6; color: var(--red); }
.chip.ok { background: #DDE9D1; color: var(--grass); }
.bar { height: 3px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grass); transition: width .8s var(--ease); }
.task.moving { animation: lift .9s var(--ease); }
@keyframes lift { 0% { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 16px 30px -12px rgba(36, 23, 16, .35); opacity: 0; }
                  100% { transform: none; opacity: 1; } }

.pipeline { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; font-family: var(--display); font-size: 1.05rem; font-weight: 300; }
.pipeline span { transition: color .4s; color: var(--muted); }
.pipeline span.on { color: var(--ink); }
.pipeline i { font-style: normal; color: var(--line); }
.dark .pipeline span { color: rgba(243, 234, 219, .35); }
.dark .pipeline span.on { color: var(--cream); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.tags span { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.dark .tags span { border-color: rgba(243, 234, 219, .16); color: rgba(243, 234, 219, .75); }

/* ---------- apariție la scroll + parallax ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(2) { transition-delay: .1s; } .stagger.in > :nth-child(3) { transition-delay: .2s; }
.stagger.in > :nth-child(4) { transition-delay: .3s; } .stagger.in > :nth-child(5) { transition-delay: .4s; }
.stagger.in > :nth-child(6) { transition-delay: .5s; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stagger > *, .hero-copy > * { opacity: 1 !important; transform: none !important; }
}
.stage .tablet { width: min(100%, 470px); }
.stage .mock { width: 100%; }
.points.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .points.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points.four { grid-template-columns: 1fr; } }

/* ---------- straturi hartă ---------- */
.layers { padding-bottom: 60px; }
.layer-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.layer-grid > div { padding: 28px 24px 8px 0; }
.layer-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.layer-grid .n { font-family: var(--display); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wood); }
.layer-grid ul { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; gap: .55rem; font-family: var(--display); font-weight: 300; font-size: 1.12rem; }
@media (max-width: 1000px) { .layer-grid { grid-template-columns: repeat(3, 1fr); } .layer-grid > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .layer-grid > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .layer-grid { grid-template-columns: 1fr 1fr; } .layer-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .layer-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } .layer-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- App Store (insigna oficială Apple, nemodificată) ---------- */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 2rem; }
.store.center { justify-content: center; margin-top: 2.4rem; }
.store small { font-size: .85rem; color: var(--muted); }
.store-badge { display: inline-block; line-height: 0; transition: transform .2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 50px; width: auto; }
/* Insigna Google Play are margine transparentă în PNG → puțin mai înaltă ca să pară egală cu cea Apple. */
.store-badge.play img { height: 58px; margin: -4px 0; }
.hero .store small, .cta .store small, .dark .store small { color: rgba(243, 234, 219, .6); }
.foot-brand .store-badge { margin-top: 1.4rem; }
.foot-brand .store { margin-top: 0; gap: .6rem 1rem; }
.foot-brand .store-badge img { height: 40px; }
.foot-brand .store-badge.play img { height: 46px; margin: -3px 0; }
.ready .hero-copy > :nth-child(5) { transition-delay: .48s; }
/* meniul are un link în plus („Aplicația”): mai strâns pe ecrane medii */
@media (max-width: 1280px) { .menu { gap: 1.25rem; font-size: .86rem; } }
@media (max-width: 1100px) { .menu { gap: .95rem; font-size: .82rem; } .brand img { height: 40px; } }

/* ---------- pagina aplicației: pași numerotați, notă, întrebări ---------- */
.tint { background: var(--paper-2); }
a.point { display: block; }
a.point h3 { transition: color .2s; }
a.point:hover h3 { color: #D9A56F; }
.howto { list-style: none; padding: 0; margin-top: 2.2rem; counter-reset: pas; border-top: 1px solid var(--line); max-width: 34rem; }
.howto li { counter-increment: pas; display: grid; grid-template-columns: 52px 1fr; gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.howto li::before { content: counter(pas); grid-row: span 2; font-family: var(--display); font-weight: 300; font-size: 2.3rem; line-height: 1; color: var(--wood); }
.howto b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.howto span { color: var(--ink-2); }
.note { margin-top: 1.6rem; max-width: 34rem; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); color: var(--ink-2); font-size: .96rem; }
.note b { color: var(--ink); font-weight: 500; }
.tint .note { background: var(--paper); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; border-top: 1px solid var(--line); }
.faq > div { padding: 30px 0; border-bottom: 1px solid var(--line); }
.faq p { margin-top: .6rem; color: var(--ink-2); max-width: 34rem; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- bandă „avem aplicație" (doar iPhone / iPad, pusă de site.js) ---------- */
:root { --ab: calc(56px + env(safe-area-inset-top, 0px)); }
.app-banner { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--ab); padding: env(safe-area-inset-top, 0px) 12px 0 6px;
              display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.app-banner button { flex: none; width: 28px; height: 36px; border: 0; background: none; position: relative; cursor: pointer; }
.app-banner button::before, .app-banner button::after { content: ""; position: absolute; left: 7px; top: 17px; width: 14px; height: 2px;
              border-radius: 2px; background: var(--muted); transform: rotate(45deg); }
.app-banner button::after { transform: rotate(-45deg); }
.app-banner img { flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); object-fit: cover; }
.app-banner p { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner b, .app-banner span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-banner b { font-weight: 600; font-size: 14px; }
.app-banner span { font-size: 12px; color: var(--ink-2); }
.app-banner a { flex: none; padding: 6px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 13px; }
.has-app-banner body { padding-top: var(--ab); }
.has-app-banner .site-header { top: var(--ab); }
