/* ==============================================================================
   KineSuite — Marketing Tool: Rappels WhatsApp Cabinet Kiné
   Style aligned with KineSuite Design System & WhatsApp Brand Elements
   ============================================================================== */

:root {
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --wa-teal-dark: #075E54;
  --wa-chat-bg: #EFEAE2;
  --wa-bubble-out: #E7FFDB;
  --tool-surface: #ffffff;
  --tool-bg-alt: #f8fafc;
  --tool-border: #e2e8f0;
  --tool-text: #0f172a;
  --tool-text-muted: #64748b;
  --tool-radius: 16px;
  --tool-shadow: 0 10px 25px -5px rgba(18, 140, 126, 0.08), 0 8px 10px -6px rgba(18, 140, 126, 0.04);
  --tool-shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.wa-hero {
  position: relative;
  background: linear-gradient(135deg, #075E54 0%, #128C7E 65%, #25D366 100%);
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.wa-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.wa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #e6fffa;
  margin-bottom: 1.25rem;
}

.wa-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.wa-hero-title .highlight {
  color: #bbf7d0;
}

.wa-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0fdf4;
  max-width: 680px;
  margin-bottom: 2rem;
}

.wa-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-chrome-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #075E54;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-chrome-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: #128C7E;
}

.wa-hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #dcfce7;
}

.wa-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Interactive WhatsApp Simulator ──────────────────────────────────────── */
.wa-simulator-section {
  padding: 4rem 0 5rem;
  background: #f8fafc;
}

.wa-simulator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .wa-simulator-grid {
    grid-template-columns: 1fr;
  }
}

/* Controls Box */
.wa-controls-card {
  background: #ffffff;
  border: 1px solid var(--tool-border);
  border-radius: var(--tool-radius);
  padding: 2.25rem;
  box-shadow: var(--tool-shadow-lg);
}

.wa-controls-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tool-text);
  margin-bottom: 0.4rem;
}

.wa-controls-desc {
  font-size: 0.9rem;
  color: var(--tool-text-muted);
  margin-bottom: 1.5rem;
}

.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-label-custom {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--tool-text);
  margin-bottom: 0.4rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--tool-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--tool-text);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--wa-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

/* Template Selector Buttons */
.wa-template-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.wa-tpl-btn {
  padding: 0.55rem 0.85rem;
  background: #f1f5f9;
  border: 1px solid var(--tool-border);
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--tool-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.wa-tpl-btn:hover {
  background: #e2e8f0;
}

.wa-tpl-btn.active {
  background: #075E54;
  color: #ffffff;
  border-color: #075E54;
  font-weight: 600;
}

/* ── Realistic Smartphone WhatsApp Mockup ────────────────────────────────── */
.phone-mockup-wrapper {
  background: #ffffff;
  border: 1px solid var(--tool-border);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--tool-shadow-lg);
  max-width: 420px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--wa-chat-bg);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.phone-wa-header {
  background: #075E54;
  color: #ffffff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-wa-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128C7E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
}

.phone-wa-name {
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.2;
}

.phone-wa-status {
  font-size: 0.725rem;
  color: #bbf7d0;
}

.phone-wa-body {
  flex: 1;
  padding: 1.25rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 0);
  background-size: 16px 16px;
}

.phone-date-pill {
  align-self: center;
  background: #ffffff;
  color: #64748b;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.phone-chat-bubble {
  align-self: flex-end;
  background: var(--wa-bubble-out);
  color: #111827;
  padding: 0.75rem 0.9rem;
  border-radius: 10px 0 10px 10px;
  max-width: 88%;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  word-break: break-word;
}

.bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.675rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.bubble-meta .check-double {
  color: #3b82f6; /* WhatsApp Blue Read Check */
  font-size: 0.75rem;
}

.phone-wa-footer {
  background: #f0f2f5;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-send-wa-demo {
  flex: 1;
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-send-wa-demo:hover {
  background: #1eb956;
  color: #ffffff;
}

/* ── Features Grid ───────────────────────────────────────────────────────── */
.wa-features-section {
  padding: 5rem 0;
  background: #ffffff;
}

.wa-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.wa-feature-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--tool-border);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.wa-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tool-shadow);
  border-color: #cbd5e1;
}

.wa-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* ── Bridge Section (Upsell to KineSuite) ─────────────────────────────────── */
.wa-bridge-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
  color: #ffffff;
}

.wa-bridge-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 991px) {
  .wa-bridge-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.btn-wa-bridge-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #065f46;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-wa-bridge-cta:hover {
  transform: translateY(-2px);
  background: #f0fdf4;
  color: #047857;
}
