/**
 * Pauhu Hero Section - Landing Page Styles
 * Large white symbol on #002855 background
 * Inspired by MkDocs Material, customized for Pauhu
 */

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION - Above the Fold
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #002855 0%, #001a3d 50%, #000d1f 100%);
  overflow: hidden;
  padding: 6rem 2rem;
}

/* Animated gradient background */
.pauhu-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(74, 144, 226, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 102, 204, 0.1), transparent);
  animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Grid pattern overlay */
.pauhu-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SYMBOL - Large White Logo
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__symbol {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  margin-bottom: 3rem;
  animation: symbolFloat 6s ease-in-out infinite;
}

.pauhu-hero__symbol svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

@keyframes symbolFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Glow effect behind symbol */
.pauhu-hero__symbol::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: symbolGlow 4s ease-in-out infinite;
}

@keyframes symbolGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.pauhu-hero__title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pauhu-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2.5rem;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pauhu-hero__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pauhu-hero__button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pauhu-hero__button--primary {
  background-color: white;
  color: #002855;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pauhu-hero__button--primary:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pauhu-hero__button--secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.pauhu-hero__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Button icons */
.pauhu-hero__button svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO STATS / TRUST BADGES
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pauhu-hero__stat {
  text-align: center;
}

.pauhu-hero__stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pauhu-hero__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL INDICATOR
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.pauhu-hero__scroll-indicator {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  position: relative;
}

.pauhu-hero__scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(15px);
    opacity: 0.3;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION - Below the Fold
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-features {
  background-color: white;
  padding: 6rem 2rem;
}

[data-md-color-scheme="slate"] .pauhu-features {
  background-color: #0f172a;
}

.pauhu-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pauhu-feature {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

[data-md-color-scheme="slate"] .pauhu-feature {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}

.pauhu-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 40, 85, 0.1);
}

.pauhu-feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: #002855;
}

[data-md-color-scheme="slate"] .pauhu-feature__icon {
  color: #4A90E2;
}

.pauhu-feature__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.75rem;
}

[data-md-color-scheme="slate"] .pauhu-feature__title {
  color: #f1f5f9;
}

.pauhu-feature__description {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

[data-md-color-scheme="slate"] .pauhu-feature__description {
  color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-testimonials {
  background-color: #f8fafc;
  padding: 6rem 2rem;
}

[data-md-color-scheme="slate"] .pauhu-testimonials {
  background-color: #1e293b;
}

.pauhu-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pauhu-testimonial {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-md-color-scheme="slate"] .pauhu-testimonial {
  background: #0f172a;
}

.pauhu-testimonial__quote {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  font-style: italic;
}

[data-md-color-scheme="slate"] .pauhu-testimonial__quote {
  color: #cbd5e1;
}

.pauhu-testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pauhu-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #002855;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.pauhu-testimonial__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

[data-md-color-scheme="slate"] .pauhu-testimonial__name {
  color: #f1f5f9;
}

.pauhu-testimonial__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pauhu-section-header__title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

[data-md-color-scheme="slate"] .pauhu-section-header__title {
  color: #f1f5f9;
}

.pauhu-section-header__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

[data-md-color-scheme="slate"] .pauhu-section-header__subtitle {
  color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 76.25em) {
  .pauhu-hero__title {
    font-size: 3rem;
  }

  .pauhu-hero__subtitle {
    font-size: 1.25rem;
  }

  .pauhu-hero__symbol {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 60em) {
  .pauhu-hero {
    min-height: auto;
    padding: 4rem 1.5rem;
  }

  .pauhu-hero__title {
    font-size: 2.25rem;
  }

  .pauhu-hero__subtitle {
    font-size: 1.125rem;
  }

  .pauhu-hero__symbol {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
  }

  .pauhu-hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pauhu-hero__stat-value {
    font-size: 2rem;
  }

  .pauhu-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .pauhu-hero__button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .pauhu-section-header__title {
    font-size: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTICLES / AMBIENT ANIMATION (Optional Enhancement)
   ═══════════════════════════════════════════════════════════════════════════ */

.pauhu-hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.pauhu-hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Generate multiple particles with different positions and delays */
.pauhu-hero__particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.pauhu-hero__particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.pauhu-hero__particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 20s; }
.pauhu-hero__particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 24s; }
.pauhu-hero__particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 19s; }
.pauhu-hero__particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 21s; }
.pauhu-hero__particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 23s; }
.pauhu-hero__particle:nth-child(8) { left: 80%; animation-delay: 1.5s; animation-duration: 17s; }
.pauhu-hero__particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 25s; }
.pauhu-hero__particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 20s; }
