/* PodcaCity - Landing (mobile web, marketing page).
   Ported from the Claude Design "Landing" mockup. Framework-free.
   Mobile-first; centered as a phone-width column on larger screens. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  background: #080B0F;
  font-family: 'Heebo', sans-serif;
  color: #F0F4F8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(0,229,255,0.25); }

:focus, :focus-visible { outline: none; }
html { -webkit-tap-highlight-color: transparent; }

@keyframes pcFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pcPulse  { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.pcscroll { scrollbar-width: none; -ms-overflow-style: none; }
.pcscroll::-webkit-scrollbar { display: none; }

.ld-app {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
  background: #080B0F;
}

/* ── Shared ───────────────────────────────────────────────────────────────── */
.ld-cta {
  background: linear-gradient(135deg,#00E5FF 0%,#8B2FFF 50%,#FF2D8C 100%);
  color: #fff;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,229,255,0.25);
}
.ld-cta--full { display: block; width: 100%; }
/* For a signed-in visitor the same call to action is a link into the booking
   flow rather than a button that asks for a phone number (see $ldCta in
   index.php) - an anchor is inline, so it is told to take the box. */
a.ld-cta { display: block; }

/* Hover - mouse only, so a tap on the phone never leaves the button lit up.
   The gradient sits on an oversized box and slides across; a 1px lift rides
   along with it. No extra glow - the shadow just drops with the button. */
@media (hover: hover) and (pointer: fine) {
  .ld-cta {
    background-size: 180% 100%;
    background-position: 0% 50%;
    transition: background-position .45s ease, transform .2s ease, box-shadow .2s ease;
  }
  .ld-cta:hover {
    background-position: 100% 50%;
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(0,229,255,0.28);
  }
  .ld-cta:active { transform: translateY(0); box-shadow: 0 2px 12px rgba(0,229,255,0.2); }
}

.ld-h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.ld-muted { color: #8899AA; }

.ld-card__sheen {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(0,229,255,0.35),transparent);
}
.ld-card__sheen--purple { background: linear-gradient(90deg,transparent,rgba(139,47,255,0.35),transparent); }
.ld-card__sheen--pink   { background: linear-gradient(90deg,transparent,rgba(255,45,140,0.35),transparent); }

/* ── Header ───────────────────────────────────────────────────────────────── */
/* The site's top bar (includes/site-header.php, pc-header.css), pinned over the
   scrolling page here - the phone column's width on a phone, the window's on a
   computer - with the spacer holding its height in the flow. */
.pc-header--page {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 50;
  background: rgba(8,11,15,0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: #1E2530;
}
.ld-header-spacer { height: calc(env(safe-area-inset-top, 0px) + 67px); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.ld-hero__media {
  position: relative; width: 100%; height: 340px;
  background-image: url('../landing/studio-hero.png'), linear-gradient(150deg,#0C1A24,#160E1E 70%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.ld-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8,11,15,0.35) 0%,
    rgba(8,11,15,0.2) 40%,
    rgba(8,11,15,0.34) 60%,
    rgba(8,11,15,0.56) 76%,
    rgba(8,11,15,0.8) 88%,
    #080B0F 100%);
}
.ld-hero__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 0 20px 8px; pointer-events: none; }
.ld-hero__title { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; }
.ld-hero__actions { display: flex; gap: 10px; padding: 46px 16px 50px; }
.ld-hero__actions .ld-cta { flex: 1; }

/* "עריכת AI" over the title: a chip with a rotating gradient rim, a
   "חדש בישראל" ribbon on its corner, and the products under it in a flowing
   gradient - both twinkling with sparks. */
.ld-aibadge { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; text-align: center; gap: 10px; margin: 0 auto 14px; }
.ld-sparks { position: relative; display: inline-flex; }
.ld-sparks__s { position: absolute; font-size: 12px; line-height: 1; animation: ld-twinkle 1.8s ease-in-out infinite; pointer-events: none; }
.ld-sparks__s--1 { top: -12px; right: -6px; color: #00E5FF; }
.ld-sparks__s--2 { bottom: -10px; left: -4px; color: #FF2D8C; animation-delay: .6s; }
.ld-sparks__s--3 { top: -8px; left: 30%; color: #fff; font-size: 9px; animation-delay: 1.1s; }
.ld-sparks__s--4 { bottom: -12px; right: 35%; color: #FFC857; font-size: 10px; animation-delay: 1.4s; }
@keyframes ld-twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: 0; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } }
.ld-aibadge__chip { position: relative; display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 13px; font-size: 19px; font-weight: 800; color: #fff; isolation: isolate; }
.ld-aibadge__chip::before { content: ''; position: absolute; inset: -2px; z-index: -2; border-radius: 15px; background: conic-gradient(from var(--ld-rim, 0deg), #00E5FF, #8B2FFF, #FF2D8C, #00E5FF); animation: ld-rim 3s linear infinite; }
.ld-aibadge__chip::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 13px; background: rgba(10,13,18,.94); }
@property --ld-rim { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ld-rim { to { --ld-rim: 360deg; } }
.ld-aibadge__ai { font-family: 'Exo 2', sans-serif; font-weight: 900; letter-spacing: .02em; margin-inline-start: .3em; }
.ld-aibadge__new { position: absolute; top: -13px; left: -10px; z-index: 3; transform: rotate(-6deg); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #FF2D8C, #8B2FFF); box-shadow: 0 2px 12px rgba(255,45,140,.45); }
.ld-aibadge__line { font-size: 15px; font-weight: 800; line-height: 1.5;
  background: linear-gradient(90deg, #00E5FF, #FFC857, #B6FF5C, #00E5FF); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ld-flow 5s linear infinite; filter: drop-shadow(0 2px 10px rgba(4,6,9,.9)); }
@keyframes ld-flow { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) {
  .ld-sparks__s, .ld-aibadge__chip::before, .ld-aibadge__line { animation: none; }
  .ld-sparks__s { opacity: .8; }
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.ld-section { padding: 34px 16px 0; scroll-margin-top: 104px; }
.ld-section--flush { padding: 34px 0 0; }
.ld-section__pad { padding: 0 16px; }

/* ── The studio on film ─────────────────────────────────────────────────────
   Right under the hero: the wide cut and the upright one side by side, at one
   height (each grows by its own aspect ratio from a zero basis), each leaning
   a little the other way over a soft cyan / pink glow. Pressing one straightens
   it and gives it the whole row - the upright one only as tall as the screen
   allows - while the other folds to nothing; flex-grow, max-width and the tilt
   all ease, so the change reads as one movement. */
.ld-film { overflow-x: clip; }
.ld-film__stage {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-start; justify-content: center; gap: 14px;
  padding-top: 6px;
  transition: gap .7s cubic-bezier(.2,.8,.2,1);
}
.ld-film__stage::before {
  content: ''; position: absolute; inset: 6% 2%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(0,229,255,0.24), transparent),
    radial-gradient(closest-side at 80% 50%, rgba(255,45,140,0.22), transparent);
  filter: blur(28px);
}
.ld-film__item {
  --grow: 1; --tilt: 0deg;
  flex: var(--grow) 1 0; min-width: 0; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transform: rotate(var(--tilt));
  transition: flex-grow .7s cubic-bezier(.2,.8,.2,1), max-width .7s cubic-bezier(.2,.8,.2,1),
              transform .7s cubic-bezier(.2,.8,.2,1), opacity .45s ease, visibility .7s;
}
.ld-film__item--wide { --grow: 1.7778; --tilt: -2.5deg; }
.ld-film__item--tall { --grow: 0.5625; --tilt: 3deg; }

/* The frame: a cyan → purple → pink rim around the film. The upright one is
   dressed as a phone - rounder, with a dark bezel inside the rim. */
.ld-film__frame {
  position: relative; box-sizing: border-box; width: 100%; padding: 2px; border-radius: 14px;
  background: linear-gradient(135deg, #00E5FF, #8B2FFF 55%, #FF2D8C);
  box-shadow: 0 16px 40px rgba(4,6,9,0.65), 0 0 26px rgba(139,47,255,0.3);
}
.ld-film__item--wide .ld-film__frame { aspect-ratio: 16 / 9; }
.ld-film__item--tall .ld-film__frame { aspect-ratio: 9 / 16; border-radius: 18px; }
.ld-film__frame video {
  display: block; box-sizing: border-box; width: 100%; height: 100%;
  object-fit: cover; background: #000; border-radius: 12px;
}
.ld-film__item--tall .ld-film__frame video { border: 3px solid #0D1117; border-radius: 16px; }
/* Full screen shows the whole film in its own proportions - the crop, bezel
   and corners above are only for the card. One rule per prefix: a browser
   that does not know one of these selectors drops the whole rule. */
.ld-film .ld-film__item .ld-film__frame video:fullscreen { object-fit: contain; border: 0; border-radius: 0; }
.ld-film .ld-film__item .ld-film__frame video:-webkit-full-screen { object-fit: contain; border: 0; border-radius: 0; }

/* The cover over the poster: one play button with a ring that keeps rippling
   out from it. Once the film runs it steps aside for the native controls. */
.ld-film__play {
  position: absolute; inset: 2px; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, rgba(8,11,15,0) 40%, rgba(8,11,15,0.45) 100%);
}
.ld-film__item--tall .ld-film__play { border-radius: 16px; }
.ld-film__play span {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #00E5FF; color: #080B0F;
  box-shadow: 0 6px 22px rgba(0,229,255,0.45);
  transition: transform .2s ease;
}
.ld-film__play span::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.6);
  animation: ld-film-ring 2.2s ease-out infinite;
}
@keyframes ld-film-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.55); opacity: 0; } }
.ld-film__play svg { width: 20px; height: 20px; margin-left: 3px; }
.ld-film__item.is-playing .ld-film__play { display: none; }

.ld-film__label {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #A3B2C2;
}
.ld-film__item--wide .ld-film__label svg { color: #00E5FF; }
.ld-film__item--tall .ld-film__label svg { color: #FF2D8C; }

@media (hover: hover) {
  .ld-film:not(.is-chosen) .ld-film__item:hover { --tilt: 0deg; }
  .ld-film__play:hover span { transform: scale(1.08); }
}

/* A choice made. */
.ld-film.is-chosen .ld-film__stage { gap: 0; }
.ld-film.is-chosen .ld-film__item { --tilt: 0deg; }
.ld-film.is-chosen .ld-film__label { display: none; }
.ld-film.is-wide .ld-film__item--wide,
.ld-film.is-tall .ld-film__item--tall { --grow: 1; }
.ld-film.is-tall .ld-film__item--tall { max-width: calc(78vh * 9 / 16); max-width: calc(78svh * 9 / 16); }
.ld-film.is-wide .ld-film__item--tall,
.ld-film.is-tall .ld-film__item--wide { --grow: 0; max-width: 0; opacity: 0; visibility: hidden; overflow: hidden; }

/* The way back to the other cut, under the one playing. */
.ld-film__switch { display: none; justify-content: center; margin-top: 16px; }
.ld-film.is-chosen .ld-film__switch { display: flex; }
.ld-film.is-wide [data-ld-film-pick="wide"],
.ld-film.is-tall [data-ld-film-pick="tall"] { display: none; }
.ld-film__swap {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid #1E2530; border-radius: 999px;
  background: #0D1117; color: #F0F4F8; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
}
.ld-film__swap svg { color: #00E5FF; }
.ld-film__swap:hover { border-color: rgba(0,229,255,0.5); }

@media (prefers-reduced-motion: reduce) {
  .ld-film__stage, .ld-film__item, .ld-film__play span { transition: none; }
  .ld-film__play span::after { animation: none; display: none; }
}
.ld-lead { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: #C8CCD0; line-height: 1.7; }

/* Price banner */
.ld-price {
  position: relative; overflow: hidden;
  margin-bottom: 10px;
  background: #0D1117; border: 1px solid rgba(0,229,255,0.35); border-radius: 14px;
  padding: 16px; box-shadow: 0 0 20px rgba(0,229,255,0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.ld-price__title { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.ld-price__sub { margin: 0; font-size: 12px; color: #8899AA; line-height: 1.6; }
.ld-price__value { display: flex; align-items: baseline; gap: 5px; flex-shrink: 0; }
.ld-price__amount { font-size: 29px; font-weight: 600; letter-spacing: 0.01em; color: #00E5FF; }
.ld-price__unit { font-size: 12px; color: #8899AA; }

/* Feature grid */
.ld-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-grid2--pad { padding: 0 16px; }
.ld-feat {
  position: relative; overflow: hidden;
  background: #0D1117; border: 1px solid #1E2530; border-radius: 14px; padding: 16px 14px;
}
.ld-feat__title { margin: 10px 0 4px; font-size: 14px; font-weight: 700; }
.ld-feat__body { margin: 0; font-size: 12px; color: #8899AA; line-height: 1.6; }

/* ── Spec list (always open) ──────────────────────────────────────────────── */
.ld-specs { display: flex; flex-direction: column; gap: 16px; }
.ld-spec { background: #0D1117; border: 1px solid #1E2530; border-radius: 14px; overflow: hidden; }
/* Equipment photo above each card; the scrim fades it into the card body. */
.ld-spec__media {
  position: relative; width: 100%; height: 186px;
  background: linear-gradient(160deg,#131920,#0A0E13);
}
.ld-spec__media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ld-spec__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,17,23,0) 55%, rgba(13,17,23,0.9) 100%);
}
/* Secondary shot tucked into the corner (mic windscreens). */
.ld-spec__inset {
  position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 1;
  width: 58px; height: 58px; border-radius: 10px; overflow: hidden;
  border: 1px solid #2A323D; box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.ld-spec__inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-spec__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 13px; }
.ld-spec__icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: #131920; border: 1px solid #1E2530;
  display: flex; align-items: center; justify-content: center;
}
.ld-spec__text { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.ld-spec__title { font-size: 15px; font-weight: 700; color: #F0F4F8; line-height: 1.2; }
.ld-spec__sum { font-size: 12px; color: #8899AA; }
.ld-spec__body { padding: 0 16px 16px; }
.ld-spec__items { border-top: 1px solid #1E2530; padding-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.ld-spec__item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #F0F4F8; line-height: 1.5; }
.ld-spec__dot { width: 5px; height: 5px; border-radius: 50%; background: #00E5FF; flex-shrink: 0; margin-top: 7px; display: block; }

/* ── Control cards ────────────────────────────────────────────────────────── */
.ld-ctrl { background: #0D1117; border: 1px solid #1E2530; border-radius: 16px; overflow: hidden; }
.ld-ctrl__media { padding: 12px 8px 10px; background: #080B0F; display: flex; justify-content: center; }

/* Phone frame around each control screenshot */
.ld-phone {
  position: relative; width: 100%; max-width: 168px;
  padding: 8px 6px 11px;
  background: #1A2029; border: 1px solid #2A323D; border-radius: 20px;
  box-shadow: inset 0 0 0 2px #0B0E13, 0 6px 16px rgba(0,0,0,0.45);
}
.ld-phone__notch {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 11px;
  background: #1A2029; border: 1px solid #2A323D; border-top: none; border-radius: 0 0 8px 8px;
  z-index: 2; display: flex; align-items: center; justify-content: center; gap: 3px;
}
.ld-phone__speaker { width: 14px; height: 3px; border-radius: 2px; background: #0B0E13; display: block; }
.ld-phone__cam { width: 3px; height: 3px; border-radius: 50%; background: #0B0E13; display: block; }
.ld-phone__btn { position: absolute; border-radius: 2px; background: #2A323D; display: block; }
.ld-phone__btn--r1 { top: 34px; right: -2px; width: 2px; height: 16px; }
.ld-phone__btn--r2 { top: 56px; right: -2px; width: 2px; height: 26px; }
.ld-phone__btn--l1 { top: 40px; left: -2px; width: 2px; height: 20px; }
.ld-phone__screen { border-radius: 14px; overflow: hidden; background: #05070A; }
.ld-phone__screen img { width: 100%; height: auto; display: block; }
.ld-phone__home {
  position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 3px; border-radius: 2px; background: #3A4450; display: block;
}
.ld-ctrl__text { padding: 12px 13px 14px; }
.ld-ctrl__kicker { font-size: 11px; font-weight: 700; }
.ld-ctrl__title { margin: 5px 0 4px; font-size: 14px; font-weight: 700; }
.ld-ctrl__body { margin: 0; font-size: 12px; color: #8899AA; line-height: 1.55; }

/* ── Closing CTA ──────────────────────────────────────────────────────────── */
.ld-endcta { display: flex; padding: 34px 16px 0; }
.ld-endcta .ld-cta { flex: 1; }

/* ── Auth sheet ───────────────────────────────────────────────────────────── */
.ld-auth {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(4,6,9,0.8);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ld-auth[hidden] { display: none; }
.ld-auth__scrim { position: absolute; inset: 0; }
.ld-auth__box {
  position: relative; width: 100%; max-width: 340px;
  background: #0D1117; border: 1px solid #1E2530; border-radius: 16px; padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); animation: pcFadeUp .25s ease;
}
.ld-auth__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ld-auth__title { margin: 0; font-size: 17px; font-weight: 700; }
.ld-auth__close {
  width: 28px; height: 28px; border-radius: 8px; background: #131920; border: 1px solid #1E2530; color: #8899AA;
  display: flex; align-items: center; justify-content: center;
}
.ld-auth__lead { margin: 0 0 14px; font-size: 13px; color: #8899AA; line-height: 1.6; }
.ld-auth__to { font-family: 'Space Mono', monospace; color: #F0F4F8; }
.ld-auth__resend { display: block; width: 100%; margin-top: 10px; padding: 10px; color: #8899AA; font-size: 13px; font-weight: 600; }

.ld-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ld-field__label { font-size: 12px; font-weight: 600; color: #8899AA; }
.ld-input {
  width: 100%; box-sizing: border-box;
  background: #131920; border: 1px solid #1E2530; border-radius: 10px;
  padding: 12px 14px; color: #F0F4F8;
  font-family: 'Space Mono', monospace; font-size: 14px; text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.ld-input:focus { border-color: #00E5FF; box-shadow: 0 0 0 3px rgba(0,229,255,0.12); }
.ld-input--code { text-align: center; letter-spacing: 0.4em; font-size: 20px; }

/* A rejected field. The red outlives the focus ring so that a field being
   corrected still reads as the one at fault; it clears the moment the value
   becomes valid, not on the way out. */
.ld-input.is-invalid { border-color: #FF3B5C; background: #1A1216; }
.ld-input.is-invalid:focus { border-color: #FF3B5C; box-shadow: 0 0 0 3px rgba(255,59,92,0.14); }
.ld-field__error { font-size: 12px; font-weight: 600; color: #FF7A90; line-height: 1.5; }
.ld-field__error[hidden] { display: none; }

/* ── Toast ────────────────────────────────────────────────────────────────── */
/* The toast is pc-toast.css's (.pc-toast); .ld-toast is only the script's hook. */

/* ── Footer ─ the site's footer, assets/css/pc-footer.css ──────────────────── */

@media (min-width: 480px) {
  body { background:
    radial-gradient(900px 600px at 80% 0%, rgba(0,229,255,.06), transparent 65%),
    radial-gradient(800px 600px at 10% 40%, rgba(255,45,140,.05), transparent 65%),
    #05070A; }
}

/* Support address - two anchors, one shown at a time (see pc_support_mail()
   in includes/functions.php). A mouse gets the Gmail compose page in a new
   tab; a touch device gets the mailto:, which the phone hands to its mail
   app instead of loading the Gmail website in the browser. */
.pc-mail--app { display: none; }
@media (hover: none) {
  .pc-mail--web { display: none; }
  .pc-mail--app { display: inline; }
}

/* Desktop-only elements - hidden on phone, revealed in the desktop layer. */
.ld-hero__cta-inline { display: none; }

/* ═══════════ Desktop layout (≥1024px) ═══════════
   The phone layout above is the base; this layer rebuilds the page to the
   desktop design. Below 1024px nothing here applies, so the phone stays as-is. */
@media (min-width: 1024px) {
  body { background: #080B0F; }
  .ld-app { max-width: none; padding-bottom: 0; }

  /* The bar spans the window. */
  .pc-header--page { left: 0; right: 0; transform: none; max-width: none; }
  .ld-header-spacer { height: 56px; }

  /* Hero - tall image with the copy overlaid, big CTA. */
  .ld-hero__media { height: 500px; }
  .ld-hero__scrim {
    background:
      linear-gradient(270deg, rgba(8,11,15,0) 15%, rgba(8,11,15,0.42) 58%, rgba(8,11,15,0.7) 100%),
      linear-gradient(180deg, rgba(8,11,15,0.08) 35%, rgba(8,11,15,0.6) 78%, rgba(8,11,15,0.92) 96%, #080B0F 100%);
  }
  .ld-hero__caption {
    left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 1080px;
    box-sizing: border-box; padding: 0 48px 78px;
  }
  .ld-hero__title { font-size: 46px; line-height: 1.1; text-shadow: 0 4px 30px rgba(4,6,9,0.85), 0 1px 4px rgba(4,6,9,0.7); }
  .ld-hero__sub { display: block; margin: 14px 0 0; font-size: 17px; color: #E4E9EE; line-height: 1.6; text-shadow: 0 2px 16px rgba(4,6,9,0.85); }
  .ld-hero__cta-inline { display: flex; margin-top: 24px; pointer-events: auto; }
  .ld-hero__cta { flex: none; padding: 16px 64px; font-size: 18px; border-radius: 12px; box-shadow: 0 6px 30px rgba(0,229,255,0.32); }
  .ld-hero__actions { display: none; }

  /* The film: the pair at full column width, frames and buttons scaled up. */
  .ld-film__stage { gap: 28px; padding-top: 10px; }
  .ld-film__frame { padding: 3px; border-radius: 20px; }
  .ld-film__item--tall .ld-film__frame { border-radius: 30px; }
  .ld-film__frame video { border-radius: 17px; }
  .ld-film__item--tall .ld-film__frame video { border-width: 7px; border-radius: 27px; }
  .ld-film__play { inset: 3px; border-radius: 17px; }
  .ld-film__item--tall .ld-film__play { border-radius: 27px; }
  .ld-film__play span { width: 72px; height: 72px; }
  .ld-film__play svg { width: 30px; height: 30px; }
  .ld-film__label { font-size: 15px; }
  .ld-aibadge { gap: 12px; margin: 0 auto 18px; }
  .ld-sparks__s { font-size: 14px; }
  .ld-aibadge__chip { padding: 12px 24px; font-size: 24px; border-radius: 14px; }
  .ld-aibadge__chip::before { border-radius: 16px; }
  .ld-aibadge__chip::after { border-radius: 14px; }
  .ld-aibadge__new { top: -14px; font-size: 13.5px; padding: 4px 11px; }
  .ld-aibadge__line { font-size: 19px; }

  /* Section frame - centered 1080 column; 48px gutters keep it off the edges. */
  .ld-section,
  .ld-section--flush { max-width: 1080px; margin: 0 auto; padding: 60px 48px 0; scroll-margin-top: 28px; }
  /* Anchor landing: 28px + the section's own 60px top padding puts the heading
     ~23px below the 65px fixed header. */
  .ld-section__pad { padding: 0; }
  .ld-h2 { font-size: 29px; margin-bottom: 20px; }
  .ld-lead { font-size: 16px; max-width: 620px; margin-bottom: 22px; }

  /* How it works - price banner + 4 feature cards. */
  .ld-price { padding: 20px 24px; border-radius: 16px; margin-bottom: 16px; gap: 20px; }
  .ld-price__title { font-size: 18px; }
  .ld-price__sub { font-size: 13.5px; }
  .ld-price__amount { font-size: 35px; }
  .ld-price__unit { font-size: 14px; }
  .ld-grid2 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .ld-grid2--pad { padding: 0; }
  .ld-feat { padding: 20px 18px; border-radius: 14px; }
  .ld-feat__icon { width: 24px; height: 24px; }
  .ld-feat__title { font-size: 16px; margin: 12px 0 6px; }
  .ld-feat__body { font-size: 13.5px; line-height: 1.6; }

  /* Technical spec - 2 columns. */
  .ld-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ld-spec { border-radius: 14px; }
  .ld-spec__media { height: 230px; }
  .ld-spec__inset { width: 68px; height: 68px; bottom: 12px; inset-inline-end: 12px; }
  .ld-spec__head { padding: 18px 20px 14px; gap: 13px; }
  .ld-spec__icon { width: 40px; height: 40px; border-radius: 11px; }
  .ld-spec__icon svg { width: 20px; height: 20px; }
  .ld-spec__title { font-size: 17px; }
  .ld-spec__sum { font-size: 12.5px; }
  .ld-spec__body { padding: 0 20px 20px; }
  .ld-spec__items { padding-top: 14px; gap: 10px; }
  .ld-spec__item { font-size: 14px; gap: 10px; }
  .ld-spec__dot { width: 5px; height: 5px; margin-top: 7px; }

  /* Active-session control - 4 columns, larger phone frame. */
  .ld-ctrl { border-radius: 16px; }
  .ld-ctrl__media { padding: 16px 12px 13px; }
  .ld-phone { max-width: 172px; padding: 8px 6px 12px; border-radius: 21px; box-shadow: inset 0 0 0 2px #0B0E13, 0 6px 16px rgba(0,0,0,0.45); }
  .ld-phone__notch { width: 40px; height: 12px; border-radius: 0 0 8px 8px; }
  .ld-phone__speaker { width: 15px; }
  .ld-phone__btn--r1 { top: 40px; height: 18px; }
  .ld-phone__btn--r2 { top: 66px; height: 30px; }
  .ld-phone__btn--l1 { top: 46px; height: 24px; }
  .ld-phone__screen { border-radius: 15px; }
  .ld-phone__home { width: 36px; bottom: 4px; }
  .ld-ctrl__text { padding: 14px 17px 18px; }
  .ld-ctrl__kicker { font-size: 11.5px; }
  .ld-ctrl__title { font-size: 16px; margin: 6px 0 5px; }
  .ld-ctrl__body { font-size: 13.5px; line-height: 1.6; }

  /* Closing CTA - a single centred button rather than a full-width bar. */
  .ld-endcta { justify-content: center; padding: 60px 48px 0; }
  .ld-endcta .ld-cta { flex: 0 0 auto; padding: 15px 38px; font-size: 15.5px; border-radius: 12px; }

  /* Auth modal + toast - full-screen backdrop, a touch larger. */
  .ld-auth { left: 0; right: 0; transform: none; max-width: none; }
  .ld-auth__box { max-width: 400px; padding: 26px; }
  .ld-auth__title { font-size: 19px; }
  .ld-toast { font-size: 14px; padding: 12px 22px; }
}

/* ═══════════ Mouse feedback ═══════════
   The .ld-cta block near the top of this file is the same idea; these are the
   clickable things it doesn't cover. Behind the same query it uses, not the
   1024 one - a control answers a pointer wherever there is one, and a :hover
   left over after a tap reads as a control stuck on. The cards that only carry
   text (.ld-feat, .ld-spec, .ld-ctrl, the price banner) stay inert on purpose:
   lighting them up would promise a click they don't have. */
@media (hover: hover) and (pointer: fine) {
  /* "שליחת קוד חדש" - plain grey text with no box of its own, so a change of
     colour is the whole hover. */
  .ld-auth__resend { transition: color .16s ease; }
  .ld-auth__resend:hover { color: #66F0FF; }

  /* The sheet's close square - the same move every other screen's close button
     makes (.sb-close, .pr-add__close): the tile a shade lighter, the icon a
     shade brighter. */
  .ld-auth__close { transition: background .16s ease, border-color .16s ease, color .16s ease; }
  .ld-auth__close:hover { background: #1A222C; border-color: #2E3846; color: #C8CCD0; }
}

/* ── A session running now (index.php, .ld-live) ─────────────────────────────
   Pinned to the bottom of the page while the signed-in user's session is on:
   the time it has left, and the way into the studio's controls. The page and
   the WhatsApp button make room for it. */
body.has-live { --pc-wa-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
body.has-live .ld-app { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

.ld-live {
  position: fixed;
  z-index: 60;
  left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px);
  max-width: 406px;
  box-sizing: border-box;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 14px;
  padding-inline-start: 16px;
  border-radius: 18px;
  background: rgba(13,17,23,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(0,229,255,0.45);
  color: #F0F4F8;
  text-decoration: none;
  animation: pcMenuGlow 2.6s ease-in-out infinite, ldLiveIn .3s ease-out;
}
@keyframes ldLiveIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ld-live__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ld-live__head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: #00E5FF; letter-spacing: .02em; }
.ld-live__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: #00E5FF; box-shadow: 0 0 8px rgba(0,229,255,.9);
  animation: pcMenuPulse 1.4s ease-in-out infinite;
}
.ld-live__left { font-size: 12px; color: #A3B2C2; }
.ld-live__remain { font-family: 'Space Mono', monospace; font-weight: 700; color: #F0F4F8; }
.ld-live__go {
  flex: none;
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg,#00E5FF 0%,#8B2FFF 50%,#FF2D8C 100%);
  box-shadow: 0 4px 18px rgba(0,229,255,.3);
  color: #fff;
  font-size: 14px; font-weight: 800;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .ld-live { max-width: 520px; bottom: 24px; padding: 12px 12px 12px 16px; padding-inline-start: 20px; transition: border-color .16s ease; }
  .ld-live:hover { border-color: rgba(0,229,255,.85); }
  .ld-live__go { padding: 13px 22px; font-size: 15px; transition: filter .16s ease, transform .16s ease; }
  .ld-live:hover .ld-live__go { filter: brightness(1.08); transform: translateY(-1px); }
  body.has-live { --pc-wa-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-live, .ld-live__dot { animation: none; }
}

/* ── A coupon from a link (index.php ?promo=, PromoService) ─────────────── */
/* Big and glad: the card rises in, confetti falls through it, the emoji
   bounces once, and the coupon itself sits on a ticket. */
.ld-promo { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ld-promo__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(3,5,10,.78); backdrop-filter: blur(4px); cursor: pointer; }
.ld-promo__box {
  position: relative; width: 100%; max-width: 440px; overflow: hidden;
  padding: 34px 24px 22px; border-radius: 26px; text-align: center; color: #F0F4F8;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(255,45,140,.22), transparent 60%),
    radial-gradient(90% 60% at 50% 110%, rgba(0,229,255,.16), transparent 60%),
    #0D1117;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(139,47,255,.35), 0 30px 90px rgba(139,47,255,.35), 0 10px 40px rgba(0,0,0,.6);
  animation: ldPromoIn .5s cubic-bezier(.2,1.3,.4,1) both;
}
.ld-promo__x { position: absolute; top: 10px; left: 10px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: #8899AA; font-size: 24px; line-height: 1; cursor: pointer; }
.ld-promo__x:hover { background: rgba(255,255,255,.06); color: #F0F4F8; }
.ld-promo__emoji { position: relative; z-index: 1; font-size: 64px; line-height: 1; animation: ldPromoBounce 1s .25s cubic-bezier(.3,1.6,.5,1) both; }
.ld-promo__title { position: relative; z-index: 1; margin: 14px 0 18px; font-size: 26px; font-weight: 900; line-height: 1.25; }
.ld-promo__ticket {
  position: relative; z-index: 1; margin: 0 auto 16px; padding: 18px 16px 14px; border-radius: 18px;
  background: rgba(255,255,255,.03); border: 2px dashed rgba(0,229,255,.45);
}
.ld-promo__terms {
  font-size: 38px; font-weight: 900; line-height: 1.1;
  background: linear-gradient(135deg, #00E5FF 0%, #8B2FFF 50%, #FF2D8C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ld-promo__name { margin-top: 6px; font-size: 16px; font-weight: 700; color: #F0F4F8; }
.ld-promo__text { position: relative; z-index: 1; margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: #C8D2DC; }
.ld-promo__go { position: relative; z-index: 1; }
.ld-promo__later { position: relative; z-index: 1; display: block; width: 100%; margin-top: 8px; padding: 10px; border: 0; background: none; color: #8899AA; font: 600 14px Heebo, sans-serif; cursor: pointer; }
.ld-promo__later:hover { color: #F0F4F8; }
.ld-promo__confetti { position: absolute; inset: 0; pointer-events: none; }
.ld-promo__confetti i {
  position: absolute; top: -14px; left: calc(var(--i) * 3.6% + 1%);
  width: 8px; height: 14px; border-radius: 2px; opacity: 0;
  background: hsl(calc(var(--i) * 47deg), 95%, 62%);
  animation: ldConfetti calc(2.2s + (var(--i) * 0.07s)) calc(var(--i) * 0.06s) ease-in forwards;
}
.ld-promo__confetti i:nth-child(3n) { width: 10px; height: 10px; border-radius: 50%; }
.ld-promo__confetti i:nth-child(4n) { width: 6px; height: 16px; }
@keyframes ldPromoIn { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes ldPromoBounce { 0% { transform: scale(0) rotate(-20deg); } 60% { transform: scale(1.18) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes ldConfetti {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
  100% { opacity: 0; transform: translate3d(calc((var(--i) - 14) * 4px), 560px, 0) rotate(calc(var(--i) * 97deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-promo__box, .ld-promo__emoji { animation: none; }
  .ld-promo__confetti { display: none; }
}
@media (max-width: 420px) {
  .ld-promo__title { font-size: 22px; }
  .ld-promo__terms { font-size: 32px; }
}
