/* ===========================================
   HEADER
   F-pattern reading: Logo left, Nav center, CTA right
=========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo with Fire HIT */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  color: var(--primary);
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-hit {
  background: var(--accent-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.5));
}

.logo-reg {
  color: var(--text-main);
}

.logo-domain {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-earn {
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-earn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ===========================================
   STICKY DOWNLOAD BUTTON
   Animates from hero → header → footer
=========================================== */
.btn-download-sticky {
  display: none; /* Hidden by default */
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.btn-download-sticky i {
  width: 16px;
  height: 16px;
}

.btn-download-sticky:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px var(--primary-glow);
}

/* Visible state - triggered by JS */
.btn-download-sticky.visible {
  display: inline-flex;
  animation: flyInFromHero 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Flying to footer state */
.btn-download-sticky.flying-to-footer {
  animation: flyToFooter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

/* Hidden state when in footer zone */
.btn-download-sticky.in-footer {
  display: none;
}

/* Footer button slot */
.btn-download-footer-slot {
  display: inline-block;
  position: relative;
}

/* Footer button highlight when sticky lands */
.btn-download-footer-slot.highlight .btn-primary {
  animation: highlightLand 0.6s ease-out;
}

@keyframes flyInFromHero {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flyToFooter {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(10px) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.7);
  }
}

@keyframes highlightLand {
  0% {
    transform: scale(1.15);
    box-shadow: 0 0 30px var(--primary-glow);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px var(--primary-glow);
  }
}

/* ===========================================
   BUTTONS
=========================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

/* ===========================================
   BADGES & LABELS
=========================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(168, 85, 247, 0.15)
  );
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-text {
  background: var(--accent-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Live Status Bar - Trust signal */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse-dot 2s infinite;
}

.status-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.status-divider {
  width: 1px;
  height: 16px;
  background: var(--glass-border);
}

/* Trust Badges - Social proof */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  color: var(--text-dim);
  font-size: 13px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.trust-badge i {
  color: var(--success);
  width: 16px;
  height: 16px;
}

/* ===========================================
   CARDS
=========================================== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border-radius: var(--radius-lg);
  color: var(--primary);
  transition: all 0.3s;
}

.feature-icon i {
  width: 32px;
  height: 32px;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  transform: scale(1.1);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-subtitle {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Price Cards */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all 0.4s;
  position: relative;
}

.price-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
}

.price-card.popular {
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.1),
    var(--bg-card)
  );
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
  position: relative;
}

.price-card.popular:hover {
  transform: scale(1.08);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3);
}

.price-card.popular::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary),
    var(--accent-orange)
  );
  z-index: -1;
  opacity: 0.5;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-md);
  background: var(--accent-fire);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
  white-space: nowrap;
}

.price-card-header {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--space-lg);
}

.price-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-xs);
  margin: var(--space-lg) 0;
}

.price-amount {
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 800;
}

.price-currency {
  font-size: 24px;
  color: var(--text-muted);
}

.price-save {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

.price-features {
  flex: 1;
  margin-bottom: var(--space-lg);
}

.price-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text-muted);
  font-size: 14px;
  list-style: none;
}

.price-features li i {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.price-btn {
  width: 100%;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.price-btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );
  border: none;
  color: white;
}

.price-btn-primary:hover {
  box-shadow: 0 5px 20px var(--primary-glow);
}

.price-btn-secondary {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}

.price-btn-secondary:hover {
  border-color: var(--primary);
}

.price-context {
  text-align: center;
  margin-top: var(--space-sm);
  font-size: 12px;
  color: var(--text-dim);
}

/* FAQ Cards */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
}

.faq-item:hover .faq-question {
  color: var(--primary);
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-main);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================================
   FOOTER
=========================================== */
footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-dim);
}
