/* ==========================================================================
   Prime Rentals — Coming Soon
   ========================================================================== */

:root {
  --navy: #0e2140;
  --navy-deep: #081527;
  --navy-soft: #142a4d;
  --blue: #2f84e8;
  --gold: #f3b23a;
  --white: #ffffff;
  --ink-70: rgba(255, 255, 255, 0.7);
  --ink-50: rgba(255, 255, 255, 0.5);
  --hairline: rgba(255, 255, 255, 0.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  font-family: inherit;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 18%, var(--navy-soft) 0%, var(--navy) 46%, var(--navy-deep) 100%);
  padding: clamp(2rem, 6vw, 4rem) var(--space-3);
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 8%, rgba(47, 132, 232, 0.14) 0%, rgba(47, 132, 232, 0) 70%),
    radial-gradient(45% 35% at 85% 85%, rgba(243, 178, 58, 0.08) 0%, rgba(243, 178, 58, 0) 70%);
}

/* ---------------------------------------------------------------------- */
/* Content                                                                  */
/* ---------------------------------------------------------------------- */

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.hero__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.hero__icon-wrap {
  position: relative;
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 506 / 602;
  margin-bottom: clamp(0.75rem, 1.8vw, 1.1rem);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.icon-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  will-change: transform, opacity;
}

.icon-piece--blue {
  animation: iconSettleBlue 0.85s var(--ease) 0.15s forwards;
}

.icon-piece--white {
  animation: iconSettleWhite 0.95s var(--ease) 0.32s forwards;
}

.icon-piece--gold {
  animation: iconSettleGold 0.8s var(--ease) 0.52s forwards;
}

@keyframes iconSettleBlue {
  0% { opacity: 0; transform: translate(-5%, 28%); }
  100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes iconSettleWhite {
  0% { opacity: 0; transform: translate(22%, -24%); }
  100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes iconSettleGold {
  0% { opacity: 0; transform: translate(24%, 18%); }
  100% { opacity: 1; transform: translate(0, 0); }
}

.icon-sheen {
  position: absolute;
  inset: -10%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 14%;
}

.icon-sheen::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -60%;
  width: 36%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-20%) skewX(-18deg);
  opacity: 0;
  animation: iconSheenSweep 0.9s ease-out 1.05s forwards;
}

@keyframes iconSheenSweep {
  0%   { transform: translateX(-20%) skewX(-18deg); opacity: 0; }
  12%  { opacity: 0.9; }
  55%  { opacity: 0.55; }
  100% { transform: translateX(340%) skewX(-18deg); opacity: 0; }
}

.hero__wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: wordmarkIn 0.75s var(--ease) 1.05s forwards;
}

@keyframes wordmarkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__wordmark-primary {
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
}

.hero__wordmark-secondary {
  margin-top: 0.3em;
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--ink-70);
  padding-left: 0.5em; /* optically re-center after letter-spacing */
}

.hero__kicker {
  margin: 0 0 var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__headline {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
}

.hero__subhead {
  margin: 0 0 var(--space-3);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 34ch;
}

.hero__launch {
  margin: 0 0 var(--space-1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__locale {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-50);
}

.hero__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.hero__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--ink-70);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.hero__social-link svg {
  width: 18px;
  height: 18px;
}

.hero__social-link:hover,
.hero__social-link:focus-visible {
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.hero__social-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hero__footer {
  position: absolute;
  bottom: clamp(1rem, 3vw, 1.5rem);
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------------------------------------------------------------------- */
/* Reveal animation                                                         */
/* ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealIn 0.8s var(--ease) forwards;
  animation-delay: calc(var(--delay, 0) * 0.12s + 0.25s);
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------------- */
/* Reduced motion                                                           */
/* ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .icon-piece,
  .hero__wordmark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .icon-sheen {
    display: none !important;
  }
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

@media (max-width: 640px) {
  .hero {
    padding-top: clamp(3rem, 10vh, 4rem);
    padding-bottom: clamp(3rem, 10vh, 4rem);
  }

  .hero__content {
    justify-content: center;
  }
}

@media (min-width: 1600px) {
  .hero__content {
    max-width: 720px;
  }
}

/* Short viewports (landscape phones) */
@media (max-height: 520px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero__logo {
    width: 96px;
    margin-bottom: 0.75rem;
  }

  .hero__footer {
    position: static;
    margin-top: 1.5rem;
  }
}
