@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Yomogi&family=Ms+Madi&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

/* --- Custom Properties / Design Tokens (Light Mode: Monotone Calm) --- */
:root {
  --color-primary: #1a1a1a; /* Pitch Black */
  --color-primary-light: #444444; /* Charcoal Gray */
  --color-primary-dark: #121212; /* Off-black */
  --color-accent: #333333; /* Dark Gray */
  --color-accent-light: #777777; /* Medium Gray */
  --color-bg-base: #f7f7f7; /* Very Light Neutral Gray */
  --color-bg-card: #ffffff;
  --color-text-main: #242424; /* Off-black for text */
  --color-text-muted: #666666; /* Muted Neutral Gray */
  --color-white: #ffffff;
  
  --font-sans: 'Caveat', 'Yomogi', 'Ms Madi', cursive, sans-serif;
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-size: 1.15rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* --- Layout Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header Section --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
  font-family: 'Ms Madi', cursive;
  font-weight: 400;
  font-size: 2rem;
  color: var(--color-white);
  letter-spacing: -0.5px;
  line-height: 1;
  padding-top: 8px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: #ffffff;
}

.btn-header-cta {
  background-color: #ffffff;
  color: #121212;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.btn-header-cta:hover {
  background-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Multi-Language Selector --- */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9); /* Bright white color so it's readable on the dark header background */
  padding: 10px 18px; /* Larger touch target */
  border-radius: 100px; /* Clean modern capsule button */
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: var(--color-bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md); /* Soft matching round corner */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: none;
  min-width: 150px; /* Wider to prevent text wrapping and cramping */
  padding: 6px; /* Internal spacing for items container */
  z-index: 110;
  animation: fadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* JavaScript-controlled show class to prevent accidental closing on mouse move */
.lang-dropdown.show {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 12px 18px; /* Generous touch target size for better UX */
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
  border-radius: 8px; /* Inner button-like shape */
  transition: var(--transition-smooth);
}

.lang-dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

.lang-dropdown a.active {
  color: var(--color-primary);
  background-color: rgba(0, 0, 0, 0.03);
  font-weight: 600;
}

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

.hero-section {
  padding-top: 60px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff; /* Clean white background */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px 60px;
  align-items: center;
}

.hero-content {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.hero-text {
  width: 100%;
  text-align: left;
}

.badge-new {
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--color-primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-title {
  font-family: 'Playfair Display', serif; /* Beautiful premium serif font */
  font-size: 4.5rem;
  font-weight: 800; /* Bolder for premium contrast */
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em; /* Tighten slightly for a high-end editorial look */
}

.hero-title span {
  background: linear-gradient(120deg, var(--color-primary-light), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.6rem;
  color: var(--color-text-main); /* Darker black color to prevent blurry look */
  font-weight: 500; /* Bold weight to stand out */
  margin-bottom: 18px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 16px; /* Offset the buttons slightly to the right */
}

.app-store-badge {
  display: inline-block;
  transition: var(--transition-smooth);
}

.app-store-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.app-store-badge img {
  height: 52px;
  border-radius: 8px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 360px; /* Align to video width */
  margin: 40px auto 0 auto; /* Centered in grid column */
  grid-column: 2;
  grid-row: 1;
}

.hero-video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  background-color: #e9ece9; /* Soft earth-gray background while video loads */
}

.play-pause-button {
  position: absolute;
  bottom: 20px;
  right: 74px; /* Positioned relative to the video box edge */
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.play-pause-button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

.mute-button {
  position: absolute;
  bottom: 20px;
  right: 20px; /* Positioned relative to the video box edge */
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.mute-button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

.replay-button {
  position: absolute;
  bottom: 20px;
  right: 128px; /* Play/Pause button is at 74px, width is 44px + 10px spacing = 128px */
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.replay-button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

@media (max-width: 992px) {
  .mute-button {
    right: 20px; /* On smaller screens, just position near the container right edge */
  }
}

@media (max-width: 576px) {
  .mute-button {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

.concept-section {
  padding: 100px 0;
  background-color: #ffffff; /* Contrast white background to separate from How It Works */
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-label {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.6rem; /* Matches .hero-lead size for typography consistency */
  color: var(--color-text-main); /* Matches .hero-lead color */
  font-weight: 500; /* Matches .hero-lead weight */
  line-height: 1.6;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.concept-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.concept-image-container::before {
  content: '';
  display: block;
  padding-top: 60%;
}

.concept-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.concept-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

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

.how-it-works-section {
  padding: 100px 0;
  background-color: #eff2ef; /* Deeper organic gray-green for clear contrast with white hero section */
  box-shadow: 
    inset 0 32px 32px -32px rgba(0, 0, 0, 0.05), 
    inset 0 -32px 32px -32px rgba(0, 0, 0, 0.05); /* Soft inner shadow transition at top/bottom for natural depth */
}

.how-it-works-section .section-title {
  font-family: 'Playfair Display', serif; /* Same premium font as Enjoy Today. */
  font-weight: 800;
  font-size: 3.25rem; /* Large elegant heading */
  letter-spacing: -0.02em;
}

.how-it-works-section .container {
  max-width: 1400px; /* Expand grid container max-width only for How It Works section to display cards larger */
}

.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; /* Slightly narrower gaps to allow cards to occupy more width */
}

.feature-card-item {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg); /* Bold, modern rounded corners */
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.feature-card-image {
  border-radius: var(--radius-lg); /* Bold, modern rounded corners to match the card */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  aspect-ratio: 9 / 16;
  background-color: #f4f6f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.25, 1); /* Ultra smooth ease-out curve for inner zoom */
}

/* PC-only interactive staggered layout & zoom hover effects */
@media (min-width: 769px) {
  .features-cards-grid {
    padding-bottom: 48px; /* Reserves space for bottom offset cards */
  }

  /* 2nd and 4th card offset downwards for high-end staggered editorial look */
  .feature-card-item:nth-child(2n) {
    transform: translateY(40px);
  }

  /* Smooth unified hover state */
  .feature-card-item:hover {
    transform: translateY(-8px) scale(1.02) !important; /* Float up relative to baseline */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.06);
  }

  /* Keep offset for even cards on hover, but float up relative to their current position */
  .feature-card-item:nth-child(2n):hover {
    transform: translateY(32px) scale(1.02) !important; /* 40px - 8px = 32px to match float */
  }

  /* Inner image zoom on hover */
  .feature-card-item:hover .feature-card-image img {
    transform: scale(1.05); /* Premium parallax/zoom effect */
  }
}

.feature-card-info {
  padding: 4px 4px;
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-card-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .features-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    overflow: hidden; /* Prevent page overflow on slider pull */
    padding: 50px 0 !important; /* Halved padding on mobile from 100px to 50px */
  }

  .section-header {
    margin-bottom: 24px !important; /* Tighter layout on mobile to bring images closer to text */
  }

  .features-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 24px; /* Snapping offset adjusted for wider card size */
    padding: 0 24px 24px 24px !important; /* Top padding removed to eliminate gap */
    gap: 20px;
    margin: 0 -20px !important;
    grid-template-columns: none !important;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }

  .features-cards-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .feature-card-item {
    flex: 0 0 310px; /* Bolder size for images to be displayed larger on mobile screens */
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    will-change: transform, opacity; /* GPU-accelerate and optimize rendering layers */
    backface-visibility: hidden;
    opacity: 0.5; /* Default: faded out when not centered */
    transform: translate3d(0, 0, 0) scale(0.92); /* Default: scaled down when not centered */
  }

  .feature-card-item.active-card {
    opacity: 1; /* Fade in completely when centered */
    transform: translate3d(0, 0, 0) scale(1.0); /* Scale up fully when centered */
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  }
}

.gallery-section {
  padding: 100px 0;
  background-color: #f8f9f8; /* Soft organic light gray for section alternate block */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.gallery-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-image-wrapper {
  position: relative;
  padding-top: 120%;
  background-color: #e5e5e5;
}

.gallery-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.gallery-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  color: var(--color-white);
}

.gallery-message {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
}

.gallery-author {
  font-size: 0.95rem;
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.gallery-author::before {
  content: '🌿';
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f2f2f2, var(--color-bg-base));
  color: var(--color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.01) 0%, transparent 40%);
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--color-primary);
}

.cta-title span {
  color: var(--color-primary-light);
}

.cta-desc {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

/* --- Footer Section --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0 40px 0; /* Reduced top padding by half from 80px to 40px for a tighter layout */
  font-size: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 60px;
  margin-bottom: 30px; /* Reduced by half to tighten space above copyright */
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Ms Madi', cursive;
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--color-white); /* Footer logo is white on dark background */
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links-title {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px; /* Reduced by half to bring copyright closer to content */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 70px; /* Fine-tuned spacing to be slightly higher, close to desktop 60px */
    padding-bottom: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px; /* Reduced gap by half to bring the video and Enjoy Today text closer */
  }
  
  .hero-content {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .hero-text {
    text-align: center;
  }

  .hero-media {
    grid-column: 1;
    grid-row: 1;
    max-width: 360px; /* tablet constraints */
    margin: 0 auto; /* reset and center, gap takes care of spacing */
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 16px; /* Spacing between capsule buttons */
    margin-top: 10px; /* Pulled even closer to the text */
    margin-left: 0; /* Reset desktop margin offset */
  }

  .hero-actions .custom-app-store-btn {
    padding: 10px 20px; /* Slightly more compact padding for tablet */
    gap: 10px;
    border-radius: 100px; /* Keep pill shape */
  }

  .hero-actions .custom-app-store-btn .apple-icon,
  .hero-actions .custom-app-store-btn .play-icon {
    width: 20px;
    height: 20px;
  }
  
  .hero-lead {
    font-size: 1.3rem;
  }

  .section-desc {
    font-size: 1.3rem; /* Matches .hero-lead mobile responsive size */
  }

  .how-it-works-section .section-title {
    font-size: 1.85rem; /* Reduced to keep "Enjoy Today." as the prominent main message */
  }
  
  .play-pause-button {
    right: 74px; /* Adjust spacing on tablet screen size */
  }
  
  .mute-button {
    right: 20px;
  }
  
  .hero-title {
    font-size: 2.85rem;
  }
  
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns layout on mobile */
    gap: 36px 24px; /* Cozy gap */
    margin-bottom: 20px; /* Reduced by half to match PC spacing ratio */
  }

  .footer-brand {
    grid-column: span 2; /* Span brand info across both columns */
    text-align: center;
    align-items: center;
  }

  .footer-brand p {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-links-col {
    grid-column: span 1; /* App Info and Legal columns side-by-side */
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .header-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-media {
    max-width: 320px; /* compact phone constraints */
    margin: 0 auto;
  }
  
  .mute-button {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  
  .play-pause-button {
    bottom: 16px;
    right: 62px; /* 16px + 38px + 8px gap */
    width: 38px;
    height: 38px;
  }
  
  .replay-button {
    bottom: 16px;
    right: 108px; /* 62px + 38px + 8px gap */
    width: 38px;
    height: 38px;
  }
  
  .hero-actions {
    flex-direction: row; /* Keep row layout */
    width: auto;
    gap: 8px; /* Tighten gap slightly to fit on narrow mobile screens */
    justify-content: center;
  }
  
  .hero-actions .custom-app-store-btn {
    padding: 8px 12px; /* Compact padding to fit capsule shape with text on phone */
    gap: 6px;
    border-radius: 100px; /* Keep pill shape */
  }

  .hero-actions .custom-app-store-btn .apple-icon,
  .hero-actions .custom-app-store-btn .play-icon {
    width: 16px;
    height: 16px;
  }

  .hero-actions .custom-app-store-btn .btn-subtitle {
    font-size: 0.5rem;
  }

  .hero-actions .custom-app-store-btn .btn-title {
    font-size: 0.8rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .cta-actions .custom-app-store-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Custom App Store / Google Play Button Design --- */
.custom-app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffffff, #f5f5f5); /* Soft gradient for 3D look */
  color: #222222; /* Dark charcoal text */
  padding: 12px 28px;
  border-radius: 100px; /* Capsule pill shape */
  box-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.07), 
    -3px -3px 8px rgba(255, 255, 255, 0.9),
    inset 1px 1px 0px rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-decoration: none;
}

.custom-app-store-btn:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 
    5px 5px 12px rgba(0, 0, 0, 0.11), 
    -5px -5px 12px rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.03);
}

.custom-app-store-btn:active {
  transform: translateY(0);
  box-shadow: 
    inset 2px 2px 5px rgba(0, 0, 0, 0.06), 
    inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

.custom-app-store-btn .apple-icon,
.custom-app-store-btn .play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.custom-app-store-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.custom-app-store-btn .btn-subtitle {
  font-size: 0.65rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.custom-app-store-btn .btn-title {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  width: 100%;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-3px);
}
