/* ==========================================================================
   TAXI ĐÀ LẠT SÂN BAY - MODERN DISTINCT STYLE
   Phong cách hiện đại, kính mờ sang trọng (Luxury Glass & Gloss), tối ưu Google Ads
   ========================================================================== */

/* Google Icon Font */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

html {
  scroll-behavior: smooth;
}

/* Nền Vignette phong cách điện ảnh Đà Lạt */
.bg-vignette {
  background: radial-gradient(circle at 50% 45%, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.65) 100%);
}

/* Card kính sứ cao cấp (Porcelain Frosted Glass) */
.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Nút gọi chính phong cách Gradient Đỏ Ruby nổi khối 3D */
.btn-call-luxury {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  box-shadow: 
    0 12px 28px -6px rgba(220, 38, 38, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-call-luxury:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  box-shadow: 
    0 16px 32px -4px rgba(220, 38, 38, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transform: translateY(-2px);
}

.btn-call-luxury:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 16px -2px rgba(220, 38, 38, 0.5);
}

/* Ánh sáng quét qua nút gọi (Shimmer) */
.btn-call-luxury::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shimmerLight 4s infinite ease-in-out;
}

@keyframes shimmerLight {
  0% { left: -70%; }
  30%, 100% { left: 160%; }
}

/* Nút Zalo Gradient Xanh Công Nghệ */
.btn-zalo-luxury {
  background: linear-gradient(135deg, #0084ff 0%, #0066f5 100%);
  box-shadow: 
    0 10px 22px -5px rgba(0, 102, 245, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-zalo-luxury:hover {
  background: linear-gradient(135deg, #1a90ff 0%, #0073ff 100%);
  box-shadow: 
    0 14px 26px -4px rgba(0, 102, 245, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transform: translateY(-2px);
}

.btn-zalo-luxury:active {
  transform: translateY(1px) scale(0.98);
}

/* Hiệu ứng rung lắc chuông điện thoại */
@keyframes call-wiggle {
  0%, 100% { transform: rotate(0deg); }
  12%, 32% { transform: rotate(-16deg); }
  22%, 42% { transform: rotate(16deg); }
  52% { transform: rotate(0deg); }
}

.animate-wiggle {
  animation: call-wiggle 3s infinite ease-in-out;
}

/* Hiệu ứng sóng radar cho nút gọi nổi bên trái */
@keyframes pulse-call-radar {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.8), 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  65% {
    box-shadow: 0 0 0 16px rgba(220, 38, 38, 0), 0 0 0 28px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0), 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.pulse-call-btn {
  animation: pulse-call-radar 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chấm xanh nhấp nháy báo sẵn sàng xe 24/7 */
@keyframes dot-ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.ping-dot {
  animation: dot-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Gradient chữ */
.gradient-text-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Policy Modal (Google Ads Compliance) */
.policy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.policy-modal.active {
  display: flex !important;
  animation: modalFadeIn 0.22s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.policy-modal-box {
  background: #ffffff;
  border-radius: 1.25rem;
  max-width: 32rem;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.policy-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.policy-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.policy-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #334155;
}

.policy-modal-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.policy-modal-body h4:first-child {
  margin-top: 0;
}

.policy-modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  list-style-type: disc;
}

.policy-modal-body li {
  margin-bottom: 0.35rem;
}

.policy-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
  background: #f8fafc;
}
