/* ===================================
   VIRALUP - SHARED STYLESHEET
   ================================ */

/* === CSS RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === ROOT VARIABLES === */
:root {
  /* Colors */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #f59e0b;
  --dark: #1f2937;
  --dark-light: #374151;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --success: #10b981;
  --border: #e5e7eb;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* === BASE STYLES === */
html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: var(--line-height-base);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style-position: inside;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--gray);
}

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

.text-large {
  font-size: 1.25rem;
}

.text-muted {
  color: var(--gray);
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-gray {
  background: var(--light-gray);
}

/* === GRID SYSTEM === */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

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

.card-header {
  margin-bottom: var(--space-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

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

.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

/* === HEADER === */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Transparent header for homepage hero */
body.homepage .header {
  background: transparent;
  box-shadow: none;
  position: absolute;
  width: 100%;
}

body.homepage .header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
}

body.homepage .logo {
  color: var(--white);
}

body.homepage .header.scrolled .logo {
  color: var(--primary);
}

body.homepage .nav-link {
  color: var(--white);
}

body.homepage .header.scrolled .nav-link {
  color: var(--dark);
}

body.homepage .mobile-toggle {
  color: var(--white);
}

body.homepage .header.scrolled .mobile-toggle {
  color: var(--dark);
}

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

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: var(--space-xs);
}

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

.nav-cta {
  margin-left: var(--space-md);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-md) 0;
}

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

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-sm) var(--container-padding);
  color: var(--dark);
  font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--light-gray);
  color: var(--primary);
}

.mobile-cta {
  padding: var(--space-md) var(--container-padding);
}

/* === HERO SECTIONS === */
.hero {
  padding: var(--space-3xl) 0;
  text-align: center;
}

/* Hero with background (image or video) */
.hero-with-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 var(--space-3xl);
  overflow: hidden;
}

.hero-bg-image,
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
  z-index: -1;
}

.hero-with-bg .hero-title,
.hero-with-bg .hero-subtitle {
  color: var(--white);
}

.hero-with-bg .badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
/* Fix button visibility in HERO CTA section */
.hero-cta .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* === BADGE === */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.badge-secondary {
  background: var(--secondary);
}

.badge-success {
  background: var(--success);
}

/* === FEATURE LIST === */
.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.feature-text {
  flex: 1;
  color: var(--dark-light);
}

/* === PRICING === */
.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-md) 0;
}

.price-currency {
  font-size: 1.5rem;
}

.price-period {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.price-note {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: var(--space-sm);
}

/* === COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--light-gray);
  font-weight: 600;
  color: var(--dark);
}

.comparison-table tr:hover {
  background: var(--light-gray);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Fix button visibility in CTA section */
.cta-section .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  justify-content: center;
  margin-top: var(--space-md);
}

.social-link {
  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);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* === FORM ELEMENTS === */
.form-group {
  margin-bottom: var(--space-md);
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* === TESTIMONIAL === */
.testimonial {
  background: var(--light-gray);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray);
}

/* === ACCORDION / FAQ === */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.accordion-header {
  background: var(--white);
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--light-gray);
}

.accordion-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-body {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--gray);
}

/* === BLOG STYLES === */
.blog-categories {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.blog-category-btn {
  padding: 0.625rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.blog-category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-category-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-image {
  margin-bottom: var(--space-md);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.blog-meta .text-muted {
  font-size: 0.875rem;
  margin: 0;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.blog-read-more:hover {
  color: var(--primary-dark);
}

/* === POST STYLES === */
.post-header {
  padding: var(--space-xl) 0 var(--space-lg);
}

.post-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-back-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: var(--transition);
}

.post-back-link:hover {
  color: var(--primary-dark);
}

.post-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: var(--space-md) 0;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.post-content {
  padding: var(--space-xl) 0;
}

.post-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.post-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--dark-light);
  margin-bottom: var(--space-xl);
}

.post-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.post-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.375rem;
}

.post-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  color: var(--dark-light);
}

/* === UTILITIES === */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }

/* === RESPONSIVE BREAKPOINTS === */

/* Tablet: 768px and up */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table {
    font-size: 0.95rem;
  }
  
  .hero-with-bg {
    padding: 10rem 0 var(--space-3xl);
  }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
  
  .mobile-toggle {
    display: none;
  }
  
  .nav {
    display: block;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Desktop: 1280px and up */
@media (min-width: 1280px) {
  :root {
    --container-max: 1280px;
  }
  
  h1 { font-size: 4rem; }
}

/* ===================================
   CONTACT PAGE STYLES
   ================================ */

.contact-info-item {
  margin-bottom: var(--space-md);
}

.contact-info-label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-info-value {
  color: var(--gray);
  margin: 0;
}

/* ============================================
   WHATSAPP CHAT WIDGET
   ============================================ */

.wa-chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.wa-chat-button.left {
    left: 25px;
    right: auto;
}

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

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

.wa-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: wa-bounce 1s infinite;
}

.wa-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 360px;
    max-width: calc(100vw - 50px);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: wa-slideUp 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wa-chat-widget.left {
    left: 25px;
    right: auto;
}

.wa-chat-widget.active {
    display: flex;
}

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

.wa-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wa-header-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.wa-header-text p {
    margin: 3px 0 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.wa-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.wa-close-btn:hover {
    transform: rotate(90deg);
}

.wa-chat-body {
    padding: 20px;
    background: #f0f0f0;
    max-height: 400px;
    overflow-y: auto;
}

.wa-welcome {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wa-welcome h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.wa-welcome p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.wa-team-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-team-member {
    background: white;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wa-team-member:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wa-member-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}

.wa-member-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #25D366;
    border: 2px solid white;
    border-radius: 50%;
}

.wa-member-info {
    flex: 1;
}

.wa-member-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 14px;
}

.wa-member-role {
    font-size: 12px;
    color: #888;
}

.wa-member-icon {
    color: #25D366;
    font-size: 20px;
}

.wa-chat-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.wa-chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.wa-chat-input:focus {
    border-color: #25D366;
}

.wa-send-btn {
    background: #25D366;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wa-send-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.wa-powered {
    text-align: center;
    padding: 8px;
    font-size: 11px;
    color: #999;
    background: #f9f9f9;
}

.wa-powered a {
    color: #667eea;
    text-decoration: none;
}

/* WhatsApp Widget Animations */
@keyframes wa-pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

@keyframes wa-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes wa-slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp Widget Mobile Responsive */
@media (max-width: 480px) {
    .wa-chat-widget {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 90px;
    }

    .wa-chat-widget.left {
        left: 10px;
        right: auto;
    }

    .wa-chat-button {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 20px;
    }

    .wa-chat-button.left {
        left: 15px;
        right: auto;
    }

    .wa-chat-body {
        max-height: 300px;
    }
}