:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-color: #1f2937;
  --text-muted: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--spacing-xs);
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

nav a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

nav a.active {
  background-color: var(--primary-color);
  color: white;
}

main {
  min-height: calc(100vh - 200px);
}

.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

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

.feature-card {
  background-color: var(--bg-color);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

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

.support-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  margin: var(--spacing-lg) 0;
  text-align: center;
}

.support-box h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.support-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.support-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
}

.support-item strong {
  display: block;
  margin-bottom: var(--spacing-xs);
}

.about-preview {
  background-color: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  margin: var(--spacing-lg) 0;
  text-align: center;
}

.about-preview p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.disclosure-box {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.disclosure-box h3 {
  color: #856404;
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.disclosure-box p {
  color: #856404;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.disclosure-box a {
  color: var(--primary-color);
  text-decoration: underline;
}

footer {
  background-color: var(--text-color);
  color: white;
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section h4 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: var(--spacing-md);
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

.page-content h2 {
  font-size: 1.75rem;
  margin: var(--spacing-lg) 0 var(--spacing-md);
  color: var(--text-color);
}

.page-content h3 {
  font-size: 1.25rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  color: var(--text-color);
}

.page-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  color: var(--text-muted);
}

.page-content ul,
.page-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.page-content li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    padding: var(--spacing-sm);
    gap: 0;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav a {
    display: block;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .support-info {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Live Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.chat-button svg {
  width: 40px;
  height: 40px;
  fill: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

.chat-popup {
  position: absolute;
  bottom: 100px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chat-popup.active {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.chat-header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 16px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.chat-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.chat-body {
  padding: 20px;
}

.chat-message {
  background: #f0f9ff;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color);
}

.chat-form {
  margin-top: 16px;
}

.chat-form-group {
  margin-bottom: 12px;
}

.chat-form-group input,
.chat-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.chat-form-group input:focus,
.chat-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.chat-form-group textarea {
  min-height: 60px;
}

.chat-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.chat-submit-btn {
  flex: 1;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.chat-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.chat-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.chat-whatsapp-btn {
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.chat-whatsapp-btn:hover {
  background: #1ea952;
  transform: translateY(-1px);
  color: white;
}

.chat-actions {
  display: flex;
  gap: 8px;
}

.chat-action-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
}

.chat-whatsapp {
  background: #25D366;
  color: white;
}

.chat-whatsapp:hover {
  background: #1ea952;
  transform: translateY(-1px);
}

.chat-email {
  background: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.chat-email:hover {
  background: var(--primary-color);
  color: white;
}

.chat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  animation: bounce 1s infinite;
  border: 2px solid white;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  .hero {
    padding: var(--spacing-lg) 0;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .page-content {
    padding: var(--spacing-sm);
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .chat-popup {
    width: 280px;
    right: 10px;
    bottom: 70px;
  }

  .chat-widget {
    right: 15px;
    bottom: 15px;
  }
}