@font-face {
  font-family: "Fira Medium";
  src: url("fonts/Fira_Sans/FiraSans-Medium.ttf");
}

@font-face {
  font-family: "Fira Regular";
  src: url("fonts/Fira_Sans/FiraSans-Regular.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Fira Regular', sans-serif;
    background-color: #F8F9FB;
    color: #000;
    line-height: 1.2;
}

.page-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Header Styles */
.main-header {
    
    width: 100%;
    background-color: #FFF;
    border-bottom: 1px solid #D9D9D9;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    width: 100%;
    padding: 17px 250px;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    /* text-decoration: none; */
}

.aladdin-logo {
    width: 48px;
    height: 36px;
    position: relative;
}

.logo-icon {
    width: 35px;
    height: 36px;
    position: absolute;
    left: 13px;
    top: 0;
}

.logo-text {
    width: 45px;
    height: 9px;
    position: absolute;
    left: 0;
    top: 14px;
}

.tagline {
    font-family: 'Fira Medium', sans-serif;
    color: #464749;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
    cursor: pointer;
}

.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Fira Regular', sans-serif;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:active {
    color: #12d342;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #E64117;
}

/* Main Content */
.main-content {
    width: calc(100% - 500px);
    margin: 154px auto 0;
    padding-bottom: 120px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}

.product-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
}

.product-title {
    font-family: 'Fira Medium', sans-serif;
    color: #000;
    font-size: 32px;
    font-weight: 500;
    line-height: 120%;
}

.product-description {
    width: 700px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

/* Downloads Section */
.downloads-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.download-category {
    display: flex;
    width: 701px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.platform-title {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    width: 100%;
}

.documentation-title {
    font-family: 'Fira Medium', sans-serif;
  width: 100%;
  color: #4E5F76;
  font-feature-settings: "dlig" on;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
    
}

.download-links {
    display: flex;
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    border-top: 1px solid #C6C7C9;
}

.download-link {
    color: #1976D2;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    width: 100%;
    text-decoration: none;
    transition: color 0.2s ease;
}

.download-link:hover {
    /* text-decoration: underline; */
    color: #E64117;

}


/* Footer */
.main-footer {
    display: flex;
    width: 100%;
    padding: 26px 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #E4E4E4;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 69px;
    box-sizing: border-box;
    background-color: #F8F9FB;
}
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.contact-title {
    font-family: 'Fira Medium', sans-serif;
  width: 100%;
  color: #000;
  font-feature-settings: "dlig" on;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: -1px;
  width: 100%;
}

.contact-item {
  display: flex;
  padding: 16px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 700px;
  border-top: 1px solid #c6c7c9;
  /* border-bottom: 1px solid #c6c7c9; */
}

.contact-item-adress {
  display: flex;
  padding: 16px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 700px;
  border-top: 1px solid #c6c7c9;
  border-bottom: 1px solid #c6c7c9;
}

.contact-label {
    font-family: 'Fira Medium', sans-serif;
  width: 100%;
  color: #e64117;
  font-feature-settings: "dlig" on;
  /* font-family: "Fira Sans", sans-serif; */
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
}

.contact-value {
  width: 100%;
  color: #000;
  font-feature-settings: "dlig" on;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  margin: 0;
}


.copyright {
    color: #E64117;
    font-size: 14px;
    font-weight: 300;
    line-height: 120%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-content {
        padding: 17px 50px;
    }

    .main-content {
        width: calc(100% - 100px);
        margin-left: 50px;
        margin-right: 50px;
    }

    .product-description,
    .download-category,
    .contact-item,
    .contact-item-adress {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 17px 20px;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .logo-section {
        justify-content: center;
    }

    .main-navigation {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .main-content {
        width: calc(100% - 40px);
        left: 20px;
        margin-top: 120px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-description {
        font-size: 14px;
    }

    .platform-title {
        font-size: 14px;
    }

    .download-link {
        font-size: 14px;
        line-height: 150%;
    }

    .main-footer {
        position: relative;
        margin-top: 50px;
    }


    /* Screen reader only content */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link,
    .download-link {
        text-decoration: underline;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .download-link {
        transition: none;
    }
}
