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

:root {
  --primary: #3cb371;
  --primary-dark: #2e8b57;
  --bg: #f7faf7;
  --text: #222;
  --accent: #e6f4ea;
  --border: #d1e7dd;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

header nav {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.logo {
  height: 40px;
  width: 40px;
  margin-right: 1rem;
}
.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem 0 1rem;
}
.hero {
  /* Remove background completely - let the global video overlay handle it */
  box-shadow: none;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  gap: 2.5rem;
}
.hero-text {
  flex: 1 1 60%;
  min-width: 260px;
}
.hero-visual {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  width: 180px;
  max-width: 90vw;
  border-radius: 2rem;
  box-shadow: 0 4px 32px rgba(46,139,87,0.10);
  background: #fff;
  padding: 1.2rem;
}
.hero h1 {
  font-size: 2.7rem;
  color: #6ee7b7; /* lighter, more vibrant green for readability */
  font-weight: 800;
  margin-bottom: 0.7rem;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.35rem;
  color: #34d399; /* lighter green */
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.notify-me-hero {
  background: linear-gradient(90deg, #2e8b57 60%, #43a047 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(46,139,87,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.notify-me-hero:hover {
  background: linear-gradient(90deg, #20704a 60%, #388e3c 100%);
  transform: translateY(-2px) scale(1.04);
}
.app-badges {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.app-badge {
  height: 44px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(0.2);
}
.coming-soon {
  font-size: 1.1rem;
  color: #20704a;
  font-weight: 600;
  margin-top: 0.2rem;
}

.about {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px 0 rgba(60,179,113,0.04);
  margin-bottom: 2rem;
}
.about h2 {
  color: var(--primary-dark);
  margin-top: 0;
}
.about ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}
.about li {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
}

.benefits, .features {
  background: #f8fdf7;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(46,139,87,0.07);
  margin: 2.5rem auto;
  max-width: 700px;
  padding: 2rem 2rem 1.5rem 2rem;
}
.benefits h2, .features h2 {
  color: #6ee7b7; /* lighter green for section titles */
  font-size: 2rem;
  margin-bottom: 1rem;
}
.benefits ul, .features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits li, .features li {
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #2d4739;
}
.benefits li strong, .features li strong {
  color: #34d399; /* lighter green for emphasis */
}

.floating-notify {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1000;
  background: linear-gradient(90deg, #2e8b57 60%, #43a047 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(46,139,87,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}
.floating-notify:hover {
  background: linear-gradient(90deg, #20704a 60%, #388e3c 100%);
  transform: translateY(-2px) scale(1.04);
}

.email-form-inline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.email-form-inline input[type="email"] {
  padding: 1rem 1.2rem;
  border: 1.5px solid #c8e6c9;
  border-radius: 2rem;
  font-size: 1.1rem;
  min-width: 260px;
  outline: none;
  background: #f8fdf7;
  color: #2e8b57; /* keep original darker green for white background */
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(46,139,87,0.06);
  transition: border 0.2s, box-shadow 0.2s;
}
.email-form-inline input[type="email"]:focus {
  border: 1.5px solid #43a047;
  box-shadow: 0 4px 16px rgba(46,139,87,0.13);
}
.email-form-inline .notify-me-hero {
  background: linear-gradient(90deg, #2e8b57 60%, #43a047 100%); /* keep original green for buttons */
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}
.notify-me-hero {
  background: linear-gradient(90deg, #2e8b57 60%, #43a047 100%); /* keep original green for buttons */
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
}
.notify-me-hero:hover {
  background: linear-gradient(90deg, #20704a 60%, #388e3c 100%);
  transform: translateY(-2px) scale(1.04);
}
.floating-notify:hover {
  background: linear-gradient(90deg, #20704a 60%, #388e3c 100%);
  transform: translateY(-2px) scale(1.04);
}

.app-badges {
  margin-top: 1.2rem;
  margin-bottom: 0.2rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-start;
}
.coming-soon {
  margin-bottom: 1.2rem;
  margin-top: 0.1rem;
  text-align: left;
}

.about-benefits-card {
  background: rgba(255,255,255,0.95);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(46,139,87,0.12);
  margin: 2.5rem auto;
  max-width: 700px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.about-benefits-card h2 {
  color: #6ee7b7;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 800;
}

.hero-description {
  color: #2d4739;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 500;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,253,247,0.9) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(46,139,87,0.1);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6ee7b7, #34d399);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(46,139,87,0.15);
}

.benefit-item:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h3 {
  color: #20704a;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.benefit-item p {
  color: #2d4739;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

#bgVideo {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  min-width: 100%;
  min-height: 100%;
  background: #f8fdf7;
}
.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,0.9) 15%, 
    rgba(0,0,0,0.7) 35%, 
    rgba(0,0,0,0.4) 60%, 
    rgba(0,0,0,0.1) 85%, 
    rgba(0,0,0,0) 100%
  ); /* extended gradient that finishes lower */
  z-index: -1;
  pointer-events: none;
}

body, .hero, main {
  position: relative;
  z-index: 1;
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
  /* iPhone/iPad specific styles */
  .email-form-inline input[type="email"] {
    -webkit-appearance: none;
    border-radius: 1.5rem;
    font-size: 16px; /* Prevents zoom on iOS */
    transform: none; /* Prevents iOS scaling */
  }
  
  .video-overlay {
    width: 100vw;
    width: -webkit-fill-available; /* iOS Safari fix */
    left: 0;
    right: 0;
  }
  
  #bgVideo {
    width: 100vw;
    width: -webkit-fill-available; /* iOS Safari fix */
    left: 0;
    right: 0;
  }
}

/* Additional mobile fixes */
@media (max-width: 600px) {
  .email-form-inline input[type="email"] {
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px; /* Prevents zoom on iOS */
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .video-overlay {
    width: 100vw;
    width: -webkit-fill-available;
    left: 0;
    right: 0;
  }
  
  #bgVideo {
    width: 100vw;
    width: -webkit-fill-available;
    left: 0;
    right: 0;
  }
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem 1.5rem 1rem;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 100%;
    min-width: auto;
  }
  .hero-logo {
    width: 120px;
    padding: 0.7rem;
  }
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  .hero-sub {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 1.8rem;
  }
  .hero-actions {
    justify-content: center;
    gap: 1rem;
  }
  .app-badges {
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  .app-badge {
    height: 40px;
    width: auto;
  }
  .coming-soon {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
  .benefits, .features, .about-benefits-card {
    margin: 2rem 1rem;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
  }
  .benefits h2, .features h2, .about-benefits-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    text-align: center;
  }
  .benefits li, .features li, .about-benefits-card li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
  }
  .floating-notify {
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 2.5rem;
    min-height: 48px; /* Better touch target */
  }
}

@media (max-width: 600px) {
  main {
    padding: 1rem 0.5rem 0 0.5rem;
  }
  .hero-content {
    padding: 1.5rem 0.8rem 1rem 0.8rem;
    gap: 1.2rem;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0.6rem;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    width: 100%;
  }
  .email-form-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    width: 100%;
  }
  .email-form-inline input[type="email"] {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
    padding: 1.2rem 1rem;
    border-radius: 1.5rem;
    min-height: 48px; /* Better touch target */
  }
  .email-form-inline .notify-me-hero,
  .notify-me-hero {
    width: 100%;
    padding: 1.2rem 1rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    min-height: 48px; /* Better touch target */
  }
  .app-badges {
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
  }
  .app-badge {
    height: 36px;
    width: auto;
  }
  .coming-soon {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  .benefits, .features, .about-benefits-card {
    margin: 1.5rem 0.5rem;
    padding: 1.2rem 0.8rem;
    border-radius: 0.8rem;
  }
  .benefits h2, .features h2, .about-benefits-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
  }
  .benefits p, .features p, .about-benefits-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  .benefits li, .features li, .about-benefits-card li {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    padding-left: 0.3rem;
  }
  .floating-notify {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    border-radius: 2rem;
    min-height: 44px;
    box-shadow: 0 4px 20px rgba(46,139,87,0.25);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .email-form-inline input[type="email"] {
    font-size: 0.95rem;
    padding: 1rem 0.8rem;
  }
  .email-form-inline .notify-me-hero,
  .notify-me-hero {
    font-size: 0.95rem;
    padding: 1rem 0.8rem;
  }
  .app-badge {
    height: 32px;
  }
  .benefits h2, .features h2, .about-benefits-card h2 {
    font-size: 1.3rem;
  }
  .benefits li, .features li, .about-benefits-card li {
    font-size: 0.9rem;
  }
  .floating-notify {
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

/* Improve touch targets and accessibility */
@media (hover: none) and (pointer: coarse) {
  .floating-notify:hover {
    transform: none; /* Disable hover effects on touch devices */
  }
  .notify-me-hero:hover {
    transform: none;
  }
  .email-form-inline input[type="email"]:focus {
    transform: scale(1.02); /* Subtle focus effect for touch */
  }
}

/* Remove old .about-card and .benefits styles if present */
.about-card, .benefits { display: none !important; }

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
  }
  
  .about-benefits-card {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }
  
  .about-benefits-card h2 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .benefit-item {
    padding: 1.3rem;
  }
  
  .benefit-icon {
    font-size: 2.2rem;
  }
  
  .benefit-item h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-benefits-card {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem 1rem;
  }
  
  .about-benefits-card h2 {
    font-size: 1.6rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .benefit-item {
    padding: 1.2rem;
  }
  
  .benefit-icon {
    font-size: 2rem;
  }
  
  .benefit-item h3 {
    font-size: 1.1rem;
  }
  
  .benefit-item p {
    font-size: 0.9rem;
  }
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2d4739;
  min-width: 2.5rem;
  text-align: center;
}

.lang-btn:hover {
  background: rgba(46,139,87,0.1);
  color: #20704a;
  transform: translateY(-1px);
}

.lang-btn.active {
  background: linear-gradient(90deg, #2e8b57 60%, #43a047 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(46,139,87,0.3);
}

.lang-btn.active:hover {
  background: linear-gradient(90deg, #20704a 60%, #388e3c 100%);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .language-switcher {
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem;
    gap: 0.3rem;
  }
  
  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: 2.2rem;
  }
}

@media (max-width: 600px) {
  .language-switcher {
    top: 1rem;
    right: 1rem;
    padding: 0.3rem;
    gap: 0.2rem;
  }
  
  .lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    min-width: 2rem;
  }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #2d4739;
  opacity: 0.85;
}
.site-footer a {
  color: #20704a;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
