/* Base styles */
:root {
  --primary-color: #4f46e5;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --background-color: #f8fafc;
  --card-color: rgba(255, 255, 255, 0.8);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-radius: 16px;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 移除所有链接的下划线 */
a {
  text-decoration: none;
}

body {
  background: var(--background-color);
  color: var(--text-primary);
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card styles */
.card {
  background: var(--card-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button styles */
.btn {
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

/* Animation for click effect */
.btn span.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  width: 10px;
  height: 10px;
  animation: particle 0.8s linear forwards;
}

@keyframes particle {
  0% {
    opacity: 0.8;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(10);
  }
}

/* Container for app frame */
.app-container {
  width: 375px;
  height: 812px;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background-color: var(--background-color);
}

.app-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 44px; /* For status bar */
  padding-bottom: 83px; /* For navbar */
}

.app-content::-webkit-scrollbar {
  display: none;
}

/* Status bar styles */
.status-bar {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 375px;
  height: 44px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Navigation bar styles */
.nav-bar {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  width: 375px;
  height: 83px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px 20px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 12px;
  transition: all 0.3s ease;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item i {
  font-size: 24px;
  margin-bottom: 5px;
}

/* Section styles */
.section {
  padding: 15px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Destination card styles */
.destination-card {
  height: 200px;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
}

.destination-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

/* Trip card styles */
.trip-card {
  display: flex;
  padding: 15px;
  margin-bottom: 15px;
}

.trip-card img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.trip-details {
  flex: 1;
  padding-left: 15px;
}

.trip-details h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.trip-date {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 5px;
}

.trip-stats {
  display: flex;
  gap: 10px;
}

.trip-stat {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.trip-stat i {
  margin-right: 5px;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background-color: var(--primary-color);
  color: white;
}

.badge-warning {
  background-color: #fbbf24;
  color: white;
}

/* For iPhone notch */
.notch {
  position: absolute;
  width: 50%;
  height: 30px;
  top: 0;
  left: 25%;
  background-color: #000;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  z-index: 1001;
}

/* Slide transition */
.slide-fade-enter {
  opacity: 0;
  transform: translateX(20px);
}

.slide-fade-enter-active {
  transition: all 0.3s ease-out;
}

/* Loading animation */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.loading span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  margin: 0 5px;
  animation: loading 1.4s ease-in-out infinite;
}

.loading span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loading {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Weather widget */
.weather-widget {
  display: flex;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: var(--border-radius);
  color: white;
  margin-bottom: 20px;
}

.weather-icon {
  font-size: 40px;
  margin-right: 15px;
}

.weather-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.weather-info p {
  font-size: 14px;
  opacity: 0.9;
}

/* Floating action button */
.fab {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.fab:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
} 