/* ==========================================
   NEUTERON CRYPT - PLAYFUL DYNAMIC DESIGN
   Modern, Energetic Voice Training Website
   ========================================== */

/* CSS RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: #2D3748;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* TYPOGRAPHY - PLAYFUL & DYNAMIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A202C;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

h2 {
  font-size: 36px;
  color: #2D3748;
}

h3 {
  font-size: 24px;
  color: #4A5568;
}

p {
  margin-bottom: 16px;
  color: #4A5568;
}

a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #764ba2;
  transform: translateY(-2px);
}

ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

/* CONTAINER & LAYOUT - FLEXBOX ONLY */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1) rotate(5deg);
}

/* NAVIGATION - DESKTOP */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 16px;
  color: #4A5568;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #667eea;
  transform: translateY(-2px);
}

.main-nav a:hover::after {
  width: 100%;
}

/* CTA BUTTONS - ENERGETIC */
.cta-button,
.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button,
.cta-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cta-button:hover,
.cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
  color: #FFFFFF;
}

.cta-secondary {
  background: transparent;
  color: #667eea;
  border: 3px solid #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.cta-secondary:hover {
  background: #667eea;
  color: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cta-link {
  font-weight: 700;
  color: #667eea;
  border-bottom: 2px solid #667eea;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.cta-link:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
  transform: translateY(-2px);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #FFFFFF;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  z-index: 1999;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  font-size: 32px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
  color: #FFFFFF;
}

/* HERO SECTION - ENERGETIC */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
  animation: bounceIn 1s ease;
  -webkit-text-fill-color: #FFFFFF;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.hero-subtitle {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.3s both;
}

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

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.6s both;
}

.trust-badge {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-block;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 20px 40px;
  color: #FFFFFF;
  text-align: center;
}

.breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumb a {
  color: #FFFFFF;
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
  color: #FFFFFF;
}

.page-hero h1 {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  margin-bottom: 0;
  background: #FFFFFF;
  position: relative;
}

section:nth-child(even) {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #718096;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* BENEFITS GRID - FLEXBOX */
.benefits-grid,
.services-grid,
.process-grid,
.team-grid,
.stats-grid,
.payment-grid,
.pillars-grid,
.categories-grid,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.benefit-item,
.service-card,
.process-step,
.team-member,
.stat-item,
.payment-option,
.pillar,
.category,
.contact-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  margin-bottom: 20px;
}

.benefit-item::before {
  content: '✨';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.benefit-item:hover,
.service-card:hover,
.process-step:hover,
.team-member:hover,
.payment-option:hover,
.pillar:hover,
.category:hover {
  transform: translateY(-12px) rotate(2deg);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.3);
}

.benefit-item:hover::before {
  opacity: 1;
  transform: rotate(180deg) scale(1.3);
}

.benefit-item h3,
.service-card h3,
.process-step h3,
.team-member h3,
.payment-option h3,
.pillar h3,
.category h3 {
  color: #667eea;
  margin-bottom: 16px;
  font-size: 22px;
}

/* SERVICE CARDS - DYNAMIC */
.service-card {
  border: 3px solid transparent;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
              linear-gradient(135deg, #667eea, #764ba2) border-box;
}

.service-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #667eea;
  margin: 16px 0;
  display: block;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  color: #667eea;
  font-weight: 700;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #764ba2;
  transform: translateX(8px);
}

/* BADGE - PLAYFUL */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #2D3748;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: wiggle 2s ease infinite;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

/* STATISTICS - ANIMATED */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: #718096;
  font-weight: 600;
}

/* TESTIMONIALS - READABLE */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-left: 6px solid #667eea;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
}

.testimonial-card p {
  font-size: 16px;
  color: #2D3748;
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 700;
  color: #667eea;
  font-size: 14px;
}

.testimonial-result {
  font-style: italic;
  color: #718096;
  font-size: 14px;
}

/* COURSE DETAILS */
.course-detail {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  border: 3px solid transparent;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
              linear-gradient(135deg, #667eea, #764ba2) border-box;
  transition: all 0.3s ease;
}

.course-detail:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.25);
}

.course-features {
  list-style: none;
  margin: 24px 0;
}

.course-features li {
  padding: 12px 0 12px 36px;
  position: relative;
  color: #4A5568;
}

.course-features li::before {
  content: '🎯';
  position: absolute;
  left: 0;
  font-size: 20px;
}

/* FAQ */
.faq-item {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  transform: translateX(8px);
}

.faq-item h3 {
  color: #2D3748;
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-item p {
  color: #4A5568;
  line-height: 1.7;
}

/* CTA SECTIONS - ENERGETIC */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}

.cta-section p {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.trust-element,
.urgency {
  margin-top: 24px;
  font-size: 14px;
  color: #FFFFFF;
  opacity: 0.9;
  position: relative;
  z-index: 10;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  color: #E2E8F0;
  padding: 60px 20px 24px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-column h3 {
  color: #FFFFFF;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #CBD5E0;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #667eea;
  transform: translateX(8px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #A0AEC0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  color: #FFFFFF;
  padding: 24px;
  z-index: 1998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 400px;
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-button {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #FFFFFF;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cookie-reject,
.cookie-settings {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.cookie-reject:hover,
.cookie-settings:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* LEGAL CONTENT */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #FFFFFF;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #667eea;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content ul {
  margin-left: 32px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-content th,
.legal-content td {
  padding: 12px;
  border: 1px solid #E2E8F0;
  text-align: left;
}

.legal-content th {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #FFFFFF;
  font-weight: 700;
}

.last-updated {
  font-size: 14px;
  color: #718096;
  font-style: italic;
}

/* THANK YOU PAGE */
.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #FFFFFF;
  font-size: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-you-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .header-content {
    flex-direction: column;
    padding: 16px 0;
  }
  
  .header-content .cta-button {
    display: none;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .benefit-item,
  .service-card,
  .process-step,
  .team-member,
  .stat-item,
  .payment-option,
  .pillar,
  .category,
  .contact-item {
    flex: 1 1 100%;
  }
  
  .testimonial-card {
    flex: 1 1 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefit-item,
  .service-card,
  .process-step,
  .pillar {
    flex: 1 1 calc(50% - 24px);
  }
}

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

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 32px;
}

.highlight {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 700;
}

/* ACCESSIBILITY */
:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

.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;
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  footer {
    display: none;
  }
}