@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* --- Global Styles --- */
body {
  margin: 0;
  padding: 0;
  background-color: white;
  color: #1a1a1a;
  font-family: 'Lato', sans-serif;
  overflow-x: hidden; /* Prevents horizontal scroll from the slider */
}

.main-wrapper {
  display: flex;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  padding: 2rem;
  gap: 4rem;
  background-color: white;
}

/* --- Left Side: Content --- */
.content-section { 
  flex: 1.2; 
}

.header-row { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  margin-bottom: 2rem; 
}

.app-logo { 
  width: 80px; 
  height: 80px; 
  border-radius: 18px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
  object-fit: cover;
}

h1 { 
  font-size: 3rem; 
  font-weight: 700; 
  margin: 0; 
}

h3 { 
  font-weight: 300; /* As per your style */
  margin-top: 2rem; 
  color: #333; 
}

ul { 
  padding-left: 1.2rem; 
  font-weight: 300; 
}

li { 
  margin-bottom: 0.8rem; 
  line-height: 1.5;
  font-weight: 300; 
}

p {
  line-height: 1.6;
  font-weight: 400;
}

/* --- Right Side: Phone Mockup --- */
.phone-column { 
  flex: 0.8; 
  display: flex; 
  justify-content: center; 
}

.phone-frame {
  width: 320px;
  height: 650px;
  background: #000;
  border: 12px solid #222;
  border-radius: 45px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Camera Notch / Dynamic Island effect */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 28px;
  background: #222;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.phone-screen { 
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
}

/* Slider Logic for 7 Images (6 unique + 1 loop) */
.slider {
  display: flex;
  width: 700%; 
  height: 100%;
  animation: slideShow 18s infinite ease-in-out;
}

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

@keyframes slideShow {
  0%, 12%   { transform: translateX(0); }
  14%, 26%  { transform: translateX(-14.28%); }
  28%, 40%  { transform: translateX(-28.57%); }
  42%, 54%  { transform: translateX(-42.85%); }
  56%, 68%  { transform: translateX(-57.14%); }
  70%, 82%  { transform: translateX(-71.42%); }
  84%, 96%  { transform: translateX(-85.71%); }
  100%      { transform: translateX(-85.71%); }
}
/* --- Store Buttons Styling --- */
.store-buttons {
  display: flex;
  gap: 15px;
  margin-top: 2.5rem;
}

.store-button {
  background-color: #000;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.store-button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.store-button img {
  width: 24px;
  height: 24px;
}

.store-button span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
}

.store-button strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

/* --- Responsive Media Query --- */
@media (max-width: 900px) {
  .main-wrapper {
    flex-direction: column; /* Stack vertically */
    padding: 2rem 1rem;
    gap: 3rem;
    text-align: center; /* Better for mobile readability */
  }

  .header-row {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .content-section {
    order: 1; /* Content on top */
  }

  .phone-column {
    order: 2; /* Phone on bottom */
    width: 100%;
  }

  h1 {
    font-size: 2.2rem;
  }

  ul {
    display: inline-block; /* Keeps list bullets aligned while container is centered */
    text-align: left;
    max-width: 90%;
  }

  .phone-frame {
    width: 280px; /* Scale down slightly for smaller screens */
    height: 570px;
  }

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