/* =====================================================================
   SpendToSave — "Try it now" landing sections.
   Loaded only by the home page (via @push('head')) so the shared
   site.css stays untouched. Uses the variables defined there.
   ===================================================================== */

/* ---------- Hero ---------- */
.try-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 82% 20%, rgba(229,57,53,0.28), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(229,57,53,0.14), transparent 60%),
    linear-gradient(180deg, #111 0%, #17171a 100%);
  color: var(--white);
  padding: 56px 0 0;
}
.try-hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.try-hero-copy { padding-bottom: 8px; }
.try-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px;
}
.try-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,0.2); }
.try-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.04; letter-spacing: -1.4px; margin: 18px 0 14px; font-weight: 800; }
.try-hero h1 .accent { color: #FF6B67; }
.try-hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 0 26px; }
.try-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--red); color: var(--white);
  padding: 15px 26px 15px 20px; border-radius: 16px; font-weight: 800; font-size: 17px; line-height: 1.2;
  box-shadow: 0 14px 34px rgba(229,57,53,0.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(229,57,53,0.55); }
.btn-download svg { width: 26px; height: 26px; flex: none; }
.btn-download small { display: block; font-size: 11.5px; font-weight: 600; opacity: 0.85; letter-spacing: 0.1px; }
.btn-ghost-light {
  display: inline-flex; align-items: center; padding: 15px 22px; border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,0.35); color: var(--white); font-weight: 700; font-size: 16px;
  transition: border-color .18s ease, background .18s ease;
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.try-note { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,0.62); }
.try-note a { color: rgba(255,255,255,0.86); text-decoration: underline; text-underline-offset: 3px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.92);
}
.chip svg { width: 14px; height: 14px; stroke: #3DDC97; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.try-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 340px; margin-top: 8px; }
.try-phones .mock { position: absolute; bottom: -60px; filter: drop-shadow(0 26px 40px rgba(0,0,0,0.5)); }
.try-phones .p-main { width: 210px; z-index: 3; left: 50%; transform: translateX(-50%); }
.try-phones .p-left { width: 176px; left: 50%; transform: translateX(-128%) rotate(-7deg); z-index: 1; }
.try-phones .p-right { width: 176px; left: 50%; transform: translateX(28%) rotate(7deg); z-index: 2; }
@media (max-width: 899px) { .try-phones .p-left, .try-phones .p-right { display: none; } }
@media (min-width: 900px) {
  .try-hero { padding-top: 72px; }
  .try-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .try-phones { height: 540px; }
  .try-phones .mock { bottom: -70px; }
  .try-phones .p-main { width: 262px; }
  .try-phones .p-left, .try-phones .p-right { width: 200px; }
}

/* ---------- Helpers ---------- */
.mock { display: block; width: 100%; height: auto; }
.sample-note { text-align: center; font-size: 12.5px; color: var(--text-tertiary); margin: 22px 0 0; }
.band { padding: 72px 0; }
.band-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- 60-second start ---------- */
.try-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 800px) { .try-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.try-step {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 22px 22px; box-shadow: var(--shadow); counter-increment: step;
}
.try-step::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: var(--white); font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.try-step:last-child::before { background: var(--red); }
.try-step h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.2px; }
.try-step p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.install-help { margin: 22px auto 0; max-width: 760px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 18px; }
.install-help summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.install-help summary::-webkit-details-marker { display: none; }
.install-help summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--text-secondary); }
.install-help[open] summary::after { content: '\2013'; }
.install-help ol { margin: 0 0 16px; padding-left: 20px; color: var(--text-secondary); font-size: 15px; }
.install-help li { margin-bottom: 6px; }

/* ---------- Three ways to add ---------- */
.ways { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.ways-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.way { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.way .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-surface); }
.way .ico svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way h3 { margin: 0 0 2px; font-size: 16.5px; }
.way p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }
.way-shots { display: flex; justify-content: center; gap: 18px; }
.way-shots .mock { width: 210px; filter: drop-shadow(0 18px 26px rgba(17,17,17,0.22)); }
.way-shots .mock:nth-child(2) { margin-top: 36px; }
@media (max-width: 560px) { .way-shots .mock { width: 46%; } }

/* ---------- Screen strip ---------- */
.mock-strip {
  display: flex; gap: 22px; overflow-x: auto; padding: 12px 24px 30px; margin: 0 -24px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.mock-item { flex: none; width: 232px; margin: 0; scroll-snap-align: center; }
.mock-item .mock { filter: drop-shadow(0 18px 26px rgba(17,17,17,0.22)); }
.mock-item figcaption { text-align: center; margin-top: 12px; font-weight: 700; font-size: 15px; }
.mock-item figcaption small { display: block; font-weight: 500; color: var(--text-secondary); font-size: 13px; margin-top: 2px; }
@media (min-width: 1100px) { .mock-strip { justify-content: center; flex-wrap: nowrap; overflow: visible; margin: 0; padding: 12px 0 8px; gap: 26px; } .mock-item { width: 200px; } }

/* ---------- MVP list ---------- */
.mvp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .mvp-grid { grid-template-columns: 1fr 1fr; gap: 14px 18px; } }
.mvp-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; }
.mvp-item .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--income-surface); display: grid; place-items: center; margin-top: 1px; }
.mvp-item .tick svg { width: 14px; height: 14px; stroke: var(--income); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mvp-item b { display: block; font-size: 16px; margin-bottom: 2px; }
.mvp-item span { color: var(--text-secondary); font-size: 14.5px; }
.mvp-banner { text-align: center; margin: 0 auto 34px; max-width: 640px; }
.badge-mvp { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 0.6px; }

/* ---------- Privacy promise ---------- */
.promise { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1fr; gap: 24px; } }
.promise-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px 26px 22px; box-shadow: var(--shadow); }
.promise-card h3 { margin: 0 0 14px; font-size: 19px; letter-spacing: -0.2px; }
.promise-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.promise-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-secondary); }
.promise-card li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background-color: var(--income-surface); border: 5px solid var(--income-surface); box-shadow: inset 0 0 0 5px var(--income); box-sizing: border-box; }
.promise-card.never li::before { background-color: var(--red-surface); border-color: var(--red-surface); box-shadow: inset 0 0 0 5px var(--red); }
.promise-card li b { color: var(--text-primary); }
.promise-card .cta-link { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final download ---------- */
.get-app { background: linear-gradient(180deg, #111 0%, #1a1a1d 100%); color: var(--white); text-align: center; padding: 72px 0 76px; position: relative; overflow: hidden; }
.get-app::before { content: ''; position: absolute; inset: -30% -10% auto -10%; height: 90%; background: radial-gradient(50% 60% at 50% 0%, rgba(229,57,53,0.32), transparent 70%); pointer-events: none; }
.get-app .container { position: relative; }
.get-app h2 { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -1px; margin: 0 0 10px; }
.get-app p.sub { max-width: 560px; margin: 0 auto 26px; color: rgba(255,255,255,0.78); font-size: 17px; }
.get-app .try-actions { justify-content: center; }
.get-app .try-note { color: rgba(255,255,255,0.6); }
.gp-soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; }
.gp-soon svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Privacy page: at-a-glance box ---------- */
.glance { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 8px 0 28px; }
@media (min-width: 720px) { .glance { grid-template-columns: repeat(3, 1fr); } }
.glance div { background: var(--income-surface); border: 1px solid rgba(28,138,92,0.2); border-radius: var(--radius-md); padding: 14px 16px; font-size: 14.5px; }
.glance b { display: block; margin-bottom: 2px; font-size: 15.5px; }
.perm-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; }
.perm-table th, .perm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.perm-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }

/* =====================================================================
   Real app screens (public/images/app/*.jpg) in a phone frame, plus the
   salaried-visitor sections: story, split try-it, three ways, not-yet, FAQ.
   ===================================================================== */

.shot { margin: 0; }
.shot-frame {
  background: #111; border-radius: 30px; padding: 7px;
  box-shadow: 0 22px 44px -18px rgba(17,17,17,0.4), 0 8px 18px -8px rgba(17,17,17,0.22);
}
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 24px; background: #F7F7F8; }
.shot figcaption { text-align: center; margin-top: 12px; font-size: 14px; color: var(--text-secondary); }

/* hero: the frames sit where the old drawings did */
.try-phones .shot-frame { position: absolute; bottom: -60px; filter: drop-shadow(0 26px 40px rgba(0,0,0,0.5)); box-shadow: none; }
@media (min-width: 900px) { .try-phones .shot-frame { bottom: -70px; } }

/* "Sound familiar?" */
.story { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.story-quote {
  margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--red);
  font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--text-primary); font-weight: 600;
}
.story-quote footer { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.story-quote footer a { text-decoration: underline; text-underline-offset: 3px; }
.story-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow); }
.story-tag { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-tertiary); }
.story-in { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--income-surface); }
.story-rupee { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.story-in small { display: block; color: var(--text-secondary); font-size: 13px; }
.story-in b { font-size: 24px; letter-spacing: -0.5px; }
.story-out { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 2px; }
.story-out li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
.story-out li:last-child { border-bottom: 0; }
.story-out b { color: var(--red); font-weight: 700; }
.story-left { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--black); color: #fff; font-weight: 600; }
.story-left b { font-size: 24px; letter-spacing: -0.5px; }

/* try it: steps beside the real welcome screen */
.try-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .try-split { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.try-split .shot { max-width: 250px; margin: 0 auto; }
.try-steps-col { grid-template-columns: 1fr !important; gap: 12px; }
.try-steps-col .try-step { padding: 16px 18px 16px 62px; }
.try-steps-col .try-step::before { position: absolute; left: 16px; top: 16px; margin: 0; }
.try-steps-col .install-help { margin-left: 0; }
.try-split .install-help { margin: 16px 0 0; max-width: none; }

/* three ways */
.ways3 { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 1000px) { .ways3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.way-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px 22px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.way-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.4px; }
.way-card > p { margin: 0 0 18px; color: var(--text-secondary); font-size: 15px; }
.way-card > small { margin-top: 16px; color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }
.way-imgs { display: flex; justify-content: center; gap: 14px; align-items: flex-start; margin-top: auto; }
.way-imgs .shot { flex: 1 1 0; max-width: 190px; }
.way-imgs.one .shot { max-width: 250px; }

/* not-yet list */
.notyet-title { margin: 34px 0 12px; font-size: 18px; text-align: center; }
.notyet { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 900px; }
@media (min-width: 800px) { .notyet { grid-template-columns: 1fr 1fr; } }
.notyet li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--surface); }
.notyet b { font-size: 15.5px; }
.notyet span { color: var(--text-secondary); font-size: 14px; }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--text-secondary); flex: none; }
.faq details[open] summary::after { content: '\2013'; }
.faq p { margin: 0 0 16px; color: var(--text-secondary); font-size: 15px; }

/* =====================================================================
   Home hero on the brand banner (hero-bg.png). Builds on .hero-photo in
   site.css: on desktop the banner is the section background and the copy
   sits in its empty left side; on phones the banner shows inline below.
   ===================================================================== */
.hero-banner .btn-ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.hero-banner .hero-note { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; }
.hero-banner .hero-note a { text-decoration: underline; text-underline-offset: 3px; }
.hero-banner .actions { flex-wrap: wrap; }

@media (min-width: 900px) {
  /* a little more room than the original 320px column: the banner's empty
     side is ~36% of the section, so this scales with the screen */
  .hero-banner .hero-copy { max-width: calc(26vw - 8px); }
  .hero-banner h1 { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.06; }
  .hero-banner p.lead { font-size: clamp(14px, 1.25vw, 17px); max-width: 100%; margin-bottom: 20px; }
  .hero-banner .eyebrow { margin-bottom: 16px; font-size: 12.5px; }
  .hero-banner .btn { padding: 12px 18px; font-size: 15px; }
}
/* narrow desktops/tablets: keep the copy from touching the phones */
@media (min-width: 900px) and (max-width: 1100px) {
  .hero-banner p.lead { display: none; }
  .hero-banner .btn-outline-white { display: none; }
}
@media (max-width: 899px) {
  .hero-banner { padding-bottom: 32px; }
  .hero-banner h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* the inline banner on phones keeps its true proportions (width/height attributes are only there to reserve space) */
.hero-banner .hero-photo-mobile img { height: auto; }
