/*
Theme Name: ByDoctor Landing Growth
Description: A modern landing page theme for ByDoctor with growth-focused design
Version: 1.0.0
Author: ByDoctor Team
Author URI: https://bydoctor.com
Text Domain: bydoctor-landing-growth
*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: #212b36;
  background: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(33, 43, 54, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 45px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #212b36;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: #00A76F;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00A76F;
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #212b36;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(33, 43, 54, 0.1);
  padding: 2rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav {
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #212b36 0%, #00A76F 100%);
  color: white;
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 167, 111, 0.2);
  color: #00A76F;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 167, 111, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: #00A76F;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 167, 111, 0.3);
}

.btn-primary:hover {
  background: #00965F;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 167, 111, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-white {
  background: white;
  color: #212b36;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, #00A76F 0%, #00965F 100%);
  color: white;
  padding: 18px 40px;
  font-size: 1.1rem;
  box-shadow: 0 6px 25px rgba(0, 167, 111, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 167, 111, 0.5);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-benefits {
  background: #f8fffe;
}

.section-features {
  background: white;
}

.section-testimonials {
  background: #f8fffe;
}

.section-cta {
  background: linear-gradient(135deg, #212b36 0%, #00A76F 100%);
  color: white;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #212b36;
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #637381;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta .section-title,
.section-cta .section-subtitle {
  color: white;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #00A76F;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #637381;
  font-weight: 500;
}

/* Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(33, 43, 54, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 167, 111, 0.1);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00A76F, #00965F);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(33, 43, 54, 0.12);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00A76F, #00965F);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #212b36;
  font-weight: 600;
}

.benefit-card p {
  color: #637381;
  line-height: 1.6;
  font-size: 1rem;
}

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

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(33, 43, 54, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 167, 111, 0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(33, 43, 54, 0.1);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #212b36;
  font-weight: 600;
}

.feature-card p {
  color: #637381;
  line-height: 1.6;
}

/* Integration */
.integration-section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fffe 0%, #ebf8f4 100%);
}

.integration-content {
  max-width: 600px;
  margin: 0 auto;
}

.integration-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.integration-logo {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.integration-logo:hover {
  opacity: 1;
}

.integration-text {
  font-size: 1.1rem;
  color: #637381;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(33, 43, 54, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #00A76F;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  color: #637381;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #212b36;
  margin-bottom: 0.5rem;
}

.testimonial-role {
  color: #637381;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #212b36;
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00A76F;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    padding: 6rem 0 4rem;
    margin-top: 70px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .benefits-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .integration-logos {
    gap: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .benefit-card,
  .feature-card,
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}