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

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

html, body {
  width: 100%; height: 100%; min-height: 100dvh; overflow-x: hidden;
  margin: 0; padding: 0 !important; 
  font-family: 'Inter', sans-serif;
  color: #111; /* Swapped to an off-black for high readability */
}

/* The Fixed Gradient */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  top: env(safe-area-inset-top, 0px); bottom: env(safe-area-inset-bottom, 0px);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  margin-bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  background: conic-gradient(from 90deg, #58ACC1, #DCA5EE, #89D8B0, #58ACC1);
  z-index: -1;
}

/* Main Container Setup */
.page-wrapper {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: env(safe-area-inset-top, 20px) 20px env(safe-area-inset-bottom, 20px) 20px;
  min-height: 100dvh;
}

/* Update the Glass Container for more transparency */
.glass-container {
  width: 100%; max-width: 800px;
  min-height: 750px; /* NEW: Forces both cards to be exactly this tall */
  display: flex; /* NEW: Enables vertical centering */
  flex-direction: column;
  justify-content: center; /* Centers the content inside the tall card */
  
  background: rgba(255, 255, 255, 0.75); 
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 24px; 
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 80px 30px 60px 30px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); 
  position: relative;
  z-index: 1; 
}

/* Add this NEW section for the Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.social-icons a {
  color: #111;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.social-icons a:hover {
  color: #58ACC1;
  transform: translateY(-3px);
}

/* Navigation */
/* Navigation */
.nav-links {
  position: absolute; /* Pulls the menu out of the centering flow */
  top: 40px; /* Pins it perfectly to match the container's top padding */
  left: 0;
  width: 100%;
  display: flex; 
  justify-content: center; 
  gap: 20px;
  z-index: 10; /* Ensures it always stays clickable on top */
}

.nav-links a {
  color: #111; 
  text-decoration: none; font-weight: 600; font-size: 1.1rem;
  opacity: 0.4; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
/* Typography */
h1 {
  font-family: 'Black Han Sans', sans-serif; font-weight: 400;
  font-size: clamp(3rem, 8vw, 5rem); margin-bottom: 30px;
  color: #000; /* Pure black for the boldest impact */
}

/* Features Grid */
.features {
  display: flex; flex-direction: column; gap: 20px; text-align: left;
}
.feature-item h3 { font-size: 1.2rem; margin-bottom: 5px; font-weight: 700; }
.feature-item p { font-size: 0.95rem; opacity: 0.7; line-height: 1.5; }

/* Contact Specific Styles */
.contact-section { margin-bottom: 30px; }
.contact-section h2 { font-family: 'Black Han Sans', sans-serif; font-weight: 400; font-size: 2rem; margin-bottom: 10px; }
.contact-section a { color: #58ACC1; font-weight: 700; text-decoration: none; } /* Changed to match gradient blue */
.profile-pic { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #111; margin-bottom: 15px; }

/* Privacy Modal Styles */
.info-btn {
  background: transparent; border: 1.5px solid #111; color: #111; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-family: 'Inter'; font-weight: bold;
  position: absolute; bottom: 20px; right: 20px; opacity: 0.3; transition: 0.2s;
}
.info-btn:hover { opacity: 1; }
.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 100;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-content {
  /* Inverted to light mode to match the new vibe */
  background: #fff; padding: 30px; border-radius: 16px; max-width: 500px; text-align: left;
  color: #111; 
}
.modal h2 { margin-bottom: 10px; font-family: 'Black Han Sans'; }
.modal p { font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; opacity: 0.8; }
.close-modal {
  background: #111; border: none; padding: 10px 20px; border-radius: 8px;
  color: white; font-weight: bold; cursor: pointer;
}

/* === Coming Soon Badges === */
.coming-soon-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* Swapped to dark border line */
}
.coming-soon-text {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.4;
  margin-bottom: 15px;
}
.store-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; 
}
.store-badge {
  background: #111; /* Changed to solid black to pop against the white card */
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.store-badge:hover {
  background: #333;
  transform: translateY(-2px);
}
.store-badge i {
  font-size: 1.5rem; 
}

/* === NEW: Floating iPhone Mockups (Desktop Only) === */
.mockups-container {
  position: fixed; /* This pulls it out of the flex layout entirely */
  top: 0;
  left: 0;
  width: 100vw; /* Forces it to be 100% of the screen width */
  height: 100vh; /* Forces it to be 100% of the screen height */
  overflow: hidden;
  z-index: 0; 
  pointer-events: none; 
}

.iphone-mockup {
  position: absolute;
  width: 260px;
  height: 530px;
  background-color: #1a1a1a; 
  border: 12px solid #111; 
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.iphone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.phone-1 {
  top: 15%;
  left: 8%;
  transform: rotate(-12deg);
  animation: float 6s ease-in-out infinite;
  /* background-image: url('assets/screen1.png'); */
}

.phone-2 {
  top: 10%;
  right: 8%;
  transform: rotate(15deg);
  animation: float 8s ease-in-out infinite 1s;
  /* background-image: url('assets/screen2.png'); */
}

.phone-3 {
  bottom: -10%;
  left: 20%;
  transform: rotate(25deg);
  animation: float 7s ease-in-out infinite 2s;
  /* background-image: url('assets/screen3.png'); */
}

.phone-1 {
  top: 8%; 
  left: 2%; 
  --rot: -15deg; /* Sets the rotation for the animation */
  animation: float 7s ease-in-out infinite; 
  background-image: url('assets/screenshot1.png');
}

.phone-2 {
  top: 12%; 
  right: 2%; 
  --rot: 12deg;
  animation: float 8s ease-in-out infinite -3s; 
  background-image: url('assets/screenshot2.png');
}

/* Tucked lower, slightly right, overlapping Phone 1 */
.phone-3 {
  bottom: -10%; 
  left: 12%; 
  --rot: -6deg; /* Less tilted so it contrasts nicely with Phone 1 */
  animation: float 6.5s ease-in-out infinite -5s; 
  background-image: url('assets/screenshot3.png');
}

/* NEW: Tucked lower, slightly left, overlapping Phone 2 */
.phone-4 {
  bottom: -8%; 
  right: 12%; 
  --rot: 8deg; /* Less tilted to contrast with Phone 2 */
  animation: float 9s ease-in-out infinite -2s; 
  background-image: url('assets/screenshot4.png');
}

/* The Floating Animation uses the --rot variable so it doesn't snap crooked! */
@keyframes float {
  0% { transform: translateY(0px) rotate(var(--rot)); }
  50% { transform: translateY(-20px) rotate(var(--rot)); }
  100% { transform: translateY(0px) rotate(var(--rot)); }
}

/* Hide on Mobile */
@media (max-width: 1000px) {
  .mockups-container {
    display: none;
  }
}

/* Contact Specific Styles */
.profile-pic { 
  width: 150px; /* Increased from 100px */
  height: 150px; /* Increased from 100px */
  border-radius: 50%; 
  object-fit: cover; 
  border: 3px solid #111; 
  margin: 0 auto 15px auto; 
  display: block; /* Ensures the image stays perfectly centered */
}