/* 2C iTech - Global Styles */

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

body {
  background-color: #0a0f1e;
  color: #fff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  transform: translateY(-2px);
}

/* Cards */
.service-card, .pain-card, .testimonial {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover, .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Chatbot styles */
.chat-bubble-bot {
  background: #1e2a3a;
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
  max-width: 85%;
  line-height: 1.5;
}

.chat-bubble-user {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border-radius: 18px 18px 4px 18px;
  padding: 12px 16px;
  max-width: 85%;
  margin-left: auto;
  line-height: 1.5;
}

.chat-option-btn {
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.3);
  color: #0ea5e9;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  width: 100%;
}
.chat-option-btn:hover {
  background: rgba(14,165,233,0.2);
  border-color: #0ea5e9;
  transform: translateX(4px);
}

/* Typing indicator */
.typing-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0ea5e9;
  animation: typing 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* RDV Calendar */
.slot-btn {
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.slot-btn:hover {
  background: rgba(14,165,233,0.2);
  border-color: #0ea5e9;
  color: #fff;
}
.slot-btn.selected {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.slot-btn.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Day selector */
.day-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  border-radius: 12px;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  font-size: 12px;
}
.day-btn:hover { border-color: #0ea5e9; color: #fff; }
.day-btn.selected {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

/* Progress bar */
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.progress-step.active { color: #0ea5e9; }
.progress-step.done { color: #22c55e; }
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #334155;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.progress-step.active .step-dot { border-color: #0ea5e9; color: #0ea5e9; }
.progress-step.done .step-dot { background: #22c55e; border-color: #22c55e; color: #fff; }

/* Paiement card */
.payment-card {
  background: #111827;
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px;
}
.payment-card.featured {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 0 40px rgba(14,165,233,0.08);
}

/* Input styles */
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  font-size: 15px;
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus { border-color: #0ea5e9; }
.form-input::placeholder { color: #475569; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.4s ease forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* Mobile */
@media (max-width: 640px) {
  h1 { font-size: 2.5rem !important; }
  .hero-btns { flex-direction: column; }
}
