html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #3a3a3a;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #777;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulse-glow 2s infinite;
}

#site-header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}

#site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#mobile-panel {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-panel {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.cta-geo {
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.22) 0%, transparent 34%),
    linear-gradient(315deg, rgba(229, 9, 20, 0.16) 0%, transparent 30%),
    #0a0a0a;
}

.cta-geo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
  pointer-events: none;
}

.cta-geo-ring,
.cta-geo-diamond,
.cta-geo-slash {
  position: absolute;
  pointer-events: none;
}

.cta-geo-ring {
  width: 460px;
  height: 460px;
  right: -150px;
  top: -180px;
  border: 1px solid rgba(229, 9, 20, 0.55);
  border-radius: 50%;
}

.cta-geo-ring::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.cta-geo-diamond {
  width: 190px;
  height: 190px;
  left: -48px;
  bottom: -62px;
  border: 1px solid rgba(229, 9, 20, 0.65);
  transform: rotate(45deg);
}

.cta-geo-diamond::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-geo-slash {
  width: 240px;
  height: 10px;
  left: 8%;
  top: 16%;
  background: #e50914;
  transform: rotate(-28deg);
  opacity: 0.9;
}

.brand-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brand-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: brand-slide 32s linear infinite;
}

.brand-card {
  flex: 0 0 auto;
  min-width: 168px;
  padding: 18px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

@keyframes brand-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stay-geo::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: stay-grid 18s linear infinite;
  pointer-events: none;
}

.stay-geo-ring,
.stay-geo-diamond,
.stay-geo-triangle {
  position: absolute;
  pointer-events: none;
}

.stay-geo-ring {
  width: 280px;
  height: 280px;
  right: -70px;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: stay-spin 22s linear infinite;
}

.stay-geo-ring::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.stay-geo-ring-sm {
  width: 160px;
  height: 160px;
  right: auto;
  left: -40px;
  top: auto;
  bottom: -50px;
  animation-duration: 16s;
  animation-direction: reverse;
}

.stay-geo-diamond {
  width: 92px;
  height: 92px;
  left: 12%;
  top: 18%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: stay-spin 14s linear infinite;
}

.stay-geo-triangle {
  width: 0;
  height: 0;
  right: 18%;
  bottom: 12%;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 48px solid rgba(255, 255, 255, 0.16);
  animation: stay-float 6s ease-in-out infinite;
}

@keyframes stay-grid {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(46px, 46px, 0); }
}

@keyframes stay-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track,
  .stay-geo::before,
  .stay-geo-ring,
  .stay-geo-diamond,
  .stay-geo-triangle {
    animation: none;
  }
}
