/* Modern Public Pages Shared Styles */

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

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

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Hero Sections */
.modern-hero,
.beta-hero,
.home-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.features-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.modern-hero::before,
.beta-hero::before,
.home-hero::before,
.features-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.modern-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.8s ease-out;
  text-align: center;
}

.modern-hero h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modern-hero .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

/* Wave Transition */
.wave-transition {
  position: relative;
  margin-top: -1px;
}

/* Feature Showcase Section */
.feature-showcase {
  padding: 0 0 4rem;
}

/* Feature Showcase Cards */
.feature-showcase {
  padding: 4rem 0;
}

.feature-showcase-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
  transition: all 0.3s ease;
}

.feature-showcase-card:hover {
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.12);
  transform: translateY(-5px);
}

.feature-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1.1rem;
  color: #718096;
  line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-grid-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon .material-icons {
  font-size: 32px;
  color: white;
}

.feature-grid-card h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.feature-grid-card p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 0;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 0;
}

.cta-card {
  background: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

/* Pricing Cards */
.modern-pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.modern-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.modern-pricing-card.featured {
  border-color: #667eea;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.modern-pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5px 45px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.plan-tagline {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1.5rem;
}

.price-container {
  margin-bottom: 0;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-period {
  font-size: 1rem;
  color: #718096;
  display: block;
  margin-top: 0.5rem;
}

.contact-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: #667eea;
  margin: 1rem 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1;
}

.features-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #4a5568;
}

.features-list li .material-icons {
  font-size: 20px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.features-list li.feature-included .material-icons {
  color: #48bb78;
}

.features-list li.feature-premium {
  font-weight: 500;
}

.features-list li.feature-premium .material-icons {
  color: #667eea;
  font-weight: 600;
}

.features-list li.feature-locked {
  opacity: 0.5;
  color: #a0aec0;
}

.features-list li.feature-locked .material-icons {
  color: #cbd5e0;
}

.cta-button-primary {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  margin-top: auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cta-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.cta-button-outline {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: auto;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.cta-button-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.section-subtitle {
  color: #718096;
  font-size: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* Beta CTA Section */
.beta-cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 0;
  margin-top: 4rem;
}

.beta-cta-card {
  background: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Animation delays for cards */
.pricing-col:nth-child(1) .modern-pricing-card { animation: fadeInUp 0.6s ease-out 0.1s both; }
.pricing-col:nth-child(2) .modern-pricing-card { animation: fadeInUp 0.6s ease-out 0.2s both; }
.pricing-col:nth-child(3) .modern-pricing-card { animation: fadeInUp 0.6s ease-out 0.3s both; }
.pricing-col:nth-child(4) .modern-pricing-card { animation: fadeInUp 0.6s ease-out 0.4s both; }

.feature-grid .col:nth-child(1) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.1s both; }
.feature-grid .col:nth-child(2) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.2s both; }
.feature-grid .col:nth-child(3) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.3s both; }
.feature-grid .col:nth-child(4) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.4s both; }
.feature-grid .col:nth-child(5) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.5s both; }
.feature-grid .col:nth-child(6) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.6s both; }
.feature-grid .col:nth-child(7) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.7s both; }
.feature-grid .col:nth-child(8) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.8s both; }
.feature-grid .col:nth-child(9) .feature-grid-card { animation: fadeInUp 0.6s ease-out 0.9s both; }
.feature-grid .col:nth-child(10) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1s both; }
.feature-grid .col:nth-child(11) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.1s both; }
.feature-grid .col:nth-child(12) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.2s both; }
.feature-grid .col:nth-child(13) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.3s both; }
.feature-grid .col:nth-child(14) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.4s both; }
.feature-grid .col:nth-child(15) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.5s both; }
.feature-grid .col:nth-child(16) .feature-grid-card { animation: fadeInUp 0.6s ease-out 1.6s both; }
