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

:root {
  --green: #2D6A4F;
  --green-light: #40916C;
  --green-dark: #1B4332;
  --cream: #F8F4EF;
  --text: #1a1a1a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -100px;
  right: -150px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -80px;
  left: -100px;
}

.hero-icon {
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
}

.hero-logo {
  font-size: 4.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease both;
}

.hero-tagline {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.store-btn {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.store-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-hint svg {
  width: 22px;
  height: 22px;
  stroke: rgba(255,255,255,0.7);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 3.5rem;
  line-height: 1.2;
}

.cards-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px) !important;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.how-section {
  background: #fff;
  padding: 6rem 2rem;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.how-section .section-title { color: var(--green-dark); }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-top: 3rem;
}

.step {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(4) { transition-delay: 0.3s; }

.step-num {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

.step-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.step-text p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--cream);
}

.cta-section .section-title { color: var(--green-dark); margin-bottom: 1rem; }

.cta-sub {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* Demo section */
.demo-section {
  padding: 6rem 2rem;
  background: var(--green-dark);
  text-align: center;
}

.demo-section .section-label {
  color: rgba(255,255,255,0.6);
}

.demo-section .section-title {
  color: #fff;
  margin-bottom: 4rem;
}

.phones-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.phone-frame {
  width: 220px;
  height: 476px;
  border-radius: 44px;
  border: 8px solid #222;
  outline: 1.5px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,0,0,0.5);
  background: #000;
}


.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 560px) {
  .phone-frame {
    width: 155px;
    height: 336px;
    border-radius: 32px;
    border-width: 8px;
  }
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@media (max-width: 640px) {
  .cards-track { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-logo { font-size: 2.5rem; }
  .section-title { font-size: 1.75rem; }
}
