/* ─────────────────────────────────────────────────────────────
   VineBusu — app page
   Builds on styles.css (Boring Apps base); only VineBusu bits here.
   Palette sampled from the app icon: indigo bus disc, lavender →
   pink → peach map tiles.
───────────────────────────────────────────────────────────── */
:root {
  --ink:      #0B0A26;
  --ink-2:    #141236;
  --ink-3:    #1C1A4A;

  --muted:    #B3B1D6;
  --muted-2:  #8A88B0;

  --indigo:   #525DF4;
  --sky:      #8FB0FF;
  --lilac:    #C3AEF7;
  --rose:     #F2A9CB;
  --peach:    #FFBE9E;

  /* links, focus rings and ✓ marks in styles.css / legal.css use --cyan */
  --cyan:     #8FB0FF;

  --btn:       #525DF4;
  --btn-hover: #6B75FF;

  --grad: linear-gradient(115deg, #8FB0FF 0%, #9C8CF8 34%, #F2A9CB 68%, #FFBE9E 100%);
}

::selection { background: var(--indigo); }

.glow--cool { background: radial-gradient(circle, rgba(82,93,244,.50), transparent 62%); }
.glow--warm { background: radial-gradient(circle, rgba(242,169,203,.30), transparent 62%); }
.nav { background: rgba(11, 10, 38, .72); }

.btn:hover { box-shadow: 0 12px 30px rgba(82,93,244,.45); }
.btn--ghost:hover { background: rgba(82,93,244,.12); border-color: rgba(107,117,255,.6); }

/* ── Header logo: the app icon ────────────────────────────── */
.brand__mark--app { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* ── App hero ─────────────────────────────────────────────── */
.app-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}
.app-hero__chip {
  width: clamp(60px, 10vw, 76px);
  height: clamp(60px, 10vw, 76px);
  border-radius: 24%;
  margin-bottom: 1rem;
  box-shadow: 0 14px 34px rgba(82, 93, 244, .38), 0 0 0 1px var(--line);
}
.app-hero__name {
  margin: 0 0 .5rem;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .95;
  letter-spacing: -0.03em;
}
.app-hero__tag {
  margin: 0 0 1.1rem;
  font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.25;
  max-width: 24ch;
}
.app-hero__sub {
  margin: 0 0 1.8rem;
  max-width: 46ch;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: var(--muted);
}
.app-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.app-hero__device { justify-self: center; width: 100%; max-width: 320px; }
.app-hero__fine { margin: 1.1rem 0 0; font-size: .86rem; color: var(--muted-2); max-width: 52ch; }

.pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; }
.pill {
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  padding: .42rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.pill--free { color: var(--text); border-color: rgba(143,176,255,.5); }
.pill--free::before { content: "✓ "; color: var(--cyan); font-weight: 800; }

.btn { white-space: nowrap; }

/* Store button — "În curând" until the App Store link exists */
.btn--store { gap: .65rem; }
.btn--store small { display: block; font-size: .68rem; font-weight: 600; opacity: .8; letter-spacing: .04em; }
.btn--store b { font-size: 1.05rem; font-weight: 800; line-height: 1; }
.btn--store span { text-align: left; line-height: 1.15; }
.btn__logo { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn.is-soon { pointer-events: none; opacity: .88; }

/* ── Screenshots ──────────────────────────────────────────────
   <figure class="shot"><img src="/assets/shots/<name>.png"></figure>
   Raw iPhone screenshots (portrait, e.g. 1320×2868) get a CSS
   device frame. Until the file exists, the figure shows a labelled
   placeholder (the img's onerror adds .is-empty).
──────────────────────────────────────────────────────────────── */
.shot {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border-radius: clamp(30px, 13%, 52px) / clamp(30px, 6%, 52px);
  padding: 9px;
  background: linear-gradient(160deg, #2A2860, #121030);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: clamp(22px, 11%, 44px) / clamp(22px, 5%, 44px);
}
.shot--float { animation: float 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .shot--float { animation: none; } }

.shot.is-empty img { display: none; }
.shot.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: 9px;
  display: grid; place-items: center;
  padding: 1.5rem;
  text-align: center;
  font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted-2);
  border-radius: clamp(22px, 11%, 44px) / clamp(22px, 5%, 44px);
  border: 1.5px dashed rgba(255,255,255,.16);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(82,93,244,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    var(--ink-2);
}

/* ── Line ticker: CTP-style line badges ───────────────────── */
.ticker__track { gap: .9rem; }
.ticker__track .line {
  display: inline-grid; place-items: center;
  min-width: 2.6em; height: 1.9em;
  padding: 0 .55em;
  border-radius: .5em;
  font-size: .95em; letter-spacing: 0;
  color: #fff;
  background: var(--indigo);
}
.ticker__track .line:nth-child(3n+2) { background: #2F7DE1; }
.ticker__track .line:nth-child(3n)   { background: #7A55E0; }
.ticker__track span:nth-child(4n+1) { color: #fff; }

/* ── Closer look: alternating phone + text rows ───────────── */
.look { display: grid; gap: clamp(3rem, 8vw, 6rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.look-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(1.5rem, 6vw, 4.5rem);
}
.look-row:nth-child(even) .look-row__media { order: 2; }
.look-row__media { justify-self: center; width: 100%; max-width: 300px; }
.look-row__text h3 {
  margin: 0 0 .7rem;
  font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.03; letter-spacing: -0.02em;
}
.look-row__text p { margin: 0; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.15rem); max-width: 44ch; }
.look-row__eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: transparent; background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  margin: 0 0 .7rem;
}

/* ── Honesty: how the times are made ──────────────────────── */
.values { margin-top: .5rem; }

/* ── Data & attribution ───────────────────────────────────── */
.data {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(82,93,244,.14), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.data__logo { width: clamp(150px, 22vw, 210px); height: auto; margin-top: .3rem; }
.data p { margin: 0 0 .9rem; color: var(--muted); }
.data p:last-child { margin-bottom: 0; }
.data strong { color: var(--text); }
.data a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.data a:hover { color: var(--text); }
.data__copy {
  font-size: .92rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--cyan);
  background: rgba(255,255,255,.03);
  border-radius: 8px;
}

/* ── Centered head for the tinted features block ──────────── */
.section--tint .section__head { max-width: 48ch; margin-inline: auto; text-align: center; }
.section--tint .cards { margin-inline: auto; }
.card__icon { font-size: 1.6rem; line-height: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .app-hero { grid-template-columns: 1fr; text-align: center; }
  .app-hero__chip { margin-inline: auto; }
  .app-hero__tag, .app-hero__sub, .app-hero__fine { margin-inline: auto; }
  .app-hero__cta, .pills { justify-content: center; }
  .app-hero__device { max-width: 260px; }
  .look-row { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .look-row:nth-child(even) .look-row__media { order: 0; }
  .look-row__media { grid-row: 1; max-width: 260px; }
  .look-row__text p { margin-inline: auto; }
  .data { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav .wordmark { font-size: 1.1rem; }
  .nav__links { gap: 1rem; }
}

[hidden] { display: none !important; }
