@import url("variables.css");
@import url("hero.css");
@import url("section.css");
@import url("app-card.css");
@import url("badge.css");
@import url("footer.css");
@import url("animation.css");
@import url("responsive.css");

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:
        "Pretendard",
        "Noto Sans KR",
        sans-serif;
    background:var(--background);
    color:var(--text);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
}

/* ==========================
   CONTAINER
========================== */
.container{
    width:min(100% - 48px, var(--container));
    margin:auto;
}

/* ==========================
   TYPOGRAPHY
========================== */
h1,h2,h3,h4{
    font-weight:700;
    color:var(--text);
}

p{
    color:var(--text-light);
}

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

img{
    display:block;
    max-width:100%;
}

/* ==========================
   SELECTION
========================== */
::selection{
    background:var(--primary);
    color:white;
}

/* ==========================
   SCROLLBAR
========================== */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#d7dbeb;
    border-radius:999px;
}

::-webkit-scrollbar-thumb:hover{
    background:#c4c9dd;
}

/* ==========================
   NAVIGATION
========================== */
.navbar{
    position:sticky;
    top:18px;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 16px 24px;
    margin: 20px 20px 0 20px;
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,.5);
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
}

.nav-logo{
    font-size:22px;
    font-weight:800;
    letter-spacing:-1px;
}

.navbar nav{
    display:flex;
    gap:28px;
}

.navbar a{
    color:var(--text-light);
    font-weight:600;
    transition:var(--transition);
    position:relative;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.25s;
}

.navbar a:hover{
    color:var(--primary);
}

.navbar a:hover::after{
    width:100%;
}

.navbar.scrolled{
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(20px);
    box-shadow:0 12px 40px rgba(0,0,0,.08);
}
