/* ========================================
   HYBRID DESIGN ENHANCEMENTS
   English Typo Landing Page - v0.2.0
   ======================================== */

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

/* Hero Subtitle Line Hierarchy */
.hero-line-1 {
  display: inline-block;
  font-size: 1.15em;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-line-2 {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 12px 0;
  letter-spacing: 0.01em;
}

.hero-line-3 {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
  color: #6B5CE7;
  padding: 10px 24px;
  border-radius: 50px;
  margin-top: 12px;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  letter-spacing: 0.02em;
  text-shadow: none;
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  }
  50% {
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.6);
  }
}

/* Decorative Background Elements */
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Badges */
.hero-floating-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(128, 112, 253, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float-gentle 3s ease-in-out infinite;
  font-size: 14px;
  font-weight: 600;
  color: #8070FD;
}

.badge-books {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.badge-star {
  top: 25%;
  right: 10%;
  animation-delay: 1s;
}

.badge-game {
  bottom: 30%;
  right: 5%;
  animation-delay: 2s;
  padding: 16px;
}

.badge-icon {
  font-size: 24px;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: fit-content;
}

.user-avatars {
  display: flex;
  margin-left: 0;
}

.user-avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.user-avatars img:first-child {
  margin-left: 0;
}

.user-avatars img:hover {
  transform: scale(1.1);
  z-index: 10;
}

.social-proof-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.social-proof-text .emoji {
  font-size: 18px;
  flex-shrink: 0;
}

/* Hero Tags */
.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  animation: badge-slide-in 0.6s ease-out;
}

.tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tag-pink {
  background: rgba(255, 182, 193, 0.4);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 1);
}

.tag-yellow {
  background: rgba(255, 215, 0, 0.4);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 1);
}

.tag-icon {
  font-size: 18px;
}

@keyframes badge-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Enhancements */
.hero-buttons {
  margin-top: 36px;
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%) !important;
  color: #6B5CE7 !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(255, 193, 7, 0.4) !important;
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
  backdrop-filter: blur(10px);
  font-weight: 600;
  white-space: nowrap;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  font-size: 1.3em;
  display: inline-block;
  animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.play-icon {
  margin-right: 4px;
  font-size: 0.9em;
}

/* ====================================
   SECTION BADGES
   ==================================== */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(128, 112, 253, 0.1);
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #8070FD;
}

.badge-icon {
  font-size: 18px;
}

.badge-icon-text {
  font-size: 18px;
}

/* ====================================
   PAIN POINTS - COLORFUL CARDS
   ==================================== */

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

.pain-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.pain-card-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.2);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pain-card-close:hover {
  color: rgba(0, 0, 0, 0.4);
}

.pain-icon-large {
  font-size: 48px;
  line-height: 1;
}

.pain-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  margin: 0;
}

/* Color Variants */
.pain-card-pink {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFD0D0 100%);
}

.pain-card-orange {
  background: linear-gradient(135deg, #FFE5CC 0%, #FFD6B3 100%);
}

.pain-card-yellow {
  background: linear-gradient(135deg, #FFF9E5 0%, #FFF0CC 100%);
}

.pain-card-purple {
  background: linear-gradient(135deg, #F0E5FF 0%, #E5D6FF 100%);
}

.pain-card-blue {
  background: linear-gradient(135deg, #E5F3FF 0%, #CCE7FF 100%);
}

.pain-card-light-pink {
  background: linear-gradient(135deg, #FFE5F5 0%, #FFD6EB 100%);
}

/* ====================================
   SOLUTION BANNER
   ==================================== */

.solution-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #8070FD 0%, #9d8bff 50%, #b8a9ff 100%);
  position: relative;
  overflow: hidden;
}

.solution-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.solution-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.solution-icon {
  font-size: 72px;
  margin-bottom: 24px;
  animation: bounce 2s ease-in-out infinite;
}

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

.solution-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.solution-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 100%;
}

.btn-white {
  background: white;
  color: #8070FD;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
  margin-left: 8px;
  animation: point-down 1.5s ease-in-out infinite;
}

@keyframes point-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ====================================
   HOW IT WORKS SECTION
   ==================================== */

.how-it-works {
  padding: 80px 0;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  margin-top: 60px;
  align-items: start;
}

.step-card {
  position: relative;
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.step-number-blue {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.step-number-purple {
  background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

.step-number-orange {
  background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.step-icon-blue {
  background: rgba(74, 144, 226, 0.1);
}

.step-icon-purple {
  background: rgba(155, 89, 182, 0.1);
}

.step-icon-orange {
  background: rgba(243, 156, 18, 0.1);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.step-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #4B5563;
}

.step-arrow {
  font-size: 32px;
  color: #8070FD;
  align-self: center;
  margin-top: 40px;
}

.how-it-works-cta {
  text-align: center;
  margin-top: 60px;
}

.btn-emoji {
  margin-left: 8px;
}

/* ====================================
   4 SKILLS TRAINING SECTION
   ==================================== */

.four-skills {
  padding: 80px 0;
  background: white;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.skill-card {
  padding: 32px 28px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.skill-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.skill-card-blue {
  background: linear-gradient(135deg, #E8F4FD 0%, #D4EBFA 100%);
}

.skill-icon-blue {
  background: rgba(74, 144, 226, 0.15);
}

.skill-progress-blue {
  background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
}

.skill-card-pink {
  background: linear-gradient(135deg, #FFE8F0 0%, #FFD6E5 100%);
}

.skill-icon-pink {
  background: rgba(236, 72, 153, 0.15);
}

.skill-progress-pink {
  background: linear-gradient(90deg, #EC4899 0%, #DB2777 100%);
}

.skill-card-purple {
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
}

.skill-icon-purple {
  background: rgba(139, 92, 246, 0.15);
}

.skill-progress-purple {
  background: linear-gradient(90deg, #8B5CF6 0%, #7C3AED 100%);
}

.skill-card-green {
  background: linear-gradient(135deg, #E8FFF3 0%, #D1F7E5 100%);
}

.skill-icon-green {
  background: rgba(16, 185, 129, 0.15);
}

.skill-progress-green {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.skill-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.skill-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 20px;
}

.skill-progress {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.skill-progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease;
}

.skill-stat {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
}

/* ====================================
   FEATURE STATS
   ==================================== */

.feature-stat {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 112, 253, 0.1);
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(128, 112, 253, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #8070FD 0%, #6B5CE7 100%);
  border-radius: 10px;
  transition: width 1s ease;
}

.stat-text {
  font-size: 13px;
  font-weight: 600;
  color: #8070FD;
}

/* ====================================
   ENHANCED TESTIMONIALS
   ==================================== */

.testimonial-card {
  position: relative;
  overflow: visible;
}

.testimonial-featured {
  background: linear-gradient(135deg, #8070FD 0%, #9d8bff 100%);
  color: white;
  grid-column: span 1;
}

.testimonial-featured .star {
  filter: brightness(1.2);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: #F59E0B;
}

.testimonial-featured .star {
  color: #FFD700;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 50px;
  margin-top: 4px;
}

.testimonial-featured .verified-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.quote-decoration {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

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

@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step-arrow {
    display: none;
  }

  .floating-badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .badge-books, .badge-star, .badge-game {
    position: static;
    animation: none;
    display: inline-flex;
    margin: 8px;
  }

  .hero-floating-badges {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-line-1 {
    font-size: 1.1em;
    margin-bottom: 6px;
  }

  .hero-line-2 {
    font-size: 0.8em;
    margin: 10px 0;
  }

  .hero-line-3 {
    font-size: 0.7em;
    padding: 8px 20px;
    margin-top: 10px;
  }

  .hero-social-proof {
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
  }

  .social-proof-text {
    font-size: 13px;
  }

  .social-proof-text .emoji {
    font-size: 16px;
  }

  .user-avatars img {
    width: 38px;
    height: 38px;
  }

  .hero-tags {
    justify-content: flex-start;
    gap: 10px;
  }

  .tag {
    padding: 8px 16px;
    font-size: 13px;
  }

  .tag-icon {
    font-size: 16px;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 1rem;
  }

  .btn-secondary-outline {
    font-size: 0.95rem;
  }

  .hero::after {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -80px;
  }

  .solution-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .solution-content h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .solution-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .solution-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 0.95rem;
  }

  .btn-secondary-outline {
    font-size: 0.9rem;
    padding: 14px 28px;
  }

  .btn-icon {
    font-size: 1.2em;
  }

  .hero-social-proof {
    padding: 10px 14px;
    gap: 10px;
  }

  .social-proof-text {
    font-size: 12px;
  }

  .social-proof-text .emoji {
    font-size: 15px;
  }

  .user-avatars img {
    width: 34px;
    height: 34px;
    margin-left: -10px;
  }

  .hero-tags {
    gap: 8px;
  }

  .tag {
    padding: 7px 14px;
    font-size: 12px;
  }

  .tag-icon {
    font-size: 15px;
  }

  .hero::after {
    width: 250px;
    height: 250px;
    top: -120px;
    right: -60px;
  }

  .hero-line-1 {
    font-size: 1.05em;
    margin-bottom: 4px;
  }

  .hero-line-2 {
    font-size: 0.75em;
    margin: 8px 0;
  }

  .hero-line-3 {
    font-size: 0.65em;
    padding: 7px 18px;
    margin-top: 8px;
  }

  .solution-banner {
    padding: 60px 0;
  }

  .solution-content {
    padding: 0 20px;
  }

  .solution-content h2 {
    font-size: 1.5rem;
    line-height: 1.35;
  }

  .solution-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .solution-icon {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .pain-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .pain-icon-large {
    font-size: 40px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .floating-badge,
  .solution-icon,
  .btn-arrow,
  .step-card,
  .skill-card,
  .pain-card {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus states for keyboard navigation */
.step-card:focus,
.skill-card:focus,
.pain-card:focus,
.btn:focus {
  outline: 3px solid #8070FD;
  outline-offset: 4px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
