/* ==========================================================================
   JSW MOTORS - OFFICIAL STYLESHEET (PIXEL-PERFECT EXACT MATCH)
   ========================================================================== */

/* 1. Self-Hosted Official New Science & New Science Extended Fonts */
@font-face {
  font-family: 'new-science';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/typekit/new-science-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'new-science';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/typekit/new-science-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'new-science-extended';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/typekit/new-science-extended-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'new-science-extended';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/typekit/new-science-extended-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Anek Latin';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/anek-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
}

/* Fallback font adjustments */
@font-face {
  font-family: 'new-science-fallback';
  size-adjust: 106%;
  ascent-override: 103.8%;
  descent-override: 21.7%;
  line-gap-override: 0%;
  src: local('Arial'), local('Roboto');
}

@font-face {
  font-family: 'new-science-extended-fallback';
  size-adjust: 134.5%;
  src: local('Arial');
}

/* 2. Design Tokens */
:root {
  --color-black: #000000;
  --color-white: #ffffff;

  --color-gray-10: #e6e6e6;
  --color-gray-20: #cccccc;
  --color-gray-30: #b3b3b3;
  --color-gray-40: #999999;
  --color-gray-50: #808080;
  --color-gray-60: #666666;
  --color-gray-70: #4d4d4d;
  --color-gray-80: #333333;
  --color-gray-90: #191919;
  --color-gray-100: #000000;

  --background-color: var(--color-black);
  --section-bg: #0a0a0a;

  /* Font Families */
  --font-family-base: 'new-science', 'new-science-fallback', 'Anek Latin', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-display: 'new-science-extended', 'new-science-extended-fallback', var(--font-family-base);
  --nav-font-family: var(--font-family-base);
  --heading-font-family: var(--font-family-base);

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Form Design System Tokens */
  --rf-field-bg: rgba(255, 255, 255, 0.1);
  --rf-muted: rgba(255, 255, 255, 0.6);
  --rf-placeholder: rgba(255, 255, 255, 0.35);
  --rf-notice: #bababa;
  --rf-notice-mobile: #666666;
  --rf-consent-text: #f2f2f2;
  --rf-error: #fb6464;
  --rf-error-bg: rgba(255, 0, 38, 0.1);
  --rf-error-border: rgba(255, 79, 105, 0.5);

  --rf-u: clamp(0.62px, 100svh / 1116, 1px);
  --rf-privacy-u: clamp(0.75px, min(100vw / 1280, 100svh / 720), 1.5px);

  /* Nav Scaling */
  --n-u: clamp(0.8px, (min(100vw / 1728, 100svh / 1117) + 1px) / 2, 1px);
  --nav-inset: calc(16 * var(--n-u));
  --nav-pill-height: calc(50 * var(--n-u));
  --nav-pill-height-desktop: 55px;
  --nav-hamburger-width: calc(44 * var(--n-u));
  --nav-gap: calc(5 * var(--n-u));
  --nav-logo-height: 26px;
  --nav-logo-height-desktop: 32px;
  --nav-pill-width-desktop: 1001px;
  --nav-glass-bg: rgba(0, 0, 0, 0.36);
  --nav-glass-blur: 30px;
  --nav-glass-rim: rgba(255, 255, 255, 0.14);
}

@media (max-width: 899px) {
  :root {
    --n-u: clamp(0.7px, min(100vw / 402, 100svh / 874), 1px);
    --rf-u: clamp(0.6px, 100svh / 940, 1px);
    --rf-privacy-u: clamp(0.75px, min(100vw / 375, 100svh / 911), 1.5px);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 400;
  color: var(--color-white);
  scroll-margin: 40px;
}

:root.is-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

img, picture, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Glitch Animation Classes (Letters dim on hover) */
.glitch-label {
  display: inline-flex;
  align-items: center;
  white-space: pre;
}

.glitch-char {
  display: inline-block;
  white-space: pre;
  transition: color 0.05s ease, opacity 0.05s ease;
}

.glitch-char.is-dim {
  color: var(--color-gray-50) !important;
  opacity: 0.35;
}

/* 4. Navigation & Header */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.nav {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--nav-gap);
  margin: calc(24 * var(--n-u)) var(--nav-inset) var(--nav-inset);
  font-family: var(--font-family-base);
  pointer-events: auto;
}

@media (min-width: 900px) {
  .nav {
    width: fit-content;
    margin: calc(40 * var(--n-u)) auto;
  }
}

.nav .pill {
  box-sizing: border-box;
  flex: 1 1 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: var(--nav-inset);
  min-width: 0;
  min-height: var(--nav-pill-height);
  padding: 0 calc(3 * var(--n-u)) 0 var(--nav-inset);
  border-radius: calc(10 * var(--n-u));
  background: var(--nav-glass-bg);
  box-shadow: inset 0 0 0 1px var(--nav-glass-rim);
  backdrop-filter: blur(var(--nav-glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--nav-glass-blur)) saturate(140%);
  transition: background 0.3s ease, border-radius 0.3s ease;
}

@media (min-width: 900px) {
  .nav .pill {
    flex: none;
    width: fit-content;
    min-width: min(var(--nav-pill-width-desktop), calc(100vw - (var(--nav-inset) * 2)));
    max-width: calc(100vw - (var(--nav-inset) * 2));
    min-height: var(--nav-pill-height-desktop);
    column-gap: calc(43 * var(--n-u));
    padding: 0 calc(9 * var(--n-u)) 0 calc(22 * var(--n-u));
    border-radius: calc(17 * var(--n-u));
    justify-content: space-between;
  }
}

.nav .brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .nav .brand {
    margin-right: auto;
  }
}

.nav .logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.nav .logo-img {
  width: auto;
  max-width: 100%;
  height: var(--nav-logo-height);
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 900px) {
  .nav .logo-img {
    height: var(--nav-logo-height-desktop);
  }
}

.nav .tools {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav .tools .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(6 * var(--n-u));
  padding: calc(10 * var(--n-u)) calc(18 * var(--n-u));
  background: var(--color-white);
  color: #1b1b1b;
  font-family: var(--font-family-base);
  font-size: max(11px, calc(12 * var(--n-u)));
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: pre;
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 900px) {
  .nav .tools .cta {
    height: calc(37 * var(--n-u));
    border-radius: calc(8 * var(--n-u));
    padding: 0 calc(24 * var(--n-u));
    font-size: max(12px, calc(14 * var(--n-u)));
    letter-spacing: -0.02em;
  }
}

.nav .tools .cta:hover,
.nav .tools .cta:focus-visible {
  background: var(--color-gray-10);
  color: #1b1b1b;
}

/* Mobile Hamburger */
.nav .hamburger {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .nav .hamburger {
    display: none;
  }
}

.nav .hamburger-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-hamburger-width);
  height: var(--nav-pill-height);
  border-radius: calc(10 * var(--n-u));
  background: var(--nav-glass-bg);
  box-shadow: inset 0 0 0 1px var(--nav-glass-rim);
  backdrop-filter: blur(var(--nav-glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--nav-glass-blur)) saturate(140%);
  color: var(--color-white);
  padding: 0;
}

.nav .hamburger-icon {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 15px;
  height: 16px;
}

.nav .hamburger-icon::before,
.nav .hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 15px;
  height: 1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav:not(.is-open) .hamburger-icon::before {
  top: 5px;
}

.nav:not(.is-open) .hamburger-icon::after {
  top: 11px;
}

.nav.is-open .hamburger-icon::before {
  top: 7px;
  transform: rotate(45deg);
}

.nav.is-open .hamburger-icon::after {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  .nav.is-open {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: calc(24 * var(--n-u)) var(--nav-inset) var(--nav-inset);
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    z-index: 1000;
  }

  .nav.is-open .pill {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 24px 20px 40px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow-y: auto;
  }

  .nav.is-open .brand {
    align-self: flex-start;
  }

  .nav.is-open .hamburger {
    position: absolute;
    top: calc(24 * var(--n-u));
    right: var(--nav-inset);
  }

  .nav.is-open .sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    width: 100%;
  }

  .nav.is-open .tools {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding-top: 32px;
  }

  .nav.is-open .tools .cta {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    padding: 0;
  }
}

/* Header Partner Logo (Beeaar) */
.header-partner {
  position: absolute;
  top: calc(24 * var(--n-u));
  right: calc(var(--nav-inset) + 54px);
  display: flex;
  align-items: center;
  pointer-events: auto;
  z-index: 1001;
}

.header-partner-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 900px) {
  .header-partner {
    top: calc(40 * var(--n-u));
    right: calc(40 * var(--n-u));
    height: var(--nav-pill-height-desktop);
  }

  .header-partner-logo {
    height: 38px;
  }
}

/* 5. Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--color-black);
  display: flex;
  align-items: flex-end;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: calc(24 * var(--n-u)) calc(20 * var(--n-u)) calc(32 * var(--n-u));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 900px) {
  .hero-content {
    padding: calc(48 * var(--n-u)) calc(64 * var(--n-u)) calc(60 * var(--n-u));
    gap: 32px;
  }
}

.hero-title {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(26px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  max-width: 1100px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background-color: var(--color-white);
  color: #1b1b1b;
  padding: 14px 28px;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: pre;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (min-width: 900px) {
  .hero-cta {
    padding: 16px 32px;
    font-size: 16px;
  }
}

.hero-cta:hover {
  background-color: var(--color-gray-10);
  transform: translateY(-1px);
}

.hero-cta .icon-plus {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('../assets/icons/plus.svg') no-repeat center center;
  background-size: contain;
}

.hero-scroll-cue {
  position: absolute;
  right: calc(20 * var(--n-u));
  bottom: calc(32 * var(--n-u));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-family-base);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

@media (min-width: 900px) {
  .hero-scroll-cue {
    right: calc(64 * var(--n-u));
    bottom: calc(60 * var(--n-u));
    font-size: 14px;
  }
}

.hero-scroll-cue:hover {
  color: var(--color-white);
}

.hero-scroll-cue .icon-mouse-scroll {
  display: inline-block;
  width: 16px;
  height: 22px;
  background: url('../assets/icons/mouse-scroll.svg') no-repeat center center;
  background-size: contain;
  animation: mouseBounce 2s infinite ease-in-out;
}

@keyframes mouseBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   6. REGISTER INTEREST SECTION (EXACT FIGMA REPLICA)
   ========================================================================== */
.register-section {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-pill-height) + 36px);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .register-section {
    flex-direction: row;
    align-items: stretch;
    padding-top: 0;
  }
}

.register-media {
  position: relative;
  flex: none;
  width: calc(100% - 24px);
  max-width: 480px;
  aspect-ratio: 2209 / 3001;
  margin: 12px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .register-media {
    flex: 1 1 50%;
    min-height: 100svh;
    height: 100svh;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    padding: calc(90 * var(--n-u)) clamp(20px, 3vw, 40px) clamp(20px, 3vh, 32px);
    box-sizing: border-box;
  }
}

.register-media img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 899px) {
  .register-media img {
    max-height: none;
  }
}

.register-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(32 * var(--rf-u)) 8.2%;
  max-width: 653px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 900px) {
  .register-content {
    margin-left: clamp(0px, 2vw, 32px);
    margin-right: auto;
    padding-left: clamp(24px, 4vw, 48px);
    padding-right: clamp(24px, 4vw, 48px);
    padding-top: calc(90 * var(--n-u));
    padding-bottom: clamp(24px, 4vh, 48px);
  }
}

@media (max-width: 899px) {
  .register-content {
    padding: 28px 16px 48px;
    max-width: 100%;
  }
}

/* Heading - New Science Extended, Uppercase */
.register-heading {
  margin: 0 0 calc(24 * var(--rf-u));
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-regular);
  font-size: max(22px, calc(24 * var(--rf-u)));
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-white);
}

@media (min-width: 900px) {
  .register-heading {
    margin-bottom: calc(32 * var(--rf-u));
    font-size: calc(40 * var(--rf-u));
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
}

/* Subtitle / Intro */
.register-intro {
  margin: 0 0 calc(32 * var(--rf-u));
  color: var(--rf-muted);
  font-family: var(--heading-font-family);
  font-weight: var(--font-weight-medium);
  font-size: 15px;
  line-height: 1.43;
  letter-spacing: -0.005em;
}

@media (min-width: 900px) {
  .register-intro {
    margin-bottom: calc(48 * var(--rf-u));
    font-weight: var(--font-weight-regular);
    font-size: calc(20 * var(--rf-u));
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
}

/* Fields screen container */
.fields-screen {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--rf-u));
}

@media (min-width: 900px) {
  .fields-screen {
    gap: calc(16 * var(--rf-u));
  }
}

.form-group {
  margin: 0;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--rf-u));
}

.field .input-wrap {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

/* Input boxes: 50px tall, rounded 12px, background 10% white */
.field input.input {
  width: 100%;
  height: calc(50 * var(--rf-u));
  min-height: 50px;
  padding: 0 calc(20 * var(--rf-u));
  border: 1px solid transparent;
  border-radius: calc(12 * var(--rf-u));
  background: var(--rf-field-bg);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-size: max(15px, calc(16 * var(--rf-u)));
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, padding-top 0.12s ease;
}

.field input.input::placeholder {
  color: var(--rf-placeholder);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
}

.field input.input:focus {
  outline: none;
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
}

/* Floating label: starts at center, rises on focus/filled */
.field .float {
  position: absolute;
  left: calc(20 * var(--rf-u));
  top: 50%;
  transform: translateY(-50%);
  color: var(--rf-placeholder);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-size: calc(11 * var(--rf-u));
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transition: top 0.12s ease, opacity 0.12s ease;
}

.field.is-filled .float,
.field:focus-within .float {
  top: calc(14 * var(--rf-u));
  opacity: 1;
}

.field.is-filled .input:not(.code-input),
.field:focus-within .input:not(.code-input) {
  padding-top: calc(14 * var(--rf-u));
}

/* Error States */
.field.has-error input.input {
  border-color: var(--rf-error-border);
  background: var(--rf-error-bg);
}

.field .error {
  display: none;
  color: var(--rf-error);
  font-size: 13px;
  line-height: 1.3;
  margin: 2px 0 0 4px;
}

.field.has-error .error {
  display: block;
}

/* First & Last Name row */
.row.names {
  display: flex;
  gap: calc(8 * var(--rf-u));
}

@media (min-width: 600px) {
  .row.names {
    gap: calc(16 * var(--rf-u));
  }
  .row.names .field {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Mobile Row with +91 Country Code */
.mobile-row {
  display: flex;
  gap: calc(8 * var(--rf-u));
}

@media (min-width: 900px) {
  .mobile-row {
    gap: calc(16 * var(--rf-u));
  }
}

.mobile-row .code-input {
  flex: 0 0 calc(80 * var(--rf-u));
  min-width: 76px;
  height: calc(50 * var(--rf-u));
  min-height: 50px;
  padding: 0 calc(20 * var(--rf-u));
  border: 1px solid transparent;
  border-radius: calc(12 * var(--rf-u));
  background: var(--rf-field-bg);
  color: var(--rf-placeholder);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-size: max(15px, calc(16 * var(--rf-u)));
  text-align: left;
  outline: none;
  cursor: default;
}

@media (min-width: 900px) {
  .mobile-row .code-input {
    flex: 0 0 calc(108 * var(--rf-u));
  }
}

/* Consent Checkbox */
.consent-group {
  margin-top: calc(24 * var(--rf-u));
}

@media (min-width: 900px) {
  .consent-group {
    margin-top: calc(16 * var(--rf-u));
  }
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: calc(9 * var(--rf-u));
  cursor: pointer;
  user-select: none;
}

@media (min-width: 900px) {
  .consent-label {
    gap: calc(16 * var(--rf-u));
  }
}

.consent-check {
  appearance: none;
  -webkit-appearance: none;
  width: calc(18 * var(--rf-u));
  height: calc(18 * var(--rf-u));
  min-width: 18px;
  min-height: 18px;
  margin: calc(3 * var(--rf-u)) 0 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: calc(4 * var(--rf-u));
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.consent-check:checked {
  background-color: var(--color-white);
  border-color: var(--color-white);
}

.consent-check:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-text {
  font-family: var(--heading-font-family);
  font-weight: var(--font-weight-medium);
  font-size: calc(12 * var(--rf-privacy-u));
  line-height: 1.4167;
  letter-spacing: 0.01em;
  color: var(--rf-consent-text);
}

@media (min-width: 900px) {
  .consent-text {
    font-size: calc(11 * var(--rf-privacy-u));
    line-height: 1.3636;
    color: var(--color-white);
  }
}

.consent-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-group .error {
  display: none;
  color: var(--rf-error);
  font-size: 13px;
  margin-top: 6px;
}

.consent-group.has-error .error {
  display: block;
}

/* Submit Button: Compact pill, aligned to start (NOT 100% width) */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: calc(197 * var(--rf-u));
  height: calc(48 * var(--rf-u));
  min-height: 48px;
  margin-top: calc(16 * var(--rf-u));
  padding: 0 calc(24 * var(--rf-u));
  border: none;
  border-radius: calc(12 * var(--rf-u));
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-family-base);
  font-size: calc(14 * var(--rf-u));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: pre;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

@media (min-width: 900px) {
  .submit-btn {
    min-width: calc(172 * var(--rf-u));
    height: calc(64 * var(--rf-u));
    min-height: 60px;
    margin-top: calc(40 * var(--rf-u));
    padding: 0 calc(19 * var(--rf-u));
    border-radius: calc(13.5 * var(--rf-u));
    font-size: calc(16 * var(--rf-u));
    letter-spacing: 0;
  }
}

.submit-btn:hover {
  background-color: var(--color-gray-10);
}

.submit-btn:disabled {
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-black);
  cursor: not-allowed;
}

/* Privacy notice below submit button (left aligned) */
.form-notice {
  margin: calc(24 * var(--rf-u)) 0 0;
  color: var(--rf-notice-mobile);
  font-family: var(--heading-font-family);
  font-weight: var(--font-weight-regular);
  font-size: calc(10 * var(--rf-privacy-u));
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
}

@media (min-width: 900px) {
  .form-notice {
    margin-top: calc(48 * var(--rf-u));
    color: var(--rf-notice);
    opacity: 0.5;
    font-size: calc(12 * var(--rf-privacy-u));
    line-height: 1.3333;
    letter-spacing: -0.02em;
  }
}

.form-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Screen 2: OTP Verification */
.otp-screen {
  display: none;
  flex-direction: column;
}

.otp-head {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.5;
}

.otp-head .otp-number {
  color: var(--color-white);
}

.otp-head .change-number-btn {
  margin-left: 8px;
  color: #888888;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.otp-head .change-number-btn:hover {
  color: var(--color-white);
}

.otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.otp-box {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
}

.otp-box:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.otp-box.is-error {
  border-color: rgba(255, 79, 105, 0.7);
  background: rgba(255, 0, 38, 0.1);
}

.otp-error {
  color: #fb6464;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.resend-row {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.resend-link {
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  text-decoration: underline;
}

.resend-link.is-active {
  color: var(--color-white);
  cursor: pointer;
}

/* Screen 3: Success Screen */
.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}

.success-screen .check-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-screen .check-icon-circle img {
  width: 36px;
  height: 36px;
}

.success-title {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.success-text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  max-width: 440px;
  margin: 0 0 32px 0;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 8px;
  background-color: var(--color-white);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.back-home-btn:hover {
  background-color: var(--color-gray-10);
}

/* 7. About JSW Motors Section */
.about-section {
  background-color: var(--section-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(60px, 8vw, 100px) 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  box-sizing: border-box;
}

.about-heading {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-regular);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 32px 0;
  color: var(--color-white);
}

.about-subheading {
  font-family: var(--font-family-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-white);
  margin: 36px 0 14px 0;
  letter-spacing: -0.01em;
}

.about-subheading:first-of-type {
  margin-top: 0;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(19px, 1.8vw, 23px);
}

.about-text {
  font-family: var(--font-family-base);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px 0;
  font-weight: 300;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* 8. Footer Section */
footer .footer {
  --footer-bg-base: #020303;
  --footer-radius: 0px;
  --footer-text-color: var(--color-white);
  --footer-copyright-color: rgb(255 255 255 / 64%);
  --footer-muted-color: rgb(255 255 255 / 62%);
  --footer-link-color: rgb(255 255 255 / 62%);
  --footer-pad-x: 24px;
  --footer-pad-right: 24px;
  --footer-pad-y: 62.4px;

  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  color: var(--footer-text-color);
  background: var(--footer-bg-base);
}

/* Explore variant (live site active design) */
footer .footer.explore {
  --f-u: clamp(0.85px, 100vw / 375, 1px);
  --footer-explore-bg: linear-gradient(
    180deg,
    #000000 0%,
    rgb(3 7 8) 15%,
    rgb(4 16 18) 25%,
    rgb(5 35 40) 40%,
    rgb(5 52 60) 50%,
    rgb(7 74 85) 60%,
    rgb(12 99 113) 70%,
    rgb(46 122 133) 80%,
    rgb(80 143 153) 90%,
    rgb(116 167 175) 100%
  );

  aspect-ratio: auto;
  padding: calc(27 * var(--f-u)) 0 calc(29 * var(--f-u));
  background: #000000 var(--footer-explore-bg) !important;
  background-image: var(--footer-explore-bg) !important;
  border-top: none;
}

@media (min-width: 900px) {
  footer .footer.explore {
    --f-u: min(100vw / 1280, 1.5px);
    aspect-ratio: 1280 / 321;
    padding: calc(36 * var(--f-u)) 0 0;
  }
}

.footer.explore .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0 calc(20 * var(--f-u));
}

@media (min-width: 900px) {
  .footer.explore .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 24px;
    margin: 0 calc(35 * var(--f-u));
    max-width: 1560px;
  }
}

/* Start column: Brand Logo, Copyright, Legal */
.footer.explore .start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  order: 4;
}

@media (min-width: 900px) {
  .footer.explore .start {
    display: flex;
    flex: 1 1 0;
    order: 1;
    gap: 0;
  }
}

.footer.explore .brand {
  display: block;
  margin: calc(40 * var(--f-u)) 0 calc(11 * var(--f-u));
  line-height: 0;
}

@media (min-width: 900px) {
  .footer.explore .brand {
    margin: 0 0 calc(9 * var(--f-u));
  }
}

.footer.explore .mark,
.footer.explore .brand-logo {
  width: auto;
  max-width: 170px;
  height: 22px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (min-width: 900px) {
  .footer.explore .mark,
  .footer.explore .brand-logo {
    width: auto;
    max-width: 180px;
    height: 26px;
  }
}

.footer.explore .meta {
  width: 100%;
}

@media (min-width: 900px) {
  .footer.explore .meta {
    width: auto;
  }
}

.footer.explore .copyright {
  display: flex;
  flex-direction: column;
  gap: calc(7 * var(--f-u));
  font-family: var(--font-family-base);
  font-size: max(11px, calc(13 * var(--f-u)));
  font-weight: 500;
  line-height: calc(19 / 13);
  letter-spacing: 0;
  color: var(--footer-copyright-color);
}

@media (min-width: 900px) {
  .footer.explore .copyright {
    gap: calc(6 * var(--f-u));
    font-size: max(10px, calc(11 * var(--f-u)));
    line-height: calc(16 / 11);
  }
}

.footer.explore .legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(9 * var(--f-u));
  margin-top: calc(39 * var(--f-u));
}

@media (min-width: 900px) {
  .footer.explore .legal {
    gap: calc(6.67 * var(--f-u));
    margin-top: calc(21 * var(--f-u));
  }
}

.footer.explore .privacy {
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: max(12px, calc(14 * var(--f-u)));
  line-height: calc(15 / 14);
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--footer-muted-color);
  transition: color 0.2s ease-out;
}

@media (min-width: 900px) {
  .footer.explore .privacy {
    margin-left: 0;
    font-size: max(10px, calc(12 * var(--f-u)));
    line-height: calc(17 / 12);
    letter-spacing: 0;
    text-decoration: underline;
  }
}

.footer.explore .privacy:hover,
.footer.explore .privacy:focus {
  color: var(--footer-text-color);
}

/* Center column: CTA */
.footer.explore .cta {
  box-sizing: border-box;
  order: 3;
  margin-top: calc(92 * var(--f-u));
  padding-right: calc(5 * var(--f-u));
  width: 100%;
}

@media (min-width: 900px) {
  .footer.explore .cta {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 0 0 auto;
    order: 2;
    margin-top: 0;
    padding-right: 0;
    width: auto;
  }
}

.footer.explore .cta .button,
.footer.explore .cta .button.primary,
.footer.explore .footer-register-cta {
  --footer-cta-u: clamp(0.85px, 100vw / 375, 1px);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: calc(48 * var(--footer-cta-u));
  padding: 0 calc(20 * var(--footer-cta-u)) 0 calc(22 * var(--footer-cta-u));
  border-radius: calc(12 * var(--footer-cta-u));
  border: 0;
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-family-base);
  font-size: max(12px, calc(14 * var(--footer-cta-u)));
  font-weight: 500;
  line-height: calc(19 / 14);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

@media (min-width: 900px) {
  .footer.explore .cta .button,
  .footer.explore .cta .button.primary,
  .footer.explore .footer-register-cta {
    --footer-cta-u: min(100vw / 1280, 1.5px);
    width: calc(219 * var(--footer-cta-u));
    height: calc(51 * var(--footer-cta-u));
    padding: 0 calc(18 * var(--footer-cta-u));
    border-radius: calc(8 * var(--footer-cta-u));
    font-size: max(10px, calc(12 * var(--footer-cta-u)));
    line-height: calc(17 / 12);
    letter-spacing: 0;
  }
}

.footer.explore .cta .button:hover,
.footer.explore .cta .button.primary:hover,
.footer.explore .footer-register-cta:hover {
  background-color: #e5e5e5;
  transform: translateY(-1px);
}

.footer.explore .cta .icon-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(15 * var(--footer-cta-u, 1px));
  height: calc(15 * var(--footer-cta-u, 1px));
  color: #000000;
  flex: none;
}

.footer.explore .cta .icon-plus svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* End column: Links */
.footer.explore .end {
  display: flex;
  flex-direction: column;
  order: 1;
  gap: calc(14 * var(--f-u));
}

@media (min-width: 900px) {
  .footer.explore .end {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    justify-content: flex-start;
    align-items: flex-end;
    order: 3;
    gap: calc(16 * var(--f-u));
  }
}

.footer-partner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .footer-partner {
    justify-content: flex-end;
  }
}

.footer-partner-logo {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

@media (min-width: 900px) {
  .footer-partner-logo {
    height: 34px;
    max-width: 180px;
  }
}

.footer.explore .links {
  flex: 1 1 auto;
  margin: 0 0 0 calc(7 * var(--f-u));
}

@media (min-width: 900px) {
  .footer.explore .links {
    flex: none;
    min-width: calc(115 * var(--f-u));
    margin: 0;
  }
}

.footer.explore .links .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(9 * var(--f-u));
  margin: calc(8 * var(--f-u)) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .footer.explore .links .list {
    gap: calc(6.67 * var(--f-u));
    margin-top: 0;
  }
}

.footer.explore .links .item {
  font-family: var(--font-family-base);
  font-size: max(11px, calc(13 * var(--f-u)));
  line-height: calc(18 / 13);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--footer-link-color);
  transition: color 0.2s ease-out;
}

.footer.explore .links .item:hover,
.footer.explore .links .item:focus {
  color: var(--footer-text-color);
}

@media (min-width: 900px) {
  .footer.explore .links .item {
    font-size: max(10px, calc(11 * var(--f-u)));
    line-height: calc(15 / 11);
  }
}

/* 9. Policy Pages (Privacy & Cookie Policies) */
.policy-section {
  background-color: var(--section-bg);
  min-height: 100vh;
  padding-top: clamp(100px, 11vw, 140px);
  padding-bottom: 80px;
}

.policy-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  box-sizing: border-box;
  color: var(--color-white);
  font-family: var(--font-family-base);
}

.policy-container h1,
.policy-container h2,
.policy-container h3,
.policy-container h4,
.policy-container h5,
.policy-container h6 {
  font-family: var(--font-family-display);
  font-weight: 400 !important;
  color: var(--color-white);
  scroll-margin: 40px;
}

.policy-container h1 {
  font-size: clamp(32px, 56px - (1280px - 100vw) * 24 / 920, 56px);
  line-height: 1.125;
  letter-spacing: -0.04em;
  margin-top: 0;
  margin-bottom: 32px;
}

.policy-container h2 {
  font-size: clamp(28px, 48px - (1280px - 100vw) * 20 / 920, 48px);
  line-height: 1.143;
  letter-spacing: -0.04em;
  margin-top: 48px;
  margin-bottom: 16px;
}

.policy-container h3 {
  font-size: clamp(24px, 40px - (1280px - 100vw) * 16 / 920, 40px);
  line-height: 1.208;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
}

.policy-container p {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.8em;
  margin-bottom: 1em;
  overflow-wrap: break-word;
}

.policy-container a {
  color: #5da0b3;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.policy-container a:hover {
  color: #4aadd1;
}

.policy-container strong {
  font-weight: 600;
  color: var(--color-white);
}

/* 10. Thank You Page */
.thank-you-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: #0a0a0a;
  color: var(--color-white);
  padding-top: calc(var(--nav-pill-height) + 36px);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .thank-you-section {
    flex-direction: row;
    padding-top: 0;
  }
}

.thank-you-media {
  position: relative;
  flex: none;
  width: calc(100% - 24px);
  max-width: 480px;
  aspect-ratio: 2209 / 3001;
  margin: 12px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .thank-you-media {
    flex: 1 1 50%;
    min-height: 100svh;
    height: 100svh;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    padding: calc(90 * var(--n-u)) clamp(20px, 3vw, 40px) clamp(20px, 3vh, 32px);
    box-sizing: border-box;
    background-color: #000000;
  }
}

.thank-you-media img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 899px) {
  .thank-you-media img {
    max-height: none;
  }
}

.thank-you-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 8vw, 80px) clamp(24px, 6vw, 64px);
  max-width: 650px;
  margin: 0 auto;
}

.thank-you-content .icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.thank-you-title {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-medium);
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.thank-you-text {
  font-family: var(--font-family-base);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 36px 0;
}
