/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f59e0b;
  --bg: #0f172a;
  --bg-light: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-login {
  background: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-login:hover {
  background: var(--primary-dark);
}

.user-badge {
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-light);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.destination-card {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.destination-card:hover {
  transform: translateY(-8px);
}

.destination-card.offset {
  position: absolute;
  top: 120px;
  left: 60px;
  z-index: -1;
  opacity: 0.8;
  transform: scale(0.9);
}

.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.card-image.tokyo {
  background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.card-image.paris {
  background: linear-gradient(135deg, #5f27cd, #00d2d3);
}

.card-content {
  padding: 1.25rem;
}

.card-badge {
  display: inline-block;
  background: var(--secondary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Destinations */
.destinations {
  padding: 6rem 2rem;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1.5rem;
}

.dest-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.dest-card.large {
  grid-row: span 2;
}

.dest-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.dest-card:hover .dest-image {
  transform: scale(1.1);
}

.dest-image.bali {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.dest-image.newyork {
  background: linear-gradient(135deg, #232526, #414345);
}

.dest-image.santorini {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.dest-image.dubai {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.dest-image.swiss {
  background: linear-gradient(135deg, #4ca1af, #c4e0e5);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.dest-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.dest-overlay p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* CTA */
.cta {
  padding: 6rem 2rem;
  background: var(--gradient);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white;
  color: var(--primary-dark);
}

.cta .btn-primary:hover {
  background: #f1f5f9;
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--bg-light);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
  display: inline;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .dest-card.large {
    grid-row: span 1;
  }
  
  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn-login) {
    display: none;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .dest-card {
    height: 200px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}
