:root {
    --color-black: #101010;
    --color-gray: #909090;
    --color-white: #ffffff;

    --color-background: #E8F0FF;
    --color-highlight: #1C60FC;

    --font-xl: 32px;
    --font-l: 28px;
    --font-m: 24px;
    --font-s: 20px;
    --font-xs: 16px;

    --size-xl: 160px;
    --size-l: 120px;
    --size-m: 80px;
    --size-s: 40px;
    --size-xs: 20px;

    --shadow: 4px 4px 16px #1010101A;
}

/* ---------------- COMMON ---------------- */

.pc-hidden{
    display: none !important;
}

.pc-visible{
    display: flex !important;
}

.mo-visible{
    display: none !important;
}

::selection {
    background-color: var(--color-highlight);
    color: var(--color-white);
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--color-white);
}

/* ---------------- HEADER ---------------- */

header{
    position: fixed;
    min-width: 360px;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-highlight);
    z-index: 10;
}

header > div{
    max-width: 1320px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--size-xs);
}

.logo > img{
    width: 128px;
    object-fit: contain;
}

.header-btn{
    border: 1px solid var(--color-white);
    border-radius: 48px;
    padding: 10px 24px;
    transition: 0.2s;
}

.header-btn:hover{
    background-color: #FFFFFF1A;
}

.header-btn > div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-btn > div > img{
    width: var(--font-xs);
    object-fit: contain;
    margin-right: 8px;
}

.header-btn > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 400;
    font-size: var(--font-xs);
    color: var(--color-white);
}

/* ---------------- BANNER ---------------- */

#banner{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: var(--size-m) 0;
    margin-top: 64px;
} 

.banner-wrapper{
    max-width: 1320px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-s);
    padding: 0 var(--size-xs);
}

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

.main > img{
    width: 100%;
    object-fit: contain;
}

.main > div{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-xs);
    margin-top: var(--size-xs);
}

.main > div > div{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.main > div > div > img{
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.main > div > div > div{
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--font-xs);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.main > div > div > div > p:nth-of-type(1){
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: var(--font-s);
    color: var(--color-white);
    text-align: center;
}

.main > div > div > div > p:nth-of-type(2){
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 300;
    font-size: var(--font-xs);
    color: var(--color-white);
    margin-top: 8px;
    line-height: 135%;
    text-align: center;
}

.kpop > div{
    background-color: #1C60FC66;
    backdrop-filter: blur(8px);
}

.dino > div{
    background-color: #10101066;
    backdrop-filter: blur(8px);
}

.desc{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: var(--size-s);
}

.desc > div > div{
    display: inline-block;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: var(--font-s);
    color: var(--color-highlight);
    background-color: var(--color-background);
    padding: 10px 20px;
    border-radius: 6px;
    text-align: center;
}

.desc > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: var(--font-xl);
    margin-top: 12px;
    margin-bottom: var(--size-s);
}

.desc > div > p > span{
    font-weight: 400;
    font-size: var(--font-m);
    color: var(--color-gray);
    text-decoration: line-through;
    margin-left: var(--size-xs);
}

.desc > img{
    width: 100%;
    object-fit: contain;
}

.desc > a, .main > a{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FEE500;
    padding: var(--size-xs);
    border-radius: 40px;
    margin-top: var(--size-s);
    transition: 0.2s;
}

.main > a{
    width: calc(100% - (var(--size-xs) * 2));
}

.desc > a:hover, .main > a:hover  {
    background-color: #FEE50099;
}

.desc > a > div, .main > a > div{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desc > a > div > img:nth-of-type(1), .main > a > div > img:nth-of-type(1){
    width: var(--font-s);
    object-fit: contain;
}

.desc > a > div > p, .main > a > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: var(--font-s);
    color: #3E2723;
    margin-left: 12px;
}

.desc > a > div > img:nth-of-type(2), .main > a > div > img:nth-of-type(2){
    width: var(--size-m);
    object-fit: contain;
    position: absolute;
    top: -4px;
    right: var(--size-xs);
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* ---------------- DETAIL ---------------- */

.detail-head{
    max-width: 1320px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--size-xs);
}

.detail-head > div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background);
    padding: 16px;
    border-radius: 6px;
}

.detail-head > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: var(--font-xs);
    color: var(--color-highlight);
}

.detail-head > div > img{
    width: var(--font-s);
    object-fit: contain;
    margin-left: 8px;
}

#detail{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--size-m) 0;
}

.detail-wrapper{
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.detail-wrapper > img{
    width: 100%;
    object-fit: contain;
}

/* ---------------- FOOTER ---------------- */

footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-highlight);
    padding: var(--size-xs);
}

footer > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 300;
    font-size: var(--font-xs);
    color: var(--color-white);
    word-break: keep-all;
    line-height: 135%;
}

@keyframes scaleAnimation{
    from{
        scale: 1;
    }

    to{
        scale: 0.9;
    }
}

@media screen and (max-width: 1320px) {
    :root {
        --font-xl: 30px;
        --font-l: 26px;
        --font-m: 22px;
        --font-s: 19px;
        --font-xs: 16px;
    
        --size-xl: 128px;
        --size-l: 96px;
        --size-m: 64px;
        --size-s: 32px;
        --size-xs: 18px;
    }

    .main > div > div > div > p:nth-of-type(1){
        font-size: var(--font-xs);
    }

    .main > div > div > div > p:nth-of-type(2){
        font-weight: 300;
        font-size: 12px;
    }
    

}

@media screen and (max-width: 1024px) {
    :root {
        --font-xl: 28px;
        --font-l: 24px;
        --font-m: 20px;
        --font-s: 18px;
        --font-xs: 15px;
    }

    .pc-hidden{
        display: block !important;
    }

    .main > div > div > img{
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .main > div > div > div{
        position: relative;
        margin-top: 0;
    }

    .kpop > div{
        background-color: #1C60FC;
        backdrop-filter: initial;
    }
    
    .dino > div{
        background-color: var(--color-black);
        backdrop-filter: initial;
    }
}

@media screen and (max-width: 860px) {
    :root {
        --font-xl: 24px;
        --font-l: 22px;
        --font-m: 18px;
        --font-s: 16px;
        --font-xs: 14px;
    
        --size-xl: 96px;
        --size-l: 72px;
        --size-m: 48px;
        --size-s: 24px;
        --size-xs: 16px;
    }

    .pc-visible{
        display: none !important;
    }
    
    .mo-visible{
        display: flex !important;
    }

    .logo > img{
        width: 108px;
    }

    .header-btn{
        padding: 9px 18px;
    }

    #banner{
        padding-top: 0;
    }

    .banner-wrapper{
        grid-template-columns: 1fr;
        row-gap: var(--size-m);
        padding: 0;
    }

    .main > div{
        padding: 0 var(--size-xs);
    }

    .desc{
        padding: 0 var(--size-xs);
    }

    .detail-head{
        padding: 0;
    }

    .detail-head > div{
        border-radius: 0;
    }

    #detail{
        padding: 0;
    }
}

@media screen and (max-width: 576px) {
    footer{
        padding: 14px;
    }

    footer > p{
        font-size: 12px;
    }
}

.blog-section-wrapper {
    width: 100%;
    background-color: #0C48CD; /* 설치사례 블루 */
    position: relative;
    padding-top: 40px;
    z-index: 1;
}

.blog-link-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0C48CD; /* 상세페이지 블루 */
    padding: 32px 0;
    margin-top: 140px; /* 버튼 아래로 내림 */
}

.blog-button {
    background-color: #1EC644; /* 네이버 초록색 */
    border-radius: 16px;
    padding: 12px 32px;
    transition: transform 0.3s ease;
}

.blog-button img {
    height: 90px; /* 고정 높이 */
    object-fit: contain;
}

.blog-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.install-fade-extension {
    width: 100%;
    height: 120px; /* 전환 높이 */
    position: relative;
    background-color: #0C48CD; /* 설치사례 배경색 */
    overflow: hidden;
    z-index: 1;
}

.bottom-gradient-extension {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #0C48CD, #1B62FC); /* 설치사례 → 상세페이지 블루 전환 */
    pointer-events: none;
    z-index: 2;
}

.price-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
}

.price-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .price-img {
    padding: 0 12px;
  }

  .blog-button {
    padding: 16px 50px;
    border-radius: 12px;
    max-width: 90%;
    margin: 0 auto;
  }

  .blog-button img {
    height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .blog-button img {
    height: 30px;
  }
}
