body {
  font-family: Arial, sans-serif;
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
}

.blog-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  margin-bottom: 10px;
}

.blog-card a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #334155;
  background-color: #fafafa;
}

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

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  padding: 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  letter-spacing: -0.025em;
  gap: 12px;
}

.nav-logo img {
  height: clamp(64px, 10vw, 120px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #1d4ed8;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: #1d4ed8;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

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

.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-auth a {
  color: #64748b;
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  letter-spacing: 0.025em;
}

.nav-auth a:first-child:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.nav-auth a:last-child {
  background: #1d4ed8;
  color: white;
  border-color: #1d4ed8;
}

.nav-auth a:last-child:hover {
  background: #0c1f56;
  border-color: #0c1f56;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #64748b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e2e8f0;
  z-index: 999;
}

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

.mobile-menu-item {
  display: block;
  padding: 16px 24px;
  color: #64748b;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  font-weight: 500;
}

.mobile-menu-item:hover {
  background: #f8f8fc;
  color: #1d4ed8;
}

.mobile-auth {
  padding: 16px 24px;
  border-top: 2px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-auth a {
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-auth a:first-child {
  color: #64748b;
}

.mobile-auth a:first-child:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.mobile-auth a:last-child {
  background: #1d4ed8;
  color: white;
  border-color: #1d4ed8;
}

.mobile-auth a:last-child:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn {
  display: inline-block;
  padding: 20px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #0f172a;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.025em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 6px 15px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

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

.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 100px 0 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::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="footerdots" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerdots)"/></svg>');
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
  text-align: left;
}

.footer-section h4 {
  margin-bottom: 24px;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #1d4ed8;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 20px;
  text-align: center;
}

.footer-section a[href*="instagram"] .social-icon {
  color: #E4405F;
  font-size: 1.2rem;
}

.footer-section a[href*="facebook"] .social-icon,
.social-placeholder .social-icon {
  color: #1877F2;
  font-size: 1.1rem;
  font-weight: 700;
  background: transparent;
  border-radius: 3px;
  padding: 2px 4px;
}

.footer-section a[href*="tiktok"] .social-icon {
  color: #FF0050;
  font-size: 1.1rem;
}

.footer-section a[target="_blank"]:hover {
  color: #3b82f6;
  transform: translateX(4px);
}

.social-placeholder {
  opacity: 0.6;
  cursor: not-allowed;
}

.social-placeholder:hover {
  color: #94a3b8 !important;
  transform: none !important;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 32px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .nav-menu, .nav-auth {
      display: none;
  }

  .hamburger {
      display: flex;
  }

  .navbar {
      position: relative;
  }

  .header h1 {
      font-size: 2.5rem;
  }

  .header p {
      font-size: 1.125rem;
  }

  .container {
      padding: 0 16px;
  }

  .nav-container {
      padding: 0 16px;
  }

  .features, .pricing {
      padding: 64px 0;
  }

  .feature-grid, .pricing-cards {
      gap: 32px;
  }

  .price-card.popular {
      transform: none;
  }

  .price-card.popular:hover {
      transform: translateY(-4px);
  }
}

/* Live Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chat-button {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  border: none;
  padding: 16px 20px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  min-width: 120px;
  justify-content: center;
}

.chat-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(29, 78, 216, 0.4);
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  max-height: calc(100vh - 120px);
  z-index: 1001;
}

.chat-header {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.online-indicator {
  font-size: 12px;
  color: #dcfce7;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8fafc;
}

.message {
  margin-bottom: 16px;
}

.message-content {
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.5;
}

.support-message .message-content {
  background: white;
  border: 1px solid #e2e8f0;
  margin-left: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  margin-left: auto;
  margin-right: 0;
}

.chat-form {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background: white;
  display: flex;
  gap: 12px;
}

.chat-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}

.chat-form input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.chat-form button {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chat-form button:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-1px);
}

/* Mobile responsiveness for chat */
@media (max-width: 768px) {
  .chat-window {
      width: calc(100vw - 40px);
      right: 20px;
      left: 20px;
      height: calc(100vh - 160px);
      max-height: 500px;
      bottom: 80px;
      position: fixed;
      z-index: 1001;
  }

  .chat-widget {
      bottom: 20px;
      right: 20px;
      position: fixed;
      z-index: 1000;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .chat-window {
      width: calc(100vw - 20px);
      right: 10px;
      left: 10px;
      height: calc(100vh - 140px);
      max-height: 400px;
      bottom: 70px;
  }

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

/* Ensure chat doesn't go off screen on small screens */
@media (max-height: 600px) {
  .chat-window {
      height: calc(100vh - 100px);
      max-height: calc(100vh - 100px);
  }
}

@media (max-height: 500px) {
  .chat-window {
      height: calc(100vh - 80px);
      max-height: calc(100vh - 80px);
  }
}

.blog-post-container {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 24px 100px;
  line-height: 1.8;
  font-size: 1.0625rem;
  color: #1e293b;
}

.blog-post-container h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.blog-post-container h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #334155;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post-container p {
  margin-bottom: 1.5rem;
  color: #475569;
  line-height: 1.8;
}

.blog-post-container ul,
.blog-post-container ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #475569;
}

.blog-post-container li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-post-container strong {
  color: #1e293b;
  font-weight: 600;
}

.blog-post-container a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid #93c5fd;
  transition: all 0.2s ease;
}

.blog-post-container a:hover {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
}

.blog-post-container blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #64748b;
}

.blog-post-container code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.9em;
  color: #e11d48;
}

.blog-post-container hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 3rem 0;
}

/* Blog listing enhancements */
.blog-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 6rem 0 4rem;
  margin-top: 80px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.blog-hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #2563eb;
}

.blog-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.blog-card a:hover {
  color: #1d4ed8;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 4rem 24px 3rem;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-hero p {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    padding: 2rem 24px;
  }

  .blog-post-container h1 {
    font-size: 2rem;
  }

  .blog-post-container h2 {
    font-size: 1.5rem;
  }
}
