/* WhatsApp wa.me Landing Page Styles */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #FFFFFF;
  color: #232323;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  border-bottom: 1px solid #E9EDEF;
  z-index: 100;
}

.header-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-icon {
  width: 120px;
  height: auto;
}

.logo-text {
  color: #25D366;
  font-size: 21px;
  font-weight: 600;
}

.nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #3C4240;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #25D366;
}

.dropdown .nav-link::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C4240' stroke-width='2.5'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 4px;
  vertical-align: middle;
  transition: stroke 0.2s;
}

.nav-link:hover .dropdown .nav-link::after,
.dropdown .nav-link:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325D366' stroke-width='2.5'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.download-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: #000000;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s;
  flex-shrink: 0;
}

.download-btn svg {
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.download-btn:hover {
  background: #20bd5a;
}

/* Mobile header download button (circular) */
.header-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #000000;
  border: 1px solid #000000;
  transition: background 0.2s;
}

.header-download-btn svg {
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  width: 18px;
  height: 18px;
}

.header-download-btn:hover {
  background: #20bd5a;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #232323;
  transition: 0.3s;
}

/* Mobile specific styles (< 768px) */
@media (max-width: 767px) {
  .btn-primary {
    border: none;
  }

  .chat-title {
    margin-bottom: 24px;
  }

  .btn {
    padding: 16px 32px;
    border-radius: 24px;
    font-size: 16px;
  }

  .download-text {
    margin-top: 16px;
    font-size: 15px;
  }

  .message-box {
    display: none;
  }

  .action-buttons {
    margin-bottom: 16px;
  }

  #webBtn {
    display: none;
  }
}

/* Main Content */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.chat-container {
  max-width: 526px;
  width: 100%;
  text-align: center;
}

.chat-title {
  font-size: 20px;
  font-weight: 400;
  color: #232323;
  margin-bottom: 32px;
  line-height: 1.3;
}

.chat-number {
  font-weight: 600;
  white-space: nowrap;
}

.message-box {
  background: #F5F5F5;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 32px;
  text-align: left;
}

.message-box p {
  color: #54656f;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  width: 100%;
}

.btn-primary {
  background: #25D366;
  color: #000000;
  border: 1px solid #000000;
}

.btn-primary:hover {
  background: #20bd5a;
}

.btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background: #F5F5F5;
}

.download-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: #54656f;
  flex-wrap: wrap;
}

.download-icon {
  flex-shrink: 0;
}

.download-link {
  color: #232323;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #25D366;
}

.download-link:hover {
  color: #20bd5a;
}

/* Footer */
.footer {
  border-top: 1px solid #E9EDEF;
  padding: 16px 24px;
  background: #FFFFFF;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copyright {
  font-size: 12px;
  color: #8696A0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 12px;
  color: #54656f;
}

.footer-link:hover {
  color: #232323;
}

/* Bottom Download Section (Mobile) */
.bottom-download {
  display: block;
  background: #111b21;
  padding: 24px 16px;
}

.btn-bottom-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #000000;
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
  max-width: 400px;
  margin: 0 auto;
}

.btn-bottom-download svg {
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  width: 20px;
  height: 20px;
}

.btn-bottom-download:hover {
  background: #20bd5a;
}

/* Tablet and up (768px+) */
@media (min-width: 768px) {
  /* Hide bottom download section on desktop */
  .bottom-download {
    display: none;
  }
  /* Header layout for desktop */
  .header-content {
    position: relative;
  }

  .logo {
    position: static;
    transform: none;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 105px;
    height: auto;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 24px;
    gap: 24px;
  }

  .download-btn {
    display: flex;
  }

  .header-download-btn {
    display: none;
  }

  .mobile-toggle {
    display: none;
  }

  .chat-title {
    font-size: 24px;
  }

  .btn {
    width: auto;
    min-width: 280px;
  }

  .action-buttons {
    align-items: center;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header-content {
    padding: 14px 48px;
  }

  .main {
    padding: 64px 48px;
  }

  .footer {
    padding: 20px 48px;
  }
}
