/* 
  Accent color: #7e5ae2
  Header font color: #050505
  Main font color: #424149
*/

:root {
    --main-font-color: #424149;
    --header-font: #050505;
    --accent-color: #7e5ae2;
    --accent-hover: #5732bd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 62.5%;
}

body {
    color: var(--main-font-color);
    font-size: 1.6rem;
}

a {
    text-decoration: none;
    color: var(--main-font-color);
}

li {
    list-style-type: none;
}

img {
    width: 100%;
}

.accent-color {
    color: var(--accent-color);
}

header {
    height: 100px;
    width: 100%;
    padding-inline: 5%;
    display: flex;
    align-items: center;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 118px;
}

.desktop-nav-links {
    display: none;
}

.mobile-hamburger {
    background-color: var(--header-font);
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar {
    height: 22px;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    background: #fff;
    font-size: 14px;
    left: 0;
    opacity: 0;
    padding-bottom: 36px;
    position: absolute;
    top: 100px;
    transform: translateY(-25px);
    transition: all 0.4s ease-in-out;
    width: 100%;
    z-index: -10;
}

.mobile-nav-links .link {
    padding: 8px 5%;
}

.container {
    max-width: 1140px;
    margin-inline: auto;
}

section.regular {
    padding: 40px 5% 60px;
}

.hero-content h2 {
    color: var(--header-font);
    font-size: 42px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-content p {
    line-height: 32px;
    letter-spacing: -0.36px;
}

.hero-points {
    margin-top: 32px;
    margin-bottom: 48px;
}

.points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

li.point {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

li.point .point-img {
    height: 20px;
    width: 20px;
}

.cta {
    display: inline-block;
    color: #fff;
    background-color: var(--accent-color);
    padding: 12px 24px;
    margin-bottom: 32px;
    transition: all 500ms cubic-bezier(0.6, 0.6, 0, 1);
}

.cta:hover {
    background-color: var(--accent-hover);
}

.statistics {
    padding: 48px 5%;
    border-top: 1px solid #edecf0;
    border-bottom: 1px solid #edecf0;
    text-align: center;
}

span.stats-divider {
    display: block;
    height: 1px;
    width: 75%;
    background-color: #edecf0;
    margin: 32px auto;
}

.data {
    padding-inline: 16px;
}

.data-heading {
    font-size: 36px;
    margin-bottom: 12px;
}

.data-detail {
    font-size: 14px;
}

.strengths-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.strength {
    border: 1px solid #edecf0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 6%;
}

.strength-img {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 112px;
    min-width: 112px;
    background-color: rgba(235, 229, 250, 0.4);
}

.strength-img img {
    height: 64px;
    width: 64px;
}

.strength-text h5 {
    font-size: 22px;
    color: var(--header-font);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.strength-text p {
    font-size: 14px;
    color: var(--main-font-color);
    line-height: 24px;
}

.products {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-img {
    max-width: 100%;
}

.product-desc h4 {
    color: var(--header-font);
    font-size: 28px;
    margin-bottom: 12px;
}

.product-desc p {
    font-size: 16px;
}

.product-points {
    margin-top: 32px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-point {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.product-point-img {
    height: 20px;
    width: 20px;
}

.product-item a {
    padding: 12px 24px 12px 32px;
    border: 1px solid #eaeaf1;
    display: inline-block;
    font-size: 14px;
}

.contacts {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacts-img {
    height: 100%;
}

.contacts h3 {
    color: var(--header-font);
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 40px;
    margin-top: 40px;
}

.contact-form .input-group {
    position: relative;
    width: 100%;
}

.contact-form .input-group input {
    border: 1px solid #eaebf0;
    padding: 12px 18px;
    width: 100%;
}

.contact-form .input-group label {
    color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

.contact-form .input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    color: var(--header-font);
    font-size: 1.4rem;
    top: -20px;
}

.contact-form input:focus {
    outline: 1px solid var(--accent-color);
}

.contact-form button {
    font-size: 15px;
    font-weight: 500;
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: #fff;
    outline: none;
    border: none;
    width: 100%;
    transition: all 500ms cubic-bezier(0.6, 0.6, 0, 1);
}

.contact-form button:hover {
    background-color: var(--accent-hover);
}

footer {
    position: relative;
    padding: 72px 3% 40px;
    border-top: 1px solid #edecf0;
    display: flex;
    justify-content: center;
}

.footer-nav {
    padding-inline: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.footer-nav-links {
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-links .footer-nav-link a {
    color: #898896;
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.footer-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.footer-input-group input {
    padding: 12px 18px;
    border: 1px solid #eaebf0;
    font-size: 1.5rem;
    width: 100%;
    height: 48px;
}

.footer-input-group input::placeholder {
    color: #898896;
}

.footer-input-group input:focus,
.footer-input-group input:active {
    outline: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.footer-input-group label {
    font-size: 1.4rem;
    color: #898896;
    line-height: 24px;
    font-weight: 500;
}

.newsletter button {
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: #fff;
    outline: none;
    border: none;
    width: 100%;
    font-size: 1.4rem;
    min-height: 48px;
    transition: all 500ms cubic-bezier(0.6, 0.6, 0, 1);
}

.newsletter button:hover {
    background-color: var(--accent-hover);
}

.copyright {
    color: #898896;
    font-size: 1.2rem;
}

.footer-terms {
    margin-top: 100px;
    border-top: 1px solid #edecf0;
    width: 100%;
}

.footer-term-links {
    padding: 42px 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-term-links .footer-term-link a {
    color: #898896;
}

@media screen and (min-width: 768px) {
    section.regular {
        padding: 70px 5%;
    }

    .statistics {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }

    span.stats-divider {
        margin: 0;
        width: 1px;
        height: 64px;
    }

    .strength {
        flex-direction: row;
        text-align: left;
    }

    .strength-text p {
        font-size: 16px;
    }

    .contact-form button {
        display: inline-block;
        max-width: 150px;
    }

    .newsletter {
        flex-direction: row;
        align-items: flex-end;
    }

    .footer-input-group {
        width: auto;
    }

    .newsletter button {
        width: auto;
    }

    .footer-term-links {
        flex-direction: row;
    }
}

@media screen and (min-width: 992px) {
    .mobile-nav-links {
        display: none;
    }

    .mobile-hamburger {
        display: none;
    }

    .desktop-nav-links {
        display: flex;
        gap: 16px;
    }

    .desktop-nav-links .link a {
        padding: 8px 16px;
    }

    nav {
        max-width: 1140px;
        margin-inline: auto;
    }

    section.regular {
        padding: 70px 5%;
    }

    .hero {
        display: flex;
        gap: 32px;
    }

    .strengths-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .strength {
        flex: 1 1 calc(50% - 24px);
    }

    .product-item {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .product-item > * {
        flex: 1 1 calc(50% - 64px);
    }

    .contacts {
        flex-direction: row;
    }

    .contacts > * {
        flex: 1 1 calc(50% - 8px);
    }

    .contact-form {
        max-width: 500px;
        margin-inline: auto;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .footer-nav-links {
        font-size: 1.6rem;
    }

    .newsletter {
        width: auto;
    }

    .footer-input-group label {
        font-size: 1.6rem;
    }

    .newsletter button {
        font-size: 1.6rem;
    }

    .copyright {
        font-size: 1.4rem;
    }
}

/* Product Page */
.product-clients {
    font-size: 2.8rem;
    color: var(--header-font);
    text-align: center;
}

.product-client-logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.product-client-logo {
    flex: 1 1 calc(50% - 16px);
    padding: 16px;
}

section.regular.strengths.product-strength .strengths-list .strength {
    align-items: flex-start;
    text-align: left;
    background-color: #f7f5fd;
}

section.regular.strengths.product-strength
    .strengths-list
    .strength
    .strength-img {
    min-height: 56px;
    min-width: 56px;
}

section.regular.strengths.product-strength
    .strengths-list
    .strength
    .strength-img
    img {
    height: auto;
    width: auto;
}

.faq {
    font-size: 2.8rem;
    color: var(--header-font);
    text-align: center;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.faq-block {
    padding: 16px;
    font-size: 1.8rem;
    background-color: #fff;
    border: none;
}

.faq-block.focus {
    border: 1px solid #edecf0;
}

.faq-block.focus .faq-img {
    transform: rotate(45deg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 15px 0;
    gap: 30px;
}

.faq-text {
    line-height: 32px;
    letter-spacing: -0.36px;
}

.faq-img {
    height: 24px;
    width: 24px;
    transition: all 0.2s ease-in-out;
}

.faq-answer {
    font-size: 1.6rem;
    text-align: left;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

@media screen and (min-width: 769px) {
    .product-client-logos {
        flex-wrap: nowrap;
    }

    section.regular.strengths.product-strength .strengths-list {
        flex-wrap: wrap;
        flex-direction: row;
    }

    section.regular.strengths.product-strength .strengths-list .strength {
        align-items: center;
        flex: 1 1 calc(50% - 24px);
    }

    .faq-wrapper {
        max-width: 840px;
        margin-inline: auto;
    }
}
