/* =============================================
   Launch Pages — Cinematic Product Launches
   ============================================= */

.launch-page {
  --launch-theme: #0066FF;
  background: #050505;
  color: #fff;
}

/* Hero */
.launch-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.launch-hero__bg,
.launch-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launch-hero__bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.launch-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.2) 100%);
}

.launch-hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.launch-hero__content {
  animation: launchHeroFade 0.8s ease 0.15s both;
}

@keyframes launchHeroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.launch-hero__brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--launch-theme);
  margin-bottom: 16px;
}

.launch-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  margin-left: 12px;
}

.launch-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.launch-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

.launch-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.launch-hero__countdown {
  margin-bottom: 32px;
}

.launch-countdown {
  display: flex;
  gap: 16px;
}

.launch-countdown__item {
  text-align: center;
  min-width: 64px;
}

.launch-countdown__val {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--launch-theme);
  line-height: 1;
}

.launch-countdown__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.launch-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

/* Blocks */
.launch-block {
  padding: 100px 0;
}

.launch-block--highlight {
  background: var(--launch-theme);
  padding: 80px 0;
  text-align: center;
}

.launch-highlight__number {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.launch-highlight__label {
  font-size: 20px;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.9;
}

.launch-highlight__text {
  max-width: 560px;
  margin: 20px auto 0;
  opacity: 0.75;
  line-height: 1.6;
}

.launch-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.launch-block--image-left .launch-feature {
  direction: rtl;
}

.launch-block--image-left .launch-feature > * {
  direction: ltr;
}

.launch-feature__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.launch-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launch-feature__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--launch-theme, var(--color-primary));
  margin-bottom: 12px;
}

.launch-feature__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
}

.launch-feature__text {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.launch-block--feature {
  background: #0a0a0a;
}

.launch-block--gallery {
  background: #050505;
  padding: 60px 0;
}

.launch-gallery__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}

.launch-gallery__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 70vh;
}

.launch-gallery__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.launch-block--video {
  background: #0a0a0a;
}

.launch-video__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}

.launch-video__frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #111;
}

.launch-video__frame iframe,
.launch-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.launch-block--stats {
  background: #111;
  padding: 60px 0;
}

.launch-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}

.launch-stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--launch-theme);
}

.launch-stat__label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.launch-block--cta {
  background: linear-gradient(135deg, var(--launch-theme) 0%, color-mix(in srgb, var(--launch-theme) 60%, #000) 100%);
  text-align: center;
  padding: 80px 0;
}

.launch-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.launch-cta__text {
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.launch-cta__btn {
  background: #fff !important;
  color: #050505 !important;
}

.launch-block--text {
  background: #0a0a0a;
}

.launch-text__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.launch-text__body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 720px;
}

/* Buy bar */
.launch-buybar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-buybar.is-visible {
  transform: translateY(0);
}

.launch-buybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.launch-buybar__name {
  display: block;
  font-weight: 600;
  font-size: 14px;
}

.launch-buybar__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--launch-theme);
}

/* Brand variants */
.launch-page--infinix { --launch-theme: #D4AF37; }
.launch-page--itel { --launch-theme: #E31E24; }

@media (max-width: 768px) {
  .launch-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .launch-block--image-left .launch-feature {
    direction: ltr;
  }

  .launch-countdown__val {
    font-size: 28px;
  }
}

.admin-form-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  grid-column: 1 / -1;
}

.admin-badge--blue {
  background: rgba(0, 102, 255, 0.12);
  color: #0066FF;
}

/* Homepage launch showcase */
.launch-showcase {
  padding: var(--section-spacing-lg) 0;
  background: #050505;
}

.launch-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.launch-showcase__card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}

.launch-showcase__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-showcase__card:hover .launch-showcase__bg {
  transform: scale(1.06);
}

.launch-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
}

.launch-showcase__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.launch-showcase__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--launch-theme);
}

.launch-showcase__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.launch-showcase__tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Product page launch elements */
.product-launch-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--launch-theme), color-mix(in srgb, var(--launch-theme) 70%, #000));
  color: #fff;
  transition: transform var(--transition-fast);
}

.product-launch-banner:hover {
  transform: translateY(-2px);
  color: #fff;
}

.product-launch-banner__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  flex-shrink: 0;
}

.product-launch-banner__title {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.product-cinematic {
  margin: 48px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #050505;
}

.product-cinematic .launch-block {
  padding: 60px 0;
}

.product-cinematic__more {
  text-align: center;
  padding: 32px;
  background: #0a0a0a;
}

.product-specs__group {
  margin-top: 24px;
}

.product-specs__group-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

@media (max-width: 768px) {
  .launch-showcase__grid {
    grid-template-columns: 1fr;
  }

  .launch-showcase__card {
    aspect-ratio: 16/10;
  }
}
