:root {
  --bg: #fff6fb;
  --bg-accent: #ffe8f3;
  --brand: #e46cae;
  --brand-600: #d4559a;
  --text: #332d33;
  --muted: #6b6570;
  --ring: rgba(228,108,174,0.35);
}

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

html, body { 
  height: 100%; 
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, var(--bg-accent), transparent 60%),
              radial-gradient(900px 700px at 90% 30%, #f5ecff, transparent 60%),
              var(--bg);
}

/* Hero Section */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefbf0;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: transparent;
  text-align: center;
  padding: 36px 28px 28px;
}

.logo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.headline {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 15vw, 90px);
  line-height: 1.1;
  margin: 0 0 40px;
  color: #000;
  text-align: center;
}

.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-button {
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.action-button:hover {
  background: #000;
  color: #fff;
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 12px 0 8px;
}

.form input[type="email"] {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1.5px solid #ead7df;
  outline: none;
  background: #fff;
  font-size: 16px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.form input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 6px var(--ring);
}

button[type="submit"] {
  padding: 13px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, var(--brand), var(--brand-600));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .15s ease;
  box-shadow: 0 10px 18px rgba(228,108,174,0.25);
}

button[type="submit"]:hover { filter: brightness(1.05); }
button[type="submit"]:active { transform: translateY(1px); }
button[disabled] { opacity: .6; cursor: not-allowed; }

.message { min-height: 20px; margin: 10px 0 0; font-size: 14px; }
.message.error { color: #b4232a; }
.message.success { color: #0f7b4b; }

.footnote { color: var(--muted); font-size: 12px; margin-top: 6px; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Coming Soon Section */
.coming-soon-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.coming-soon-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}


.coming-soon-text {
  position: absolute;
  top: -10%;
  left: -8%;
  z-index: 10;
}

.coming-soon-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  margin: 0;
  text-transform: lowercase;
}

.drink-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.drink-image-container {
  position: relative;
  z-index: 2;
}

.drink-image {
  max-width: 800px;
  height: auto;
}

.product-info {
  position: absolute;
  max-width: 250px;
  padding: 16px;
  background: transparent;
  border-radius: 12px;
  font-size: 28px;
  line-height: 1.4;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.product-info.top-left {
  top: 10%;
  left: 10%;
}

.product-info.top-right {
  top: 10%;
  right: 10%;
}

.product-info.bottom-left {
  bottom: 10%;
  left: 10%;
}

.product-info.bottom-right {
  bottom: 10%;
  right: 10%;
}

/* Go-to Girl Section */
.go-to-girl-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefbf0;
}

.go-to-girl-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  height: 100vh;
  width: 100%;
}

.main-headline {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.1;
  text-transform: lowercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 1400px;
  text-align: center;
  opacity: 1;
}

.scattered-images {
  position: relative;
  height: 100vh;
  width: 100%;
  margin: 0;
}

.image {
  position: absolute;
  max-width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}



.bowl-lady {
  top: 33%;
  left: -8%;
  max-width: 200px;
}

.tennis-juice {
  top: 5%;
  right: -10%;
  max-width: 200px;
}

.matcha-juice {
  top: 65%;
  left: 75%;
  max-width: 500px;
}

.sad-lady {
  bottom: -5.75%;
  left: 20%;
  max-width: 400px;
}

.screaming-lady {
  top: 0%;
  right: 18.5%;
  max-width: 500px;
}

.writing {
  bottom: 40%;
  right: 40%;
  max-width: 600px;
}

.blob-character {
  position: absolute;
  top: 75%;
  left: 43%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
}

.try-alafia-button {
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  display: inline-block;
}

.try-alafia-button:hover {
  background: #000;
  color: #fff;
}

/* Phone Section */
.phone-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefbf0;
}

.phone-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.phone-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #000;
  margin-bottom: 60px;
  margin-top: 40px;
}

.phone-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.left-text, .right-text {
  font-size: 24px;
  line-height: 1.6;
  color: #000;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.phone-image-container {
  display: flex;
  justify-content: center;
}

.phone-image {
  max-width: 250px;
  height: auto;
}

/* Footer */
.footer {
  height: auto;
  padding: 10px;
  background: #fff;
  color: #000;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-img {
  width: 120px;
  height: auto;
}

.footer-text {
  font-size: 14px;
  color: #000;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  font-size: 24px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Normalize inline SVG icons inside footer */
.social-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* iOS-specific adjustments: center third section headline, hide images */
@supports (-webkit-touch-callout: none) {
  .go-to-girl-section {
    height: 100vh;
    position: relative;
  }
  .go-to-girl-container { 
    height: 100%; 
    width: 100%; 
    position: relative; 
  }
  .main-headline {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    text-align: center;
    font-size: clamp(36px, 7vw, 56px);
    padding: 0 20px;
  }
  .scattered-images,
  .blob-character { display: none !important; }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Set solid yellow background for mobile */
  body {
    background: #fefbf0 !important;
  }
  
  /* Force all sections to have yellow background on mobile */
  .hero-section,
  .coming-soon-section,
  .go-to-girl-section,
  .phone-section {
    background: #fefbf0 !important;
  }
  
  /* Remove text selection highlighting on mobile */
  * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Allow text selection only for specific elements if needed */
  .phone-content p, .left-text, .right-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }
  
  /* Remove any text selection background */
  *::selection {
    background: transparent;
  }
  
  *::-moz-selection {
    background: transparent;
  }
  .hero-section { padding: 24px 0; }
  .card { padding: 28px 20px 20px; }
  .logo { width: 150px; margin: 0 auto 10px; }
  .headline { font-size: clamp(36px, 9vw, 56px); margin-bottom: 28px; }
  /* Coming Soon */
  .coming-soon-section { height: auto; padding: 40px 0; }
  .coming-soon-container { padding: 0 16px; }
  .drink-section { min-height: auto; flex-direction: column; gap: 16px; }
  .coming-soon-text { position: static; text-align: center; }
  .coming-soon-text h2 { font-size: clamp(28px, 7vw, 44px); }
  .drink-image { max-width: 520px; width: 100%; }

  /* Go-to Girl */
  .go-to-girl-section { 
    height: 100vh; 
    position: relative; 
    padding: 0; 
    margin-bottom: 20px;
  }
  .go-to-girl-container { 
    height: 100%; 
    width: 100%; 
    position: relative; 
  }
  .main-headline { 
    position: absolute; 
    top: 25%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    padding: 0 20px; 
    font-size: clamp(32px, 7vw, 44px); 
    text-align: center; 
    max-width: 90vw;
  }
  .scattered-images { 
    display: flex !important; 
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    max-width: none;
    margin: 20px 0 0;
    gap: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 0;
  }
  
  .scattered-images .image {
    position: static !important;
    max-width: 120px;
    height: auto;
  }
  
  .scattered-images .tennis-juice {
    position: absolute !important;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Show only bowl lady and tennis juice on mobile */
  .scattered-images .bowl-lady,
  .scattered-images .tennis-juice {
    display: block !important;
  }
  
  .scattered-images .matcha-juice,
  .scattered-images .sad-lady,
  .scattered-images .screaming-lady,
  .scattered-images .writing {
    display: none !important;
  }
  
  .blob-character { 
    display: none !important; 
  }

  /* Phone section */
  .phone-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .right-text {
    display: none !important;
  }
  
  .product-info {
    position: static;
    margin: 10px;
    max-width: none;
  }
  
  /* Remove conflicting scattered-images styles */
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section { padding: 20px 0; }
  .card { padding: 24px 16px 16px; }
  .logo { width: 130px; margin: 0 auto 8px; }
  .headline { font-size: clamp(32px, 11vw, 48px); margin-bottom: 24px; }
  /* Trim nonessential visuals to avoid collisions */
  .main-headline { 
    position: absolute; 
    top: 25%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    font-size: clamp(28px, 8vw, 40px);
    padding: 0 16px;
  }
  .scattered-images { 
    display: flex !important; 
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    max-width: none;
    margin: 20px 0 0;
    gap: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 0;
  }
  
  .scattered-images .image {
    position: static !important;
    max-width: 100px;
    height: auto;
  }
  
  .scattered-images .tennis-juice {
    position: absolute !important;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Show only bowl lady and tennis juice on mobile */
  .scattered-images .bowl-lady,
  .scattered-images .tennis-juice {
    display: block !important;
  }
  
  .scattered-images .matcha-juice,
  .scattered-images .sad-lady,
  .scattered-images .screaming-lady,
  .scattered-images .writing {
    display: none !important;
  }
  .blob-character { 
    display: none !important; 
  }
  .try-alafia-button { font-size: 16px; padding: 14px 24px; }

  /* Coming Soon tightening */
  .coming-soon-section { padding: 32px 0; }
  .coming-soon-text h2 { font-size: clamp(24px, 8vw, 36px); }
  .drink-image { max-width: 380px; }

  /* Phone section readability */
  .phone-headline { font-size: clamp(24px, 7vw, 36px); margin: 28px 0 40px; }
  .left-text { font-size: 18px; line-height: 1.5; padding: 0 8px; }
  .right-text { display: none !important; }
  .form { grid-template-columns: 1fr; }
  button[type="submit"] { width: 100%; }
  
  .button-container {
    flex-direction: column;
    align-items: center;
  }
  
  .action-button {
    width: 100%;
    max-width: 250px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Override for main headline to stay centered */
.main-headline.fade-in-up {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.main-headline.fade-in-up.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation for images */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

.modal-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.modal-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

#waitlistForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

#waitlistEmail {
  width: 100%;
  max-width: 300px;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

#waitlistEmail:focus {
  border-color: var(--brand);
}

#waitlistForm button {
  padding: 15px 30px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
}

#waitlistForm button:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
}

#waitlistMessage {
  margin-top: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  min-height: 20px;
}

#waitlistMessage.success {
  color: #0f7b4b;
}

#waitlistMessage.error {
  color: #b4232a;
}



