html {
  opacity: 0.05;
  animation: siteFadeIn 0.75s ease-in-out forwards;
}
@keyframes siteFadeIn {
  from {
    opacity: 0.05;
  }

  to {
    opacity: 1;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  min-width: 375px;
}

p {
  line-height: 2;
}

.logo {
  width: 160px;
}

#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff url('./images/hero_bg.svg') no-repeat center center / cover;
  background-attachment: fixed;
}

#hero header {
  padding: 30px;
}

.hero-content {
  flex-grow: 1;
}

#hero nav {
  font-size: 30px;
  display: flex;
  flex-direction: column;
}

#hero nav a {
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  position: relative;
}

#hero nav a.active {
  color: #000;
}

#hero nav a.active:before {
  position: absolute;
  content: '';
  width: 12px;
  height: 12px;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000;
}

h1 {
  font-size: 70px;
  font-weight: 700;
  margin-bottom: 40px;
}

h1 span {
  color: #5600C3;
}

#hero ul {
  font-size: 24px;
  font-weight: 700;
}

.feature-list {
  max-width: 540px;
}

.feature-list li {
  margin-bottom: 1rem;
}

#stats {
  background-color: #000;
  color: #fff;
}

h2 {
  font-size: 30px;
  font-weight: 700;
}

.section {
  position: relative;
  padding: 90px 0;
}

.curve-top, .curve-bottom {
  position: absolute;
  top: 0;
  left: 0px;
  right: 0px;
  max-width: 100%; 
  display: block;
}

.curve-bottom {
  top: unset;
  bottom: 0;
  transform: rotate(180deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 20px; /* Optional: adds space between columns */
}

.stats-grid dl {
  margin: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
}

.stats-grid dl dd {
  font-size: 70px;
  font-weight: 700;
}

.stats-grid dl dt {
  font-size: 24px;
  font-weight: 300;
}

#product-features {
  background-color: #000;
  color: #fff;
}

.feature-icon {
  background: url('images/feature_icon_bg.svg') no-repeat center center / cover;
  width: 95px;
  height: 94px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px auto;
}

.feature-label {
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background-color: #D9D9D9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-phone {
  width: 34px;
  height: 32px;
}

.icon-email {
  width: 34px;
  height: 27x;
}

.icon-label a {
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.card {
  border-radius: 10px;
  border: 0;
  background-color: #F1F1F1;
}

.form-control {
  border: unset;
  border-radius: 10px;
}

#ipad {
  position: absolute;
  width:860px;
  top: 320px;
  right: -220px;
  pointer-events: none;
}

#ipad-container {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  min-height: 100vh;
  height: 2000px;
  pointer-events: none;
  /* border: 1px solid red; */
}

#ipad-vertical-container {
  display: none;
  width: 350px;
  max-height: 250px;
  overflow: hidden;
  margin: 30px auto 0 auto;
}

#ipad-vertical {
  max-width: 100%;
  height: auto;
}

#scroll-counter {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #f0f0f0;
  padding: 10px;
  border: 1px solid #ccc;
}

@media(max-width: 1300px) {
  #ipad {
    width:720px;
  }
  #hero nav {
    margin-left: 20px;
  }
}

@media(max-width: 1146px) {
  h1 {
    font-size: 60px;
  }
}

@media(max-width: 1300px) {
  #ipad {
    width:680px;
    top: 320px;
    right: -260px;
  }
}

@media(max-width: 991px) {
  #hero header {
    padding: 15px;
  }

  #hero nav {
    font-size: 30px;
  }

  #ipad {
    top: 350px;
  }

  #ipad-vertical-container {
    display: block;
  }

  #hero ul {
    font-size: 20px;
    font-weight: 700;
  }

  #ipad-container {
    display: none;
  }
}

@media(max-width: 767px) {
  #hero nav {
    margin-left: 0px;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
}

@media(max-width: 646px) {
  #hero nav {
    font-size: 20px;
    margin-bottom: 40px;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .stats-grid dl dd {
    font-size: 36px;
  }
  
  .stats-grid dl dt {
    font-size: 18px;
  }
}

@media(max-width: 450px) {
  .logo {
    width: 160px;
  }

  .stats-grid dl dt {
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }
}


.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}

.feature-col {
  flex: 0 0 270px;
  max-width: 270px;
}

.feature-label {
  font-weight: 700;
}

.feature-icon img {
  width: 48px;
  transform: translateY(-4px);
  animation: hover-up-down 2s ease-in-out infinite;
}

@keyframes hover-up-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
