/* Modern Homepage Styles - Using Brand Colors */
:root {
  --primary-teal: #2a9d8f;
  --dark-teal: #264653;
  --light-teal: #4ecdc4;
  --accent-orange: #e76f51;
  --accent-yellow: #f4a261;
  --text-white: #ffffff;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f8fafc;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
  color: var(--text-white);
  padding: 4rem 1rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.checkmark {
  background: #10b981;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--text-white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  margin-bottom: 2rem;
}

.cta-button:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.hero-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}

.join-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.other-text {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Features Section */
.features-section {
  padding: 5rem 1rem;
  background: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 4px solid white;
  box-shadow: var(--shadow-light);
}

.phone-icon,
.laptop-icon {
  font-size: 2rem;
  color: white;
}

/* Value Proposition Section */
.value-section {
  background: var(--primary-teal) !important;
  color: var(--text-white) !important;
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ensure all text elements in value section are visible */
.value-section h2,
.value-section p,
.value-section a {
  color: #264653 !important;
  text-shadow: none;
}

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

.value-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #264653 !important;
}

.value-description {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #264653 !important;
}

/* Testimonial Section */
.testimonial-section {
  padding: 5rem 1rem;
  background: var(--bg-light);
}

.testimonial-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-marks {
  font-size: 4rem;
  color: var(--light-teal);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 1rem;
  background: white;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.submit-btn {
  background: var(--primary-teal);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--dark-teal);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--dark-teal);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .quote-marks {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }
  
  .value-title {
    font-size: 2.5rem;
  }
  
  .contact-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .value-title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem 1rem;
  }
  
  .quote-marks {
    font-size: 2.5rem;
    top: 0.5rem;
    left: 0.5rem;
  }
  
  .hero-features {
    gap: 0.75rem;
  }
  
  .feature-item {
    font-size: 1rem;
  }
}

/* Brand name styling within new sections */
.hero-section .brand-name {
  color: var(--accent-yellow) !important;
  font-weight: 700;
  text-shadow: none;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.value-section .brand-name {
  color: var(--accent-orange) !important;
  font-weight: 700;
  text-shadow: none;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.features-section .brand-name,
.testimonial-section .brand-name {
  color: var(--primary-teal) !important;
  font-weight: 700;
  text-shadow: none;
}

/* Override existing hero styles for new sections */
.hero-section {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%) !important;
}

.hero-section h1 {
  color: transparent !important;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-section p {
  color: var(--text-white) !important;
}

/* Override value section styles */
.value-section {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%) !important;
}

.value-section h2,
.value-section p {
  color: #264653 !important;
}

/* Smooth animations */
.feature-card,
.testimonial-card,
.cta-button {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Stagger animation for feature cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced hover effects */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.05;
}

/* Enhanced CTA button */
.cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

/* Enhanced testimonial card */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--light-teal) 0%, transparent 100%);
  opacity: 0.1;
  border-radius: 0 20px 0 100px;
  z-index: 0;
}
