/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; font-weight: 600; text-decoration: none;
  border-radius: var(--radius); padding: 16px 36px;
  transition: all 200ms var(--ease-out); cursor: pointer; border: none; font-size: 1.05rem;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.btn:active { transform: scale(0.96); box-shadow: var(--shadow-clay-press); }
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: var(--shadow-clay);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-clay), 0 10px 20px rgba(6, 182, 212, 0.4); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-wa {
  background: var(--wa-green); color: white;
  box-shadow: var(--shadow-clay);
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── BADGES & LABELS ─── */
.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: max-content;
}

.section-label {
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 12px; display: block;
}

/* ─── SERVICE CARDS ─── */
.service-card {
  background: var(--bg-color);
  box-shadow: var(--shadow-neu);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 200ms var(--spring), box-shadow 200ms var(--spring);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 16px 16px 32px rgba(180, 190, 205, 0.5), -16px -16px 32px rgba(255, 255, 255, 0.9);
}
.service-card:hover .card-icon {
  transform: rotate(15deg) scale(1.1);
}
.card-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  transition: transform 200ms var(--spring);
  color: var(--accent);
}

/* ─── PRICING CARDS ─── */
.pricing-card {
  background: var(--bg-color);
  box-shadow: var(--shadow-neu);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  box-shadow: var(--shadow-clay);
  transform: scale(1.04);
  background: var(--accent-light);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: 4px 20px; border-radius: 100px; font-size: 0.8rem; font-weight: 700;
}
.price-strike {
  text-decoration: line-through; color: var(--text-muted);
  font-size: 1rem; margin-bottom: 4px; font-weight: 600;
}
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.price-note { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.feature-list { list-style: none; margin: 24px 0; flex-grow: 1; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; font-size: 0.95rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ─── PORTFOLIO CARDS ─── */
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-color);
  box-shadow: var(--shadow-neu);
  transform-style: preserve-3d;
  transition: box-shadow 200ms ease;
  cursor: pointer;
  position: relative;
}
.metric-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: white;
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.portfolio-mockup {
  height: 220px; background: linear-gradient(135deg, #667eea, #764ba2);
  position: relative; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: var(--font-display);
}
.portfolio-meta { padding: 24px; }
.portfolio-meta h3 { margin-bottom: 8px; }

/* ─── TESTIMONIAL CARDS ─── */
.testimonial-card {
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-neu);
  height: 100%;
}
.testimonial-card blockquote { font-size: 1.1rem; font-weight: 500; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1rem;
}
.stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; }

/* ─── CAROUSEL ─── */
.carousel-wrap { overflow: hidden; position: relative; padding-bottom: 40px; }
.carousel-track { display: flex; transition: transform 500ms var(--ease-out); }
.carousel-track > div { flex: 0 0 100%; min-width: 100%; padding: 0 16px; }
@media(min-width:768px) { .carousel-track > div { flex: 0 0 50%; min-width: 50%; } }
@media(min-width:1024px) { .carousel-track > div { flex: 0 0 33.333%; min-width: 33.333%; } }
.carousel-dots { display: flex; justify-content: center; gap: 8px; position: absolute; bottom: 0; width: 100%; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: background 200ms; }
.carousel-dot.active { background: var(--accent); }

/* ─── CHATBOT MOCKUP ─── */
.chatbot-ui {
  background: var(--bg-color);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-neu); max-width: 400px; margin: 0 auto;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wa-green); animation: pulse-dot 2s ease-in-out infinite;
}
.msg-bubble {
  padding: 12px 16px; border-radius: 16px;
  font-size: 0.9rem; margin: 12px 0; max-width: 85%;
}
.msg-in  { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg-out { background: var(--accent); color: white; margin-left: auto; border-bottom-right-radius: 4px; }
.typing-indicator span {
  display: inline-block; width: 6px; height: 6px; margin: 0 2px;
  border-radius: 50%; background: var(--text-muted);
  animation: typing 1.2s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* ─── PILLS ─── */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { background: var(--bg-color); box-shadow: var(--shadow-neu-sm); padding: 8px 20px; border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }

/* ─── STICKY BAR & FAB ─── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--bg-color);
  box-shadow: 0 -8px 24px rgba(180, 190, 205, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 14px 24px; display: flex; align-items: center;
  justify-content: space-between;
  transform: translateY(120%);
  transition: transform 300ms var(--ease-out);
}
.sticky-bar.visible { transform: translateY(0); }

.wa-fab {
  position: fixed; bottom: 80px; right: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer;
  box-shadow: var(--shadow-clay);
}
.wa-fab::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--wa-green);
  animation: wa-ring 2s ease-out infinite; z-index: -1;
}
.wa-fab .tooltip {
  position: absolute; right: 68px;
  background: var(--text); color: white;
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 150ms ease;
}
.wa-fab:hover .tooltip { opacity: 1; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.visible { animation: reveal-in 500ms var(--ease-out) forwards; }

/* ─── URGENCY & TRUST ─── */
.urgency-section {
  background: var(--bg-color);
  box-shadow: inset 0 8px 16px rgba(180,190,205,0.4), inset 0 -8px 16px rgba(255,255,255,0.9);
  text-align: center; padding: clamp(64px, 8vw, 100px) 24px;
  position: relative;
}
.urgency-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--danger);
  margin-right: 8px; animation: blink 1s ease-in-out alternate infinite;
}
.pain-card {
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 28px; border-left: 6px solid var(--danger);
  box-shadow: var(--shadow-neu); font-weight: 500; font-size: 1.05rem;
}
.trust-strip { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: 0.9rem; }
.avatars { display: flex; }
.avatars .av { 
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.8rem; border: 2px solid white;
  margin-left: -10px;
}
.avatars .av:first-child { margin-left: 0; }
.trust-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; opacity: 0.8; }
.trust-label { text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); }
.bridge-text { text-align: center; margin: 40px auto 24px; font-weight: 600; font-size: 1.1rem; max-width: 600px; color: var(--text); }
