/* ========================================
   SECTIONS - HERO, FEATURES, ANALYTICS, COMMUNITY, VIDEO
   This file contains all section-specific styles including:
   - Hero section with gradient backgrounds
   - Video section layout
   - Features section with gradient overlays
   - Analytics section with dynamic styling
   - Community section with gradient animations
   - All titles, subtitles, and content styling for sections
   ======================================== */

/* ==================== FIRST SCREEN - HERO SECTION ==================== */

.hero-section {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(
    135deg,
    #0f0f23 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f3460 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 20px 0;
}

/* When hero has transparent background (unified mode) */
.hero-section[style*="background: transparent"] {
  overflow: visible;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(120, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(64, 224, 208, 0.1) 0%,
      transparent 50%
    );
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Hide ::before when hero has transparent background */
.hero-section[style*="background: transparent"]::before {
  display: none;
}

/* ==================== TITLES & HEADINGS ==================== */

.main-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: textShimmer 4s ease-in-out infinite;
}

.subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
  color: white;
}

.features-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.6s ease-out forwards;
}

.features-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 500;
  color: white;
  animation: fadeIn 0.8s ease-out forwards;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.analytics-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: textShimmer 4s ease-in-out infinite, fadeIn 0.6s ease-out forwards;
}

.analytics-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 50px;
  opacity: 0.9;
  font-weight: 500;
  color: white;
  animation: fadeIn 0.8s ease-out forwards;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.community-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 50%, #2c2c2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.6s ease-out forwards;
}

.community-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 50px;
  opacity: 0.8;
  font-weight: 500;
  color: #2c2c2e;
  animation: fadeIn 0.8s ease-out forwards;
  text-shadow: none;
}

/* ==================== SECOND SCREEN - VIDEO SECTION ==================== */

.video-section {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #2c3e50 50%,
    #34495e 75%,
    #5d6d7e 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(52, 73, 94, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 70% 60%, rgba(26, 26, 46, 0.15) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.video-container-center {
  max-width: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

.video-content-center {
  text-align: center;
  color: white;
  max-width: 700px;
  margin-bottom: 20px;
}

/* ==================== THIRD SCREEN - FEATURES SECTION ==================== */

.features-section {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(
    135deg,
    #3b82f6 0%,
    #2563eb 25%,
    #1d4ed8 50%,
    #1e40af 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite reverse;
  z-index: 0;
  pointer-events: none;
}

/* ==================== FOURTH SCREEN - ANALYTICS SECTION ==================== */

.analytics-section {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(
    135deg,
    #2d1b69 0%,
    #11998e 25%,
    #38ef7d 50%,
    #11998e 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.analytics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Black text and icons for analytics section without inline style (Block 7 - "Get paid instantly") */
.analytics-section:not([style]) .analytics-content {
  color: #2c2c2e;
  text-shadow: none;
}

.analytics-section:not([style]) .analytics-title {
  background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 50%, #2c2c2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.analytics-section:not([style]) .analytics-subtitle {
  color: #2c2c2e;
  text-shadow: none;
}

/* ==================== FIFTH SCREEN - COMMUNITY SECTION ==================== */

.community-section {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(
    135deg,
    #ff9a9e 0%,
    #fecfef 25%,
    #fecfef 50%,
    #ff9a9e 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  animation: gradientShift 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* ==================== HERO SECTION COMPACT SPACING ==================== */

/* Remove extra margins in hero section for compact layout */
.hero-section .content-section {
  margin-block: 0;
}

.hero-section .main-title {
  margin-bottom: 20px;
}

.hero-section .subtitle {
  margin-bottom: 0;
}

.hero-section .launch-badge {
  margin-bottom: 15px;
}

/* ==================== PAGE CONTENT STYLES (DOCUMENTATION & LEGAL PAGES) ==================== */

/* Page Content Wrapper */
.page-content {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    #0f0f23 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f3460 100%
  );
  position: relative;
  overflow: hidden;
}

.page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(120, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(64, 224, 208, 0.1) 0%,
      transparent 50%
    );
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.page-content .container {
  position: relative;
  z-index: 2;
}

/* Page Hero Section */
.page-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem 60px;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.6s ease-out forwards;
}

.page-hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: textShimmer 4s ease-in-out infinite;
}

.page-hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.9;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments for page hero */
@media (max-width: 768px) {
  .page-content {
    padding: 0 !important;
  }

  .page-hero {
    padding: 2rem 30px;
    margin-bottom: 3rem;
  }

  .page-hero h1 {
    font-size: 3.2rem;
  }

  .page-hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 2rem 20px;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .page-hero p {
    font-size: 1.1rem;
  }
}
