/* ============================================
   Elsewhere Sounds - Marketing Site Styles
   Premium, Cinematic, Minimal Design
   ============================================ */

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

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  overflow-x: hidden;
}

/* ============================================
   Hero Section - Home Page
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background-image: 
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.65)
    ),
    url('/assets/images/poland-hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Subtle overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

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

/* ============================================
   Typography
   ============================================ */
.app-name {
  font-family: 'Parisienne', cursive;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.app-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Store Badges
   ============================================ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.store-badge-link {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badge-link:active {
  transform: translateY(0);
}

.store-badge {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================
   Content Pages (Support & Privacy)
   ============================================ */
.page-container {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(
    135deg,
    #0a0a0a 0%,
    #1a1a1a 100%
  );
}

.page-content {
  max-width: 720px;
  width: 100%;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-title {
  font-family: 'Parisienne', cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.last-updated {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.page-body {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ============================================
   Support Page Specific
   ============================================ */
.support-intro {
  margin-bottom: 2rem;
}

.support-contact {
  margin: 2.5rem 0;
}

.email-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: inline-block;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.email-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.email-link:active {
  transform: translateY(0);
}

/* ============================================
   Privacy Page Specific
   ============================================ */
.privacy-content {
  margin-top: 2rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: 'Parisienne', cursive;
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.privacy-section p {
  margin-bottom: 1rem;
}

.privacy-section ul {
  margin: 1rem 0 1rem 1.5rem;
}

.privacy-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.privacy-section strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.contact-email {
  margin-top: 1rem;
}

/* ============================================
   Back Link
   ============================================ */
.back-link {
  display: inline-block;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateX(-4px);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Mobile devices */
@media (max-width: 640px) {
  .hero {
    background-attachment: scroll;
    padding: 1.5rem 1rem;
  }
  
  .app-name {
    margin-bottom: 1rem;
  }
  
  .app-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .store-badges {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .store-badge {
    height: 48px;
  }
  
  .page-container {
    padding: 3rem 1rem;
  }
  
  .privacy-section ul {
    margin-left: 1rem;
  }
}

/* Tablet devices */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    padding: 2rem 1.5rem;
  }
  
  .page-container {
    padding: 3.5rem 2rem;
  }
}

/* Large screens */
@media (min-width: 1025px) {
  .hero-content {
    max-width: 680px;
  }
  
  .page-content {
    max-width: 800px;
  }
}

/* ============================================
   Accessibility & Focus States
   ============================================ */
a:focus,
button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero {
    background-attachment: scroll;
  }
}
