:root {
  --bg: #051627;
  --bg-soft: #0a2740;
  --metal: #1f7cb8;
  --metal-light: #69b3e4;
  --text: #ebf5ff;
  --card: rgba(7, 30, 48, 0.73);
  --accent: #ffc857;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #17456f 0%, var(--bg) 45%, #020b14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.floating-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-item {
  position: absolute;
  opacity: 0.18;
  animation: drift linear infinite;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

@keyframes drift {
  0% {
    transform: translateY(15vh) translateX(0) rotate(0deg);
  }
  100% {
    transform: translateY(-120vh) translateX(20px) rotate(160deg);
  }
}

.promo-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(6, 25, 40, 0.92), rgba(18, 66, 102, 0.92));
  border-bottom: 1px solid rgba(105, 179, 228, 0.35);
}

.promo-strip-inner {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0;
  font-size: clamp(0.82rem, 2.4vw, 1rem);
}

.live-dot {
  animation: blinkLive 1.2s ease-in-out infinite;
}

.promo-divider {
  opacity: 0.7;
  margin: 0 0.2rem;
}

#liveDrivers,
#countdownClock {
  color: #ffe08b;
  letter-spacing: 0.02em;
}

@keyframes blinkLive {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-family: Rajdhani, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.brand span {
  color: var(--metal-light);
}

.lang-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.glass {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(109, 177, 228, 0.25);
  border-radius: 1.1rem;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 1.7rem 0 3rem;
}

.hero-copy {
  padding: 2rem;
}

.tag {
  display: inline-block;
  margin: 0;
  background: rgba(105, 179, 228, 0.15);
  border: 1px solid rgba(105, 179, 228, 0.45);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

h1,
h2 {
  font-family: Rajdhani, sans-serif;
  line-height: 1.1;
  margin: 0.6rem 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

.subheadline {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.alert-line {
  border-left: 4px solid var(--accent);
  padding: 0.7rem 0.9rem;
  border-radius: 0.5rem;
  background: rgba(255, 200, 87, 0.11);
  margin: 1rem 0;
  font-weight: 600;
}

.pulse {
  animation: pulse 1.7s ease-in-out infinite;
}

.flash {
  animation: flash 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 200, 87, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 200, 87, 0.35);
  }
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-radius: 0.7rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(140deg, #58a9de, #1c6ea5);
  color: white;
  box-shadow: 0 12px 24px rgba(28, 110, 165, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-wide {
  width: 100%;
  margin-top: 0.5rem;
}

.hero-bullets {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.hero-book {
  text-align: center;
}

.book-scene {
  perspective: 1200px;
  padding: 1.4rem;
}

.book-3d {
  width: min(360px, 85vw);
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  animation: floatBook 6s ease-in-out infinite;
}

.book-front-wrap {
  position: relative;
  transform: rotateY(-20deg) rotateX(4deg);
  transform-origin: center;
}

.book-front {
  width: 100%;
  border-radius: 0.7rem;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.45);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15% 11% 10%;
  pointer-events: none;
}

.cover-edition {
  color: #d7b56a;
  font-family: Georgia, serif;
  font-size: clamp(0.72rem, 1.6vw, 1.04rem);
  letter-spacing: 0.12em;
}

.cover-title {
  margin-top: 21%;
  color: #f3e7c2;
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1.06;
  font-size: clamp(1.2rem, 2.85vw, 2.05rem);
  text-transform: uppercase;
}

.cover-subtitle {
  margin-top: 15%;
  color: #d7bd85;
  font-size: clamp(0.54rem, 1.1vw, 0.84rem);
  letter-spacing: 0.08em;
}

.cover-publisher {
  margin-top: auto;
  color: #cfaa58;
  font-family: Georgia, serif;
  font-size: clamp(0.7rem, 1.5vw, 1rem);
}

.book-side {
  position: absolute;
  top: 10px;
  right: -16px;
  width: 20px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, #d9b767, #8f6e2f);
  transform: rotateY(-20deg) rotateX(4deg) translateZ(-8px);
  border-radius: 0 8px 8px 0;
}

.book-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -28px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(3px);
}

@keyframes floatBook {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.book-note {
  color: #d2e9fb;
  margin-top: 0.9rem;
}

.benefits,
.proof,
.offer {
  padding: 2rem 0;
}

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

.benefit-card,
.testimonial {
  background: rgba(5, 20, 32, 0.74);
  border: 1px solid rgba(105, 179, 228, 0.2);
  border-radius: 0.85rem;
  padding: 1.15rem;
}

.proof.glass {
  padding: 1.3rem;
}

.offer-card {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.price-line {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1rem 0;
}

.old {
  text-decoration: line-through;
  opacity: 0.65;
}

.new {
  font-size: 2rem;
  color: #ffe08b;
  font-weight: 800;
}

.footer {
  padding: 1.5rem 0 2.2rem;
  opacity: 0.9;
  font-size: 0.9rem;
}

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

  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hero-copy,
  .offer-card {
    padding: 1.2rem;
  }

  .book-scene {
    padding: 0.9rem;
  }

  .promo-strip-inner {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    line-height: 1.35;
  }

  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
