:root {
  --font-xl: 42px;
  --font-lg: 24px;
  --font-md: 20px;
  --font-sm: 18px;
  --font-xs: 16px;
  --font-xxs: 14px;
}
@media (max-width: 768px) {
  :root {
    --font-xl: 18px;
    --font-lg: 16px;
    --font-md: 14px;
    --font-sm: 12px;
    --font-xs: 12px;
    --font-xxs: 12px;
  }
}

@font-face {
  font-family: 'Pangram';
  src: url('../fonts/pangrammedium.woff2') format('woff2'),
       url('../fonts/pangrammedium.woff') format('woff'),
       url('../fonts/pangrammedium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, h1, h2, h3, p, ul, li, form, input, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, .app__fulldescription-content > p, .app__fulldescription-content > ul > p {
  color: #1E7652 !important;
}

body {
    font-family: 'Pangram', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-size: var(--font-md);
    background-color: #F8F6EA;
    background-size: cover;
    background-position: 20vw -10vh;
    background-repeat: no-repeat;
    line-height: 1.4;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #F4E0A8;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

header:hover {
    background-color: #E5D2A1;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
    }

    .right-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .language-selector {
        margin-top: 10px;
    }

    .language-selector select {
        margin-left: 0px;
    }
}

main {
    flex: 1;
    width: 100%;
    background-color: #F8F6EA;
    font-family: 'Pangram', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    overflow-x: hidden;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    background-image: url('../assets/home-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

@keyframes backgroundSlide {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

.hero h1 {
    position: relative;
    z-index: 1;
    animation: fadeInDown 2s;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 2s;
}

.download-buttons a {
    display: inline-block;
    transition: transform 0.3s;
}

.download-buttons a:hover {
    transform: scale(1.1);
}

.download-buttons img {
    width: auto;
    max-width: 250px;
    height: auto;
}

.product-hunt-badge {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 2s;
}

.product-hunt-badge img {
  width: 250px;
  height: 54px;
  transition: transform 0.3s;
  margin-right: 20px;
}

.product-hunt-badge img:hover {
  transform: scale(1.1);
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.features, .reviews {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.feature-card, .review-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-cards-container, .review-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.feature-card:hover, .review-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3em;
    color: #1E7652;
    margin-bottom: 10px;
}

.feature-card h3, .review-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p, .review-card p {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.features h2, .reviews h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature, .review {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.feature-photo, .review-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.features p, .reviews p {
    margin: 0;
    color: #152D1B;
    flex: 1;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.contactus {
    padding: 2rem 0;
    text-align: center;
    background-color: #F8F6EA;
    animation: fadeIn 2s;
    margin-top: 24px;
}

.contactus div {
    max-width: 600px;
    margin: auto;
}

.contactus p {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-left: 16px;
    margin-right: 16px;
}

.contact-button {
    background-color: #1E7652;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.75s;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 0;
}

.contact-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.contact-button:focus {
    outline: none;
}

.contact-button span {
    position: relative;
    z-index: 1;
}

.footer {
    padding: 16px 0;
    font-size: var(--font-xs) !important;
    text-align: center;
    background-color: #F8F6EA;
}

.footer a {
    font-family: 'Pangram', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: var(--font-xs) !important;
    color: #152D1B;
    text-decoration: none;
}

.footer a:hover {
    color: #9CC1B6;
}

.footer__container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer__links {
    list-style: none;
    display: flex;
    padding-left: 0;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.footer__link {
    margin: 8px;
}

@media (max-width: 768px) {
    .footer__container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer__link {
        margin: 8px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #152D1B;
}

.logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.right-container {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    margin: 0 10px;
    color: #1E7652;
    font-size: 28px;
}

.social-icons a:hover {
    color: #152D1B;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #1E7652;
    background-color: #F8F6EA;
    cursor: pointer;
    margin-left: 20px;
}

.language-selector select:focus {
    outline: none;
    border-color: #45a049;
}

.content-below-buttons {
    margin-top: 48px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
}

.highlights-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    align-items: center;
}

.highlight {
    flex: 1;
    max-width: 25%;
    min-width: 10%;
    text-align: center;
    box-sizing: border-box;
    margin: 20px;
}

.highlight-content {
    display: inline-block;
    background: #1E7652;
    color: #F8F6EA;
    padding: 30px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Pangram', sans-serif;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.highlight-icon {
    font-size: 3em;
    margin-bottom: 10px;
    color: #F8F6EA;
}

.highlight-number {
    font-size: 2.5em;
    font-weight: bold;
    display: block;
    animation: countUp 2s;
}

.highlight-text {
    font-size: 1.2em;
}

.screenshots {
    width: 50%;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.screenshots img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.app__fulldescription-content {
  margin-top: 24px;
}

@keyframes countUp {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .highlight {
        flex-basis: 80%;
        max-width: 90%;
        margin: 10px auto;
        padding: 0 5px;
    }

    .highlight-content {
        padding: 20px 20px;
    }

    .highlight-number {
        font-size: 2em;
    }

    .highlight-text {
        font-size: 1em;
    }

    .highlight-icon {
        font-size: 2.5em;
    }

    .download-buttons img {
        width: 150px;
    }

    .product-hunt-badge img {
      width: 150px;
      height: auto;
    }

    .content-below-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features, .reviews {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .feature-photo, .review-photo {
        width: 50px;
        height: 50px;
    }

    .features h3, .reviews h3 {
        font-size: var(--font-sm);
    }

    .screenshots {
        display: none;
    }

    .feature-card, .review-card {
        width: 80%;
    }
}
