/* Base variables */
:root {
  --menoteal: rgb(2, 181, 187);
  --menopink: rgb(233, 79, 157);
  --menoteal-light: rgba(2, 181, 187, 0.15);
  --menoteal-bg: #89dfe2; /* Lighter teal for backgrounds */
  --gray-50: rgb(249, 250, 251);
  --gray-100: rgb(243, 244, 246);
  --gray-300: rgb(209, 213, 219);
  --gray-400: rgb(156, 163, 175);
  --gray-500: rgb(107, 114, 128);
  --gray-600: rgb(75, 85, 99);
  --gray-700: rgb(55, 65, 81);
  --gray-800: rgb(31, 41, 55);
  --gray-900: rgb(17, 24, 39);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
}

/* Base reset and styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  border: none;
  outline: none;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.25rem; /* text-4xl */
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.875rem; /* text-3xl */
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem; /* text-xl */
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.text-medium {
  font-weight: 500;
}

.section-title {
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

/* Navbar Styles */
.navbar {
  background-color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  margin-left: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-menu {
  display: none;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.navbar-link {
  color: var(--gray-700);
  transition: color 0.3s;
}

.navbar-link:hover {
  color: var(--menoteal);
}

.navbar-mobile-toggle {
  display: block;
}

.mobile-menu-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--menoteal);
  color: white;
}

.btn-primary:hover {
  background-color: rgb(2, 161, 167);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--menopink);
  color: white;
}

.btn-secondary:hover {
  background-color: rgb(213, 59, 137);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background-color: var(--menoteal-bg);
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-title {
  font-weight: bold;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-800);
  margin: 1.5rem 0;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.store-badges {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.store-badge {
  height: 40px;
  width: auto;
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .store-badges {
    margin-top: 0;
  }
}

.hero-images {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.hero-image {
  position: absolute;
  width: 66.666667%;
  z-index: 10;
}

.hero-image-left {
  top: 0;
  left: -1rem;
  transform: rotate(-6deg);
  z-index: 10;
}

.hero-image-right {
  top: 0;
  right: -1rem;
  transform: rotate(6deg);
  z-index: 0;
}

.hero-image-spacer {
  width: 100%;
  padding-bottom: 140%;
  visibility: hidden;
}

.hero-caption {
  margin-top: 1.5rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.icon-camera {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Intro Section */
.intro-section {
  background-color: white;
  text-align: center;
}

.intro-text {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--menoteal-bg);
}

.feature-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

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

.rounded-image {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 24rem;
  width: 100%;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--menoteal);
  color: white;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--gray-700);
}

/* Why Different Section */
.why-different-section {
  background-color: white;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
}

.icon-check {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--menoteal);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background-color: var(--gray-900);
  color: white;
  text-align: center;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-form-container {
  max-width: 28rem;
  margin: 0 auto;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background-color: var(--gray-800);
  border: 1px solid var(--gray-700);
  color: white;
  width: 100%;
}

.email-input:focus {
  outline: none;
  border-color: var(--menoteal);
  box-shadow: 0 0 0 2px rgba(2, 181, 187, 0.2);
}

.cta-button-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  min-width: 200px;
}

/* Footer Styles */
.footer {
  background-color: var(--gray-100);
  padding: 2.5rem 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.logo-small {
  height: 2rem;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--gray-600);
  transition: color 0.3s;
}

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

.footer-language {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-label {
  color: var(--gray-500);
}

.language-active {
  font-weight: 500;
  color: var(--menoteal);
  background: transparent;
  cursor: pointer;
}

.language-separator {
  color: var(--gray-400);
}

.language-option {
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
  transition: color 0.3s;
}

.language-option:hover {
  color: var(--menoteal);
}

.footer-message {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-500);
}

.footer-copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Responsive Styles */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem; /* text-5xl */
  }
  
  h2 {
    font-size: 2.25rem; /* text-4xl */
  }
  
  section {
    padding: 6rem 0;
  }
  
  .hero-section {
    padding: 5rem 0;
  }
  
  .navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .navbar-mobile-toggle {
    display: none;
  }
  
  .cta-form {
    flex-direction: row;
  }
  
  .email-input {
    flex-grow: 1;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  
  .hero-text {
    width: 50%;
    margin-bottom: 0;
  }
  
  .hero-images {
    width: 50%;
  }
  
  .feature-container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  
  .feature-image, .feature-content {
    width: 50%;
  }
  
  .why-different-section .feature-content {
    order: 1;
  }
  
  .why-different-section .feature-image {
    order: 2;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 49;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu-open {
  opacity: 1;
}

.mobile-menu-container {
  padding: 5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-link {
  font-size: 1.25rem;
  color: var(--gray-700);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-link:hover {
  color: var(--menoteal);
}

.mobile-menu-cta {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Full-screen Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--menoteal-bg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-open {
  display: block;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: var(--menoteal);
  color: white;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.close-modal {
  color: white;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.close-modal:hover {
  transform: scale(1.2);
}

.form-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.form-container iframe {
  border: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Animation for modal */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

.modal-open .modal-content {
  animation: slideUp 0.3s ease forwards;
}

.modal-open {
  animation: fadeIn 0.3s ease forwards;
}