/* ==========================================================================
   One by BajajCapital – Landing page
   Structure: tokens → base → components (one block per component)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --c-ink: #101114;
  --c-text: #1d1f24;
  --c-muted: #5f6573;
  --c-line: #e9e9ee;
  --c-bg: #ffffff;
  --c-header: rgba(247, 248, 250, 0.86);
  --c-red: #e2231a;
  --c-orange: #f07c12;
  --c-yellow: #f7c600;
  --c-green: #1f9d55;
  --c-dark: #141519;

  --grad-brand: linear-gradient(90deg, #e2231a 0%, #f07c12 55%, #f5b400 100%);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1140px;
  --gutter: 24px;
  --header-h: 64px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-card: 0 10px 30px rgba(17, 17, 26, 0.06), 0 1px 3px rgba(17, 17, 26, 0.05);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

/* Lenis smooth scroll (classes are added by Lenis at runtime) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Prevent a flash of un-animated content; GSAP reveals these */
.js .hero__content,
.js .showcase { visibility: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--pill { height: 36px; padding: 0 16px; border-radius: 999px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }

/* ---------- Store buttons ---------- */
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  height: 54px;
  padding: 0 18px 0 16px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  border-radius: 9px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.22); }
.store-btn__icon { width: 24px; height: 24px; flex: none; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.2px;
}
.store-btn__text small { font-size: 11px; font-weight: 500; letter-spacing: 0.2px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--c-header);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 24px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(253, 228, 205, .9), transparent 70%),
    linear-gradient(100deg, #fde3e2 0%, #fdeeea 45%, #fdf2e6 100%);
}
.hero__content { text-align: center; }

.hero__title {
  font-size: clamp(40px, 6.2vw, 74px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.hero__word { display: inline-block; }
.hero__word--accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__dot { color: var(--c-yellow); -webkit-text-fill-color: var(--c-yellow); }

.hero__subtitle {
  max-width: 520px;
  margin: 28px auto 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-muted);
}
.hero__stores { justify-content: center; margin-top: 28px; }
.hero__note { margin-top: 20px; font-size: 13px; color: #5d6270;padding-top: 16px; }

/* ---------- Product showcase (hero stage) ---------- */
.showcase {
  position: relative;
  margin-top: 6px;
  aspect-ratio: 1140 / 484;
}

.showcase__label {
  position: absolute;
  top: 0;
  z-index: 3;
  padding: 7px 22px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.04);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.showcase__label--left  { left: 9.1%; }
.showcase__label--right { left: 79.8%; }

.product-card {
  position: absolute;
  z-index: 2;
  width: 13.6%;
  aspect-ratio: 155 / 170;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8%;
  padding-top: 4%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: default;
  will-change: transform;
}
.product-card img { width: 46%; height: auto; }
.product-card span { font-size: clamp(14px, 1.4vw, 17px); font-weight: 500; color: var(--c-ink); }

/* Positions measured from the design (1140 × 484 stage) */
.product-card--mf     { left: 2.2%;  top: 20.5%; }
.product-card--sif    { left: 17.6%; top: 12.2%; }
.product-card--nps    { left: 5%;    top: 60.1%; }
.product-card--gold   { left: 20.4%; top: 51.9%; }
.product-card--life   { left: 68.9%; top: 12.2%; }
.product-card--health { left: 84.3%; top: 20.5%; }
.product-card--travel { left: 66.1%; top: 51.9%; }
.product-card--car    { left: 81.5%; top: 60.1%; }

.showcase__group { display: contents; }

.showcase__phone {
  position: absolute;
  left: 35.5%;
  top: 11.2%;
  width: 29%;
  z-index: 1;
}
.showcase__phone img {
  width: 100%;
  border-radius: 48px 48px 0 0;
  filter: drop-shadow(0 -6px 30px rgba(226, 35, 26, 0.12));
}

/* ---------- Features ---------- */
.features { position: relative; overflow: hidden; }

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}
.glow--yellow-left {
  top: -120px; left: -380px;
  width: 1000px; height: 1100px;
  background: radial-gradient(closest-side, rgba(252, 196, 92, .75), rgba(252, 220, 150, .35) 55%, transparent);
}
.glow--peach-right {
  top: 36%; right: -420px;
  width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(252, 204, 160, .6), transparent);
}
.glow--yellow-right {
  top: 54%; right: -360px;
  width: 860px; height: 900px;
  background: radial-gradient(closest-side, rgba(252, 214, 120, .65), transparent);
}

.feature { padding: 80px 0; }
.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 28px;
}
.feature__media { display: flex; justify-content: center; }
.feature__text { padding-left: 28px; max-width: 520px; }

.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__text  { order: 1; padding-left: 0; max-width: 490px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--c-red);
}
.feature__title {
  margin-top: 8px;
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.feature__desc {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-muted);
}

.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background: var(--c-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Phone screenshots */
.phone-shot { width: 300px; max-width: 100%; will-change: transform; }
.phone-shot img { width: 100%; border-radius: 42px; }
.phone-shot--fade img { border-radius: 42px 42px 0 0; }
.phone-shot--free { width: 355px; }
.phone-shot--free img { border-radius: 40px 40px 0 0; }

/* ---------- Security ---------- */
.security-wrap { padding: 60px 0 0; }

.security {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 52px;
  border-radius: var(--radius-lg);
  background: var(--c-dark);
  color: #fff;
  padding-bottom: 72px;
}
.security__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38% 70% at 62% 35%, rgba(140, 38, 18, .75), transparent 70%),
    radial-gradient(40% 80% at 100% 15%, rgba(150, 120, 0, .9), transparent 70%),
    radial-gradient(30% 50% at 85% 90%, rgba(150, 70, 0, .5), transparent 70%);
}
.security__title {
  max-width: 440px;
  font-size: clamp(28px, 3.1vw, 36px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.01em;
}
.security__desc { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.72); }

.security__grid {
  /* margin-top: 44px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sec-card {
  padding: 20px 18px 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.sec-card:hover { background: rgba(255,255,255,.08); border-color: rgba(245, 180, 0, .35); transform: translateY(-4px); }
.sec-card__icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: #f5b400;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sec-card h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.sec-card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.68); }

/* ---------- Stats ---------- */
.stats-wrap { padding-top: 80px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.stat { padding: 28px 20px 30px; }
.stat + .stat { border-left: 1px solid var(--c-line); }
.stat__value {
  display: inline-block;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 2px; font-size: 14px; color: var(--c-muted); }

/* ---------- Download CTA ---------- */
.cta-wrap { padding: 96px 0 0; }

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 532px;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 40px;
  padding: 0 120px;
  border-radius: 32px;
  border: 1px solid #efefef;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #fdf0e1 80%, #fdf3cf 100%);
}

.cta__rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__rings span {
  position: absolute;
  left: 75%; top: 82%;
  border-radius: 50%;
  border: 1px solid rgba(226, 35, 26, .09);
  transform: translate(-50%, -50%);
}
.cta__rings span:nth-child(1) { width: 380px;  height: 380px; }
.cta__rings span:nth-child(2) { width: 600px;  height: 600px; }
.cta__rings span:nth-child(3) { width: 820px;  height: 820px; }
.cta__rings span:nth-child(4) { width: 1040px; height: 1040px; }
.cta__rings span:nth-child(5) { width: 1260px; height: 1260px; }

.cta__title {
  font-size: clamp(32px, 3.9vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.cta__desc {
  max-width: 480px;
  margin: 18px 0 30px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-muted);
}

.cta__phone {
  position: relative;
  align-self: end;
  height: 420px;
  padding: 92px 38px 0;
  background: #fff;
  border: 13px solid #121316;
  border-bottom: 0;
  border-radius: 52px 52px 0 0;
  box-shadow: 0 0 0 2px #cfd0d4;
  text-align: center;
}
.cta__notch {
  position: absolute;
  top: -1px; left: 50%;
  width: 118px; height: 30px;
  transform: translateX(-50%);
  background: #121316;
  border-radius: 0 0 14px 14px;
}
.cta__phone p { font-size: 20px; font-weight: 500; line-height: 1.35; color: #5d6474; }
.cta__qr {
  width: 214px;
  margin: 22px auto 0;
  padding: 12px;
  border: 1px solid #1d1f24;
  border-radius: 14px;
  background: #fff;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  background: #f6f6f9;
  color: #2a2c31;
}
/* Footer runs wider than the page container so five columns fit */
.footer .container { max-width: calc(1360px + var(--gutter) * 2); }

.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.1fr 1fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.footer__logo { height: 30px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 300px; font-size: 15px; line-height: 1.6; }

.footer__heading { font-size: 19px; font-weight: 600; color: var(--c-ink); }

.footer__list { display: grid; gap: 16px; margin-top: 28px; }
.footer__list a,
.footer__legal a,
.footer__mail { font-size: 15px; line-height: 1.35; transition: color .2s ease; }
.footer__list a:hover,
.footer__legal a:hover,
.footer__mail:hover,
.footer__phone:hover { color: var(--c-red); }

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 16px;
  transition: color .2s ease;
}
.footer__phone svg { width: 18px; height: 18px; fill: currentColor; }
.footer__hours { margin-top: 6px; font-size: 15px; }
.footer__note { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.footer__mail { display: inline-block; margin-top: 16px; }

.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { display: block; transition: transform .2s ease; }
.footer__social a:hover { transform: translateY(-2px); }
.footer__social svg { width: 40px; height: 40px; display: block; }

.footer__bottom { border-top: 2px solid #e4e4ea; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
}
.footer__copy { font-size: 15px; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; }
.footer__legal a + a::before {
  content: "|";
  margin: 0 22px;
  color: var(--c-ink);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .cta { padding: 0 56px; }

  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 520px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 64px; }

  /* Showcase switches from absolute stage to stacked grids */
  .showcase {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    margin-top: 48px;
  }
  .showcase__label { position: static; justify-self: center; font-size: 14px; }
  .showcase__label--left  { grid-column: 1; grid-row: 1; }
  .showcase__label--right { grid-column: 2; grid-row: 1; }
  .showcase__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    grid-row: 2;
  }
  .showcase__group--left  { grid-column: 1; }
  .showcase__group--right { grid-column: 2; }
  .product-card { position: static; width: auto; }
  .showcase__phone {
    position: relative;
    left: auto; top: auto;
    grid-column: 1 / -1;
    grid-row: 3;
    width: min(330px, 80%);
    margin: 40px auto 0;
  }

  .feature { padding: 56px 0; }
  .feature__inner { grid-template-columns: 1fr; gap: 40px; }
  .feature__text,
  .feature--reverse .feature__text { order: 1; padding-left: 0; max-width: 600px; }
  .feature__media,
  .feature--reverse .feature__media { order: 2; }

  .security { padding: 40px 28px; padding-bottom: 72px !important;}
  .security__grid { grid-template-columns: 1fr 1fr; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--c-line); }

  .cta { grid-template-columns: minmax(0, 1fr); padding: 56px 40px 0; text-align: center; gap: 48px; }
  .cta .store-buttons { justify-content: center; }
  .cta__desc { margin-left: auto; margin-right: auto; }
  .cta__phone { justify-self: center; width: 340px; max-width: 100%; }
  .cta__rings span { left: 50%; top: 88%; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .hero__subtitle { font-size: 17px; }
  .store-btn { min-width: 0; flex: 1 1 150px; height: 50px; justify-content: center; }
  .store-btn__text { font-size: 17px; }

  .showcase { grid-template-columns: 1fr; }
  .product-card { aspect-ratio: auto; padding: 20px 8px 18px; gap: 12px; }
  .product-card img { width: 64px; }
  .glow { opacity: .55; }
  .showcase__label--left  { grid-row: 1; }
  .showcase__group--left  { grid-row: 2; }
  .showcase__label--right { grid-column: 1; grid-row: 3; margin-top: 32px; }
  .showcase__group--right { grid-column: 1; grid-row: 4; }
  .showcase__phone        { grid-row: 5; }

  .security__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--c-line); }

  .cta { padding: 44px 20px 0; border-radius: 24px; }
  .cta__desc { font-size: 17px; }
  .cta__phone { padding: 80px 24px 0; height: 380px; }
  .cta__qr { width: 190px; }

  /* Footer keeps every list visible: two columns, brand and contact full width */
  .footer { margin-top: 64px; }
  .footer__top { gap: 36px 20px; padding-top: 48px; padding-bottom: 40px;display: flex !important;flex-wrap: wrap !important;flex-direction: column !important; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__heading { font-size: 17px; }
  .footer__list { margin-top: 18px; gap: 12px; }
  .footer__list a { font-size: 14px; }
  .footer__phone { margin-top: 18px; }

  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { gap: 8px 20px; }
  .footer__legal a + a::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
