
/* Improved Language dropdown styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-dropdown button {
    background: #fff;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px 8px 10px;
    border-radius: 6px;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    min-width: 120px;
    position: relative;
}
.lang-dropdown button:focus {
    outline: 2px solid #14a5ff;
    border-color: #14a5ff;
}
.lang-list {
    display: none !important;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    z-index: 200;
    padding: 4px 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    max-height: 220px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}
.lang-dropdown.open .lang-list {
    display: flex !important;
}
.lang-list li {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
    color: #222;
    border: none;
    background: none;
    text-align: left;
    transition: background 0.18s, color 0.18s;
    width: 100%;
}
.lang-list li:hover, .lang-list li[aria-selected="true"] {
    background: #e6f0fa;
    color: #0077b6;
}
.lang-dropdown.open .lang-list {
    display: block;
    animation: fadeInDropdown 0.18s;
}
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Newsletter message */
.newsletter-msg {
    margin-top: 10px;
    color: #14a5ff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
/* Button hover effects for better UX */
.download-button:hover,
.dd-btn:hover,
.subscribe-btn:hover,
.new-button:hover {
    background-color: #0077b6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(20,165,255,0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* Form input focus for clarity */
.new-form input:focus,
input[type="email"]:focus {
    outline: 2px solid #14a5ff;
    border-color: #14a5ff;
    background: #f5fbff;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
.dd-btn:focus,
.download-button:focus,
.subscribe-btn:focus,
.new-button:focus {
    outline: 2px solid #0077b6;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #90e0ef;
}
/* Professional credit bar styling */
.credit-bar {
    width: 100%;
    background: #fff;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 12px 0 10px 0;
    letter-spacing: 0.5px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.03);
}
.credit-bar .heart {
    color: #e63946;
    font-size: 16px;
    vertical-align: middle;
    margin: 0 3px;
    font-weight: bold;
}
.credit-bar .credit-author {
    color: #0077b6;
    font-weight: 600;
    margin-left: 2px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI";
}

.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;

    width: 100%;
    height: auto;
    padding: 30px 0px 30px 0px;

}

.left-section {
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.image-container {
    width: 80px;
    height: 70px;
}

.caption {
    padding-left: 50px;
    font-size: 14px;
    font-style: italic;
}

.right-section {
    display: flex;
    align-items: center;
    padding-right: 50px;

}

.impobox {
    font-size: 15px;
    font-weight: bold;
    padding: 8px 14px 8px 14px;
    border: 2px solid black;
    border-radius: 4px;
}

.langbox {
    padding: 24px;
}

.header-container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.fa-solid {
    margin-left: 8px;
}

/* Remove default outline/box on nav links hover/focus */
.nav-links a {
    text-decoration: none;
    color: rgb(67, 67, 67);
    cursor: pointer;
    outline: none;
    box-shadow: none;
    background: none;
    border-radius: 0;
    padding: 4px 8px;
    transition: color 0.2s;
}
.nav-links a:focus,
.nav-links a:hover {
    outline: none !important;
    box-shadow: none !important;
    background: none;
    color: #14a5ff;
}

.main-part {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100%;
}

.review-image {
    width: 110px;
    height: 30px;
}

.hero-title {
    font-size: 50px;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 20px;
    text-wrap: wrap;
}

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

.hero-subtitle {
    font-size: 25px;
    color: rgb(0, 0, 0);
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}

.button-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.download-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    padding: 14px 18px 14px 18px;
    background-color: #14a5ff;
    border-radius: 8px;
    border: 2px solid white;
}

.image-part {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 16vw;
}

.site-title {
    font-size: 25px;
}

.caption-part {
    padding-left: 8px;
    font-size: 16px;
}

.container-box {
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: 20px 90px;
    padding: 4vh 19vw;
    justify-content: center;
}

.grid-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    border: 2px solid white;
    border-radius: 8px;
    height: 200px;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
}

.language {
    margin-bottom: 4px;
    font-size: 18px;
}

.origin {
    font-size: 12px;
    color: black;
    margin-bottom: 10px;
    font-weight: normal;
}

.dd-btn {
    padding: 6px 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
}

.hash-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 2px;
    font-weight: normal;
}

.hash {
    font-size: 7px;
    line-height: 1.3;
    max-width: 100%;
    font-weight: normal;
    text-align: center;
}

.new-container {
    align-items: center;
    justify-content: space-between;
    padding: 5vh 14vw 5vh 14vw;
    background-color: rgb(36, 36, 36);
    /* height: 750px; */
    font-weight: bold;
    box-sizing: border-box;
}

.new-box {
    display: flex;
    justify-content: space-around;
    align-items: last baseline;
    padding: 45px;
}

.new-section1 {
    align-items: center;
    justify-content: center;
    color: white;
    padding: 30px;
    width: 32vw;
    background-color: rgb(36, 36, 36);
    height: 100%;
    text-align: center;
}

.new-title {
    font-size: 22px;
    color: white;
    padding-bottom: 10px;
    width: 100%;
}

.new-description {
    font-size: 16px;
    font-weight: normal;
    color: white;
    padding-bottom: 20px;
    width: 100%;
}

.new-section2 {
    align-items: center;
    justify-content: center;
    color: white;
    padding: 30px;
    margin-top: -10px;
    width: 23vw;
    height: 260px;
    border-radius: 8px;
    background-color: white;
    text-align: center;
}

.new-title2 {
    font-size: 22px;
    font-weight: normal;
    color: #14a5ff;
    padding-bottom: 10px;
    width: 100%;
}

.new-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 16px 4px 16px 4px;
    width: 100%;
}

.for-email {
    font-size: 14px;
    font-weight: normal;
    color: black;
    padding-bottom: 6px;
    width: 100%;
}

.new-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.new-button {
    margin-top: 10px;
    padding: 12px;
    background-color: #14a5ff;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.sub-info {
    align-items: center;
    justify-content: center;
    padding: 40px 70px 40px 70px;
    width: 100%;
    background-color: rgb(36, 36, 36);
}

.sub-info>h4 {
    font-size: 22px;
    font-weight: 400;
    color: white;
    padding-bottom: 10px;
}

.abt-msi {
    font-size: 16px;
    font-weight: normal;
    color: white;
    line-height: 2.5;
    word-spacing: 1px;
    padding-bottom: 20px;
    width: 100%;
}

.abt-trial {
    font-size: 16px;
    font-weight: normal;
    color: white;
    line-height: 1.5;
    word-spacing: 1px;
    padding-bottom: 20px;
    width: 100%;
}


.get-installer {
    color: #14a5ff;
    text-decoration: none;
}

.last-part {
    display: grid;
    justify-content: center;
    align-items: start;
    grid-template-columns: repeat(5, 1.1fr);
    padding: 60px 12vw 10px 12vw;
    gap: 20px 30px;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
}

.new-grid {
    padding: 0px 10px;
    width: 100%;
    box-sizing: border-box;
}

.new-grid h5 {
    font-size: 15px;
    color: black;
    font-weight: bold;
    padding-bottom: 8px;
    text-align: left;
    white-space: nowrap;
}

.new-grid li,
p {
    list-style: none;
    line-height: 1.3;
    font-size: 14px;
    color: black;
    padding-bottom: 4px;
    text-align: left;
}

a {
    text-decoration: none;
    color: rgb(36, 36, 36);
}

.new-grid input {
    border: 1px solid rgb(199, 199, 199);
    border-radius: 6px;
    padding: 8px;
    width: 100%;
}

.subscribe-btn {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    background-color: #14a5ff;
    color: white;
    border: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 40px;
}

.footer-left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    align-items: last baseline;
}

.ultra-title {
    font-size: 22px;
    color: black;
    font-weight: bold;
}

.ultra-caption {
    font-size: 12px;
    color: black;
    font-weight: normal;
    padding-bottom: 10px;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#social-handles {
    font-size: 25px;
}

.social-list li {
    list-style: none;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 40px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
    opacity: 1;
}


/* ------------------ TABLETS ------------------ */
@media (max-width: 1024px) {
    .header-container {
        display: flex;
        flex-direction: column;
        padding: 20px 5vw;
        gap: 20px;
    }

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

    .left-section img {
        width: 70px;
        height: auto;
    }

    .site-title {
        font-size: 24px;
    }

    .right-section {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
    }

    .nav-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        padding: 0;
    }

    .nav-links li {
        font-size: 14px;
    }

    .container-box {
        grid-template-columns: repeat(2, 1fr);
        padding: 4vh 8vw;
        gap: 20px 40px;
    }

    .new-box {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
        margin-bottom: 60px;
    }

    .new-section1,
    .new-section2 {
        width: 100%;
    }

    .new-container {
        padding: 5vh 8vw;
    }

    .last-part {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* ------------------ MOBILE ------------------ */
@media (max-width: 888px) {
    .header-container {
        display: flex;
        flex-direction: column;
        padding: 16px 5vw;
        gap: 20px;
    }

    .left-section {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: -60px;
    }

    .left-section img {
        width: 60px;
        height: auto;
    }

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

    .right-section {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }

    .nav-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .nav-links li {
        font-size: 13px;
    }

    .caption {
        font-size: 12px;
        padding-top: 10px;
        padding-left: 0;
    }

    .image-container {
        width: 60px;
        height: 50px;
    }

    .impobox {
        font-size: 12px;
        padding: 6px 10px;
    }

    .langbox {
        padding: 10px;
    }

    .main-part {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .image-part {
        justify-content: center;
        flex-direction: column;
        padding: 0;
    }

    .caption-part {
        font-size: 14px;
    }

    .review-section {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .review-image {
        width: 90px;
        height: 24px;
    }

    .button-section {
        padding: 20px;
    }

    .download-button {
        font-size: 12px;
        padding: 10px 14px;
    }

    .container-box {
        grid-template-columns: 1fr;
        padding: 4vh 6vw;
    }

    .grid-box {
        height: auto;
        padding: 16px;
    }

    .new-container {
        padding: 40px 5vw;
        height: auto;
    }

    .new-box {
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }

    .new-section1,
    .new-section2 {
        width: 100%;
        padding: 20px;
    }

    .new-title,
    .new-title2 {
        font-size: 18px;
    }

    .new-description,
    .new-form input,
    .new-button {
        font-size: 14px;
    }

    .sub-info {
        padding: 30px 20px;
    }

    .sub-info>h4 {
        font-size: 18px;
    }

    .abt-msi,
    .abt-trial {
        font-size: 14px;
        line-height: 1.8;
    }

    .last-part {
        grid-template-columns: 1fr;
        padding: 40px 8vw;
        gap: 20px;
    }

    .new-grid h5 {
        font-size: 14px;
    }

    .new-grid li,
    .new-grid p,
    .subscribe-btn {
        font-size: 13px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        padding: 10px;
    }

    .social-list {
        gap: 6px;
    }

    #scrollTopBtn {
        width: 50px;
        height: 50px;
    }
}