.hero {
    background-image: var(--bg1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 70px 5vw;
}

.hero h1 {
    font-size: clamp(32px, 10vw, 100px);
    max-width: 700px;
    margin-bottom: -30px;
    font-weight: 800;
    color: #93e6dc;
}

.hero p {
    max-width: 600px;
    font-family: var(--font3);
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: bold;
    margin-top: -30px;
    margin-left: auto;
    margin-right: 0;
    color: #ccc;
    text-align: right;
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 70px 5vw;
}

.info h1 {
    font-size: clamp(36px, 6vw, 72px);
    max-width: 800px;
    color: #93e6dc;
}

.info p {
    width: 100%;
    max-width: 600px;
    font-family: var(--font1);
    font-size: 22px;
    font-weight: 100;
    color: #ccc;
}

.btn {
    background-color: #1c1c1c;
    width: 100%;
    height: 80px;
    border-top: 5px solid #93e6dc;
    border-bottom: 5px solid #93e6dc;
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-family: var(--font4);
    font-size: clamp(20px, 3vw, 32px);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    box-sizing: border-box;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
}

.btn:hover {
    background-color: #a4d8d2;
    color: #000000;
}

.btn:hover .small-text {
    color: #000000;
}

.small-text {
    font-size: clamp(12px, 1vw, 16px);
    font-family: var(--font3);
    font-weight: 300;
    color: #ffffff;
    margin-left: 20px;
    margin-top: 10px;
}

.log_in_bar {
    background-color: #131313;
    color: #00ffe0;
    text-align: right;
    padding: 10px 4vw;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #333;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.log_in_bar a {
    color: #00ffe0;
    margin-left: 8px;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s;

    display: flex;
    align-items: center;
}

.log_in_bar a img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #93e6dc;
    margin-top: 0px;
}

.log_in_bar a:hover {
    color: #00c8b4;
    text-decoration: underline;
}

.trapezoid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 600px;
    background: #93e6dc;
    clip-path: polygon(0% 0%,
            100% 20%,
            100% 100%,
            0% 100%);
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 24px;
    text-align: left;
    padding: 120px 5vw;
}

.inside_trapezoid_h1 {
    font-size: clamp(28px, 5vw, 72px);
    color: #000000;
    margin-bottom: 20px;
}

.inside_trapezoid_p {
    width: 100%;
    max-width: 600px;
    font-family: var(--font1);
    font-size: 22px;
    font-weight: 100;
    color: #000000;
}

.platform_logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.platform_logos img {
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: invert(1);
    cursor: pointer;
}

.platform_logos img:hover {
    transform: scale(1.1);
}

.platform_logos_middle {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    width: 100%;
    max-width: 800px;
    margin-top: 350px;
    padding: 20px;
}

.platform_logos_middle img {
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    object-fit: contain;
    transition: transform 0.2s ease;
    cursor: pointer;
}


.bg1 {
    background-image: var(--bg1);
}

.bg2 {
    background-image: var(--bg2);
}

.bg3 {
    background-image: var(--bg3);
}

.bg4 {
    background-image: var(--bg4);
}

.transition-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.8s ease-in-out;
}

.artists {
    padding: 60px 5vw;
    background-color: #111;
    color: #ffffff;
    text-align: center;
}

.smart-link {
    padding: 60px 5vw;
    background: linear-gradient(180deg, #393637, #020000);
    color: #ffffff;
    text-align: center;
}

.music-publishing {
    padding: 60px 5vw;
    background: linear-gradient(180deg, #020000, #161616);
    color: #ffffff;
    text-align: center;
}

.artists h1 {
    margin-top: 30px;
    font-size: 24px;
    max-width: 800px;
    color: #ffffff;
    font-weight: bold;
}

.artist-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "a . b"
        ". c ."
        "d . e";
    gap: 10px;
    margin-top: 50px;
    justify-items: center;
    width: 100%;
    overflow-x: hidden;
}

.artist-layout>.artist:nth-child(1) {
    grid-area: a;
}

.artist-layout>.artist:nth-child(2) {
    grid-area: b;
}

.artist-layout>.artist:nth-child(3) {
    grid-area: c;
}

.artist-layout>.artist:nth-child(4) {
    grid-area: d;
}

.artist-layout>.artist:nth-child(5) {
    grid-area: e;
}

.artist {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artist img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(147, 230, 220, 0.3);
    transition: transform 0.3s ease;
    clip-path: polygon(10% 0%, 90% 10%, 100% 95%, 10% 100%, 0% 50%);
    transform: rotate(-4deg);
}

.artist-layout>.artist:nth-child(2) img {
    clip-path: polygon(0% 15%, 80% 0%, 100% 95%, 20% 100%, 0% 80%);
    transform: rotate(7deg);
}

.artist-layout>.artist:nth-child(2) img:hover {
    transform: rotate(0deg);
}

.artist-layout>.artist:nth-child(3) img {
    clip-path: polygon(5% 5%, 100% 0%, 100% 100%, 0% 90%);
    transform: rotate(-5deg);
}

.artist-layout>.artist:nth-child(3) img:hover {
    transform: rotate(0deg);
}

.artist-layout>.artist:nth-child(4) img {
    clip-path: polygon(5% 10%, 90% 10%, 90% 90%, 0% 100%);
    transform: rotate(-6deg);
}

.artist-layout>.artist:nth-child(4) img:hover {
    transform: rotate(0deg);
}

.artist-layout>.artist:nth-child(5) img {
    clip-path: polygon(0% 0%, 90% 10%, 100% 100%, 10% 90%);
    transform: rotate(6deg);
}

.artist-layout>.artist:nth-child(5) img:hover {
    transform: rotate(0deg);
}

.artist img:hover {
    transform: rotate(0deg);
}

.artist p {
    margin-top: 10px;
    font-size: 16px;
    color: #ccc;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
}

.ai-mastering-span:hover {
    font-size: 24px;
    cursor: pointer;
}


/* --- ریسپانسیو --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
    }

    nav {
        margin-top: 10px;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        text-align: left;
        padding: 50px 20px;
        height: auto;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 60px);
        font-size: 36px;
        max-width: 100%;
    }

    .hero p {
        font-size: 14px;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-top: 20px;
    }

    .info {
        padding: 40px 20px;
    }

    .info h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .info p {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
    }

    .btn {
        height: 60px;
        font-size: 20px;
    }

    .small-text {
        font-size: 12px;
        margin-left: 10px;
        margin-bottom: 6px;
    }

    .trapezoid {
        height: auto;
        padding: 60px 20px 250px 20px;
    }

    .inside_trapezoid_h1 {
        font-size: 28px;
        margin-top: 25px;
    }

    .inside_trapezoid_p {
        font-size: 14px;
    }

    .platform_logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .platform_logos img {
        max-width: 70px;
    }

    /* logos fixed */
    .platform_logos_middle {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 250px;
        width: 90%;
    }

    .platform_logos_middle img {
        max-width: 90%;
    }


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

    .footer-links {
        justify-content: center;
    }

    .artist-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "a b"
            "c c"
            "d e";
        gap: 30px;
    }

    .artist img {
        width: 300px;
        height: 300px;
    }

    .artist h1 {
        font-size: 20px;
    }

    .artist p {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    nav.main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #000;
        padding: 10px 0;
        gap: 10px;
    }

    nav.main-nav.show {
        display: flex;
    }

    nav.main-nav a {
        text-align: center;
        padding: 10px 0;
    }

    .smart-link-m {
        display: flex !important;
        flex-direction: column-reverse !important;
        padding: 0px !important;
    }

    .smart-link-m-image {
        width: 50% !important;
    }

    .smart-link-m-texts {
        display: block !important;
        text-align: center !important;
        max-width: 100% !important;
        margin-top: 30px;
    }

    .smart-link-m-texts h1 {
        font-size: 48px !important;
    }

    .smart-link-m-texts p {
        font-size: 16px !important;
    }

    .max-m {
        display: none !important;
    }

}

@media (max-width: 600px) {
    .artist-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "a"
            "b"
            "c"
            "d"
            "e";
    }

    .artist img {
        width: 250px;
        height: 250px;
    }

    .artist h1 {
        font-size: 18px;
    }

    .artist p {
        font-size: 14px;
    }
}