/* Base Styles */
:root {
  --primary: #3f51b5;
  --primary-dark: #283593;
  --secondary: #f06292;
  --secondary-dark: #ec407a;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --red-400: #f87171;
  --yellow-400: #facc15;
  --green-400: #34d399;
  --blue-400: #60a5fa;
  --green-500: #10b981;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 36rem;
  margin: 1rem auto 0;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.contact-numbers {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item img {
  margin-right: 0.25rem;
}

.email-us {
  display: flex;
  align-items: center;
}

.email-us svg {
  margin-right: 0.25rem;
}

/* Header */
.header {
  background-color: var(--white);
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-left: 0.5rem;
  display: none;
}

.nav {
  display: none;
}

.nav-link {
  color: var(--text-dark);
  margin-right: 1.5rem;
  transition: color 0.3s;
}

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

.contact-btn {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

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

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  margin-bottom: 2.5rem;
}

.hero-text p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.partners-btn {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  background: none;
  border: none;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.blob-1 {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background-color: var(--yellow-400);
  opacity: 0.5;
}

.blob-2 {
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background-color: #f97316;
  opacity: 0.3;
}

.blob-3 {
  top: 50%;
  right: 25%;
  width: 4rem;
  height: 4rem;
  background-color: #14b8a6;
  opacity: 0.3;
}

/* Stats Section */
.stats-section {
  padding: 3rem 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  color: var(--white);
}

.stat-card h3 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.stat-red {
  background-color: var(--red-400);
}

.stat-yellow {
  background-color: var(--yellow-400);
}

.stat-green {
  background-color: var(--green-400);
}

.stat-blue {
  background-color: var(--blue-400);
}

/* Features Section */
.features-section {
  padding: 4rem 1rem;
  background-color: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

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

/* Benefits Section */
.benefits-section {
  padding: 4rem 1rem;
}

.benefits-content {
  display: flex;
  flex-direction: column;
}

.benefits-text {
  margin-bottom: 2.5rem;
}

.benefits-list {
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  margin-bottom: 1rem;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--green-500);
}

.benefit-content {
  margin-left: 0.75rem;
}

.benefit-content h3 {
  font-weight: 500;
  color: var(--text-dark);
}

.benefit-content p {
  color: var(--text-light);
}

.benefits-image img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-section {
  padding: 4rem 1rem;
  background-color: var(--gray-50);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.process-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.process-content {
  padding-top: 1rem;
}

.process-content h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.process-content p {
  color: var(--text-light);
}

/* Partners Section */
.partners-section {
  padding: 4rem 1rem;
  background-color: var(--gray-50);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.partner-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-height: 4rem;
  width: auto;
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-header img {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-header h3 {
  font-weight: 600;
  font-size: 1.125rem;
}

.testimonial-header p {
  color: var(--text-light);
  font-size: 0.875rem;
}

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

/* FAQ Section */
.faq-section {
  padding: 4rem 1rem;
  background-color: var(--gray-50);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
}

.faq-icon {
  color: var(--gray-500);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 0.5rem;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--gray-200);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.cta-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s;
}

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

.primary-btn:hover {
  background-color: var(--gray-100);
}

.secondary-btn {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

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

.footer p {
  color: var(--gray-400);
  margin: 0;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.chat-container {
  display: none;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 20rem;
  overflow: hidden;
  flex-direction: column;
}

.chat-container.active {
  display: flex;
}

.chat-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-weight: 500;
  margin: 0;
}

.chat-subtitle {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  margin: 0;
}

#close-chat {
  background: none;
  border: none;
  color: var(--white);
}

.chat-messages {
  padding: 1rem;
  background-color: var(--gray-50);
  flex-grow: 1;
  max-height: 16rem;
  overflow-y: auto;
}

.message {
  margin-bottom: 0.5rem;
  max-width: 80%;
}

.message p {
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin: 0;
}

.agent {
  background-color: var(--primary-dark);
  color: var(--white);
  display: inline-block;
}

.user {
  background-color: var(--gray-200);
  margin-left: auto;
  display: inline-block;
}

.chat-input-container {
  padding: 0.75rem;
  border-top: 1px solid var(--gray-200);
  position: relative;
}

#chat-input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  outline: none;
}

#chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.2);
}

#send-message {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
}

.chat-powered-by {
  text-align: right;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.drift {
  color: var(--primary);
}

.chat-button {
  background-color: var(--secondary);
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.chat-button:hover {
  background-color: var(--secondary-dark);
}

/* Media Queries */
@media (min-width: 640px) {
  .tagline {
    display: block;
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-content {
    flex-direction: row;
  }
  
  .benefits-text {
    width: 50%;
    padding-right: 3rem;
    margin-bottom: 0;
  }
  
  .benefits-image {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-content {
    flex-direction: row;
  }
  
  .hero-text {
    width: 50%;
    margin-bottom: 0;
  }
  
  .hero-image {
    width: 50%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}