/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Utility Classes */
.pcShow { display: block; }
.moShow { display: none !important; }
.tbShow { display: none; }

header.pcShow { display: block; }
header.moShow { display: none; }

@media screen and (max-width: 1154px) {
    .pcShow { display: none !important; }
    .moShow { display: block !important; }
    header.pcShow { display: none; }
    header.moShow { display: flex; }
}

/* Main Container */
.section {
    width: 100vw;
    min-height: 1024px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section#section1 {
    align-items: flex-start;
}

section {
    width: 100%;
}

.inner {
    margin: 0 auto;
    width: 1200px;
}

.inner h2 {
    font-size: 26px;
    line-height: 43px;
    text-align: center;
    letter-spacing: -0.1px;
}

.section-desc {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-desc .title {
    color: rgba(255, 255, 255, 0.50);
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.section-desc .copy {
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
}

.section-desc .text {
    color: rgba(255, 255, 255, 0.70);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

/* Pop Animation */
.pop-animation {
    opacity: 0;
    position: relative;
    top: 100px;
    transition: 0.4s;
}

.pop-animation.popped {
    opacity: 1;
    top: 0;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(7.5px);
}

header.pcShow .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 18px;
}

header.pcShow .inner .left {
    display: flex;
    align-items: flex-end;
    gap: 90px;
}

header .logo {
    width: 106px;
    height: 24px;
    background: url('/static/images/logo.svg') no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
}

header.pcShow nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 44px;
}

header.pcShow nav ul li a {
    line-height: normal;
}

header.pcShow nav ul li a.active {
    border-bottom: 1px solid #fff;
}

/* Visual Section */
.visual {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.visual .bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.30) 33.5%, rgba(0, 0, 0, 0.50) 75%, #000 100%);
}

.visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.visual .box {
    position: absolute;
    top: 40%;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.visual .main-copy {
    font-family: 'Pretendard', sans-serif;
    font-weight: bold;
    white-space: pre-wrap;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    font-size: 72px;
    line-height: 100px;
    height: 90px;
}

.visual .typeIndicator {
    font-weight: lighter;
    font-size: 60px;
    vertical-align: top;
    background: #fff;
    margin-left: 8px;
}

.visual .typeIndicator.blink {
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    from, to { visibility: hidden; }
    50% { visibility: visible; }
}

/* About Us Section */
.about-us .inner .section-desc {
    max-width: 750px;
}

.about-us .inner ul {
    margin-top: 72px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.about-us .inner ul li {
    position: relative;
    width: calc(33.33% - 20px);
    height: 384px;
    background-color: #252525;
    border-radius: 20px;
    padding: 48px 32px 0;
    background-repeat: no-repeat;
}

.about-us .inner ul li .tit {
    font-size: 28px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 24px;
}

.about-us .inner ul li .txt {
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.about-us .inner ul li:nth-child(1) {
    background-image: url('/static/images/about_1.svg');
}

.about-us .inner ul li:nth-child(2) {
    background-image: url('/static/images/about_2.svg');
}

.about-us .inner ul li:nth-child(3) {
    background-image: url('/static/images/about_3.svg');
}

/* Services Section */
.services .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services .inner.reversed {
    flex-direction: row-reverse;
}

.services .inner .section-desc {
    width: 500px;
}

.services .inner .section-desc .title {
    color: #0530E2;
}

.services .service-image {
    width: 588px;
}

.services .service-image.chainwatcher {
    height: 431px;
}

.services .service-image.research {
    height: 392px;
}

/* Sectors Section */
.sectors .inner .section-desc {
    text-align: center;
}

.sectors .inner ul {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sectors .inner ul li {
    position: relative;
}

.sectors .inner ul li img {
    width: 100%;
    height: auto;
}

.sectors .inner ul li div {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.sectors .inner ul li div .tit {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.sectors .inner ul li div .txt {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* Contact Section */
.contact .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 440px;
    background: url('/static/images/banner_contact.png') no-repeat center;
    background-size: cover;
}

.contact .banner .tit {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.contact .banner .txt {
    margin-top: 16px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.contact .banner .contact-btn {
    margin-top: 48px;
    display: flex;
    padding: 13px 70px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: none;
    background: #0530E2;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.contact .banner .contact-btn:hover {
    background: #0425b8;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    padding: 32px 0;
}

footer .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footer-logo {
    width: 80px;
    height: 18px;
    background: url('/static/images/logo.svg') no-repeat;
    background-size: 100% 100%;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.50);
    font-size: 14px;
    font-weight: 400;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #ccc;
}

.notice {
    background: rgba(5, 48, 226, 0.15);
    border: 1px solid #0530E2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.notice a {
    color: #5588ff;
    font-weight: 700;
    text-decoration: underline;
}

.notice a:hover {
    color: #77aaff;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0530E2;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #252525;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-text {
    font-size: 12px;
    color: #ff4444;
    display: none;
}

.error-text.show {
    display: block;
}

/* Privacy Section */
.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0530E2;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.privacy-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.privacy-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
}

.privacy-detail {
    background: #252525;
    border-radius: 8px;
    padding: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.privacy-detail h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.privacy-detail h5 {
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-detail p {
    margin-bottom: 8px;
}

.submit-btn {
    width: 100%;
    background: #0530E2;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #0425b8;
}

.submit-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

.submit-btn.loading {
    position: relative;
    color: #fff;
}

.submit-btn.success {
    background: #22c55e;
    cursor: default;
}

/* Responsive Styles */
@media screen and (max-width: 1154px) {
    /* Mobile Header */
    header.moShow {
        padding: 22px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header.moShow nav {
        position: relative;
    }

    header.moShow .checkNav {
        visibility: hidden;
        position: absolute;
        left: -9999px;
    }

    header.moShow .btnNav {
        position: fixed;
        top: 20px;
        right: 24px;
        display: inline-block;
        cursor: pointer;
        z-index: 101;
    }

    header.moShow .btnNav .bar1,
    header.moShow .btnNav .bar2,
    header.moShow .btnNav .bar3 {
        margin: 4px 0;
        width: 20px;
        height: 1.5px;
        background-color: #eaeaea;
        border-radius: 2px;
        transition: 0.3s;
    }

    header.moShow .navList {
        position: fixed;
        top: 0;
        right: -87%;
        width: 280px;
        height: 100vh;
        background-color: #000;
        transition: 0.3s;
        z-index: 100;
    }

    header.moShow .checkNav:checked + .btnNav .bar1 {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    header.moShow .checkNav:checked + .btnNav .bar2 {
        opacity: 0;
    }

    header.moShow .checkNav:checked + .btnNav .bar3 {
        transform: rotate(45deg) translate(-3px, -3px);
    }

    header.moShow .checkNav:checked + .btnNav + .navList {
        right: 0;
    }

    header.moShow .navList ul {
        padding: 70px 27px 0;
        display: flex;
        flex-direction: column;
    }

    header.moShow .navList ul li {
        padding: 17px 0;
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        line-height: normal;
    }

    header.moShow .navList ul li a {
        padding: 0;
        display: inline-block;
        width: 100%;
    }
    .inner {
        width: 100%;
    }

    .section {
        height: auto;
        min-height: auto;
    }

    .section#section1 {
        padding-bottom: 0;
    }

    .visual .box {
        left: 0;
        padding: 0 16px;
        width: 100%;
    }

    .visual .main-copy {
        width: auto;
        font-size: 34px;
        line-height: 60px;
    }

    .visual .main-copy .copy-text {
        margin-left: 0;
    }

    .visual .typeIndicator {
        font-size: 30px;
    }

    .about-us,
    .services,
    .sectors,
    .contact {
        padding: 0;
    }

    .about-us .inner,
    .services .inner,
    .sectors .inner,
    .contact .inner {
        padding: 68px 16px 0 !important;
    }

    .section-desc .title {
        font-size: 20px;
    }

    .section-desc .copy {
        font-size: 32px;
        line-height: 48px;
    }

    .section-desc .text {
        font-size: 16px;
        line-height: 28px;
    }

    .about-us {
        padding: 64px 0;
    }

    .about-us .section-desc {
        max-width: none !important;
    }

    .about-us .inner ul {
        margin-top: 40px;
    }

    .about-us .inner ul li {
        width: 100%;
        height: 343px;
        background-size: cover;
        background-position: 0 0;
    }

    .about-us .inner ul li .tit {
        font-size: 24px;
        line-height: 36px;
    }

    .about-us .inner ul li .txt {
        font-size: 16px;
        line-height: 28px;
    }

    .services {
        padding: 124px 0 128px;
    }

    .services .inner {
        flex-direction: column;
    }

    .services .inner.reversed {
        flex-direction: column-reverse;
    }

    .services .inner .section-desc {
        width: 100%;
    }

    .services .service-image {
        margin-top: 40px;
        width: 100%;
    }

    .services .service-image.chainwatcher,
    .services .service-image.research {
        width: 100%;
        height: auto;
    }

    .sectors {
        padding: 97px 0 92px !important;
    }

    .sectors .inner ul {
        margin-top: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .sectors .inner ul li img {
        width: 100%;
        height: auto;
    }

    .sectors .inner ul li div .tit {
        font-size: 18px;
    }

    .sectors .inner ul li div .txt {
        margin-top: 4px;
        font-size: 14px;
    }

    .contact {
        padding: 132px 0 240px;
    }

    .contact .banner {
        padding: 0 16px;
        height: 280px;
    }

    .contact .banner .tit {
        font-size: 28px;
        line-height: 38px;
    }

    .contact .banner .txt {
        margin-top: 8px;
        font-size: 16px;
        line-height: 24px;
    }

    .contact .banner .contact-btn {
        margin-top: 24px;
        font-size: 16px;
    }

    footer {
        padding: 24px 0;
    }

    footer .inner {
        flex-direction: column;
        gap: 16px;
    }

    footer .copyright {
        font-size: 13px;
    }

    .modal-content {
        padding: 24px 16px;
        max-height: 95vh;
    }
}
