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

:root {
  --midnight: #0b2d5b;
  --navy: #0b2d5b;
  --navy-soft: #174a82;
  --gold: #ffd752;
  --gold-light: #ffe689;
  --cream: #f7fbff;
  --white: #ffffff;
  --muted: rgba(247, 251, 255, 0.6);
  --quiet: rgba(247, 251, 255, 0.36);
  --border: rgba(255, 215, 82, 0.28);
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--midnight);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--midnight);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 88%, rgba(255, 215, 82, 0.12) 0%, transparent 58%),
    radial-gradient(ellipse 56% 50% at 50% 8%, rgba(255, 255, 255, 0.08) 0%, transparent 56%),
    var(--midnight);
}

.bg-mesh::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
  transform: rotate(12deg) translateX(-50%);
}

.page {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  width: 100%;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 80px);
}

.site-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: min(100%, 790px);
  text-align: center;
  animation: fadeDown 1s ease both;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(210px, 24vw, 360px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 82, 0.34);
  border-radius: 50%;
  background: var(--midnight);
  box-shadow:
    0 0 0 10px rgba(255, 215, 82, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.22);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.logo:hover,
.logo:focus-visible {
  border-color: rgba(255, 215, 82, 0.92);
  box-shadow:
    0 0 0 12px rgba(255, 215, 82, 0.12),
    0 0 42px rgba(255, 215, 82, 0.42),
    0 28px 80px rgba(0, 0, 0, 0.34);
  filter: saturate(1.08) brightness(1.08);
  outline: none;
  transform: translateY(-8px) scale(1.06) rotate(-1deg);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lang-toggle {
  display: flex;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.lang-btn {
  border: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 38px;
  border-radius: 999px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 1.28rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.lang-btn.active {
  color: var(--midnight);
  background: var(--gold);
  box-shadow: 0 6px 18px rgba(255, 215, 82, 0.24);
}

.flag-icon {
  display: block;
  width: 28px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(7, 31, 65, 0.18);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 790px);
  margin: 0 auto;
  padding: clamp(42px, 7vh, 86px) 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: fadeUp 1s 0.2s ease both;
}

.eyebrow::before {
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  content: "";
  background: var(--gold);
}

h1 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 32px;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.85rem, 7.2vw, 6.6rem);
  font-weight: 300;
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: normal;
  animation: fadeUp 1s 0.35s ease both;
}

h1 em {
  display: inline-block;
  max-width: 100%;
  color: var(--gold-light);
  font: inherit;
}

.subtitle {
  width: min(100%, 500px);
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  font-weight: 300;
  line-height: 1.75;
  animation: fadeUp 1s 0.5s ease both;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 620px);
  max-width: 620px;
  margin-bottom: 46px;
  animation: fadeUp 1s 0.58s ease both;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 215, 82, 0.2);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(247, 251, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: min(100%, 620px);
  gap: 32px;
  margin-bottom: 36px;
  animation: fadeUp 1s 0.65s ease both;
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-num {
  min-width: 2ch;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
}

.count-label {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.count-divider {
  align-self: flex-start;
  padding-top: 4px;
  color: var(--border);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  font-weight: 300;
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 520px);
  gap: 12px;
  animation: fadeUp 1s 0.8s ease both;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  gap: 10px;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.contact-link.primary {
  border-color: var(--gold);
  color: var(--midnight);
  background: var(--gold);
}

.contact-link.primary:hover,
.contact-link.primary:focus-visible {
  background: var(--gold-light);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: min(100%, 790px);
  gap: 20px;
  text-align: center;
  animation: fadeUp 1s 1s ease both;
}

.footer-copy {
  color: var(--quiet);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.car-silhouette {
  position: fixed;
  right: -2%;
  bottom: 8%;
  z-index: 0;
  width: min(55vw, 680px);
  color: var(--white);
  opacity: 0.055;
  pointer-events: none;
  animation: floatIn 1.5s 0.3s ease both;
}

.car-silhouette svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}

.car-silhouette circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 20;
}

.deco-line {
  position: fixed;
  right: 7%;
  top: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.deco-line span {
  display: block;
  width: 1px;
  background: var(--border);
}

.deco-line span:nth-child(1) {
  height: 60px;
}

.deco-line span:nth-child(2) {
  height: 6px;
  background: var(--gold);
}

.deco-line span:nth-child(3) {
  height: 40px;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 0.055;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-y: auto;
  }

  body {
    overflow-x: hidden;
  }

  .page {
    min-height: 100svh;
    padding: 20px 16px 24px;
  }

  .site-header {
    align-items: center;
    flex-direction: column;
  }

  .logo {
    width: min(58vw, 210px);
    box-shadow:
      0 0 0 7px rgba(255, 215, 82, 0.04),
      0 18px 46px rgba(0, 0, 0, 0.2);
  }

  .lang-btn {
    width: 42px;
    height: 36px;
  }

  .hero {
    padding: 38px 0 34px;
  }

  .eyebrow {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .eyebrow::before {
    width: 24px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 12.4vw, 3.6rem);
    line-height: 0.94;
  }

  h1 em {
    font-size: 0.74em;
  }

  .subtitle {
    margin-bottom: 22px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .feature-pills {
    gap: 8px;
    margin-bottom: 34px;
  }

  .feature-pills span {
    min-height: 30px;
    padding-inline: 11px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    width: min(100%, 280px);
  }

  .count-divider {
    display: none;
  }

  .contact-panel,
  .contact-link {
    width: 100%;
  }

  .contact-link {
    min-height: 46px;
  }

  .deco-line {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .car-silhouette {
    right: -28%;
    bottom: -2%;
    width: 95vw;
    opacity: 0.04;
  }
}
