/* ==========================================================
   Federal Bank — Credit cards landing page
   Brand cues from federal.bank.in: Lato, navy #00265F,
   blue #004CBE, orange #FF9C00, pale blue #F4F9FF, pill buttons.
   ========================================================== */
:root {
  --fb-blue: #004CBE;
  --fb-navy: #00265F;
  --fb-deep: #00173d;
  --fb-orange: #FF9C00;
  --fb-orange-2: #ffb733;
  --fb-tint: #F4F9FF;
  --fb-tint-2: #E9F2FF;
  --ink: #00265F;
  --body: #44516a;
  --line: #d9e5f6;
  --muted: #a9bad8;
  --radius: 0 40px 0 0;
  --corner-xl: 0 64px 0 0;
  --corner-lg: 0 40px 0 0;
  --corner-md: 0 24px 0 0;
  --corner-sm: 0 16px 0 0;
  --corner-xs: 0 10px 0 0;
  --container: 1600px;
  --gutter: clamp(16px, 3.2vw, 56px);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
img { max-width: 100%; }

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

:focus-visible { outline: 2px solid var(--fb-orange); outline-offset: 3px; }

/* Hide until GSAP takes over (avoids flash of unanimated content) */
.js .hero { visibility: hidden; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn--sm { height: 42px; padding: 0 22px; font-size: 14.5px; }
.btn--primary { background: var(--fb-orange); color: var(--fb-navy); }
.btn--primary:hover { background: var(--fb-orange-2); box-shadow: 0 12px 30px -10px rgba(255, 156, 0, .7); }
.btn--blue { background: var(--fb-blue); color: #fff; }
.btn--blue:hover { background: var(--fb-navy); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: #fff; color: var(--fb-navy); border-color: #fff; }
.btn--outline { color: var(--fb-blue); border-color: var(--fb-blue); background: transparent; }
.btn--outline:hover { background: var(--fb-blue); color: #fff; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  --tint: #ffb84d;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(120% 90% at 70% 0%, #0a3a8c 0%, var(--fb-navy) 45%, var(--fb-deep) 100%);
  padding-bottom: clamp(110px, 12vw, 170px);
}
.bg-stripes {
  position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 64px, transparent 64px 128px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.glow { position: absolute; z-index: -1; top: -10%; left: -14%; width: min(900px, 85vw); aspect-ratio: 1; pointer-events: none; }
.glow-core {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 92, 230, .6) 0%, rgba(0, 76, 190, .3) 25%, rgba(0, 38, 95, .12) 45%, transparent 66%);
  filter: blur(30px);
}
/* Light behind the deck takes the colour of the top card */
.glow-right {
  position: absolute; z-index: -1; top: 6%; right: -4%;
  width: 720px; height: 720px; border-radius: 50%;
  color: var(--tint);
  background: radial-gradient(circle, currentColor 0%, transparent 62%);
  opacity: .16;
  transition: color 1s ease;
  pointer-events: none;
}

/* ---------------- Nav ---------------- */
.nav { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding-top: 34px; }
.brand-word {
  position: relative;
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 3px; border-radius: 2px; background: var(--fb-orange);
}
.nav-links ul { display: flex; gap: 40px; }
.nav-links a { position: relative; font-size: 15px; font-weight: 700; color: #dfe8f7; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--fb-orange); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; cursor: pointer;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .35s, top .35s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 24px; }
.menu-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------------- Hero content ---------------- */
.hero-main {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 56px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fb-orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fb-orange); }
.hero-title {
  font-weight: 900;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: normal; color: var(--fb-orange); }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-inner { display: inline-block; }
.hero-sub { margin-top: 24px; max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #c9d6ee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--fb-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2300265F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------------- Card deck ---------------- */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.visual {
  position: relative;
  font-size: 9.6px;            /* the whole deck scales from this */
  width: 52em;
  height: 40em;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-float, .carousel { position: absolute; inset: 0; }
.cstack {
  position: absolute; left: 50%; top: 48%;
  width: 35em; height: 22.1em;
  cursor: pointer;
  will-change: transform, filter;
  transform-origin: 50% 50%;
}
.cstack.is-vertical { width: 22.1em; height: 35em; }
.cs-front { position: absolute; inset: 0; will-change: transform; }
.card { position: relative; width: 100%; height: 100%; overflow: hidden; }
.card--img {
  border-radius: 1.3em;
  background: #050505;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1);
}
.card--img img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card--img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(20em circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 60%);
  opacity: var(--shine, 0); transition: opacity .4s; mix-blend-mode: screen;
}
.light-streak {
  position: absolute; left: 15em; top: 33em; width: 22em; height: 5em; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
  filter: blur(8px); z-index: 1; pointer-events: none;
}

/* Spotlight on the top card */
.spotlight { width: 100%; max-width: 440px; margin-top: 36px; text-align: center; }
.spot-name { font-size: 15px; color: var(--muted); }
.spot-name b { font-size: 22px; font-weight: 900; color: #fff; }
.spot-tagline { margin-top: 8px; font-size: 16px; font-style: italic; color: #c9d6ee; min-height: 1.6em; }
.switcher { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.switch {
  position: relative; overflow: hidden;
  padding: 8px 4px 10px; min-width: 84px;
  background: none; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--muted);
  transition: color .3s;
}
.switch::before, .switch i {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 3px; border-radius: 2px;
}
.switch::before { background: rgba(255, 255, 255, .15); }
.switch i { background: var(--fb-orange); transform: scaleX(0); transform-origin: left; }
.switch:hover, .switch.is-active { color: #fff; }

/* Curve into the light page */
.bottom-curve { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 8vw, 120px); z-index: 4; }
.bottom-curve svg { width: 100%; height: 100%; display: block; }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--fb-tint); }
#cards { padding-top: clamp(24px, 3vw, 40px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.section-head h2 {
  font-weight: 900; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--fb-blue);
}
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; border-radius: 2px; background: var(--fb-orange);
  transform: scaleX(var(--u, 1));
}
/* Word masks for the heading entrance */
.section-head .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.section-head .w > span { display: inline-block; transform-origin: 0 100%; }
.step { overflow: hidden; }
.step-num { will-change: transform; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--ink); }

/* ---------------- Filters ---------------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip {
  height: 38px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font-size: 14.5px; font-weight: 700;
  color: var(--fb-blue); background: #fff; border: 1.5px solid var(--fb-blue);
  transition: background .25s, color .25s;
}
.chip:hover { background: var(--fb-tint-2); }
.chip.is-active { background: var(--fb-blue); color: #fff; }

/* ---------------- Tiles ---------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.tile {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 0; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(0, 38, 95, .35);
  transition: transform .4s var(--ease), box-shadow .4s, opacity .4s, border-radius .5s var(--ease);
}
.tile:hover { border-radius: 0 40px 0 0; transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 34px 60px -28px rgba(0, 38, 95, .45); }
.tile.is-hidden { display: none; }
.tile-art {
  position: relative; height: 260px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, #1d63d6 0%, var(--fb-blue) 35%, var(--fb-navy) 100%);
}
.tile-art::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 50% 60%, var(--tint), transparent 70%); opacity: .25;
}
.tile-art img {
  position: relative; display: block; width: 76%; height: auto; border-radius: 10px;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease);
}
.tile-art img.is-v { width: auto; height: 210px; }
.tile:hover .tile-art img { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.tile-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fb-orange); }
.tile h3 { margin-top: 6px; font-size: 23px; font-weight: 900; color: var(--fb-blue); line-height: 1.2; }
.tile h3 small { font-size: 15px; font-weight: 700; color: var(--ink); }
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding: 12px 0; border-block: 1px solid var(--line); }
.fee span { display: block; font-size: 12px; color: var(--body); }
.fee b { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.fee s { color: #8a96ab; font-weight: 400; margin-right: 6px; text-decoration-color: #e0453a; text-decoration-thickness: 1.5px; }
.fee em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--fb-blue); padding: 2px 9px; border-radius: 999px; }
.fee-note { grid-column: 1 / -1; font-size: 12px; color: var(--body); }
.highlights { display: grid; gap: 10px; margin-top: 16px; margin-bottom: 22px; }
.highlights li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.highlights li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--fb-orange); font-size: 13px; }
.tile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.tile-actions .btn { height: 46px; padding: 0 12px; font-size: 14.5px; }

/* ---------------- Benefits ---------------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 36px auto 0; padding: 6px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--fb-tint); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 44px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--fb-navy); background: transparent;
  transition: background .3s, color .3s;
}
.tab:hover { background: var(--fb-tint-2); }
.tab.is-active { background: var(--fb-blue); color: #fff; }

.benefit-panel { display: grid; grid-template-columns: 360px 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.bp-card {
  position: sticky; top: 24px;
  padding: 28px; border-radius: 0; border-left: 4px solid var(--fb-orange); color: #fff; overflow: hidden;
  transition: border-radius .5s var(--ease);
  background: radial-gradient(90% 70% at 50% 0%, #1d63d6 0%, var(--fb-blue) 35%, var(--fb-navy) 100%);
}
.bp-card:hover { border-radius: var(--corner-xl); }
.bp-art { display: grid; place-items: center; height: 230px; }
.bp-art img { display: block; width: 92%; border-radius: 12px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.bp-art img.is-v { width: auto; height: 220px; }
.bp-card h3 { margin-top: 20px; font-size: 26px; font-weight: 900; }
.bp-card .tagline { margin-top: 4px; font-style: italic; color: #d5e2f8; }
.bp-fees { margin-top: 20px; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
.bp-fees div { display: flex; justify-content: space-between; gap: 12px; }
.bp-fees dt { color: #b9cbea; }
.bp-fees dd { text-align: right; font-weight: 700; }
.bp-fees s { color: #9fb3d6; font-weight: 400; margin-right: 6px; }
.bp-card .btn { width: 100%; margin-top: 22px; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit {
  display: flex; gap: 16px; padding: 22px; border-radius: 0;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .3s, border-radius .5s var(--ease);
}
.benefit:hover { border-radius: 0 28px 0 0; border-color: #b8cdee; box-shadow: 0 20px 40px -28px rgba(0, 38, 95, .4); transform: translateY(-3px); }
.b-icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 0;
  background: var(--fb-orange); color: var(--fb-navy);
  transition: border-radius .45s var(--ease), transform .45s var(--ease);
}
.benefit:hover .b-icon { border-radius: 0 18px 0 18px; transform: rotate(-4deg); }
.b-icon svg { width: 24px; height: 24px; }
.b-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fb-orange); }
.benefit h4 { margin-top: 2px; font-size: 18px; font-weight: 900; line-height: 1.3; color: var(--ink); }
.benefit p { margin-top: 6px; font-size: 14px; line-height: 1.55; }

/* ---------------- Compare ---------------- */
/* Feature picker */
.cmp-feats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 36px auto 0;
}
.feat {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--fb-navy);
  background: #fff; border: 1.5px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.feat svg { width: 20px; height: 20px; color: var(--fb-blue); transition: color .3s; }
.feat:hover { border-color: var(--fb-blue); transform: translateY(-2px); }
.feat.is-active { background: var(--fb-blue); border-color: var(--fb-blue); color: #fff; }
.feat.is-active svg { color: var(--fb-orange); }

/* Four cards side by side */
.cmp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.cmp-card {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 22px 24px; border-radius: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -36px rgba(0, 38, 95, .45);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, border-radius .5s var(--ease);
}
.cmp-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  background: radial-gradient(90% 100% at 50% 100%, #1d63d6 0%, var(--fb-blue) 40%, var(--fb-navy) 100%);
}
.cmp-card:hover { border-radius: 0 40px 0 0; transform: translateY(-6px); border-color: #b8cdee; box-shadow: 0 34px 60px -34px rgba(0, 38, 95, .55); }
.cmp-art { position: relative; display: grid; place-items: center; height: 150px; margin: -6px 0 0; }
.cmp-art img {
  display: block; width: 88%; border-radius: 9px; transform: translateY(26px) rotate(-3deg);
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease);
}
.cmp-card:hover .cmp-art img { transform: translateY(18px) rotate(0deg) scale(1.03); }
.cmp-card h3 { margin-top: 48px; font-size: 22px; font-weight: 900; color: var(--fb-blue); }
.cmp-best { margin-top: 2px; font-size: 13.5px; color: var(--body); }
.cmp-val {
  flex: 1; min-height: 120px; margin-top: 18px; padding-top: 18px;
  border-top: 2px solid var(--fb-tint-2);
}
.cmp-val strong { display: block; font-size: 18px; font-weight: 900; line-height: 1.35; color: var(--ink); }
.cmp-val strong.none { color: #a4afc2; font-weight: 700; }
.cmp-val small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--body); }
.cmp-val s { margin-right: 4px; color: #8a96ab; text-decoration-color: #e0453a; }
.cmp-link { margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--fb-blue); transition: color .3s; }
.cmp-link:hover { color: var(--fb-orange); }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step {
  position: relative; padding: 28px; border-radius: 0;
  transition: border-radius .5s var(--ease), border-color .3s, background .3s;
  background: var(--fb-tint); border: 1px solid var(--line); overflow: hidden;
}
.step:hover { border-radius: 0 32px 0 0; border-color: #b8cdee; background: var(--fb-tint-2); }
.step-num { display: block; font-size: 42px; font-weight: 900; line-height: 1; color: var(--fb-orange); }
.step h3 { margin-top: 14px; font-size: 19px; font-weight: 900; color: var(--fb-navy); }
.step p { margin-top: 6px; font-size: 14.5px; }

/* ---------------- CTA ---------------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(32px, 4vw, 52px); border-radius: 0; border-left: 5px solid var(--fb-orange); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(70% 140% at 100% 0%, #1d63d6 0%, var(--fb-blue) 30%, var(--fb-navy) 100%);
  transition: border-radius .6s var(--ease);
}
.cta-inner:hover { border-radius: var(--corner-xl); }
.cta-inner::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 3px solid var(--fb-orange); opacity: .5; pointer-events: none;
}
.cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 900; }
.cta p { margin-top: 6px; color: #d5e2f8; }
.cta p a { font-weight: 700; color: var(--fb-orange); }
.cta .btn { position: relative; z-index: 1; }


/* ---------------- Card flight layer ---------------- */
.fly-layer { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 60; pointer-events: none; }
.fly-card {
  --lift: 0;
  position: absolute; top: 0; left: 0; display: none;
  border-radius: 10px; overflow: hidden; background: #050505;
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow:
    0 calc(24px + 40px * var(--lift)) calc(40px + 50px * var(--lift)) -20px rgba(0, 20, 60, calc(.45 + .3 * var(--lift))),
    0 0 0 1px rgba(255, 255, 255, .08);
}
.fly-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-art img, .bp-art img { transition: transform .5s var(--ease); }

/* Scroll reveal start state (only when JS + motion are on) */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .visual { font-size: 8.8px; }
}
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-main { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .eyebrow, .hero-actions, .hero-points { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .visual { font-size: 9.6px; }
  .benefit-panel { grid-template-columns: 1fr; }
  .bp-card { position: relative; top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cmp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { padding-top: 20px; }
  .menu-toggle { display: inline-block; }
  .nav-right .btn { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 12px); left: 16px; right: 16px;
    padding: 22px; border-radius: 16px;
    background: rgba(0, 23, 61, .96); border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links ul { flex-direction: column; gap: 18px; }
  .nav-links a { font-size: 17px; }
  .visual { font-size: clamp(5.6px, 1.75vw, 9px); }
  .tiles { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cmp-feats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; }
  .cmp-feats::-webkit-scrollbar { display: none; }
  .feat { flex: none; }
  .tabs { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cmp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-actions .btn { flex: 1; padding: 0 18px; }
  .switch { min-width: 0; flex: 1; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
