:root {
  --page-bg: #0a2e52;
  --overlay: rgba(3, 16, 31, 0.62);
  --panel: rgba(255, 255, 255, 0.1);
  --panel-strong: rgba(255, 255, 255, 0.16);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.8);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 40px 100px rgba(2, 7, 18, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(3, 12, 29, 0.94), rgba(10, 87, 153, 0.64)),
    url("./assets/swift-trucks-bg.jpeg") center/cover no-repeat;
  transform: scale(1.06);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), var(--overlay));
}

.backdrop-grid,
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop-grid {
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 5%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.2));
}

.glow {
  z-index: 0;
  filter: blur(60px);
  opacity: 0.42;
}

.glow-one {
  inset: -10% auto auto -10%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(47, 131, 255, 0.36);
}

.glow-two {
  inset: auto -8% 4% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 116, 88, 0.26);
}

.portal {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  padding: 1.55rem 1.7rem;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-copy-block,
.hero-side {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b7ddff;
}

.hero-panel h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 9ch;
}

.hero-copy {
  margin: 0.85rem 0 0;
  max-width: 30rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
}

.trust-line {
  margin: 0.9rem 0 0;
  color: #e2f1ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-side {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.hero-branding {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(0.65rem, 1.5vw, 0.8rem);
  border: 1px solid rgba(10, 36, 67, 0.12);
  max-width: 88%;
  justify-self: end;
}

.hero-branding img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-summary {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(5, 17, 36, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-summary-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-summary strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-transform: none;
}

.hero-summary p {
  margin: 0.5rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 35%);
  opacity: 0.7;
  pointer-events: none;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(255, 255, 255, 0.12);
}

.brand-card.royal {
  background:
    linear-gradient(180deg, rgba(132, 28, 22, 0.94), rgba(51, 8, 7, 0.9)),
    rgba(255, 255, 255, 0.04);
}

.brand-card.bajaj {
  background:
    linear-gradient(180deg, rgba(6, 87, 205, 0.94), rgba(5, 23, 66, 0.9)),
    rgba(255, 255, 255, 0.04);
}

.brand-card.swift {
  background:
    linear-gradient(180deg, rgba(0, 147, 170, 0.94), rgba(4, 40, 69, 0.9)),
    rgba(255, 255, 255, 0.04);
}

.brand-topline {
  position: relative;
  z-index: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.82);
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(20, 29, 45, 0.08);
}

.royal-logo {
  padding-inline: 1.2rem;
}

.brand-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-card strong {
  position: relative;
  z-index: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  flex: 1;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  min-height: 50px;
  border-radius: 16px;
  background: #f5f7fb;
  color: #071a31;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 14px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  animation: whatsappPulse 5s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  filter: saturate(1.06);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

@keyframes whatsappPulse {
  0%,
  84%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  89% {
    transform: scale(1.04);
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.38);
  }

  94% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 1040px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: unset;
  }
}

@media (max-width: 640px) {
  .portal {
    width: min(100% - 1rem, 1180px);
    padding: 1rem 0 2.5rem;
  }

  .hero-panel,
  .brand-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .hero-branding {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-panel h1 {
    max-width: 100%;
  }

  .brand-logo {
    height: 64px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 16px 22px;
    min-height: 54px;
  }
}
