/* Premium Home snippets (Timeline + Stats) */

/* ========== PREMIUM TIMELINE (Your Trip in 5 Steps) ========== */
.premium-timeline .particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.premium-timeline .particles-canvas {
  width: 100%;
  height: 100%;
}

@keyframes onltripTlFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes onltripTlFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes onltripTlFadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes onltripTlPulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

@keyframes onltripTlLineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes onltripTlShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes onltripTlPopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes onltripTlPopOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
}

@keyframes onltripTlMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.premium-timeline .animate-fade-up {
  animation: onltripTlFadeInUp 0.6s ease forwards;
}

.premium-timeline .animate-fade-left {
  animation: onltripTlFadeInLeft 0.6s ease forwards;
}

.premium-timeline .animate-fade-right {
  animation: onltripTlFadeInRight 0.6s ease forwards;
}

.premium-timeline .delay-1 {
  animation-delay: 0.1s;
}

.premium-timeline .delay-2 {
  animation-delay: 0.2s;
}

.premium-timeline .delay-3 {
  animation-delay: 0.3s;
}

.premium-timeline .delay-4 {
  animation-delay: 0.4s;
}

.premium-timeline .delay-5 {
  animation-delay: 0.5s;
}

.premium-timeline .animate-on-scroll {
  opacity: 1;
}

.premium-timeline .animate-on-scroll.visible {
  opacity: 1;
}

.premium-timeline .step {
  display: flex;
  gap: 14px;
  position: relative;
  transition: transform 0.3s ease;
}

.premium-timeline .step:hover {
  transform: translateX(4px);
}

.premium-timeline .step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  transform-origin: top;
  animation: onltripTlLineGrow 0.5s ease forwards;
}

.premium-timeline .step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.premium-timeline .step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.premium-timeline .step-content {
  flex: 1;
  padding-bottom: 18px;
}

.premium-timeline .step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.premium-timeline .step:hover .step-title {
  color: #fb923c;
}

.premium-timeline .step-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.premium-timeline .step-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.premium-timeline .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.premium-timeline .step:hover .tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.premium-timeline .step.final .step-content {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(236, 72, 153, 0.05));
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  padding: 12px;
  margin-top: -4px;
}

.premium-timeline .step.final:hover .step-content {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(236, 72, 153, 0.1));
  border-color: rgba(249, 115, 22, 0.4);
}

.premium-timeline .step.final .tag {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

.premium-timeline .cal-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.premium-timeline .cal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.premium-timeline .cal-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.premium-timeline .cal-title-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.premium-timeline .cal-title-badge {
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 10px;
  font-weight: 600;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 4px;
}

.premium-timeline .cal-title-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: onltripTlPulseDot 2s infinite;
}

.premium-timeline .mini-cal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.premium-timeline .mini-cal:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.premium-timeline .cal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-timeline .cal-month {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: all 0.15s ease;
}

.premium-timeline .cal-nav {
  display: flex;
  gap: 4px;
}

.premium-timeline .cal-nav button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.premium-timeline .cal-nav button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.1);
}

.premium-timeline .days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.premium-timeline .day-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  padding: 4px 0;
}

.premium-timeline .day {
  aspect-ratio: 1;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.premium-timeline .day:hover:not(.empty):not(.selected) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: scale(1.1);
}

.premium-timeline .day.selected {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 700;
}

.premium-timeline .day.has-tour::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: onltripTlPulseDot 2s ease-in-out infinite;
}

.premium-timeline .day.has-tour:hover::after {
  animation: none;
  transform: scale(1.2);
}

.premium-timeline .day.empty {
  cursor: default;
}

.premium-timeline .tour-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(calc(-50% + var(--onltrip-tl-shift-x, 0px)));
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  min-width: 220px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: onltripTlPopIn 0.2s ease forwards;
}

.premium-timeline .tour-popup.closing {
  animation: onltripTlPopOut 0.15s ease forwards;
}

.premium-timeline .tour-popup::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #1e293b;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.premium-timeline .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.premium-timeline .popup-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.premium-timeline .popup-close {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.premium-timeline .popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.premium-timeline .popup-tour {
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-timeline .popup-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.premium-timeline .popup-info {
  flex: 1;
  min-width: 0;
}

.premium-timeline .popup-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.premium-timeline .popup-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.premium-timeline .popup-price {
  color: #22c55e;
  font-weight: 600;
}

.premium-timeline .popup-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.premium-timeline .popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.premium-timeline .upcoming-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.premium-timeline .upcoming-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: onltripTlPulseDot 2s infinite;
}

.premium-timeline .upcoming-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}

.premium-timeline .upcoming-scroll {
  display: inline-block;
  animation: onltripTlMarquee 20s linear infinite;
}

.premium-timeline .upcoming-scroll:hover {
  animation-play-state: paused;
}

.premium-timeline .tour-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  cursor: pointer;
}

.premium-timeline .tour-item:hover {
  color: #fb923c;
}

.premium-timeline .tour-item strong {
  color: #fff;
  font-weight: 600;
}

.premium-timeline .book-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.premium-timeline .book-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: onltripTlShimmer 2.5s infinite;
}

.premium-timeline .book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

@media (min-width: 1024px) {
  .premium-timeline .step {
    gap: 14px;
  }

  .premium-timeline .step:not(:last-child)::after {
    left: 18px;
    top: 40px;
  }

  .premium-timeline .step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }

  .premium-timeline .step-content {
    padding-bottom: 18px;
  }

  .premium-timeline .step-title {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .premium-timeline .step-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .premium-timeline .step-tags {
    gap: 8px;
    margin-top: 10px;
  }

  .premium-timeline .tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    gap: 6px;
  }

  .premium-timeline .cal-title-text {
    font-size: 16px;
  }

  .premium-timeline .mini-cal {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .premium-timeline .main-grid {
    grid-template-columns: 1fr !important;
  }
  .premium-timeline .cal-wrapper {
    order: -1;
    margin-bottom: 24px;
  }
  .premium-timeline .tour-popup {
    min-width: 160px;
  }
}

/* ========== PREMIUM STATS (Numbers That Speak) ========== */
.premium-stats.stats-section {
  background: #111827;
  position: relative;
  overflow: hidden;
}

.premium-stats .sparkles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.premium-stats .sparkles-canvas {
  width: 100%;
  height: 100%;
}

@keyframes onltripStFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes onltripStFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.premium-stats .animate-fade-up {
  animation: onltripStFadeInUp 0.5s ease forwards;
}

.premium-stats .animate-fade-scale {
  animation: onltripStFadeInScale 0.4s ease forwards;
}

.premium-stats .delay-1 {
  animation-delay: 0.05s;
}
.premium-stats .delay-2 {
  animation-delay: 0.1s;
}
.premium-stats .delay-3 {
  animation-delay: 0.15s;
}
.premium-stats .delay-4 {
  animation-delay: 0.2s;
}
.premium-stats .delay-5 {
  animation-delay: 0.25s;
}
.premium-stats .delay-6 {
  animation-delay: 0.3s;
}

.premium-stats .animate-on-scroll {
  opacity: 1;
}
.premium-stats .animate-on-scroll.visible {
  opacity: 1;
}

.premium-stats .stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.premium-stats .stat-card::after {
  content: none;
}

.premium-stats .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color, #f97316), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.premium-stats .stat-card:hover::before {
  opacity: 1;
}

.premium-stats .stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.premium-stats .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
}

.premium-stats .stat-card:hover .stat-icon {
  transform: scale(1.1);
}

.premium-stats .stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-stats .stat-number .suffix {
  font-size: 1.25rem;
  opacity: 0.8;
}

.premium-stats .stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-stats .stat-card.featured {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(236, 72, 153, 0.06));
  border-color: rgba(249, 115, 22, 0.2);
}

.premium-stats .stat-card.featured:hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.premium-stats .stat-card.featured .stat-number {
  background: linear-gradient(135deg, #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.premium-stats .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.premium-stats .trust-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.premium-stats .trust-avatars {
  display: flex;
}

.premium-stats .trust-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #1f2937;
  margin-left: -10px;
  transition: all 0.2s;
  object-fit: cover;
}

.premium-stats .trust-avatars img:first-child {
  margin-left: 0;
}

.premium-stats .trust-avatars img:hover {
  transform: scale(1.15) translateY(-2px);
  z-index: 10;
  border-color: #f97316;
}

.premium-stats .trust-text {
  text-align: left;
}

.premium-stats .trust-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.premium-stats .trust-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .premium-stats .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .premium-stats .stat-card {
    padding: 16px 12px;
  }
  .premium-stats .stat-number {
    font-size: 1.5rem;
  }
  .premium-stats .stat-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }
  .premium-stats .stat-label {
    font-size: 9px;
  }
  .premium-stats .trust-avatars img {
    width: 24px;
    height: 24px;
  }
  .premium-stats .trust-title {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .premium-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .premium-stats .stat-card.featured {
    grid-column: span 2;
  }
}
