*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --primary-light: #D8F3DC;
  --primary-green: #95D5B2;
  --primary-dark: #081c15;
  --secondary-purple: #8367C7;
  --secondary-blue: #5EADF1;
  --secondary-yellow: #F7D669;
  --neutral-white: #fff;
  --neutral-light-gray: #F7F9FA;
  --neutral-gray: #E9ECEF;
  --neutral-dark-gray: #6c757d;
  --neutral-black: #212529;
  --accent-pink: #FFC0CB;
  --accent-orange: #FFA500;
  --shadow-subtle: 0px 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0px 8px 24px rgba(0, 0, 0, 0.1);
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --hero-gradient: linear-gradient(180deg, #D8F3DC 0%, #FFFFFF 100%);
  --section-padding: 64px;
  --card-padding: 24px;
  --font-main: 'Poppins', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--neutral-light-gray);
  color: var(--primary-dark);
  overflow-x: hidden;
}

main {
  padding-top: 124px;
}

body {
  min-height: 100vh;
}

/* Header */

.relaxo-header {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 12px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1000;

}

.brandlogo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.relaxo-header h1 {
  font-weight: 700;
  font-size: 22px;
  color: #37474F;
}

.brandlogo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-medium);
  background: var(--primary-light);
}

.download-appstore img {
  height: 40px;
  max-height: 100%;
  width: auto;
  display: block;
}

/* Hero */
.hero-section {
  border-radius: 48px;
  background: radial-gradient(96.05% 82.28% at 82.39% 9.81%, #E8FFBA 0%, #B4FF8F 100%);
  margin: 0px 20px;
  position: relative;
  text-align: center;
  padding: 65px 0px 0px 0px;
  overflow: hidden
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-logo img {
  aspect-ratio: 12/4;

}

.hero-space {
  height: 24px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #37474F;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: #527B88;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: -60px;
  z-index: 2;
  position: relative;
}

.hero-mockup img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Info Cards Section */
.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  box-sizing: border-box;
  padding: 120px 32px;
  max-width: 100%;
}

.info-cards {
  display: flex;
  gap: 16px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-subtle);
  padding: 24px 20px;
  min-width: 180px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.info-right {
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  margin-left: 24px;
}

.info-title h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #37474F
}

.info-right ul {
  padding-left: 18px;
  margin: 0;
  color: var(--neutral-dark-gray);
  font-size: 16px;
  line-height: 1.7;
}

.info-right li {
  margin-bottom: 6px;
}

.info-title {
  max-width: auto;
  padding: 0 10%;
}

.info-title h2 {
  margin-bottom: 4px;
}

.info-title p {
  margin-top: 0;
  color: var(--neutral-dark-gray);
}

/* Features Section */
.features-section {
  background-color: #edf7f7;
  border-radius: 48px;
  margin: 32px 20px auto;
  padding: 120px 0;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.features-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;
}

/* Audience Section */
.audience-section {
  padding: 120px 0px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audience-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 37px 0 0 0;
  max-width: 1080px;
}

.audience-tag {
  background: #F7F9FA;
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 500;
  box-shadow: var(--shadow-subtle);
  display: inline-block;
}

/* Download Section */
.download-section {
  border-radius: 48px;
  background-color: #edf7f7;
  margin: 32px 20px auto;
  padding: 120px 0;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.download-logo {
  width: 60px;
  margin-bottom: 12px;
}

.download-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.download-desc {
  color: var(--neutral-dark-gray);
  font-size: 16px;
  margin-bottom: 16px;
}

/* Footer Section */
.footer-info {
  background: transparent;
  max-width: 1080px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 600;
}

.footer-links a {
  color: #527B88;
  font-size: 14px;
  transition: color 0.2s;
  border-radius: 4px;
}

.footer-links p {
  font-weight: 50;
  color: #d7d7d7;
}

.faq-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.heydeal_studio {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.footer-logo svg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}

.footer-logolink {
  display: flex;
  align-items: center;
  gap: 12px;
}


.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #37474F;
  letter-spacing: 0.5px;
}

.brand-slogen {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #6E96A2;
  letter-spacing: 0.5px;
}

.footer-copyright {
  height: 100px;
  color: #B0B8C1;
  font-size: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #E1E7E0;
}

.footer-media {
  display: flex;
  gap: 10px;
}

.footer-media svg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #E1E7E0;
  transition: border 0.2s;
}

/* 响应式 */
@media (max-width: 950px) {


  
  .info-section {
    flex-direction: column;
    /* 竖排堆叠 */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .info-right {
    order: -1;
    /* 数值越小越靠前，-1比默认0更小 */
  }

  .hero-section,
  .info-section,
  .features-section,
  .audience-section,
  .download-section {
    padding: 60px 0px;
  }

  .footer-info {
    flex-direction: column;
  }

  .heydeal_studio {
    display:flex;
    flex-direction:column;
    align-items: center;
  }

  .brand {
    align-items: center;
  }

  .faq-social {
    flex-direction: column;
    gap: 8px;
  }
  
}

@media (max-width: 768px) {

  main {
    padding-top: 69px;
  }

  .body,
  .relaxo-header,
  .hero-section,
  .features-section,
  .info-section,
  .audience-section,
  .download-section,
  .footer-info {
    max-width: 100vw !important;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .relaxo-header {
    padding: 20px;
    height: 68px;
  }

  .hero-section {
    text-align: center;
    padding-top: 40px;
    overflow: hidden
  }

  .hero-logo {
    display: flex;
    justify-content: center;
    position: relative;
  }

  .hero-mockup {
    width: 100%;
    aspect-ratio: 16/9;
    background-image: url('img/RelaxoMain_Mobile.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    min-height: unset;
    max-height: unset;
  }

  .hero-mockup img {
    display: none;
  }

  .hero-section,
  .info-section,
  .features-section,
  .audience-section,
  .download-section {
    padding: 60px 0px;
    border-radius: 0px;
  }

  .info-cards {
    padding: 10px;
  }

  .features-mockup {
    background-image: url('img/featurecards_mobile.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    aspect-ratio: 1/3.5;
    height: auto;
    min-height: unset;
    max-height: unset;
  }

  .features-mockup img {
    display: none;
  }

  .audience-section {
    min-width: 0;
  }

  .audience-tags {
    min-width: 480px;
  }

  .audience-tag {
    padding: 12px 20px;
    font-size: 12px;
    display: inline-block;
  }

 

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .info-title h2 {
    font-size: 30px;
    margin-bottom: 5px;
  }

  .info-title p {
    font-size: 18px;
    margin-top: 0;
    color: var(--neutral-dark-gray);
  }

  .info-right li {
    font-size: 15px;
    margin-bottom: 3px;
  }

  

  

  .footer-copyright {
    height: 70px;
    color: #B0B8C1;
  }

}




@media (max-width: 500px) {

  
  .brandlogo {
    gap: 8px;
  }
  
  .relaxo-header h1 {
    font-size: 18px;
  }
  
  .brandlogo img {
    width: 36px;
    height: 36px;

  }
  
  .download-appstore img {
    height: 36px;

  }
  


  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .info-title h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .info-title p {
    font-size: 14px;
    margin-top: 0;
    color: var(--neutral-dark-gray);
  }

  .info-right li {
    font-size: 14px;
    margin-bottom: 2px;
  }
}

a {
  text-decoration: none;
}
