/* ============================================================
   HOMEPAGE — CINEMATIC HERO, FEATURES, PRODUCTS, FEATURED BLOCK
   This file ONLY contains homepage-specific styling.
   Shared components live in global.css.
============================================================ */

/* ===================== */
/* HOME HERO (Cinematic) */
/* ===================== */

.home-hero {
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--hero-bg1),
    var(--hero-bg2),
    var(--hero-bg3)
  );
  background-size: 200% 200%;
  animation: heroGradient 12s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-top: 180px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* glow */
.home-hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-glow), transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
}

/* light sweep */
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  animation: shine 8s linear infinite;
  pointer-events: none;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: .55; }
  50% { transform: translate(-48%, -52%) scale(1.15); opacity: .75; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: .55; }
}

@keyframes shine {
  0% { left: -150%; }
  60%, 100% { left: 150%; }
}

/* Hero text */
.home-hero h1 {
  font-size: 2.9rem;
  margin-bottom: 1rem;
  animation: breath 6s ease-in-out infinite;
}

@keyframes breath {
  0% { letter-spacing: 0; }
  50% { letter-spacing: 1.2px; }
  100% { letter-spacing: 0; }
}

.home-hero p {
  max-width: 650px;
  margin: 0 auto;
  opacity: .85;
  line-height: 1.6;
}

/* Credibility text */
.home-hero .credibility {
  margin-top: 1.3rem;
  color: #eaeaea;
  opacity: 0.95;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .home-hero h1 { font-size: 2.2rem; }
  .home-hero p { padding: 0 1rem; }
}


/* ===================== */
/* FEATURES SECTION */
/* ===================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
}

.feature {
  background: var(--gray);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: .3s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
}


/* ===================== */
/* PRODUCT GRID */
/* ===================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .25s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,.12);
}

.product-card img {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
}

.status {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 4px 10px;
  font-size: .8rem;
  border-radius: 6px;
  font-weight: 600;
}

.status.available {
  background: #d1fae5;
  color: #065f46;
}

.status.coming {
  background: #fef3c7;
  color: #92400e;
}

.activate-btn,
.waitlist-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: .7rem 1.4rem;
  font-weight: 600;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}

.waitlist-btn {
  background: #1e293b;
}


/* ===================== */
/* FEATURED SECTION — Sky + Flame */
/* ===================== */

.featured-section {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
  overflow: hidden;
}

.sky-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2749, #233b7a, #6b8cce);
  background-size: 400% 400%;
  animation: skyShift 25s ease infinite;
  z-index: 0;
}

@keyframes skyShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.flame {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,160,40,0.4), rgba(255,80,0,0.15), transparent 70%);
  filter: blur(40px);
  animation: flameFlicker 2.8s infinite ease-in-out alternate,
             flameDrift 12s infinite linear;
  z-index: 1;
}

@keyframes flameFlicker {
  0% { opacity: .35; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.05); }
  100% { opacity: .40; transform: scale(.95); }
}

@keyframes flameDrift {
  0% { background-position: 50% 40%; }
  50% { background-position: 48% 45%; }
  100% { background-position: 50% 40%; }
}

.featured-section h2 {
  position: relative;
  z-index: 3;
}

.featured-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  margin: auto;
}

.featured-content p {
  color: #e8e8e8;
}

.featured-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #ff6600, #ffaa33);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  transition: .3s;
}

.featured-btn:hover {
  transform: scale(1.05);
}


/* ===================== */
/* TESTIMONIALS */
/* ===================== */

.testimonials {
  background: #f7f9fc;
  text-align: center;
  padding: 5rem 2rem;
}

.quote {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  font-style: italic;
  color: #333;
}

.quote.second {
  margin-top: 2rem;
}

.author {
  color: var(--accent);
  font-weight: 600;
  margin-top: .5rem;
}


/* ===================== */
/* WAITLIST SECTION */
/* ===================== */

.waitlist {
  text-align: center;
  padding: 6rem 2rem;
  background: #f9fafc;
}

.waitlist p {
  color: #444;
}

.waitlist-form iframe {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
