body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #222;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #273c75;
  color: #fff;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}
.logo { height: 48px; }
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
}
.cta-btn {
  background: #0097e6;
  color: #fff;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
main {
  max-width: 900px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 8px #bbb3;
}
h1, h2 { color: #273c75; }
footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  background: #eee;
  color: #888;
  border-top: 1px solid #ddd;
}
ul { padding-left: 2em; }
.store-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2em;
}

.store-badge {
  width: 160px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  display: block;
}

.getting-started-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1.5em;
}
.cta-btn + .cta-btn {
  margin-left: 1.2em;
  margin-top: 0;
}
/* Fan styles */
.card-fan-container {
  width: 340px;
  height: 220px;
  margin: 9.5em auto 2.5em auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  z-index: 1;
}
.card-fan {
  position: absolute;
  width: 180px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0002;
  transition:
    transform 0.3s cubic-bezier(.4,2,.5,.98),
    box-shadow 0.2s,
    z-index 0.2s;
  cursor: pointer;
  bottom: 0;
}
.card-fan-1 {
  left: 0;
  transform: rotate(-18deg) scale(0.92);
  z-index: 1;
}
.card-fan-2 {
  left: 80px;
  transform: rotate(0deg) scale(1);
  z-index: 2;
}
.card-fan-3 {
  left: 160px;
  transform: rotate(16deg) scale(0.92);
  z-index: 1;
}
.card-fan:hover, .card-fan:focus {
  z-index: 10;
  transform: scale(1.15) translateY(-30px) rotate(0deg);
  box-shadow: 0 8px 40px #0005;
}
@media (max-width: 800px) {
  main { padding: 1em; }
  .hero, .why, .security { flex-direction: column !important; }
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem;
  }
  nav {
    margin-top: 0.7em;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  nav a {
    margin: 0 0.7em 0.7em 0;
    display: inline-block;
  }
  .logo { height: 44px; }
  .card-fan-container {
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 2.2em auto 2.5em auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    position: relative;
  }
  .card-fan {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: 0 !important;
    margin: 0 0.2em;
    width: 90px !important;
    transform: none !important;
    z-index: 1;
    transition:
      transform 0.3s cubic-bezier(.4,2,.5,.98),
      box-shadow 0.2s,
      z-index 0.2s;
  }
  .card-fan.active {
    z-index: 10;
    transform: scale(1.5);
    box-shadow: 0 8px 40px #0005;
  }
  .cta-btn {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 1em auto;
    text-align: center;
  }
  .cta-btn + .cta-btn { margin-top: 0; margin-left: 0; }
  .store-buttons {
    display: flex;
  justify-content: center; /* Aligns items to the start (left) of the container */
  align-items: center; 
  gap: 1.5em;
  }

  .store-badge {
    width: 75%;
    max-width: 260px;
	align-items: center;
  }
  .store-badge.svg-badge {
  width: 100%;
  height: 42px;
}
.store-badge.png-badge {
  width: 128px;
  padding-left: 7px;
}
  
  .getting-started-btns {
    flex-direction: column;
    align-items: center;
  }

  .getting-started-btns .cta-btn {
    width: 100%;
    max-width: 260px;
  }
  }
}
