.black-friday-home {
  display: none;
}

body:not(.black-friday-mode) .black-friday-home {
  display: none !important;
}

body.black-friday-mode .black-friday-home {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 110, 64, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(38, 118, 255, 0.16), transparent 28%),
    #070b10;
  color: #f5f7fb;
}

.black-friday-home * {
  box-sizing: border-box;
}

.black-friday-home a,
.black-friday-home button {
  font: inherit;
}

.bf-ticker {
  position: relative;
  overflow: hidden;
  background: #05080c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  z-index: 3;
}

.bf-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-width: 100%;
  animation: bf-marquee 28s linear infinite;
  will-change: transform;
}

.bf-ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 2rem;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f6f7fb;
}

.bf-ticker-track span:nth-child(2) {
  color: #fcbf6a;
}

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

.bf-header {
  position: sticky;
  top: 0;
  z-index: 4;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(7, 11, 16, 0.7);
  backdrop-filter: blur(10px);
}

.bf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.bf-brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #ff7a18, #ff3b3b);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(255, 122, 24, 0.28);
}

.bf-brand-mark::before {
  content: "F";
  font-size: 1.05rem;
  font-weight: 900;
  color: white;
}

.bf-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.bf-nav a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.bf-nav a:hover,
.bf-nav a:focus-visible {
  color: #fff;
}

.bf-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff5a36);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(255, 110, 64, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-header-cta:hover,
.bf-header-cta:focus-visible,
.bf-button:hover,
.bf-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(255, 110, 64, 0.4);
}

.bf-page {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100vh - 120px);
  padding-top: 2rem;
}

.bf-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb26d;
}

.bf-copy h1 {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #f7f9fb;
}

.bf-subheading {
  margin: 1.2rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.45vw, 1.4rem);
  line-height: 1.6;
  color: rgba(245, 247, 251, 0.82);
}

.bf-price-block {
  margin-top: 2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bf-pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.bf-pricing del {
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  text-decoration: line-through;
}

.bf-price {
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.08em;
}

.bf-price-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.72);
}

.bf-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 540px;
}

.bf-time {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 0.8rem 0.85rem;
  text-align: center;
  min-height: 100px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bf-time-value {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.06em;
}

.bf-time-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.bf-actions {
  margin-top: 2rem;
}

.bf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff4d2c);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 28px rgba(255, 90, 54, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-installation {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(245, 247, 251, 0.82);
  font-size: 0.96rem;
  line-height: 1.5;
}

.bf-product {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bf-device {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1.15;
  border-radius: 2rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
}

.bf-screen {
  position: relative;
  height: 100%;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(87, 141, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #0c1117, #151d2d 45%, #0d141e);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bf-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 15%, transparent 32%);
}

.bf-app-grid {
  position: absolute;
  inset: 1.2rem 1.2rem auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.bf-app {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.8);
}

.bf-app::before {
  content: "";
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #48dd83, #2fb3ff);
  display: block;
  margin-bottom: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.bf-app:nth-child(2)::before {
  background: linear-gradient(135deg, #ff8a00, #ff4e54);
}

.bf-app:nth-child(3)::before {
  background: linear-gradient(135deg, #3ec28c, #71ee8a);
}

.bf-app:nth-child(4)::before {
  background: linear-gradient(135deg, #6a84ff, #a34cff);
}

.bf-app:nth-child(5)::before {
  background: linear-gradient(135deg, #ff6e6e, #ff9f5a);
}

.bf-app:nth-child(6)::before {
  background: linear-gradient(135deg, #ffbf69, #ffd28a);
}

.bf-app:nth-child(7)::before {
  background: linear-gradient(135deg, #55b4f5, #267dff);
}

.bf-app:nth-child(8)::before {
  background: linear-gradient(135deg, #58d68d, #3abf8f);
}

.bf-bottom-card {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(12, 18, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bf-mini-map {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #2d8cff, #58d7ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.bf-mini-map::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 25%, rgba(255,255,255,0.24) 25%, rgba(255,255,255,0.24) 28%, transparent 28%, transparent 100%);
  border-radius: inherit;
}

.bf-bottom-copy {
  flex: 1;
}

.bf-bottom-copy strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.bf-bottom-copy span {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.bf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 155, 79, 0.12);
  border: 1px solid rgba(255, 155, 79, 0.28);
  color: #ffbf73;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

@media (max-width: 840px) {
  .bf-header {
    width: min(100% - 20px, 1220px);
    padding: 0.8rem 0;
  }

  .bf-nav {
    display: none;
  }

  .bf-hero {
    grid-template-columns: 1fr;
    padding-top: 1rem;
    min-height: auto;
  }

  .bf-copy {
    order: 1;
  }

  .bf-product {
    order: 0;
  }

  .bf-page {
    width: min(100% - 20px, 1220px);
  }
}

@media (max-width: 560px) {
  .bf-ticker-track span {
    padding: 0.7rem 1.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .bf-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .bf-time {
    min-height: 88px;
  }

  .bf-header-cta,
  .bf-button {
    width: 100%;
  }

  .bf-brand {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ticker-track {
    animation: none;
    display: flex;
    white-space: normal;
    flex-wrap: wrap;
  }

  .bf-ticker-track span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
