/* Goreto Travel App Design System */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Brand Colors - Inspired by Nepal's Mountains & Nature */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 15%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 15%, 15%);
  
  /* Primary - Mountain Green */
  --primary: hsl(160, 45%, 25%);
  --primary-foreground: hsl(0, 0%, 98%);
  --primary-light: hsl(160, 35%, 45%);
  --primary-glow: hsl(160, 55%, 65%);
  
  /* Secondary - Sky Blue */
  --secondary: hsl(200, 85%, 96%);
  --secondary-foreground: hsl(160, 45%, 25%);
  
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  
  /* Accent - Sunrise Orange */
  --accent: hsl(25, 95%, 53%);
  --accent-foreground: hsl(0, 0%, 98%);
  --accent-light: hsl(25, 85%, 65%);
  
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 98%);
  
  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --ring: hsl(160, 45%, 25%);
  
  --radius: 0.75rem;
  
  /* Custom Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(200, 100%, 96%) 0%, hsl(160, 45%, 96%) 100%);
  --gradient-mountain: linear-gradient(135deg, hsl(160, 45%, 25%) 0%, hsl(160, 35%, 15%) 100%);
  --gradient-sky: linear-gradient(180deg, hsl(200, 85%, 96%) 0%, hsl(0, 0%, 100%) 100%);
  --gradient-feature: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(160, 25%, 98%) 100%);
  
  /* Shadows */
  --shadow-soft: 0 4px 6px -1px hsla(160, 45%, 25%, 0.1), 0 2px 4px -1px hsla(160, 45%, 25%, 0.06);
  --shadow-mountain: 0 20px 25px -5px hsla(160, 45%, 25%, 0.1), 0 10px 10px -5px hsla(160, 45%, 25%, 0.04);
  --shadow-glow: 0 0 40px hsla(160, 55%, 65%, 0.3);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(214, 32%, 91%, 0.5);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--gradient-mountain);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-mountain);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
}

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

.btn-hero {
  background: var(--gradient-mountain);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

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

.btn-outline {
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--foreground);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
}

.btn-outline:hover {
  background: hsla(0, 0%, 100%, 0.2);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.group:hover .download-icon {
  animation: bounce 0.5s ease-in-out;
}

.group:hover .play-icon {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.5;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('src/assets/hero-mountains.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  color: #fbbf24;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
}

.rating-text {
  color: var(--muted-foreground);
}

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

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title-gradient {
  display: block;
  background: var(--gradient-mountain);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.feature-dot.green {
  background-color: #10b981;
}

.feature-dot.blue {
  background-color: #3b82f6;
}

.feature-dot.orange {
  background-color: #f59e0b;
}

/* App Preview */
.hero-app {
  position: relative;
  margin: 0 auto;
  width: 20rem;
}

@media (min-width: 1024px) {
  .hero-app {
    width: 24rem;
  }
}

.app-preview {
  position: relative;
}

.app-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-mountain);
  border-radius: 1.5rem;
  filter: blur(2rem);
  opacity: 0.2;
  animation: glow 3s ease-in-out infinite alternate;
}

.app-image {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-mountain);
}

.floating-element {
  position: absolute;
  background: var(--background);
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
  animation: float 3s ease-in-out infinite;
}

.floating-1 {
  top: -1rem;
  left: -1rem;
  animation-delay: 1s;
}

.floating-2 {
  bottom: -1rem;
  right: -1rem;
  animation-delay: 2s;
}

.floating-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.floating-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.floating-dot.green {
  background-color: #10b981;
}

.floating-dot.blue {
  background-color: #3b82f6;
}

/* Features Section */
.features {
  padding: 5rem 0 8rem;
  background: var(--gradient-sky);
}

@media (min-width: 1024px) {
  .features {
    padding: 8rem 0;
  }
}

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

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-mountain);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .features-title {
    font-size: 3.75rem;
  }
}

.features-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--gradient-feature);
  border-radius: var(--radius);
  border: 2px solid;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mountain);
}

.feature-card.blue {
  border-color: hsl(214, 100%, 85%);
  background: linear-gradient(135deg, hsl(214, 100%, 97%) 0%, hsl(214, 100%, 95%) 100%);
}

.feature-card.orange {
  border-color: hsl(25, 100%, 85%);
  background: linear-gradient(135deg, hsl(25, 100%, 97%) 0%, hsl(25, 100%, 95%) 100%);
}

.feature-card.green {
  border-color: hsl(142, 100%, 85%);
  background: linear-gradient(135deg, hsl(142, 100%, 97%) 0%, hsl(142, 100%, 95%) 100%);
}

.feature-card.purple {
  border-color: hsl(258, 100%, 85%);
  background: linear-gradient(135deg, hsl(258, 100%, 97%) 0%, hsl(258, 100%, 95%) 100%);
}

.feature-card.cyan {
  border-color: hsl(188, 100%, 85%);
  background: linear-gradient(135deg, hsl(188, 100%, 97%) 0%, hsl(188, 100%, 95%) 100%);
}

.feature-card.pink {
  border-color: hsl(330, 100%, 85%);
  background: linear-gradient(135deg, hsl(330, 100%, 97%) 0%, hsl(330, 100%, 95%) 100%);
}

.feature-header {
  text-align: center;
  padding-bottom: 1rem;
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-title {
  color: var(--primary-light);
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* CTA Section */
.features-cta {
  text-align: center;
}

.cta-card {
  background: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-mountain);
  max-width: 32rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.store-badge {
  height: 3.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.store-badge:hover {
  transform: scale(1.05);
}

/* Community Section */
.community {
  padding: 5rem 0 8rem;
  background: var(--background);
}

@media (min-width: 1024px) {
  .community {
    padding: 8rem 0;
  }
}

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

.community-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-mountain);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .community-title {
    font-size: 3.75rem;
  }
}

.community-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .community-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--gradient-feature);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mountain);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

.community-features {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .community-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.community-feature {
  text-align: center;
  padding: 2rem;
}

.community-feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: var(--gradient-mountain);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.community-feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.community-feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.community-feature p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--gradient-mountain);
  color: var(--primary-foreground);
}

.footer .container {
  padding: 4rem 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo span {
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-description {
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-foreground);
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 0.375rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: hsla(0, 0%, 100%, 0.2);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.contact-icon {
  width: 1rem;
  height: 1rem;
}

.footer-link {
  color: hsla(0, 0%, 100%, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary-foreground);
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
  padding-top: 1rem;
}

.location-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: hsla(0, 0%, 100%, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-10px);
  }
  70% {
    transform: translateY(-5px);
  }
  90% {
    transform: translateY(-2px);
  }
}

@keyframes glow {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.4;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-title,
  .community-title {
    font-size: 2rem;
  }
}