/* Main Styles for Gainz + Gainz Website */

/* ============================================
   FONT FACES
   ============================================ */

@font-face {
  font-family: 'Archia';
  src: url('../../assets/font/archia-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archia';
  src: url('../../assets/font/archia-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
  background: #000;
  line-height: 24px;
  font-size: 15px;
  color: #fff;
}

body {
  font-family: 'Archia', "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 60px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2 {
  font-weight: 400;
  font-size: 32px;
  line-height: 48px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  font-weight: 400;
  font-size: 19px;
  line-height: 36px;
}

strong {
  font-weight: bold;
}


li {
 font-size: 19px;
 line-height: 36px;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

section {
  padding: 96px 0;
}

.primary {
  width: 62%;
}

.secondary {
  width: 38%;
}

.white H2, .white p {
  color: #000;
}

.inverted-btn{
  background: #000;
  color: #fff;
  text-decoration: none;
  max-height: 72px;
  padding: 18px;
  display: inline-block;
  letter-spacing: 1px;
}

/* ============================================
   HEADER
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 60px;
  display: flex;
  align-items: center;
  width: 100%;
  background: #000;
  z-index: 1000;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-appIcon {
  width: auto;
  height: 20px;
}

.header-right img {
  height: 40px;
}

.appStoreBadge {
  height: 36px;
  width: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */

.n01 {
  background: #E2E3E4;
  color: #000;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding-top: 12px;
}

/* ============================================
Colors
 ============================================ */

 .white {
   background: #fff;
 }

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-accordion {
  max-width: 1024px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  position: relative;
}

.faq-toggle {
  display: none;
}

.faq-question {
  width: 100%;
  font-size: 19px;
  line-height: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  color: #fff;
  display: block;
  padding: 12px 0;
}

.faq-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-toggle:checked + .faq-question .faq-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #000;
  border-bottom: 1px solid white;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #000;
  color: white;
  padding-bottom: 40px;
  padding-top: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 12px;
}

.footer-links a:hover {
  color: #007bff;
}

/* ============================================
   IMAGES
   ============================================ */

img {
  width: 100%;
  height: auto;
}

.fifty-percent {
  width: 50%;
}

section:first-of-type {
  padding-top: 24px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  
  .hero {
    padding-top: 0;
  }

  
  .fifty-percent {
    width: 100%;
  }

  .section-container {
    flex-direction: column;
    align-items: stretch;
  }

  /* Header container should remain horizontal on mobile */
  header .section-container {
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
  }

  /* Header specific mobile styles */
  .header-appIcon {
    height: 18px;
  }

  .appStoreBadge,
  .header-right img {
    height: 32px;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .faq-item {
    overflow: visible;
  }

  .faq-question {
    padding: 24px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
  }

  .faq-chevron {
    right: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-toggle:checked ~ .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  /* Header container padding for smaller mobile */
  header .section-container {
    padding: 0 16px;
  }

  /* Smaller header elements for very small screens */
  .header-appIcon {
    height: 10px;
  }

  .appStoreBadge,
  .header-right img {
    height: 20px;
  }

  .faq-item {
    overflow: visible;
  }


  .faq-chevron {
    right: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
  }

  .faq-answer {
    padding: 0 12px;
  }

  .faq-toggle:checked ~ .faq-answer {
    padding: 12px;
  }
}
