/* Break the Cycle - Modern Styles */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  /* Gen Z Subtle Color Palette */
  --primary: #6366f1; /* soft indigo */
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #8b5cf6; /* muted purple */
  --accent-light: #a78bfa;
  --bg-dark: #0a0a0f;
  --bg-card: #1a1a24;
  --bg-hover: #252535;
  --text-primary: #ffffff;
  --text-secondary: #a8a8b8;
  --text-muted: #6b6b7b;
  --border: #2a2a3a;
  
  /* Spacing */
  --container-max: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
header {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, #0f0f1e 100%);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

/* Clean gradient fade transition */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
  z-index: 10;
}

/* Animated gradient overlay */
header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(99, 102, 241, 0.1) 25%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(99, 102, 241, 0.1) 75%,
    transparent 100%
  );
  animation: moveGradient 15s ease infinite;
  z-index: 0;
}

/* Static banner image (NO animation) */
header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('BTC_banner_web.png') no-repeat center center;
  background-size: cover;
  opacity: 0.12;
  z-index: 1;
}

/* Animated top portion ONLY (palm leaves area) - EXAGGERATED FOR TESTING */
header .content::after {
  content: '';
  position: absolute;
  top: -60vh;
  left: -50vw;
  right: -50vw;
  height: 80vh;
  background: url('BTC_banner_web.png') no-repeat center center;
  background-size: cover;
  opacity: 0.25;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  animation: palmTreesSwaying 3s ease-in-out infinite;
  transform-origin: center 30%;
  pointer-events: none;
}

@keyframes palmTreesSwaying {
  0%, 100% {
    transform: translateX(0) skewX(0deg) rotate(0deg);
  }
  25% {
    transform: translateX(15px) skewX(3deg) rotate(1deg);
  }
  50% {
    transform: translateX(-8px) skewX(-1.5deg) rotate(-0.5deg);
  }
  75% {
    transform: translateX(-15px) skewX(-3deg) rotate(-1deg);
  }
}

/* Very subtle light shimmer */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(99, 102, 241, 0.05) 50%,
    transparent 100%
  );
  animation: gentleShimmer 12s ease infinite;
  z-index: 0;
  opacity: 0.3;
}

@keyframes gentleShimmer {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}

header .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  min-height: 70vh;
}

.logo {
  width: 110px;
  height: 110px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
  display: block;
}

/* Hero Tagline Image */
.hero-tagline-img {
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 10px rgba(200, 208, 232, 0.25));
  padding: 0 1rem;
}

/* Hero Tagline */
.hero-tagline {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: clamp(0.4em, 1vw, 1.2em);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  z-index: 10;
  padding: 0 1rem;
  pointer-events: none;
  word-spacing: 2em;
  opacity: 0.45;
}

.hero-tagline span {
  background: linear-gradient(135deg, #9EA8DC, #556270, #FF8B6B, #C08B84, #9EA8DC);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.15));
  animation: gradientFlow 30s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-tagline .dark-word {
  animation: gradientFlow 30s ease-in-out infinite;
}

.hero-tagline .light-word {
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.15)) brightness(1.2);
  animation: gradientFlow 30s ease-in-out infinite;
}

.hero-tagline .mobile-comma {
  display: none;
}

@keyframes gradientShiftHorizontal {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, #ff6b6b, #feca57, #ee5a6f, #ff9ff3, #feca57);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 107, 0.15));
  animation: gradientShift 6s ease infinite;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes titleGlow {
  0%, 100% {
    filter: 
      drop-shadow(0 1px 0 rgba(139, 92, 246, 0.9))
      drop-shadow(0 2px 0 rgba(139, 92, 246, 0.8))
      drop-shadow(0 3px 0 rgba(139, 92, 246, 0.7))
      drop-shadow(0 4px 0 rgba(139, 92, 246, 0.6))
      drop-shadow(0 5px 0 rgba(139, 92, 246, 0.5))
      drop-shadow(0 8px 12px rgba(139, 92, 246, 0.4))
      drop-shadow(0 12px 25px rgba(99, 102, 241, 0.3));
  }
  50% {
    filter: 
      drop-shadow(0 1px 0 rgba(139, 92, 246, 0.9))
      drop-shadow(0 2px 0 rgba(139, 92, 246, 0.8))
      drop-shadow(0 3px 0 rgba(139, 92, 246, 0.7))
      drop-shadow(0 4px 0 rgba(139, 92, 246, 0.6))
      drop-shadow(0 5px 0 rgba(139, 92, 246, 0.5))
      drop-shadow(0 10px 20px rgba(139, 92, 246, 0.6))
      drop-shadow(0 15px 35px rgba(99, 102, 241, 0.5));
  }
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.6;
}

.stats-text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  background: linear-gradient(135deg, #86efac, #6ee7b7, #5eead4, #6ee7b7, #86efac, #6ee7b7);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(110, 231, 183, 0.15));
  animation: gradientShift 6s ease infinite;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.1rem 3rem;
  background: rgba(99, 102, 241, 0.25);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.15rem;
  border: 2px solid rgba(99, 102, 241, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  text-transform: none;
  letter-spacing: 0.01em;
  backdrop-filter: blur(0px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 1);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(45, 45, 55, 0.35), rgba(30, 30, 40, 0.45));
  border: 2px solid rgba(255, 255, 255, 0.08);
  color: #8a8a92;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
  background: linear-gradient(135deg, rgba(55, 55, 65, 0.55), rgba(40, 40, 55, 0.6));
  border-color: rgba(255, 255, 255, 0.18);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.hidden { display: none; }
.video-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.video-modal.closing {
  pointer-events: none;
}

.video-modal-content {
  background: #0f0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  width: min(900px, 92vw);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.video-modal.show .video-modal-content {
  animation: popIn 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-modal.closing .video-modal-content {
  animation: suckOut 260ms cubic-bezier(0.4, 0, 0.3, 1) forwards;
}

.video-modal video, .video-modal iframe {
  width: 100%;
  height: min(70vh, 500px);
  border: none;
  border-radius: 10px;
  background: #000;
}

.iframe-wrap {
  position: relative;
  width: 100%;
  height: min(70vh, 500px);
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-modal-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.video-modal-close button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.video-modal-close button:hover {
  background: rgba(255,255,255,0.1);
}

@keyframes popIn {
  0% { transform: scale(0.88); opacity: 0; }
  40% { transform: scale(1.04); opacity: 0.65; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes suckOut {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.6); opacity: 0; }
}

/* Sections */
section {
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
  margin-bottom: var(--spacing-lg);
}

/* Clean gradient fade between sections */
section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Remove fade from last section */
section:last-of-type::after,
footer::after {
  display: none;
}

/* Remove the old dividers */
section:not(:last-of-type)::before {
  display: none;
}

section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
}

section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.step {
  text-align: center;
  padding: var(--spacing-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light), var(--accent-light), var(--primary));
  background-size: 300% 300%;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  animation: gradientShift 10s ease infinite;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonial {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

.testimonial p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.testimonial cite {
  color: var(--accent-light);
  font-weight: 600;
  font-style: normal;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.faq-item h3 {
  color: var(--primary-light);
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
  text-align: center;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
}

/* Email Form */
.email-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
  text-align: center;
  position: relative;
  margin-top: var(--spacing-lg);
  margin-bottom: 0;
}

/* Clean gradient fade at top of email section */
.email-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.email-section .container {
  position: relative;
  z-index: 2;
}

.email-form {
  max-width: 500px;
  margin: var(--spacing-md) auto 0;
}

.email-form input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  transition: border-color 0.3s ease;
}

.email-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.email-form button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

/* Back to Top Link */
.back-to-top {
  display: block;
  text-align: center;
  margin-top: var(--spacing-sm);
  color: rgba(168, 168, 184, 0.3);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-transform: lowercase;
}

.back-to-top:hover {
  color: rgba(168, 168, 184, 0.6);
}

/* Footer */
footer {
  background: var(--bg-card);
  padding: var(--spacing-md) var(--spacing-md);
  text-align: center;
  border-top: none;
  margin-top: 0;
}

.social-links {
  margin-bottom: var(--spacing-sm);
}

.social-links a {
  color: var(--primary-light);
  text-decoration: none;
  margin: 0 var(--spacing-sm);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.social-links a:hover {
  color: var(--accent-light);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }
  
  header {
    min-height: 70vh;
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  header::after {
    background-size: cover;
    background-position: center 40%;
  }
  
  .logo {
    width: 90px;
    height: 90px;
  }
  
  .cards, .steps, .testimonials {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
  }

  header .content .btn {
    width: auto;
    min-width: 140px;
    padding: 0.7rem 1.15rem;
    font-size: 0.82rem;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    line-height: 1.4;
    padding: 0 10px;
    top: 8px;
  }
  
  .hero-tagline .dot-separator {
    display: none;
  }
  
  .hero-tagline .mobile-comma {
    display: inline;
  }
  
  section {
    padding: var(--spacing-md) var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}
