/* Reset some basic styles */
body,
h1,
p,
nav,
header,
section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}

body,
html {
  background: rgba(0, 0, 0, 0)
    linear-gradient(to right, #00c9fd 0%, #81ee8e 100%);
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
}

li {
  list-style: none
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  height: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  /* 加下下边框 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.logo {
  display: flex;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2px;
  align-items: center;
}

.logo img {
  width: 180px;
  margin-right: 10px;
}

.menu {
  display: flex;
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  padding: 10px;
  font-size: 18px;
  border-radius: 8px;
  background: none;
}

.menu a.active {
  background-image: linear-gradient(218deg, #6e28d9 56%, #ff426f);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(100% - 60px);
}
.common-artilce {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.6);
  margin: 5% 3%;
  margin-bottom: 100px;
  border-radius: 10px;
  justify-content: space-between;
  line-height: 1.5;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  padding: 5% 3%;
}

.common-artilce .section-title {
  width: 100%;
  font-size: 32px;
  font-weight: bold;
  text-align: start;
  padding: 20px 0;
  color: #fff;
  margin-bottom: 20px;
}

.common-artilce p {
  margin-bottom: 10px;
}

.intro {
  flex: 1;
  padding: 5% 10% 5% 5%;
  text-align: left;
}

.intro img {
  max-width: 50%;
  height: auto;
}

.intro h1 {
  font-size: 64px;
  color: #f0283c;
}

.intro h1 span {
  color: #ffa500;
}

.intro p {
  font-size: 20px;
  margin-top: 20px;
}

.app-showcase {
  padding: 5%;
  flex: 1;
  display: flex;
  justify-content: center;
  background-image: url('../img/phone-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.app-showcase img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 0 0 30px 0;
    width: 100%;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    display: block;
    margin: 0;
    border-radius: 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .logo {
    text-align: center;
    font-size: 24px;
  }

  .content {
    flex-direction: column;
    align-items: center;
    height: auto; /* Allow content to expand naturally */
  }

  .intro h1 {
    margin-top: 50px;
    font-size: 32px;
    color: #f0283c;
  }

  .intro,
  .app-showcase {
    max-width: 90%;
    width: 100%;
    padding: 0;
    text-align: start;
    padding-top: 20px;
    background-size: 100%;
    padding-bottom: 50px;
  }
  .app-showcase {
    max-width: 100%;
  }
  .app-showcase img {
    max-width: 60%;
  }

  .intro p {
    font-size: 16px;
  }
  .common-artilce .section-title {
    font-size: 24px;
  }
}
