/* ============================================
   Academy Landing Page Styles
   Premium polish with movement and visual interest
   ============================================ */

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(101, 160, 168, 0.3); }
  50% { box-shadow: 0 0 40px rgba(101, 160, 168, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Section */
.academy-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.academy-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(101, 160, 168, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(254, 205, 13, 0.05) 0%, transparent 50%);
  animation: gradient-shift 15s ease infinite;
  pointer-events: none;
}

.academy-hero .container {
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.academy-hero .hero-content {
  max-width: 200px;
  animation: float 6s ease-in-out infinite;
}

.academy-hero .hero-logo {
  width: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
  transition: filter 0.3s ease;
}

.academy-hero .hero-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 50px rgba(101, 160, 168, 0.5));
}

.academy-hero .hero-text {
  max-width: 700px;
  text-align: center;
  animation: fade-in-up 0.8s ease-out;
}

.academy-hero .hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.academy-hero .hero-text p {
  font-size: 1.125rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.academy-hero .btn-primary {
  position: relative;
  overflow: hidden;
  animation: pulse-glow 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.academy-hero .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

.academy-hero .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(101, 160, 168, 0.5);
}

.academy-hero .btn-primary i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.academy-hero .btn-primary:hover i {
  transform: translateX(5px);
}

.hero-quiz-link {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-top: 25px;
  font-size: 0.9375rem;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: fade-in-up 1s ease-out 0.3s both;
}

.hero-quiz-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.hero-quiz-link::before {
  content: '→ ';
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-quiz-link:hover::before {
  opacity: 1;
}

/* Tools Section */
.tools-section {
  background: var(--color-bg-light);
  color: var(--color-text);
  position: relative;
}

.tools-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.tools-section h2 {
  color: var(--color-primary);
}

.tools-section .section-subtitle {
  color: var(--color-text);
  margin-bottom: 30px;
}

.academy-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.academy-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.academy-text ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.academy-text li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
}

.academy-text li::marker {
  color: var(--color-primary);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  width: 100%;
}

.tool-card {
  text-align: center;
  transition: transform 0.4s ease;
}

.tool-card:hover {
  transform: translateY(-8px);
}

.tool-card .tool-image {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 15px;
  border: 2px solid var(--color-border);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tool-card .tool-image:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 40px rgba(101, 160, 168, 0.25);
  transform: scale(1.02);
}

.tool-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.tool-card .tool-image:hover img {
  transform: scale(1.05);
}

.tool-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tool-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--color-text);
}

.tool-card em {
  color: var(--color-text-muted);
}

/* Pillars Section */
.pillars-section {
  position: relative;
}

.pillars-section::before,
.pillars-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.03;
  pointer-events: none;
}

.pillars-section::before {
  top: 10%;
  left: -150px;
  background: var(--color-primary);
}

.pillars-section::after {
  bottom: 10%;
  right: -150px;
  background: var(--color-secondary);
}

/* Training Steps Section */
.training-section {
  position: relative;
}

.training-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 50px 0;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.training-steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  opacity: 0.3;
}

.training-step {
  display: flex;
  gap: 25px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease;
}

.training-step:hover {
  transform: translateX(10px);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 4px 20px rgba(101, 160, 168, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.training-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(101, 160, 168, 0.6);
}

.step-content {
  flex: 1;
  padding-top: 5px;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 15px;
}

.step-content p {
  margin-bottom: 10px;
  line-height: 1.6;
  opacity: 0.9;
}

.step-highlight {
  color: var(--color-primary);
  margin-top: 15px;
  padding: 10px 15px;
  background: rgba(101, 160, 168, 0.1);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Audience Section */
.audience-section {
  position: relative;
  overflow: hidden;
}

.audience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
}

.audience-card {
  background: linear-gradient(135deg, var(--color-bg-light), rgba(255, 255, 255, 0.98));
  border-radius: var(--radius-lg);
  padding: 35px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.audience-card h3 {
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.audience-card p {
  color: var(--color-text);
  margin-bottom: 15px;
}

.audience-card ul {
  margin: 10px 0 20px 20px;
  color: var(--color-text);
}

.audience-card li {
  margin-bottom: 10px;
  position: relative;
}

.audience-card li::marker {
  color: var(--color-primary);
}

.guarantee-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg-dark), #2a2f35);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.guarantee-card:hover {
  border-color: var(--color-secondary);
}

.guarantee-card h3 {
  color: var(--color-primary);
  font-size: 1.75rem;
}

.guarantee-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Register Section */
.register-section {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, #1a1d20 100%);
  color: var(--color-white);
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.register-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(101, 160, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.shape-divider-top {
  top: 0;
}

.shape-divider-bottom {
  bottom: 0;
}

.shape-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.shape-divider-top svg {
  fill: var(--color-bg-dark);
}

.shape-divider-bottom svg {
  fill: #111315;
}

.register-content {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: var(--color-text);
  position: relative;
  z-index: 3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: scale-in 0.6s ease-out;
}

/* Animated gradient border */
.register-content::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    #e8e8e8,
    var(--color-secondary),
    #e8e8e8,
    var(--color-primary)
  );
  background-size: 300% 100%;
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -2;
  animation: border-dance 5s linear infinite;
}

/* White background on top of border */
.register-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  z-index: -1;
}

.register-content h3 {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.register-offer {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.register-offer strong {
  color: var(--color-primary);
}

.register-content > p > strong {
  color: var(--color-text);
}

.register-content ul {
  text-align: left;
  margin: 25px 0 35px 20px;
}

.register-content li {
  margin-bottom: 14px;
  line-height: 1.6;
  position: relative;
  padding-left: 10px;
}

.register-content li::marker {
  color: var(--color-primary);
  font-weight: bold;
}

.register-cta {
  margin: 35px 0 25px;
}

.register-cta .btn {
  font-size: 1.375rem;
  padding: 18px 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: pulse-glow 2s ease-in-out infinite;
}

.register-cta .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2.5s infinite;
}

.register-cta .btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 50px rgba(101, 160, 168, 0.5);
}

.register-note {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 25px;
}

.stripe-badge {
  display: block;
  margin: 20px auto 0;
  font-size: 0.8125rem;
  color: #6772e5;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.stripe-badge strong {
  font-weight: 700;
}

.stripe-badge:hover {
  opacity: 1;
}

/* Decorative elements for sections */
.academy-section {
  position: relative;
}

.academy-section .btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.academy-section .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.academy-section .btn-primary:hover::before {
  left: 100%;
}

.academy-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(101, 160, 168, 0.4);
}

.academy-section .btn-primary i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.academy-section .btn-primary:hover i {
  transform: translateX(5px);
}

/* Floating particles effect for hero */
.academy-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 4s ease-in-out infinite;
  box-shadow:
    -100px 50px 0 var(--color-secondary),
    150px -80px 0 var(--color-primary),
    -200px 120px 0 rgba(101, 160, 168, 0.5),
    250px 100px 0 rgba(254, 205, 13, 0.4);
}

/* Section transitions */
.tools-section,
.pillars-section,
.training-section,
.audience-section {
  position: relative;
}

.tools-section::after,
.training-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.5;
}

/* Subtle hover glow on pillar cards */
.pillar-card {
  transition: all 0.4s ease;
  position: relative;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-card:hover::before {
  opacity: 0.15;
}

/* Animated gradient border on register card */
@keyframes border-dance {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.register-content::before {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary),
    var(--color-secondary)
  );
  background-size: 300% 300%;
  animation: border-dance 6s ease infinite;
}

/* CTA arrow bounce */
@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.register-cta .btn i,
.academy-hero .btn-primary i {
  animation: arrow-bounce 1.5s ease-in-out infinite;
}

/* Scroll hint for above the fold */
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fade-in-up 1.5s ease-out 1s both;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  margin: 10px auto 0;
  animation: float 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .training-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .academy-hero {
    padding: 50px 0 40px;
  }

  .academy-hero .hero-text h1 {
    font-size: 1.75rem;
  }

  .training-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .training-step:hover {
    transform: translateY(-5px);
  }

  .step-content {
    text-align: center;
  }

  .step-highlight {
    border-left: none;
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .register-section {
    padding: 80px 0 60px;
  }

  .register-content {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .register-content h3 {
    font-size: 1.5rem;
  }

  .register-content ul {
    text-align: left;
  }

  .register-cta .btn {
    font-size: 1.125rem;
    padding: 15px 35px;
  }
}

@media (min-width: 768px) {
  .academy-hero .container {
    flex-direction: row;
    gap: 60px;
  }

  .academy-hero .hero-content {
    max-width: 250px;
  }

  .academy-hero .hero-text {
    text-align: left;
    align-items: flex-start;
  }

  .academy-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .academy-hero .hero-text p {
    font-size: 1.25rem;
  }

  .hero-quiz-link {
    text-align: left;
    margin-left: calc(250px + 60px);
  }
}

@media (min-width: 1024px) {
  .academy-hero {
    padding: 100px 0 80px;
  }

  .academy-hero .hero-content {
    max-width: 300px;
  }

  .academy-hero .hero-text h1 {
    font-size: 3rem;
  }

  .hero-quiz-link {
    margin-left: calc(300px + 60px);
  }
}
