.front-page {
  --front-background: #f3f6fc;
  --front-ink: var(--ink);
  --front-accent: var(--blue);
  --front-muted: #5c6b81;
  --front-rule: #dce4ef;
  --line: var(--front-rule);
  min-height: 100svh;
  color: var(--front-ink);
  background: radial-gradient(ellipse at 82% 4%, #e6edf9, transparent 55%), var(--front-background);
}

.front-wrap { width: min(100% - clamp(28px, 6vw, 112px), 1280px); margin-inline: auto; }

.front-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
  border-bottom: 1px solid var(--front-rule);
}

.front-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.front-mark, .front-preview-icon, .front-step-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.front-mark { color: #fff; background: linear-gradient(155deg, #5378f1, #274cc1); box-shadow: 0 3px 7px #1e3d7333; }
.front-mark .icon { width: 22px; height: 22px; }
.front-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 43px); }
.front-nav a { color: var(--front-muted); font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.front-nav a:hover, .front-secondary:hover { color: var(--front-accent); text-decoration: underline; }
.front-page .language-switcher { background: #f9fbfe; }

.front-hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 51px);
  padding-block: clamp(20px, 2.6vw, 36px);
}

.front-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  animation: front-appear 440ms ease-out both;
}

.front-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: var(--front-accent);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.front-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #4269d0; box-shadow: 0 0 0 4px #e0e9ff; }
.front-intro h1 {
  margin: 0;
  max-width: 100%;
  color: var(--front-ink);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(42px, 4.9vw, 70px);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -.069em;
  text-wrap: pretty;
}
.front-intro h1 span { display: block; }
.front-intro h1 span:last-child { color: var(--front-accent); }
.front-lead { max-width: 450px; margin-top: 16px; color: var(--front-muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; text-wrap: pretty; }
.front-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 21px; }
.front-page .front-primary {
  min-height: 51px;
  gap: 14px;
  flex-direction: row-reverse;
  padding-inline: 19px;
  color: #fff;
  background: var(--front-accent);
  border-color: var(--front-accent);
  border-radius: 10px;
  box-shadow: 0 5px 12px #1e3d7322;
  font-size: 14px;
  font-weight: 730;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.front-page .front-primary:hover:not(:disabled) { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 7px 14px #1e3d7340; }
.front-secondary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--front-ink); font-size: 13px; font-weight: 680; text-decoration: none; }
.front-secondary .icon { width: 15px; height: 15px; }
.front-disclosure { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: var(--front-muted); font-size: 12px; line-height: 1.5; }
.front-disclosure .icon { color: var(--front-accent); width: 15px; height: 15px; }

.front-visual {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #1c3553;
  border-radius: 21px;
  background: #101c35;
  box-shadow: 0 16px 34px #1e3d7326, 0 2px 8px #1e3d7317;
}
.front-film {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: #182c4e;
}
.front-film video { position: absolute; z-index: -1; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.front-film::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #091326ed, #0c192d66 25%, transparent 49%);
  pointer-events: none;
}
.front-video-label, .front-video-control {
  position: absolute;
  z-index: 2;
  top: 16px;
  border: 1px solid #91b6ff5c;
  color: #f1f5ff;
  background: #101c35eb;
}
.front-video-label {
  left: 16px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
.front-video-control { right: 16px; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.front-video-control:hover { background: #1b3b96; }
.front-video-control .icon { width: 19px; height: 19px; }
.front-film-message {
  position: absolute;
  inset: auto clamp(14px, 2.3vw, 28px) clamp(12px, 2vw, 25px);
  color: #fff;
  font-size: clamp(20px, 2.55vw, 37px);
  font-weight: 730;
  line-height: 1.1;
  letter-spacing: -.036em;
  text-shadow: 0 2px 12px #091326;
  text-wrap: pretty;
}
.front-film-message span[lang="hi"] { font-family: "Bankability Hindi", "Nirmala UI", sans-serif; line-height: 1.22; letter-spacing: 0; }
.front-film-message span:not([hidden]) { display: block; animation: front-caption-in 230ms ease-out; }
.front-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px clamp(12px, 1.7vw, 24px);
  padding: 13px clamp(14px, 2.3vw, 24px);
  border-top: 1px solid #91b6ff40;
  color: #f1f5ff;
  background: linear-gradient(105deg, #152749, #101c35 68%);
}
.front-preview-heading { display: flex; min-width: 0; align-items: center; gap: 8px; }
.front-preview-icon { width: 33px; height: 33px; color: #b5cdff; background: #7ea3f522; border: 1px solid #fff2; border-radius: 9px; }
.front-preview-icon .icon { width: 17px; height: 17px; }
.front-preview-heading strong, .front-preview-heading small { display: block; }
.front-preview-heading strong { font-size: 13px; line-height: 1.3; }
.front-preview-heading small { margin-top: 2px; color: #bbcbea; font-size: 11px; line-height: 1.35; }
.front-preview-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 8px; align-items: center; font-size: 12px; }
.front-preview-row > span:first-child { color: #d4def5; font-weight: 640; }
.front-preview-row > strong { grid-area: 1 / 2; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.front-meter { display: block; grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 5px; background: #b7caf826; }
.front-meter i { display: block; width: 72%; height: 100%; border-radius: inherit; background: #9dbdff; animation: front-measure 650ms 420ms ease-out both; transform-origin: left; }
.front-preview-row:last-child .front-meter i { width: 100%; }

.front-process { border-block: 1px solid var(--front-rule); padding-block: 19px; }
.front-process h2, .front-samples h2 {
  margin: 0 0 13px;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -.048em;
  font-weight: 730;
}
.front-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.front-process li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.front-step-icon { color: var(--front-accent); background: #e7efff; }
.front-step-icon .icon { width: 20px; height: 20px; }
.front-process h3, .front-sample strong { margin: 0; font-size: 15px; font-weight: 735; line-height: 1.45; }
.front-process p, .front-sample small { display: block; margin-top: 4px; color: var(--front-muted); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.front-samples { padding-block: 27px; }
.front-sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.front-sample {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 17px;
  border: 1px solid var(--front-rule);
  border-radius: 15px;
  color: var(--front-ink);
  background: #fff;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.front-sample:hover { border-color: #a7bde8; box-shadow: 0 8px 17px #1e3d7310; }
.front-sample > .icon { color: var(--front-accent); }
.front-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding-block: 17px 25px; border-top: 1px solid var(--front-rule); color: var(--front-muted); font-size: 12px; line-height: 1.5; }
.front-footer > span:first-child { color: var(--front-ink); font-weight: 730; }

html[lang="hi"] .front-intro h1 { font-family: inherit; font-size: clamp(38px, 4.35vw, 62px); line-height: 1.22; letter-spacing: -.035em; }
html[lang="hi"] :is(.front-kicker, .front-brand, .front-samples h2, .front-process h2) { letter-spacing: 0; }
.front-page :focus-visible { outline-color: #557eff; }

@keyframes front-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes front-caption-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes front-measure { from { transform: scaleX(.1); } to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .front-hero { gap: 24px; }
  .front-intro h1 { font-size: clamp(40px, 5.15vw, 49px); }
  .front-preview-icon { display: none; }
}
@media (max-width: 780px) {
  .front-header { min-height: 62px; gap: 10px; }
  .front-nav { display: none; }
  .front-hero { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .front-intro h1 { font-size: clamp(36px, 7.8vw, 54px); }
  html[lang="hi"] .front-intro h1 { font-size: clamp(33px, 7.4vw, 49px); }
  .front-lead { margin-top: 11px; }
  .front-actions { margin-top: 14px; }
  .front-visual { border-radius: 16px; }
  .front-film-message { font-size: clamp(21px, 4.5vw, 34px); }
  .front-process ol, .front-sample-grid { gap: 14px; }
}
@media (max-width: 520px) {
  .front-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 15px; padding-block: 9px 12px; }
  .front-preview-heading { grid-column: 1 / -1; }
  .front-preview-heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .front-preview-heading small { margin: 0; }
  .front-video-label, .front-video-control { top: 10px; }
  .front-video-label { left: 10px; }
  .front-video-control { right: 10px; }
  .front-process ol, .front-sample-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .front-brand { gap: 7px; }
  .front-mark { width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  .front-page *, .front-page *::before, .front-page *::after { animation: none !important; transition: none !important; }
  .front-page .front-primary:hover:not(:disabled) { transform: none; }
}
