/* ============================================================
   IPESK NEXT
   Main
============================================================ */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {

    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
    color: #172b4d;

    background: #ffffff;

    word-break: keep-all;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select {
    font: inherit;
}


img {
    display: block;

    max-width: 100%;
}


.content-container {
    width: calc(100% - 48px);

    max-width: 1280px;

    margin: 0 auto;
}



/* ============================================================
   Header
============================================================ */

.site-header {
    position: relative;

    z-index: 100;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #edf2f8;
}


.header-inner {
    width: calc(100% - 48px);

    max-width: 1320px;

    height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;
}


.site-logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}
.site-header.is-scrolled {
    position: sticky;

    top: 0;

    box-shadow:
        0 5px 20px rgba(27, 62, 105, 0.08);

    backdrop-filter: blur(12px);
}


.logo-main {
    color: #123f84;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -1px;
}


.logo-main strong {
    color: #0873ed;
}


.logo-line {
    width: 1px;

    height: 37px;

    margin: 0 17px;

    background: #b7c5d7;
}


.logo-description {
    color: #29456c;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.55;
}


.main-nav {
    display: flex;

    align-items: center;

    gap: 46px;

    margin-left: auto;
    margin-right: 55px;
}


.main-nav a {
    position: relative;

    padding: 30px 0;

    color: #1d3557;

    font-size: 15px;

    font-weight: 600;
}


.main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 18px;

    width: 0;

    height: 2px;

    background: #096bea;

    transform: translateX(-50%);

    transition: width 0.2s ease;
}


.main-nav a:hover {
    color: #096bea;
}


.main-nav a:hover::after {
    width: 100%;
}


.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.search-button {
    position: relative;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.search-icon {
    position: absolute;

    width: 16px;
    height: 16px;

    top: 10px;
    left: 10px;

    border: 2px solid #17335d;

    border-radius: 50%;
}


.search-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 2px;

    right: -6px;
    bottom: -3px;

    background: #17335d;

    transform: rotate(45deg);
}


.button-login,
.button-join {
    display: flex;

    align-items: center;
    justify-content: center;

    height: 40px;

    padding: 0 22px;

    border-radius: 22px;

    font-size: 13px;

    font-weight: 600;
}


.button-login {
    border: 1px solid #1771eb;

    color: #1267d7;
}


.button-join {
    border: 1px solid #096bea;

    background: #096bea;

    color: #ffffff;
}


.button-login:hover {
    background: #f1f7ff;
}


.button-join:hover {
    background: #005bd2;
}



/* Mobile menu */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    padding: 9px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.mobile-menu-button span {
    display: block;

    height: 2px;

    margin: 5px 0;

    background: #18365f;

    transition: 0.2s;
}


.mobile-nav {
    display: none;
}



/* ============================================================
   Hero
============================================================ */

.hero {
    position: relative;

    overflow: hidden;

    min-height: 500px;

    background:
        linear-gradient(
            115deg,
            #ffffff 0%,
            #f5faff 35%,
            #e8f5ff 68%,
            #d8efff 100%
        );
}


.hero-background {
    position: absolute;

    top: -300px;
    left: 28%;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(74, 169, 255, 0.15),
            rgba(74, 169, 255, 0) 70%
        );
}


.hero-inner {
    position: relative;

    width: calc(100% - 48px);

    max-width: 1320px;

    min-height: 500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(430px, 0.9fr)
        minmax(500px, 1.1fr);

    align-items: center;
}


.hero-content {
    position: relative;

    z-index: 5;

    padding: 60px 0 70px;
}


.hero-eyebrow {
    margin-bottom: 17px;

    color: #6798df;

    font-size: 15px;

    letter-spacing: 0.6px;
}


.hero h1 {
    margin: 0;

    color: #162f57;

    font-size: clamp(38px, 3.4vw, 54px);

    line-height: 1.28;

    letter-spacing: -2.2px;
}


.hero h1 strong {
    display: block;

    margin-top: 4px;

    color: #0865dd;

    font-weight: 800;
}


.hero-description {
    margin: 25px 0 0;

    color: #445d7e;

    font-size: 17px;

    line-height: 1.8;
}


.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 30px;
}


.hero-button {
    min-width: 190px;

    height: 50px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    border-radius: 27px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.hero-button:hover {
    transform: translateY(-2px);
}


.hero-button-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0877f5,
            #075fd4
        );

    box-shadow:
        0 10px 25px rgba(7, 100, 220, 0.20);
}


.hero-button-outline {
    border: 1px solid #1771eb;

    color: #1268db;

    background: rgba(255, 255, 255, 0.7);
}


.hero-visual {
    position: relative;

    align-self: stretch;

    min-height: 500px;

    display: flex;

    align-items: flex-end;
    justify-content: center;
}


.hero-glow {
    position: absolute;

    width: 550px;
    height: 330px;

    left: 50%;
    bottom: 40px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.6);

    filter: blur(50px);
}


.hero-image {
    position: relative;

    z-index: 2;

    width: 100%;

    max-height: 485px;

    object-fit: contain;

    object-position: center bottom;

    filter:
        drop-shadow(
            0 20px 20px rgba(52, 103, 157, 0.08)
        );
}



/* Floating */

.floating-card {
    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 15px;

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.82);

    box-shadow:
        0 12px 35px rgba(44, 95, 153, 0.13);

    backdrop-filter: blur(10px);

    animation:
        floating 4s ease-in-out infinite;
}


.floating-card-research {
    top: 110px;
    left: 4%;
}


.floating-card-education {
    right: 2%;
    bottom: 80px;

    animation-delay: -2s;
}


.floating-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #ffffff;

    background: #1875e9;

    font-weight: 700;
}


.floating-card strong,
.floating-card span {
    display: block;
}


.floating-card strong {
    color: #17467e;

    font-size: 11px;
}


.floating-card span {
    margin-top: 2px;

    color: #71839a;

    font-size: 10px;
}


@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}



/* ============================================================
   Service
============================================================ */

.service-section {
    position: relative;

    z-index: 10;

    margin-top: -2px;

    padding: 28px 0 35px;

    border-radius:
        55px 55px 0 0;

    background: #ffffff;
}


.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}


.service-card {
    position: relative;

    min-height: 160px;

    display: flex;

    gap: 18px;

    padding: 23px 22px;

    overflow: hidden;

    border: 1px solid #e1e9f3;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfdff
        );

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.service-card:hover {
    transform: translateY(-5px);

    border-color: #c9dcf5;

    box-shadow:
        0 15px 35px rgba(39, 86, 140, 0.10);
}


.service-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    font-size: 23px;

    font-weight: 700;
}


.icon-research {
    color: #1775e8;

    background: #e3f5ff;
}


.icon-education {
    background: #e6f8f5;
}


.icon-result {
    color: #2877e8;

    background: #edf2ff;
}


.icon-my {
    color: #2470df;

    background: #eef0ff;
}


.service-content h2 {
    margin: 2px 0 5px;

    color: #17345d;

    font-size: 18px;
}


.service-content strong {
    color: #4d6481;

    font-size: 12px;

    font-weight: 600;
}


.service-content p {
    margin: 12px 0 0;

    color: #73839a;

    font-size: 12px;

    line-height: 1.7;
}


.service-arrow {
    position: absolute;

    right: 16px;
    bottom: 16px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #126ae0;

    background: #eef5ff;

    transition: 0.2s;
}


.service-card:hover .service-arrow {
    color: #ffffff;

    background: #126ae0;
}



/* ============================================================
   Information
============================================================ */

.information-section {
    padding: 20px 0 45px;
}


.information-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(390px, 0.95fr);

    gap: 42px;
}


.section-heading {
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


.section-heading h2 {
    margin: 0;

    color: #18365f;

    font-size: 19px;
}


.section-heading > a {
    color: #74869d;

    font-size: 12px;
}


.notice-symbol {
    display: inline-block;

    margin-right: 5px;

    color: #0b71ed;

    font-size: 12px;
}


.notice-list {
    overflow: hidden;

    border: 1px solid #e1e8f1;

    border-radius: 12px;

    background: #ffffff;
}


.notice-item {
    min-height: 48px;

    display: grid;

    grid-template-columns:
        95px 58px 1fr 25px;

    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid #edf1f5;
}


.notice-item:last-child {
    border-bottom: 0;
}


.notice-item:hover {
    background: #f8fbff;
}


.notice-item time {
    color: #8290a4;

    font-size: 12px;
}


.notice-category {
    width: 47px;

    padding: 4px 0;

    border-radius: 13px;

    text-align: center;

    font-size: 10px;

    font-weight: 600;
}


.category-normal {
    color: #2867ce;

    background: #edf4ff;
}


.category-education {
    color: #218b77;

    background: #eaf8f4;
}


.category-research {
    color: #6952c8;

    background: #f1efff;
}


.category-result {
    color: #d45261;

    background: #fff0f2;
}


.notice-item strong {
    overflow: hidden;

    color: #344b69;

    font-size: 12px;

    font-weight: 500;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.notice-arrow {
    color: #667d99;

    font-size: 22px;
}



/* Quick */

.quick-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}


.quick-item {
    min-height: 88px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #f7faff,
            #f2f7fd
        );

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.quick-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 22px rgba(44, 92, 146, 0.09);
}

.quick-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-icon img {
    display: block;

    width: 40px;
    height: 40px;
}

.quick-item span {
    color: #4d627e;

    font-size: 11px;
}

/* ============================================================
   Footer
============================================================ */

.site-footer {
    border-top: 0;

    background:
        linear-gradient(
            135deg,
            #2B2F35 0%,
            #23272D 100%
        );

    color: #ffffff;
}


.footer-inner {
    width: calc(100% - 48px);

    max-width: 1280px;

    margin: 0 auto;

    padding: 38px 0 34px;
}


/* ------------------------------------------------------------
   Brand
------------------------------------------------------------ */

.footer-brand {
    display: flex;

    align-items: center;

    gap: 16px;
}


.footer-logo {
    color: #ffffff;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.4px;
}


.footer-logo strong {
    color: #5CA8FF;
}


.footer-brand > span {
    padding-left: 16px;

    border-left:
        1px solid rgba(255, 255, 255, 0.20);

    color: #B8BEC7;

    font-size: 11px;
}


/* ------------------------------------------------------------
   Footer Links
------------------------------------------------------------ */

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 26px;

    margin-top: 25px;
}


.footer-links a {
    color: #AEB5BE;

    font-size: 11px;

    transition:
        color 0.2s ease;
}


.footer-links a:hover {
    color: #ffffff;
}


/* 개인정보처리방침 강조 */

.footer-links a:nth-child(2) {
    color: #ffffff;

    font-weight: 700;
}


/* ------------------------------------------------------------
   Footer Bottom
------------------------------------------------------------ */

.footer-bottom {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


.footer-bottom p {
    margin: 5px 0;

    color: #858C95;

    font-size: 10px;
}


.footer-bottom p:first-child {
    color: #B0B6BE;
}


/* ------------------------------------------------------------
   Family Site
------------------------------------------------------------ */

.family-site {
    width: 180px;
    height: 38px;

    padding: 0 12px;

    border:
        1px solid #4D535B;

    border-radius: 5px;

    outline: none;

    color: #D5D9DE;

    background: #343940;

    font-size: 10px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.family-site:hover {
    border-color: #656C75;

    background: #3A3F46;
}


.family-site:focus {
    border-color: #5CA8FF;

    box-shadow:
        0 0 0 2px rgba(92, 168, 255, 0.12);
}


.family-site option {
    color: #25282D;

    background: #ffffff;
}


/* ============================================================
   Footer Responsive
============================================================ */

@media (max-width: 800px) {

    .footer-inner {
        width: calc(100% - 32px);

        padding: 32px 0 28px;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .family-site {
        width: 100%;
    }

}


@media (max-width: 520px) {

    .footer-brand {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }


    .footer-brand > span {
        padding-left: 0;

        border-left: 0;

        line-height: 1.6;
    }


    .footer-links {
        gap: 13px 20px;

        margin-top: 21px;
    }


    .footer-bottom {
        margin-top: 21px;

        padding-top: 18px;
    }

}




/* ============================================================
   Tablet
============================================================ */

@media (max-width: 1100px) {

    .main-nav {
        gap: 25px;

        margin-right: 25px;
    }


    .logo-description {
        display: none;
    }


    .logo-line {
        display: none;
    }


    .hero-inner {
        grid-template-columns: 0.9fr 1.1fr;
    }


    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .information-grid {
        grid-template-columns: 1fr;
    }


    .quick-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

}



/* ============================================================
   Mobile
============================================================ */

@media (max-width: 800px) {

    .content-container,
    .header-inner,
    .hero-inner,
    .footer-inner {
        width: calc(100% - 32px);
    }


    /* Header */

    .header-inner {
        height: 66px;
    }


    .logo-main {
        font-size: 21px;
    }


    .main-nav,
    .header-actions {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .mobile-nav {
        position: absolute;

        top: 66px;
        left: 0;

        width: 100%;

        padding: 12px 20px 20px;

        border-top: 1px solid #edf1f5;

        background: #ffffff;

        box-shadow:
            0 15px 30px rgba(31, 62, 100, 0.12);
    }


    .mobile-nav.open {
        display: block;
    }


    .mobile-nav > a {
        display: block;

        padding: 14px 5px;

        border-bottom: 1px solid #edf1f5;

        color: #274466;

        font-size: 14px;

        font-weight: 600;
    }


    .mobile-auth {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

        margin-top: 15px;
    }


    .mobile-auth a {
        height: 42px;

        display: flex;

        align-items: center;
        justify-content: center;

        border: 1px solid #1971e8;

        border-radius: 6px;

        color: #1766ce;

        font-size: 13px;
    }


    .mobile-auth a:last-child {
        color: #ffffff;

        background: #126be2;
    }



    /* Hero */

    .hero {
        min-height: auto;
    }


    .hero-inner {
        display: flex;

        flex-direction: column;

        min-height: auto;
    }


    .hero-content {
        width: 100%;

        padding: 55px 0 15px;

        text-align: center;
    }


    .hero-eyebrow {
        font-size: 12px;
    }


    .hero h1 {
        font-size: 37px;

        letter-spacing: -1.7px;
    }


    .hero-description {
        font-size: 14px;
    }


    .desktop-break {
        display: none;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-button {
        min-width: 165px;
    }


    .hero-visual {
        width: 100%;

        min-height: 310px;

        margin-top: 10px;
    }


    .hero-image {
        max-height: 330px;
    }


    .floating-card {
        transform: scale(0.85);
    }


    .floating-card-research {
        top: 50px;
        left: 0;
    }


    .floating-card-education {
        right: 0;
        bottom: 35px;
    }



    /* Service */

    .service-section {
        padding-top: 25px;

        border-radius:
            30px 30px 0 0;
    }


    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }



    /* Information */

    .information-grid {
        gap: 30px;
    }


    .notice-item {
        grid-template-columns:
            75px 55px 1fr 18px;

        padding: 0 10px;
    }


    .notice-item time {
        font-size: 10px;
    }


    .quick-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }


    /* Footer */

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

}



/* ============================================================
   Small Mobile
============================================================ */

@media (max-width: 520px) {

    .hero-content {
        padding-top: 42px;
    }


    .hero h1 {
        font-size: 30px;
    }


    .hero-description {
        font-size: 13px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-button {
        width: 100%;

        min-width: 0;
    }


    .hero-visual {
        min-height: 250px;
    }


    .floating-card {
        display: none;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: 140px;
    }


    .information-section {
        padding-top: 5px;
    }


    .notice-item {
        position: relative;

        display: block;

        min-height: 76px;

        padding: 12px 30px 12px 12px;
    }


    .notice-item time {
        margin-right: 8px;
    }


    .notice-category {
        display: inline-block;
    }


    .notice-item strong {
        display: block;

        margin-top: 8px;
    }


    .notice-arrow {
        position: absolute;

        right: 12px;
        top: 26px;
    }


    .quick-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-brand {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }


    .footer-brand > span {
        padding-left: 0;

        border-left: 0;
    }


    .footer-links {
        flex-wrap: wrap;

        gap: 12px 20px;
    }


    .family-site {
        width: 100%;
    }

}








