/* ===== CSS Variables ===== */
:root {
  --primary: #e85d75;
  --primary-dark: #d64a63;
  --primary-light: #f09eae;
  --secondary: #f59e0b;
  --accent: #10b981;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #e85d75 0%, #f09eae 50%, #ff6b9d 100%);
  --gradient-2: linear-gradient(135deg, #ff6b9d 0%, #e85d75 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 93, 117, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 117, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-nav {
  padding: 0.625rem 1.5rem;
  background: var(--gradient-1);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(232, 93, 117, 0.3);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 93, 117, 0.4);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-1);
  color: var(--white);
  border-radius: var(--radius-sm);
  margin-right: 0.25rem;
  font-weight: 700;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.5rem;
}

.social-icons a {
  color: var(--gray-600);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.mobile-menu .social-icons {
  margin-left: 0;
  margin-top: 1.5rem;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(232, 93, 117, 0.3);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(240, 158, 174, 0.3);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 157, 0.2);
  top: 50%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 540px;
}

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

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

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

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.stat-divider {
  width: 1px;
  background: var(--gray-200);
}

/* ===== Phone Mockup ===== */
.hero-visual {
  position: relative;
  z-index: 1;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone-frame {
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.phone-screen {
  background: var(--white);
  border-radius: 32px;
  padding: 1.5rem;
  min-height: 500px;
  overflow: hidden;
}

.app-header {
  margin-bottom: 1.5rem;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.trip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  animation: slideInCard 0.6s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.trip-card-1 { animation-delay: 0.5s; }
.trip-card-2 { animation-delay: 0.7s; }
.trip-card-3 { animation-delay: 0.9s; }

@keyframes slideInCard {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.trip-emoji {
  font-size: 2rem;
}

.trip-info {
  flex: 1;
}

.trip-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.trip-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.trip-members {
  display: flex;
}

.trip-members .member {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid var(--white);
}

.trip-members .member:first-child { margin-left: 0; }
.trip-members .member:nth-child(1) { background: #f87171; }
.trip-members .member:nth-child(2) { background: #60a5fa; }
.trip-members .member:nth-child(3) { background: #34d399; }
.trip-members .member:nth-child(4) { background: #fbbf24; }

/* ===== Floating Cards ===== */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
}

.floating-icon {
  font-size: 1.25rem;
}

.floating-card-1 {
  top: 15%;
  right: -10%;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card-2 {
  bottom: 35%;
  left: -15%;
  animation: floatCard 5s ease-in-out infinite 1s;
}

.floating-card-3 {
  bottom: 10%;
  right: 5%;
  animation: floatCard 4.5s ease-in-out infinite 0.5s;
}

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

/* ===== Animations ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Styles ===== */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(232, 93, 117, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gradient-1);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== How It Works Section ===== */
.how-it-works {
  background: var(--gray-50);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-600);
}

.step-visual {
  min-width: 200px;
}

.step-mockup {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.mockup-item {
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.mockup-item:last-child {
  margin-bottom: 0;
}

.mockup-item.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
}

.step-connector {
  width: 2px;
  height: 40px;
  background: var(--gradient-1);
  margin: 0 auto;
}

/* ===== Social Proof Section ===== */
.social-proof {
  background: var(--white);
  padding: 5rem 0;
}

.proof-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-icon {
  font-size: 6rem;
  line-height: 1;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 1.5rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--gray-900);
}

.author-rating {
  font-size: 0.875rem;
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  background: var(--gradient-1);
  overflow: hidden;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text {
  color: var(--white);
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.cta-visual {
  display: flex;
  justify-content: center;
}

.cta-phone {
  width: 200px;
  height: 350px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-screen {
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cta-app-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  color: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-app-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cta-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer .social-links {
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  opacity: 1;
  color: var(--white);
  transform: translateY(-1px);
}


.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-column a {
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--white);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-card-1 { right: -5%; }
  .floating-card-2 { left: -5%; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .step-visual {
    min-width: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  .quote-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .phone-frame {
    border-radius: 30px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 24px;
    min-height: 400px;
    padding: 1rem;
  }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== Logo with Image ===== */
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
  object-fit: cover;
}

.footer-brand .logo-img {
  width: 32px;
  height: 32px;
}

/* ===== Active Nav Link ===== */
.nav-links a.active {
  color: var(--primary);
}

/* ===== Destinations Preview Section ===== */
.destinations-preview {
  background: var(--gray-50);
}

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

.destination-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.destination-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.destination-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
}

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

.destination-card-large .destination-overlay h3 {
  font-size: 2rem;
}

/* ===== 3D Globe ===== */
.globe-container {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.05);
}

#globe-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe-canvas:active {
  cursor: grabbing;
}

.globe-tooltip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.globe-tooltip-overlay svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.marker-tooltip {
  position: absolute;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 10px 14px;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(232, 93, 117, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.marker-tooltip:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(232, 93, 117, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.marker-tooltip .tooltip-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.2;
}

.marker-tooltip .tooltip-region {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* CTA Tooltip - South America */
.marker-tooltip.cta-tooltip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marker-tooltip.cta-tooltip:hover {
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marker-tooltip.cta-tooltip .cta-text {
  font-size: 13px;
  color: white;
  font-weight: 500;
}

.marker-tooltip.cta-tooltip .cta-text strong {
  font-weight: 700;
}

.marker-tooltip.cta-tooltip .cta-arrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  font-weight: 500;
}

.globe-tooltip {
  display: none;
}

.globe-instructions {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  z-index: 5;
}

.globe-instructions span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.globe-instructions span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .globe-container {
    height: 450px;
  }

  .globe-instructions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .marker-tooltip {
    font-size: 10px !important;
    padding: 8px 10px !important;
  }

  .marker-tooltip .tooltip-name {
    font-size: 12px;
  }

  .marker-tooltip .tooltip-region {
    font-size: 10px;
  }
}

/* ===== App Showcase Section ===== */
.app-showcase {
  background: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

/* ===== Photo Stack Animation - Scattered on Floor ===== */
.photo-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 4rem;
}

.photo-stack-container {
  position: relative;
  width: 900px;
  height: 420px;
  max-width: 100%;
}

.photo-card {
  position: absolute;
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.3),
    0 5px 15px -5px rgba(0, 0, 0, 0.2);
  background: var(--white);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

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

.photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  z-index: 2;
}

/* Scattered positions - like fallen on floor */
.photo-card-1 {
  z-index: 5;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.photo-card-2 {
  z-index: 4;
  left: 18%;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.photo-card-3 {
  z-index: 3;
  left: 82%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
}

.photo-card-4 {
  z-index: 2;
  left: 32%;
  top: 35%;
  transform: translate(-50%, -50%) rotate(8deg);
}

.photo-card-5 {
  z-index: 1;
  left: 70%;
  top: 60%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

/* Subtle idle animations - like breathing */
.photo-card-1 { animation: scatter1 8s ease-in-out infinite; }
.photo-card-2 { animation: scatter2 9s ease-in-out infinite 0.5s; }
.photo-card-3 { animation: scatter3 7s ease-in-out infinite 1s; }
.photo-card-4 { animation: scatter4 10s ease-in-out infinite 0.3s; }
.photo-card-5 { animation: scatter5 8.5s ease-in-out infinite 0.8s; }

@keyframes scatter1 {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(-50%, -52%) rotate(-1deg); }
}

@keyframes scatter2 {
  0%, 100% { transform: translate(-50%, -50%) rotate(-12deg); }
  50% { transform: translate(-52%, -50%) rotate(-14deg); }
}

@keyframes scatter3 {
  0%, 100% { transform: translate(-50%, -50%) rotate(15deg); }
  50% { transform: translate(-48%, -52%) rotate(13deg); }
}

@keyframes scatter4 {
  0%, 100% { transform: translate(-50%, -50%) rotate(8deg); }
  50% { transform: translate(-50%, -48%) rotate(10deg); }
}

@keyframes scatter5 {
  0%, 100% { transform: translate(-50%, -50%) rotate(-18deg); }
  50% { transform: translate(-52%, -50%) rotate(-16deg); }
}

/* Active card - lift up and straighten */
.photo-card.active {
  z-index: 10 !important;
  transform: translate(-50%, -60%) rotate(0deg) scale(1.15) !important;
  box-shadow:
    0 30px 60px -10px rgba(232, 93, 117, 0.5),
    0 20px 40px -10px rgba(0, 0, 0, 0.3) !important;
  animation: liftUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes liftUp {
  0% { transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(1); }
  40% { transform: translate(-50%, -65%) rotate(0deg) scale(1.18); }
  100% { transform: translate(-50%, -60%) rotate(0deg) scale(1.15); }
}

/* Hover effect - cards lift slightly */
.photo-card:hover:not(.active) {
  z-index: 6;
  transform: translate(-50%, -55%) rotate(0deg) scale(1.08);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.3),
    0 10px 20px -5px rgba(232, 93, 117, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
  .photo-stack-container {
    width: 700px;
    height: 380px;
  }

  .photo-card {
    width: 160px;
    height: 210px;
  }

  .photo-card-2 { left: 15%; }
  .photo-card-3 { left: 85%; }
  .photo-card-4 { left: 30%; }
  .photo-card-5 { left: 72%; }
}

@media (max-width: 768px) {
  .photo-stack-container {
    width: 100%;
    height: 350px;
  }

  .photo-card {
    width: 130px;
    height: 170px;
  }

  .photo-card-1 { left: 50%; top: 50%; }
  .photo-card-2 { left: 20%; top: 55%; }
  .photo-card-3 { left: 80%; top: 45%; }
  .photo-card-4 { left: 35%; top: 35%; }
  .photo-card-5 { left: 68%; top: 65%; }
}

@media (max-width: 480px) {
  .photo-stack {
    padding: 1rem 0 3rem;
  }

  .photo-stack-container {
    height: 300px;
  }

  .photo-card {
    width: 100px;
    height: 130px;
  }

  .photo-card-1 { left: 50%; }
  .photo-card-2 { left: 15%; }
  .photo-card-3 { left: 85%; }
  .photo-card-4 { left: 30%; top: 30%; }
  .photo-card-5 { left: 72%; top: 70%; }
}

/* ===== CTA App Logo ===== */
.cta-app-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* ===== Destinations Page Styles ===== */
.destinations-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.destinations-hero-bg {
  position: absolute;
  inset: 0;
}

.destinations-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destinations-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 93, 117, 0.85) 0%, rgba(255, 107, 157, 0.85) 100%);
}

.destinations-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 700px;
}

.destinations-hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.destinations-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* ===== Destinations Main Section ===== */
.destinations-main {
  padding: 4rem 0 6rem;
  background: var(--white);
}

.destinations-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.filter-btn.active {
  background: var(--gradient-1);
  color: var(--white);
}

/* ===== Destinations Full Grid ===== */
.destinations-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.destination-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.destination-full-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.destination-full-card .destination-image {
  height: 280px;
  overflow: hidden;
}

.destination-full-card .destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-full-card:hover .destination-image img {
  transform: scale(1.05);
}

.destination-full-card .destination-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.destination-region {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(232, 93, 117, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.destination-full-card h3 {
  margin-bottom: 0.75rem;
}

.destination-full-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ===== Responsive Updates ===== */
@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }

  .destination-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .destinations-full-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .destinations-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .destination-card {
    height: 200px;
  }

  .destination-card-large {
    grid-column: span 1;
    height: 250px;
  }

  .destination-full-card {
    grid-template-columns: 1fr;
  }

  .destination-full-card .destination-image {
    height: 200px;
  }

  .destinations-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .destinations-hero {
    min-height: 40vh;
    padding: 6rem 0 3rem;
  }

  .destinations-hero-content h1 {
    font-size: 1.75rem;
  }

  .destinations-hero-content p {
    font-size: 1rem;
  }
}
