/* public/css/style.css — Yavelo */

.hero-banner {
  background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-banner::after {
  content: "";
  position: absolute;
  right: 10%; top: 20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  background: linear-gradient(135deg, rgba(10, 61, 42, 0.4), rgba(20, 107, 66, 0.2));
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.section-heading { position: relative; display: inline-block; }
.section-heading::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: #198754;
}

.steps-wrap { position: relative; }
.steps-wrap::before {
  content: "";
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: #D1E7DD;
  z-index: 0;
}
@media (max-width: 980px) {
  .steps-wrap::before { display: none; }
}
.step-circle {
  width: 56px; height: 56px;
  background: #198754;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
  border: 4px solid #F5F7FA;
  position: relative;
  z-index: 1;
}

.shield-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #E8F5EE 0%, transparent 70%);
  border-radius: 50%;
}
.shield-icon {
  width: 160px;
  height: 180px;
  background: linear-gradient(135deg, #198754, #0F5132);
  color: #fff;
  clip-path: polygon(50% 0%, 100% 15%, 100% 60%, 50% 100%, 0% 60%, 0% 15%);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: #198754;
  border-radius: 50%;
}
.orbit-dot.d1 { top: 20%; left: 10%; }
.orbit-dot.d2 { top: 30%; right: 10%; background: #D9271E; }
.orbit-dot.d3 { bottom: 25%; right: 15%; }

.cta-section {
  background: linear-gradient(135deg, #D4F0DE 0%, #B8E5CB 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 135, 84, 0.15), transparent 70%);
  top: -200px; left: -150px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 81, 50, 0.1), transparent 70%);
  bottom: -150px; right: -100px;
}

.btn-cta {
  background: linear-gradient(135deg, #146B42, #20A669);
  box-shadow: 0 6px 20px rgba(25, 135, 84, 0.35);
  transition: all 0.25s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(25, 135, 84, 0.45);
}

.faq-item { cursor: pointer; transition: all 0.2s; }
.faq-item:hover { border-color: #D1E7DD !important; }
.faq-q .chev { transition: transform 0.25s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }

.number-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s;
  border: 1px solid transparent;
  display: block;
}
.number-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.12);
  border-color: #D1E7DD;
}
.new-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #D9271E;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.time-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 11px;
  color: #8892A5;
}

.message-card {
  background: #fff;
  border: 1px solid #E4E8EF;
  border-left: 3px solid #198754;
  border-radius: 10px;
  padding: 20px 22px;
  transition: all 0.2s;
}
.message-card:hover {
  box-shadow: 0 4px 16px rgba(15, 81, 50, 0.08);
  border-left-color: #D9271E;
}
.otp-code {
  display: inline-block;
  background: #E8F5EE;
  color: #0F5132;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2);   opacity: 0;   }
}
.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  border: 1px solid #E4E8EF;
  color: #5A6271;
  transition: all 0.15s;
}
.page-btn:hover { border-color: #198754; color: #198754; }
.page-btn.active { background: #198754; color: #fff; border-color: #198754; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* Admin panel */
.admin-card {
  background: #fff;
  border: 1px solid #E4E8EF;
  border-radius: 10px;
  padding: 20px;
}
.admin-stat {
  background: #fff;
  border: 1px solid #E4E8EF;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.admin-stat .big {
  font-size: 32px;
  font-weight: 700;
  color: #0F5132;
  line-height: 1;
}
.admin-stat .label {
  font-size: 12px;
  color: #8892A5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
