/* ============================================================
   campaign.css - Premium Dark Luxury Campaign Page
   Inspired by: Apple, Stripe, Linear, Vercel, Framer
   ============================================================ */

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   LOADER
   ============================================================ */

.loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0a0a0a;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.9s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.08);
  border-top-color: #ff5005;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loading-text {
  color: #ff7a7a;
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 84%;
  line-height: 1.5;
  text-align: center;
  word-break: break-word;
}

/* Hide main initially */
.hidden {
  display: none;
}

main.hidden {
  display: none;
}

main:not(.hidden) {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s ease;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  transition: all 0.3s ease;
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-cta {
  background: linear-gradient(135deg, #ff5005 0%, #ff7a3d 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 80, 5, 0.3);
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 16px;
  }
  
  .nav-link {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -60px;
  padding-top: 60px;
}

.shader-gradient-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.shader-gradient-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-logo {
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-logo svg {
  color: #ff5005;
  filter: drop-shadow(0 0 20px rgba(255, 80, 5, 0.4));
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   LIVE STATS
   ============================================================ */

.live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 80, 5, 0.3);
  transform: translateY(-4px);
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #ff5005;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   PROGRESS SECTION
   ============================================================ */

.progress-container {
  margin-bottom: 40px;
}

.progress-bar-wrapper {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff5005 0%, #ff7a3d 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 20px rgba(255, 80, 5, 0.5);
}

.progress-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-weight: 500;
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.cta-button.primary {
  background: linear-gradient(135deg, #ff5005 0%, #ff7a3d 100%);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(255, 80, 5, 0.25);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 80, 5, 0.35);
}

.cta-button.primary:active {
  transform: translateY(0);
}

.cta-button.large {
  padding: 16px 48px;
  font-size: 18px;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 80px 24px;
  position: relative;
  z-index: 3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-section {
  background: linear-gradient(135deg, rgba(255, 80, 5, 0.05) 0%, rgba(255, 122, 61, 0.02) 100%);
  border-top: 1px solid rgba(255, 80, 5, 0.1);
  border-bottom: 1px solid rgba(255, 80, 5, 0.1);
}

/* ============================================================
   WHY SECTION - EMOTIONAL COPY
   ============================================================ */

.why-section {
  background: #0a0a0a;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

.why-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  text-align: center;
}

/* ============================================================
   REWARDS SECTION
   ============================================================ */

.rewards-section {
  background: #0a0a0a;
}

.rewards-card-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.rewards-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 80, 5, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 600px;
  width: 100%;
  transition: all 0.3s ease;
}

.rewards-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 80, 5, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(255, 80, 5, 0.15);
}

.rewards-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.rewards-icon {
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
}

.rewards-card-header h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.rewards-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.reward-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reward-icon {
  font-size: 32px;
  flex-shrink: 0;
  margin-top: 2px;
}

.reward-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.reward-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.instagram-handles {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.instagram-handles a {
  color: #ff5005;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s ease;
}

.instagram-handles a:hover {
  color: #ff7a3d;
  text-decoration: underline;
}

.instagram-handles .separator {
  color: rgba(255, 255, 255, 0.3);
}

.rewards-note {
  background: rgba(255, 80, 5, 0.08);
  border: 1px solid rgba(255, 80, 5, 0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.rewards-note p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.rewards-note strong {
  color: #ff5005;
  font-weight: 700;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.timeline-section {
  background: linear-gradient(135deg, rgba(255, 80, 5, 0.05) 0%, rgba(255, 122, 61, 0.02) 100%);
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 80, 5, 0.3) 0%, transparent 100%);
}

.timeline-item {
  margin-bottom: 48px;
  position: relative;
  display: flex;
  gap: 32px;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ff5005 0%, #ff7a3d 100%);
  border-radius: 50%;
  border: 3px solid #0a0a0a;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 80, 5, 0.3);
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }
  
  .timeline-dot {
    left: 0;
  }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
  background: #0a0a0a;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 80, 5, 0.3);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.faq-answer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */

.final-cta-section {
  background: linear-gradient(135deg, rgba(255, 80, 5, 0.1) 0%, rgba(255, 122, 61, 0.05) 100%);
  border-top: 1px solid rgba(255, 80, 5, 0.2);
  border-bottom: 1px solid rgba(255, 80, 5, 0.2);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  .section {
    padding: 60px 16px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .live-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .stat-value {
    font-size: 18px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .rewards-card {
    padding: 32px 24px;
  }
  
  .rewards-card-header h3 {
    font-size: 20px;
  }
  
  .reward-item {
    gap: 12px;
  }
  
  .reward-icon {
    font-size: 28px;
  }
  
  .reward-content h4 {
    font-size: 15px;
  }
  
  .reward-content p {
    font-size: 13px;
  }
  
  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .cta-button.large {
    padding: 14px 32px;
    font-size: 16px;
  }
  
  .why-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    gap: 8px;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .live-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .stat-card {
    padding: 12px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-value {
    font-size: 16px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .section {
    padding: 40px 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-description {
    font-size: 14px;
  }
  
  .rewards-card {
    padding: 24px 16px;
  }
  
  .rewards-icon {
    font-size: 48px;
  }
  
  .rewards-card-header h3 {
    font-size: 18px;
  }
  
  .rewards-list {
    gap: 20px;
    margin-bottom: 28px;
  }
  
  .reward-item {
    gap: 12px;
  }
  
  .reward-icon {
    font-size: 24px;
  }
  
  .reward-content h4 {
    font-size: 14px;
  }
  
  .reward-content p {
    font-size: 12px;
  }
  
  .instagram-handles {
    justify-content: center;
  }
  
  .footer-links {
    gap: 12px;
  }
  
  .why-text {
    font-size: 14px;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   DARK MODE (already dark, but for consistency)
   ============================================================ */

@media (prefers-color-scheme: dark) {
  body {
    background: #0a0a0a;
    color: #ffffff;
  }
}
