@font-face {
  font-family: 'FixelText';
  src: url('fonts/FixelText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FixelText';
  src: url('fonts/FixelText-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

:root {
  --main-bg: #F9E9A1;
  --body-bg: #F9E9A1;
  --features-bg: #F9E9A1;
  --divider-color: #E5D48A;
  --faq-plus-color: #AF9F59;
  --text-color: #333;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #F9E9A1;
}
::-webkit-scrollbar-thumb {
  background-color: #ADA578;
  border-radius: 6px;
  border: 3px solid #F9E9A1;
}

body {
  background: var(--body-bg);
  color: var(--text-color);
  font-family: 'FixelText', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
}

.hero-container {
  width: 100%;
  height: 100vh;
  background: url('img/bg.svg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 40px 0 40px;
  width: 100%;
}

header img.logo {
  height: 30px;
}

header a.contact-us {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}
header a.contact-us::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}
header a.contact-us:hover::after {
  width: 100%;
}

.hero {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-top-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-top-content .icon {
  height: 100px;
  filter: drop-shadow(0 25px 25px rgba(60, 46, 3, 0.63));
}

.hero-top-content h1 {
  font-size: 2.4rem;
  margin: 20px 0 0;
  font-weight: 600;
}

.hero-top-content .subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
  max-width: 570px;
  margin: 0 auto 20px;
}

.hero-action {
  position: relative;
  width: 100%;
}

.buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.buttons a {
  display: inline-block;
  transition: transform 0.3s ease;
}
.buttons a:hover {
  transform: scale(1.05);
}
.buttons a::after {
  content: none;
}
.buttons img {
  height: 36px;
  width: auto;
}

/* Specific styling for ProductHunt button */
.buttons a[href*="producthunt"] img {
  border-radius: 12px;
}

.platform-info {
  font-size: 0.9rem;
  color: #666;
  margin: 2px 0 40px 0;
  text-align: center;
}


.subscriptionday-img {
  width: 800px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 25px 25px rgba(60, 46, 3, 0.63));
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .subscriptionday-img {
    position: absolute;
    width: 800px;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    margin: 0;
  }
}

.features {
  max-width: var(--max-width);
  margin: 100px auto;
  padding: 0 20px;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767.98px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  background: #EDDD97;
  border-radius: 23px;
  padding: 40px;
  text-align: left;
}
.feature-item img {
  height: 40px;
  margin-bottom: 10px;
}
.feature-item h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}
.feature-item p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.5;
}

.faq-section {
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 0 20px 60px;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--divider-color);
  padding: 15px 20px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  user-select: none;
}
.faq-question span {
  color: var(--faq-plus-color);
  font-weight: 400;
  font-size: 1.3rem;
  transition: transform 0.6s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  font-size: 1.1rem;
  color: #555;
  width: 80%;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
}
.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: #666;
}
footer a {
  color: #666;
  text-decoration: none;
  margin: 0 8px;
  position: relative;
}
footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #666;
  transition: width 0.3s ease;
}
footer a:hover::after {
  width: 100%;
}

.footer-note {
  margin-top: 30px;
  margin-bottom: 30px;
  opacity: 0.5;
}

.buttons a img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  -webkit-user-drag: none;
}
.faq-link {
  color: #000;
}

@media (max-width: 950px) {
  .hero-top-content .icon {
    height: 80px;
  }
}
@media (max-width: 767px) {
  header {
    padding: 10px 20px 0 20px;
  }

  .hero-container {
    height: 100dvh;
  }

  .features {
    margin: 40px auto;
    margin-top: 100px;
  }

  .feature-item {
    padding: 30px;
  }

  footer {
    font-size: 0.9rem;
  }

  body {
    font-size: 1rem;
  }

  .hero-top-content h1 {
    font-size: 1.9rem;
  }

  .hero-top-content .subtitle {
    font-size: 1rem;
    max-width: 330px;
  }
  .subscriptionday-img {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    transform: none;
  }
  .hero-top-content {
    padding-top: 100px;
  }
}


@media (min-width: 768px) {
  .features {
    margin: 400px auto 100px auto;
  }
}

/* Mobile Section Styles */
.mobile-section {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: column;
}

.mobile-image {
  flex: 1;
  text-align: center;
}

.mobile-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

.mobile-text {
  flex: 1;
  text-align: center;
}

.mobile-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.mobile-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
}

.mobile-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
}

.coming-soon-btn {
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.5);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 1;
}

@media (min-width: 768px) {
  .mobile-content {
    flex-direction: row;
    text-align: left;
  }
  
  .mobile-image {
    flex: 0.4;
    text-align: right;
  }
  
  .mobile-image img {
    max-height: 500px;
  }
  
  .mobile-text {
    flex: 0.6;
    text-align: left;
  }
}