/* ===== Landing v2 — real screenshots in a realistic iPhone ===== */

/* --- iPhone 16 Pro–style device (titanium frame, Dynamic Island, buttons) --- */
.iphone {
  --w: 300px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .036);
  border-radius: calc(var(--w) * .175);
  background:
    linear-gradient(145deg, #5b5b61 0%, #2a2a2e 14%, #3a3a3f 38%, #1d1d20 62%, #34343a 86%, #57575d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 0 0 calc(var(--w) * .012) #0c0c0d,
    0 60px 120px -30px rgba(0,0,0,.75),
    0 30px 70px -35px rgba(98,88,230,.55);
}
.iphone .scr {
  position: relative; overflow: hidden; aspect-ratio: 390 / 844;
  border-radius: calc(var(--w) * .14); background: #000;
  box-shadow: 0 0 0 calc(var(--w) * .008) #000;
}
.iphone .scr img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Dynamic Island */
.iphone .scr::before {
  content: ''; position: absolute; z-index: 3; left: 50%; top: 1.45%;
  width: 31.5%; height: 4.3%; transform: translateX(-50%);
  background: #000; border-radius: 999px;
}
/* Home indicator */
.iphone .scr::after {
  content: ''; position: absolute; z-index: 3; left: 50%; bottom: .9%;
  width: 34%; height: .6%; min-height: 4px; transform: translateX(-50%);
  border-radius: 999px; background: rgba(0,0,0,.82);
}
.iphone.dark .scr::after { background: rgba(255,255,255,.85); }
/* Glass reflection */
.iphone .glare {
  position: absolute; inset: calc(var(--w) * .036); z-index: 4; pointer-events: none;
  border-radius: calc(var(--w) * .14);
  background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 26%, transparent 42%);
}
/* Side buttons */
.iphone i { position: absolute; width: calc(var(--w) * .012); border-radius: 2px;
  background: linear-gradient(90deg, #2a2a2e, #5a5a60); }
.iphone i.a { left: calc(var(--w) * -.009); top: 17%; height: 5.5%; }              /* action */
.iphone i.v1 { left: calc(var(--w) * -.009); top: 26%; height: 9%; }               /* volume + */
.iphone i.v2 { left: calc(var(--w) * -.009); top: 37%; height: 9%; }               /* volume − */
.iphone i.p { right: calc(var(--w) * -.009); top: 28%; height: 14%; transform: scaleX(-1); } /* power */
.iphone i.c { right: calc(var(--w) * -.009); top: 58%; height: 10%; transform: scaleX(-1); } /* camera control */

/* --- Hero --- */
.lp2-hero { position: relative; overflow: hidden; padding: 128px 22px 60px; min-height: 100svh;
  display: flex; align-items: center; }
.lp2-hero .aurora { opacity: .5; }
.lp2-hero-grid { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.lp2-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: #c4b5fd; background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.lp2-eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 10px #34c759; }
.lp2-title { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -2px; font-weight: 700; margin: 0; }
.lp2-title .grad { background: linear-gradient(100deg, #fff 10%, #b9b6ff 60%, #e0c3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp2-sub { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: #c7c7cf; max-width: 520px; margin: 24px 0 32px; }
.lp2-sub q { color: #fff; quotes: '«' '»'; }
.lp2-note { margin-top: 18px; color: #8e8e93; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lp2-note span::before { content: '✓'; color: #34c759; margin-right: 6px; font-weight: 700; }
.lp2-stage { position: relative; height: 640px; display: flex; justify-content: center; align-items: center; }
.lp2-stage .iphone.front { --w: 300px; z-index: 2; transform: translateX(-60px) rotate(-3deg); }
.lp2-stage .iphone.back { --w: 270px; position: absolute; z-index: 1; transform: translate(120px, 30px) rotate(6deg);
  filter: brightness(.92); }
.lp2-chip { position: absolute; z-index: 3; background: rgba(28,28,32,.72); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12); color: #f5f5f7;
  border-radius: 16px; padding: 10px 14px; font-size: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.4); white-space: nowrap; }
.lp2-chip small { display: block; color: #a1a1aa; font-size: 12px; margin-bottom: 2px; }
.lp2-chip.c1 { left: -30px; bottom: 70px; }
.lp2-chip.c2 { right: -30px; top: 170px; }

/* --- Walkthrough (pinned on desktop) --- */
.lp2-pin { position: relative; height: 700svh; background: #0a0a0c; }
.lp2-pin .lp-pin-inner { position: sticky; top: 0; height: 100svh; }
.lp2-pin .lp-scene { grid-template-columns: 1.1fr .9fr; }
.lp2-pin .lp-step p { font-size: 19px; line-height: 1.5; max-width: 460px; }
.lp2-pin .lp-step q { color: #fff; quotes: '«' '»'; }
.lp2-pin .iphone { --w: 290px; }
.lp2-dots { display: flex; gap: 8px; margin-top: 30px; }
.lp2-dots span { width: 26px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.18); transition: width .4s, background .4s; }
.lp2-dots span.on { width: 44px; background: #a78bfa; }

/* --- Feature grid --- */
.lp2-features { background: #fff; color: #1d1d1f; padding: 110px 22px; }
.lp2-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.lp2-head h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -1.4px; line-height: 1.05; margin: 0 0 14px; }
.lp2-head p { color: #6e6e73; font-size: 19px; margin: 0; }
.lp2-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp2-card { background: #f5f5f7; border-radius: 24px; padding: 28px; }
.lp2-card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(88,86,214,.12); color: #5856d6; margin-bottom: 18px; }
.lp2-card .ico svg { width: 24px; height: 24px; }
.lp2-card h3 { font-size: 20px; letter-spacing: -.3px; margin: 0 0 8px; }
.lp2-card p { color: #6e6e73; font-size: 16px; line-height: 1.5; margin: 0; }
.lp2-card q { color: #1d1d1f; quotes: '«' '»'; }

/* --- Dark mode gallery --- */
.lp2-gallery { background: #000; padding: 110px 0 120px; overflow: hidden; }
.lp2-gallery .lp2-head h2 { color: #f5f5f7; }
.lp2-gallery .lp2-head p { color: #a1a1aa; }
.lp2-row { display: flex; justify-content: center; align-items: flex-end; gap: 34px; padding: 0 22px; }
.lp2-row .iphone { --w: 260px; }
.lp2-row .iphone:nth-child(2) { --w: 290px; }

/* --- Install --- */
.lp2-install { background: #f5f5f7; color: #1d1d1f; padding: 110px 22px; }
.lp2-steps { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.lp2-step { background: #fff; border-radius: 24px; padding: 28px; position: relative; }
.lp2-step::before { counter-increment: s; content: counter(s); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: #1d1d1f; color: #fff; font-weight: 700; margin-bottom: 16px; }
.lp2-step h3 { font-size: 19px; margin: 0 0 6px; }
.lp2-step p { color: #6e6e73; margin: 0; font-size: 16px; line-height: 1.5; }
.lp2-step .kbd { display: inline-flex; align-items: center; gap: 6px; background: #f0f0f5; border-radius: 8px;
  padding: 2px 8px; color: #1d1d1f; font-weight: 600; font-size: 15px; white-space: nowrap; }
.lp2-step .kbd svg { width: 15px; height: 15px; }
.lp2-install-cta { text-align: center; margin-top: 36px; }
.lp2-install-cta .lp-btn.primary { background: #1d1d1f; color: #fff; }
.lp2-install-cta small { display: block; margin-top: 14px; color: #86868b; font-size: 14px; }

/* --- Coming to iPhone --- */
.lp2-ios { background: #0a0a0c; padding: 110px 22px; }
.lp2-ios .lp2-head h2 { color: #f5f5f7; }
.lp2-ios .lp2-head p { color: #a1a1aa; }
.lp2-tags { max-width: 860px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp2-tags span { background: #1c1c1f; border: 1px solid rgba(255,255,255,.1); color: #e5e5ea;
  padding: 11px 18px; border-radius: 999px; font-size: 16px; }
.lp2-tags span em { font-style: normal; margin-right: 8px; }

/* --- Pricing tweaks --- */
.lp2-price .save { display: inline-block; margin-left: 8px; background: #34c759; color: #fff; font-size: 12px;
  font-weight: 700; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

/* --- FAQ --- */
.lp2-faq { background: #fff; color: #1d1d1f; padding: 100px 22px; }
.lp2-faq-list { max-width: 760px; margin: 0 auto; }
.lp2-faq details { border-bottom: 1px solid #e5e5ea; padding: 20px 0; }
.lp2-faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex;
  justify-content: space-between; gap: 16px; }
.lp2-faq summary::-webkit-details-marker { display: none; }
.lp2-faq summary::after { content: '+'; color: #5856d6; font-size: 24px; line-height: 1; transition: transform .2s; }
.lp2-faq details[open] summary::after { transform: rotate(45deg); }
.lp2-faq details p { color: #515154; font-size: 17px; line-height: 1.55; margin: 12px 0 0; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .lp2-hero { padding-top: 110px; }
  .lp2-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lp2-sub { margin-left: auto; margin-right: auto; }
  .lp2-hero .lp-cta, .lp2-note { justify-content: center; }
  .lp2-stage { height: 560px; }
  .lp2-stage .iphone.front { --w: 250px; transform: translateX(-46px) rotate(-3deg); }
  .lp2-stage .iphone.back { --w: 225px; transform: translate(92px, 26px) rotate(6deg); }
  .lp2-chip.c1 { left: 2%; bottom: 30px; }
  .lp2-chip.c2 { right: 2%; top: 120px; }
  .lp2-grid, .lp2-steps { grid-template-columns: 1fr 1fr; }
  .lp2-row .iphone { --w: 200px; }
  .lp2-row .iphone:nth-child(2) { --w: 220px; }
}
@media (max-width: 720px) {
  .lp2-pin { height: auto; }
  .lp2-pin .lp-pin-inner { position: static; height: auto; }
  .lp2-pin .lp-scene { grid-template-columns: 1fr; }
  .lp2-pin .iphone { --w: 260px; margin: 0 auto; }
  .lp2-dots { display: none; }
}
@media (max-width: 600px) {
  .lp2-grid, .lp2-steps { grid-template-columns: 1fr; }
  .lp2-stage { height: 470px; }
  .lp2-stage .iphone.front { --w: 205px; transform: translateX(-30px) rotate(-3deg); }
  .lp2-stage .iphone.back { --w: 175px; transform: translate(62px, 20px) rotate(6deg); }
  .lp2-chip { font-size: 13px; padding: 8px 11px; }
  .lp2-chip.c1 { left: 50%; bottom: 6px; transform: translateX(-50%); }
  .lp2-chip.c2 { display: none; }
  .lp2-row { gap: 14px; }
  .lp2-row .iphone, .lp2-row .iphone:nth-child(2) { --w: 46vw; }
  .lp2-row .iphone:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .lp2-stage .iphone.front { animation: lp2float 8s ease-in-out infinite; }
  @keyframes lp2float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
}

/* --- Install: iPhone + Android cards --- */
.lp2-platforms { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp2-platform { background: #fff; border-radius: 24px; padding: 28px; }
.lp2-platform .os { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.lp2-platform .os svg { width: 26px; height: 26px; color: #5856d6; }
.lp2-platform ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.lp2-platform li { counter-increment: s; position: relative; padding: 0 0 16px 44px; font-size: 16px; line-height: 1.5; color: #3a3a3c; }
.lp2-platform li:last-child { padding-bottom: 0; }
.lp2-platform li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: #1d1d1f; color: #fff; font-weight: 700; font-size: 14px; }
.lp2-platform .kbd { display: inline-flex; align-items: center; gap: 5px; background: #f0f0f5; border-radius: 8px;
  padding: 1px 8px; color: #1d1d1f; font-weight: 600; font-size: 15px; white-space: nowrap; }
.lp2-platform .kbd svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .lp2-platforms { grid-template-columns: 1fr; } }
