@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/JetBrainsMono-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    background: #0B0B0D;
}

.web {
    position: relative;
    min-height: 900px;
    width: 100vw;
    max-width: 1440px;
    height: 100vh;
    background: #0B0B0D;
    overflow: hidden;
    margin: 0 auto;
}

.group-92 {
    position: absolute;
    width: 1345px;
    height: 1465px;
    left: 50%;
    top: 43px;
    transform: translateX(-50%);
}

.ellipse-16 {
    position: absolute;
    width: 996px;
    height: 1170px;
    left: 349px;
    top: 295px;
    background: radial-gradient(50% 42.56% at 50% 50%, rgba(255, 79, 79, 0.27) 0%, rgba(11, 11, 13, 0) 100%);
    opacity: 0.8;
}

.ellipse-15 {
    position: absolute;
    width: 1048px;
    height: 1231px;
    left: 0;
    top: 0;
    background: radial-gradient(50% 50% at 50% 50%, rgba(29, 233, 182, 0.3) 0%, rgba(11, 11, 13, 0) 100%);
    opacity: 0.8;
}

.frame-300 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 12px;
    position: absolute;
    width: 648px;
    height: 322px;
    left: calc(50% - 648px/2);
    top: calc(50% - 322px/2 - 174px);
}

.component-350 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 2.83px;
    width: 104px;
    height: 104px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.logo-layer {
    width: 81.92px;
    height: 82.2px;
    transform: rotate(-180deg);
    flex: none;
    order: 0;
    flex-grow: 0;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(-180deg);
    }
    to {
        transform: rotate(180deg);
    }
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(180deg);
}

.frame-299 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 648px;
    height: 130px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.brand-name {
    width: 648px;
    height: 40px;
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    letter-spacing: 0.8em;
    color: #FFFFFF;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.coming-soon {
    width: 648px;
    height: 82px;
    font-style: normal;
    font-weight: 700;
    font-size: 62px;
    line-height: 82px;
    text-align: center;
    color: #FFFFFF;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.description {
    width: 648px;
    height: 64px;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    color: #FFFFFF;
    flex: none;
    order: 2;
    flex-grow: 0;
}

.phone-container {
    position: absolute;
    width: 1440px;
    height: 1024px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.desktop-phones {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.mobile-phones {
    display: none;
}

/* iPhone Mockup 1 (왼쪽) */
.phone-1 {
    position: absolute;
    width: 262px;
    height: auto;
    left: 168px;
    bottom: -331px;
    object-fit: contain;
    z-index: 1;
}

/* iPhone Mockup 2 */
.phone-2 {
    position: absolute;
    width: 248px;
    height: auto;
    left: 452px;
    bottom: -196px;
    object-fit: contain;
    z-index: 1;
}

/* iPhone Mockup 3 */
.phone-3 {
    position: absolute;
    width: 265px;
    height: auto;
    left: 722px;
    bottom: -254px;
    object-fit: contain;
    z-index: 1;
}

/* iPhone Mockup 4 (오른쪽) */
.phone-4 {
    position: absolute;
    width: 232px;
    height: auto;
    left: 1009px;
    bottom: -288px;
    object-fit: contain;
    z-index: 1;
}

.mobile-phone {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bottom-gradient-filter {
    position: absolute;
    width: 100%;
    height: 300px;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 11, 13, 0) 0%, rgba(11, 11, 13, 0.2) 50%, rgba(11, 11, 13, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 769px) and (max-width: 1439px) {
    .web {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .group-92 {
        transform: translateX(-50%) scale(calc(100vw / 1440));
        transform-origin: top center;
    }

    .frame-300 {
        transform: scale(calc(100vw / 1440));
        transform-origin: center;
    }

    .phone-container {
        width: 1440px;
        transform: translateX(-50%) scale(calc(100vw / 1440));
        transform-origin: top center;
    }
}

@media (min-width: 1440px) {
    .web {
        width: 1440px;
        max-width: 1440px;
    }
}

@media (min-height: 1025px) {
    .phone-1 {
        bottom: -550px;
    }

    .phone-2 {
        bottom: -420px;
    }

    .phone-3 {
        bottom: -470px;
    }

    .phone-4 {
        bottom: -510px;
    }
}

@media (max-width: 768px) {
    .web {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        min-height: 812px;
        max-height: 100vh;
        padding: 0;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .group-92 {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        z-index: 0;
    }

    .ellipse-16 {
        width: 560px;
        height: 659px;
        left: -24px;
        top: 161px;
        transform: none;
        background: radial-gradient(50% 50% at 50% 50%, rgba(255, 79, 79, 0.27) 0%, rgba(11, 11, 13, 0) 100%);
        opacity: 1;
    }

    .ellipse-15 {
        width: 590px;
        height: 693px;
        left: -194px;
        top: 32px;
        transform: none;
        background: radial-gradient(50% 50% at 50% 50%, rgba(29, 233, 182, 0.3) 0%, rgba(11, 11, 13, 0) 100%);
        opacity: 1;
    }

    .frame-300 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0px;
        gap: 8px;
        position: absolute;
        width: 360px;
        height: auto;
        left: calc(50% - 360px/2);
        top: 183px;
        z-index: 3;
    }

    .component-350 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0px;
        gap: 1.88px;
        width: 69px;
        height: 69px;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .logo-layer {
        width: 54.35px;
        height: 54.54px;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .frame-299 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px;
        width: 100%;
        max-width: 360px;
        height: auto;
        flex: none;
        order: 1;
        flex-grow: 0;
        gap: 4px;
    }

    .brand-name {
        width: auto;
        height: auto;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0.4em;
        text-align: center;
        flex: none;
        order: 0;
        flex-grow: 0;
    }

    .coming-soon {
        width: auto;
        height: auto;
        font-size: 30px;
        line-height: 40px;
        text-align: center;
        flex: none;
        order: 1;
        flex-grow: 0;
    }

    .description {
        width: 100%;
        max-width: 360px;
        height: auto;
        font-size: 12px;
        line-height: 16px;
        text-align: center;
        flex: none;
        order: 2;
        flex-grow: 0;
        padding: 0 10px;
    }

    .phone-container {
        position: absolute;
        width: 420px;
        height: 340px;
        left: 50%;
        transform: translateX(-50%);
        top: 480px;
        z-index: 1;
    }

    /* iPhone Mockup 1 (모바일 - 왼쪽) */
    .phone-1 {
        position: absolute;
        width: 102.55px;
        height: auto;
        left: 0;
        top: 51px;
        object-fit: contain;
    }

    /* iPhone Mockup 2 */
    .phone-2 {
        position: absolute;
        width: 97.07px;
        height: auto;
        left: 111px;
        top: 0;
        object-fit: contain;
    }

    /* iPhone Mockup 3 */
    .phone-3 {
        position: absolute;
        width: 103.73px;
        height: auto;
        left: 217px;
        top: 20px;
        object-fit: contain;
    }

    /* iPhone Mockup 4 (모바일 - 오른쪽) */
    .phone-4 {
        position: absolute;
        width: 90.81px;
        height: auto;
        left: 329px;
        top: 41px;
        object-fit: contain;
    }

    .bottom-gradient-filter {
        position: absolute;
        width: 360px;
        height: 361px;
        left: calc(50% - 360px/2);
        top: 585px;
        background: linear-gradient(183.53deg, rgba(11, 11, 13, 0) 12.01%, rgba(0, 0, 0, 0.4) 51.28%);
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .ellipse-16 {
        width: calc(560px * 0.85);
        height: calc(659px * 0.85);
        left: calc(-24px * 0.85);
        top: calc(161px * 0.85);
    }

    .ellipse-15 {
        width: calc(590px * 0.85);
        height: calc(693px * 0.85);
        left: calc(-194px * 0.85);
        top: calc(32px * 0.85);
    }

    .frame-300 {
        width: 320px;
        left: calc(50% - 320px/2);
        top: 150px;
    }

    .phone-container {
        width: calc(420px * 0.85);
        height: calc(340px * 0.85);
        top: 430px;
    }

    .phone-1 {
        width: calc(102.55px * 0.85);
        left: 0;
        top: calc(51px * 0.85);
    }

    .phone-2 {
        width: calc(97.07px * 0.85);
        left: calc(111px * 0.85);
        top: 0;
    }

    .phone-3 {
        width: calc(103.73px * 0.85);
        left: calc(217px * 0.85);
        top: calc(20px * 0.85);
    }

    .phone-4 {
        width: calc(90.81px * 0.85);
        left: calc(329px * 0.85);
        top: calc(41px * 0.85);
    }

    .bottom-gradient-filter {
        width: 360px;
        height: 300px;
        left: calc(50% - 360px/2);
        top: 520px;
        background: linear-gradient(183.53deg, rgba(11, 11, 13, 0) 12.01%, rgba(0, 0, 0, 0.4) 51.28%);
    }
}

@media (max-width: 360px) {
    /* 피그마 360px 기준 그대로 사용 */
}
