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

:root {
  --primary: #064E3B; /* Deep emerald green */
  --primary-light: #0d6b52;
  --accent: #10B981; /* Lighter emerald for highlights */
  --secondary: #ffffff;
  --text-dark: #111827;
  --text-gray: #4b5563;
  --text-light: #9ca3af;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-brand img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.15);
}

.btn-download {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--secondary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(6, 78, 59, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(6, 78, 59, 0.25);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 5% 4rem;
  background: radial-gradient(circle at top right, #edfdfb 0%, #ffffff 100%);
  min-height: 85vh;
  gap: 4rem;
  position: relative;
}

/* Abstract Background Shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(6, 78, 59, 0.08);
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.play-store-btn img {
  height: 60px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.play-store-btn:hover img {
  transform: scale(1.05) translateY(-2px);
}

.hero-mockup {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* Premium Phone Mockup (Pure CSS) */
.phone-wrapper {
  position: relative;
}

/* Glowing shadow behind phone */
.phone-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 90%;
  height: 90%;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}

.phone {
  width: 320px;
  height: 660px;
  background-color: #222222;
  border-radius: 45px;
  border: 12px solid #111111;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 35px 60px -15px rgba(6, 78, 59, 0.4);
  position: relative;
  overflow: hidden;
}

.phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 30px;
  background-color: #111111;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 2;
}

.screen {
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s;
}

/* Stats Section */
.stats-section {
  padding: 4rem 5%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
  background: var(--secondary);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  padding: 3rem;
  border: 1px solid rgba(0,0,0,0.02);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(0,0,0,0.08);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  font-family: inherit;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Info Banner / Feature Highlight */
.highlight-section {
  padding: 6rem 5%;
  background: var(--bg-light);
  overflow: hidden;
}

.highlight-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.highlight-text {
  flex: 1;
}

.highlight-text h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.check-list li i {
  color: var(--primary);
  background: rgba(6, 78, 59, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.highlight-image {
  flex: 1;
  position: relative;
}

/* Replace simple phone with a card composition */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.06);
  position: relative;
}

/* Detailed Features Grid */
.features {
  padding: 8rem 5%;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--primary);
  transition: height 0.4s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(6, 78, 59, 0.12);
  border-color: rgba(6, 78, 59, 0.1);
}

.card:hover::before {
  height: 4px;
}

.icon-wrapper {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(6, 78, 59, 0.05);
}

.card:hover .icon-wrapper {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.1);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.card p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* Final CTA Section */
.cta-section {
  padding: 6rem 5%;
  background: var(--primary);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-download {
  display: inline-flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.cta-download:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #032e22; /* Darker than primary */
  color: rgba(255,255,255,0.7);
  padding: 4rem 5% 3rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom strong {
  color: white;
}

/* Responsive constraints */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .highlight-container { flex-direction: column; text-align: center; }
  .check-list li { justify-content: center; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
  }
  
  .stat-item:not(:last-child)::after {
    right: 50%;
    bottom: -1.5rem;
    top: auto;
    width: 60%;
    height: 1px;
    transform: translateX(50%);
  }

  .cta-content h2 { font-size: 2.2rem; }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}
