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

:root {
  --primary: #4E342E;
  --secondary: #FFF8F1;
  --accent: #D4A44B;
  --accent-hover: #C5933C;
  --light-beige: #F7F2EC;
  --white: #FFFFFF;
  
  /* Text */
  --text-main: #33221E;
  --text-muted: #7A6662;
  
  /* Utilities */
  --shadow-sm: 0 4px 20px rgba(78, 52, 46, 0.04);
  --shadow-md: 0 16px 40px rgba(78, 52, 46, 0.06);
  --shadow-lg: 0 24px 60px rgba(78, 52, 46, 0.1);
  --shadow-float: 0 30px 60px rgba(78, 52, 46, 0.15);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #FFF8F1 0%, #F5EBE0 100%);
  --grad-button: linear-gradient(135deg, var(--accent) 0%, #EAB85A 100%);
  --grad-text: linear-gradient(90deg, #4E342E 0%, #D4A44B 100%);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--secondary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

/* Layout */
.app-container {
  max-width: 540px; /* Mobile-first container limit */
  margin: 0 auto;
  background-color: var(--secondary);
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0,0,0,0.05);
  position: relative;
}

section {
  padding: 3rem 1.5rem;
  position: relative;
}

/* Hero Section */
.hero {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 2rem;
  background: var(--grad-primary);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.hero-logo-wrapper {
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both, float 6s ease-in-out infinite;
}

.hero-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  position: relative;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: var(--grad-button);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: fadeUp 0.8s ease-out 0.1s both;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-welcome {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  color: var(--text-main);
  animation: fadeUp 0.8s ease-out 0.3s both;
}

/* CTAs Section */
.ctas {
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.cta-card:hover, .cta-card:active {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-float);
}

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.cta-card.instagram .cta-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.cta-card.google .cta-icon {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-card.google .cta-icon svg {
  width: 32px;
  height: 32px;
}

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

.cta-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.25);
}

.btn-instagram:hover {
  box-shadow: 0 12px 25px rgba(220, 39, 67, 0.4);
}

.btn-google {
  background: #FFFFFF;
  color: #3C4043;
  border: 1px solid #DADCE0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-google:hover {
  background: #F8F9FA;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Features */
.features {
  background-color: var(--light-beige);
  border-radius: var(--radius-xl);
  margin: 1rem 1.5rem;
  padding: 3rem 1.5rem;
}

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

.feature-item {
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* Gallery */
.gallery {
  text-align: center;
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Appreciation */
.appreciation {
  text-align: center;
  background: var(--grad-primary);
  padding: 4rem 1.5rem;
  border-radius: var(--radius-xl);
  margin: 0 1.5rem 3rem;
}

.appreciation h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.appreciation p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(78, 52, 46, 0.1);
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
}

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

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

/* Staggered Animation Classes */
.animate-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Ripple Effect for Buttons */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform .5s, opacity 1s;
}

.ripple:active::after {
  transform: scale(0, 0);
  opacity: .2;
  transition: 0s;
}

/* Desktop Responsiveness - just in case it's opened on desktop */
@media (min-width: 768px) {
  body {
    background-color: #EBE5DF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
  }
  
  .app-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(78, 52, 46, 0.15);
  }
}
