/* Global base rules */
html {
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #FFFFFF;
  color: #475569;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

* {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(15, 61, 76, 0.08);
  color: #0F3D4C;
  border: 1px solid rgba(15, 61, 76, 0.15);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin: 0 0 1.25rem;
  font-weight: 700;
  color: #0F3D4C;
}

.section-header::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0F3D4C, #D4AF37);
  border-radius: 2px;
  margin: 1rem auto 0;
}

.section-header p {
  color: #475569;
  font-size: 1.1rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #0F3D4C 0%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* WhatsApp brand color — green only for WPP refs */
.wpp-text {
  color: #25D366;
}

/* Buttons */
.btn-primary {
  background: #D4AF37;
  color: #0B2E3A;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #C49A2C;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #0B2E3A;
  border: 1px solid #E5E7EB;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #D1D5DB;
  color: #0B2E3A;
  transform: translateY(-2px);
}

.arrow {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover .arrow {
  transform: translateX(6px);
}

/* ── Chat Mockup (shared between Hero and HowSection) ── */
.hero-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.chat-mockup-wrap {
  position: relative;
}

.chat-mockup {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #E5E7EB;
}

.chat-header {
  background: #F8FAFC;
  color: #0B2E3A;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-bottom: 1px solid #E5E7EB;
}

.status {
  color: #0F3D4C;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
  background: #F8FAFC;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message.received {
  align-self: flex-start;
}

.message.sent {
  align-self: flex-end;
}

.bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.received .bubble {
  background: #ffffff;
  color: #0B2E3A;
  border-bottom-left-radius: 4px;
  border: 1px solid #E5E7EB;
}

.sent .bubble {
  background: rgba(15, 61, 76, 0.08);
  color: #0B2E3A;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(15, 61, 76, 0.15);
}

.time {
  font-size: 0.7rem;
  color: #475569;
  margin-top: 0.25rem;
  align-self: flex-end;
}

.chat-input {
  padding: 1rem 1.5rem;
  background: #F8FAFC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  border-top: 1px solid #E5E7EB;
}

.send-btn {
  color: #0F3D4C;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.send-btn:hover {
  transform: scale(1.1);
}

.floating-card {
  position: absolute;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #0B2E3A;
  border: 1px solid #E5E7EB;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  animation: float 4s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -20px;
  animation-delay: 2s;
}

/* ── AI Assistant Card (shared between Hero and HowSection) ── */
.ai-assistant-card {
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ai-assistant-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ai-assistant-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 61, 76, 0.08);
  border: 1px solid rgba(15, 61, 76, 0.12);
  font-size: 1.05rem;
  overflow: hidden;
}

.ai-assistant-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-assistant-head strong {
  display: block;
  color: #0B2E3A;
  font-size: 0.98rem;
}

.ai-assistant-head small {
  color: #475569;
  font-size: 0.75rem;
}

.ai-summary-box,
.ai-next-step {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.7rem;
}

.ai-summary-box h4,
.ai-next-step h4 {
  margin: 0 0 0.5rem;
  color: #0F3D4C;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

.ai-summary-box ul {
  margin: 0;
  padding-left: 1rem;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.35;
}

.ai-summary-box li + li {
  margin-top: 0.35rem;
}

.ai-next-step p {
  margin: 0;
  color: #475569;
  font-size: 0.79rem;
  line-height: 1.35;
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-tags span {
  background: rgba(15, 61, 76, 0.07);
  border: 1px solid rgba(15, 61, 76, 0.14);
  color: #0F3D4C;
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  font-size: 0.7rem;
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}
