/* Landing Page Styles */

:root {
  --primary-color: #00a149;
  --secondary-color: #319131;
  --accent-color: #25D366;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-brand i {
  font-size: 32px;
  color: var(--accent-color);
}

.nav-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-nav {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--white) !important;
  border-radius: 25px;
  transition: transform 0.3s;
}

.btn-nav:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-illustration {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-illustration i {
  font-size: 150px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-success {
  background: var(--accent-color);
  color: var(--white);
}

.btn-success:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

/* Features Section */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
}

/* WhatsApp Generator Section */
.wa-generator {
  background: var(--bg-light);
}

.wa-generator-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.wa-generator-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.wa-icon-circle {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.wa-icon-circle i {
  font-size: 80px;
  color: var(--white);
}

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

.wa-people {
  position: absolute;
  width: 100%;
  height: 100%;
}

.person {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

.person-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0.5s;
}

.person-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 1s;
}

.form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.form-header i {
  font-size: 32px;
  color: var(--accent-color);
}

.form-header h3 {
  font-size: 24px;
  color: var(--accent-color);
}

.form-description {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.badge-optional {
  background: var(--accent-color);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 5px;
}

.form-help {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.generated-link {
  margin-top: 20px;
  padding: 20px;
  background: #f0f9f4;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
}

.generated-link label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--accent-color);
}

.link-display {
  display: flex;
  gap: 10px;
}

.link-display input {
  flex: 1;
}

.btn-copy {
  padding: 12px 20px;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-copy:hover {
  background: #1ea952;
}

/* Plans Section */
.plans {
  background: var(--white);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 33.33%));
  gap: 30px;
  justify-content: start;
}

.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: center;
  border: 3px solid transparent;
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.plan-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.plan-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.plan-price {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.plan-price span {
  font-size: 20px;
  color: var(--text-light);
}

.plan-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.plan-features i {
  color: var(--accent-color);
  margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  min-width: 70px;
  min-height: 70px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #1a202c;
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.footer-brand i {
  font-size: 32px;
  color: var(--accent-color);
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--accent-color);
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .wa-generator-content {
    grid-template-columns: 1fr;
  }

  .wa-generator-illustration {
    min-height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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