/* =========================
   Reset
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
    "Pretendard",
    "Noto Sans KR",
    sans-serif;

    background:#f7f8fa;

    color:#222;

    line-height:1.7;

}



/* =========================
   공통
========================= */

.container{

    width:100%;

    max-width:1200px;

    margin:auto;

    padding:40px 20px 80px;

}

.section{

    margin-top:90px;

}

.section-header{

    text-align:center;

    margin-bottom:45px;

}

.section-header h2{

    font-size:2rem;

    margin-bottom:15px;

    font-weight:700;

}

.section-header p{

    color:#666;

    font-size:1rem;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    display:block;

    max-width:100%;

}

/* =========================
   Hero
========================= */

.hero{

    text-align:center;

    padding:80px 20px;

}

.hero-icon{

    font-size:5rem;

    display:block;

    margin-bottom:25px;

}

.hero h1{

    font-size:3.5rem;

    font-weight:800;

    margin-bottom:25px;

}

.hero-slogan{

    font-size:2rem;

    font-weight:700;

    line-height:1.5;

    margin-bottom:25px;

}

.hero-description{

    max-width:700px;

    margin:auto;

    color:#666;

    font-size:1.1rem;

}

.hero-button{

    display:inline-block;

    margin-top:45px;

    padding:18px 45px;

    background:#4f7cff;

    color:white;

    border-radius:50px;

    font-weight:700;

    transition:.25s;

}

.hero-button:hover{

    background:#3768f4;

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}
/* =========================
   대표 기능
========================= */

.featured-tool{

    display:flex;

    align-items:center;

    gap:40px;

    background:white;

    border-radius:25px;

    padding:50px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

    transition:.3s;

}

.featured-tool:hover{

    transform:translateY(-8px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.featured-icon{

    font-size:5rem;

    flex-shrink:0;

}

.featured-content{

    flex:1;

}

.featured-content h3{

    font-size:2rem;

    margin-bottom:18px;

}

.featured-content p{

    color:#666;

    font-size:1.05rem;

    margin-bottom:30px;

}

.tool-button{

    display:inline-block;

    padding:15px 35px;

    background:#4f7cff;

    color:white;

    border-radius:999px;

    font-weight:700;

    transition:.25s;

}

.tool-button:hover{

    background:#3768f4;

}
/* =========================
   Coming Soon
========================= */

.tool-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.tool-card{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    text-decoration:none;

    color:inherit;

}

.tool-card:hover{

    transform:translateY(-6px);

}

.tool-icon{

    font-size:3.2rem;

    margin-bottom:18px;

}

.tool-card h3{

    margin-bottom:15px;

    font-size:1.4rem;

}

.tool-card p{

    color:#666;

    min-height:55px;

}

.coming-badge{

    display:inline-block;

    margin-top:25px;

    padding:8px 18px;

    border-radius:999px;

    background:#f0f2f5;

    color:#888;

    font-size:.9rem;

    font-weight:600;

}
/* =========================
   NBBang 소개
========================= */

.about-box{

    max-width:900px;

    margin:auto;

    background:white;

    border-radius:25px;

    padding:45px;

    box-shadow:0 15px 40px rgba(0,0,0,.07);

}

.about-box p{

    margin-bottom:20px;

    color:#555;

    font-size:1.05rem;

}

.about-box p:last-child{

    margin-bottom:0;

}
/* =========================
   장점
========================= */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.feature-item{

    background:white;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

    transition:.25s;

}

.feature-item:hover{

    transform:translateY(-5px);

}

.feature-item span{

    display:block;

    font-size:2.3rem;

    margin-bottom:15px;

}

.feature-item p{

    font-weight:600;

    color:#555;

}
/* =========================
   FAQ
========================= */

.faq-list{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:white;

    border-radius:18px;

    margin-bottom:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

    overflow:hidden;

}

.faq-item summary{

    cursor:pointer;

    list-style:none;

    padding:22px 28px;

    font-size:1.05rem;

    font-weight:700;

    transition:.25s;

    position:relative;

}

.faq-item summary:hover{

    background:#f5f7fb;

}

.faq-item summary::-webkit-details-marker{

    display:none;

}

/* + 버튼 */

.faq-item summary::after{

    content:"+";

    position:absolute;

    right:25px;

    top:50%;

    transform:translateY(-50%);

    font-size:1.5rem;

    color:#4f7cff;

    transition:.25s;

}

.faq-item[open] summary::after{

    transform:translateY(-50%) rotate(45deg);

}

.faq-item p{

    padding:0 28px 25px;

    color:#666;

    line-height:1.8;

}
/* =========================
   Footer
========================= */

.footer{

    margin-top:100px;

    padding:60px 20px;

    text-align:center;

    color:#777;

}

.footer h2{

    font-size:2rem;

    margin-bottom:15px;

}

.footer p{

    margin-bottom:15px;

}

.footer small{

    color:#999;

}
/* =========================
   Responsive
========================= */

@media(max-width:900px){

    .featured-tool{

        flex-direction:column;

        text-align:center;

    }

    .tool-grid{

        grid-template-columns:1fr;

    }

    .feature-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:600px){

    .hero{

        padding:60px 15px;

    }

    .hero h1{

        font-size:2.4rem;

    }

    .hero-slogan{

        font-size:1.5rem;

    }

    .hero-description{

        font-size:1rem;

    }

    .featured-tool{

        padding:35px 25px;

    }

    .featured-content h3{

        font-size:1.6rem;

    }

    .section{

        margin-top:70px;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .about-box{

        padding:30px;

    }

}

.service-card{

    text-decoration:none;
    color:inherit;
}

.go-service{

    display:inline-block;
    margin-top:18px;
    color:#4f7cff;
    font-weight:700;
}

.service-card:hover .go-service{

    transform:translateX(4px);
    transition:.25s;
}

.go-service{

    display:inline-block;

    margin-top:20px;

    padding:12px 24px;

    background:#4f7cff;

    color:#fff;

    border-radius:12px;

    font-weight:700;

    transition:.25s;

    box-shadow:0 8px 20px rgba(79,124,255,.25);

}

.service-card:hover .go-service{

    background:#3768f4;

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(79,124,255,.35);

}
/* =========================================================
   ✨ 리디자인 (배경 · 히어로 · 카드)  — 하단 오버라이드
========================================================= */

/* 페이지 배경: 은은한 상단 글로우 */
body{
    background:#f5f7fc;
}
body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(900px 480px at 50% -140px, rgba(79,124,255,.14), transparent 70%),
        radial-gradient(700px 400px at 90% 8%, rgba(122,92,255,.08), transparent 70%);
}

/* 본문 최대폭 (넓은 화면에서 좌우로 퍼지는 문제 해결) */
main{
    display:block;
    max-width:1100px;
    margin:0 auto;
    padding:0 20px 40px;
}

/* ===== 히어로: 그라데이션 배너 ===== */
.hero{
    position:relative;
    overflow:hidden;
    margin-top:26px;
    border-radius:34px;
    padding:96px 26px 104px;
    color:#fff;
    background:
        radial-gradient(120% 150% at 12% 8%, rgba(255,255,255,.22), rgba(255,255,255,0) 45%),
        linear-gradient(135deg,#26307d 0%,#3a49b8 34%,#4f7cff 60%,#6b5cff 82%,#2c2a86 100%);
    box-shadow:0 32px 64px rgba(38,48,125,.30);
}
/* 잔무늬(버블 텍스처) */
.hero{
    background-blend-mode:normal;
}
.hero::before{
    content:"";
    position:absolute;
    width:320px; height:320px;
    border-radius:50%;
    top:-110px; right:-70px;
    background:radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,0) 70%);
    pointer-events:none;
}
.hero::after{
    content:"";
    position:absolute;
    width:260px; height:260px;
    border-radius:50%;
    bottom:-90px; left:-60px;
    background:radial-gradient(circle, rgba(140,175,255,.30), transparent 70%);
    pointer-events:none;
}
.hero > *{ position:relative; z-index:1; }

.hero-icon{
    filter:drop-shadow(0 8px 16px rgba(0,0,0,.22));
}
.hero h1{
    color:#fff;
    letter-spacing:-.02em;
    text-shadow:0 3px 14px rgba(0,0,0,.18);
}
.hero-slogan{
    color:#eaf0ff;
}
.hero-description{
    color:rgba(255,255,255,.82);
}
.hero-button{
    background:#fff;
    color:#2b3a99;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.hero-button:hover{
    background:#eef2ff;
    color:#26307d;
    transform:translateY(-3px);
    box-shadow:0 18px 38px rgba(0,0,0,.22);
}

/* ===== 미니게임/도구 카드: 진짜 카드처럼 ===== */
.tool-card{
    background:#fff;
    border:1px solid #eef1f7;
    border-radius:24px;
    padding:40px 28px;
    box-shadow:0 14px 34px rgba(30,40,90,.07);
    transition:.28s cubic-bezier(.22,.61,.36,1);
}
.tool-card:hover{
    transform:translateY(-8px);
    border-color:#dbe4ff;
    box-shadow:0 26px 50px rgba(79,124,255,.18);
}
.tool-icon{
    width:82px; height:82px;
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 20px;
    font-size:2.6rem;
    border-radius:22px;
    background:linear-gradient(135deg,#eef3ff,#dfe8ff);
    box-shadow:inset 0 0 0 1px rgba(79,124,255,.10);
}
.tool-card.coming{
    background:#fbfcfe;
    border-style:dashed;
    box-shadow:none;
}
.tool-card.coming:hover{
    transform:none;
    box-shadow:none;
    border-color:#e3e7ee;
}
.tool-card.coming .tool-icon{
    background:#f1f3f7;
    filter:grayscale(.35);
    opacity:.85;
}

/* 대표 기능 아이콘도 통일감 있게 */
.featured-tool{
    border:1px solid #eef1f7;
    background:linear-gradient(180deg,#ffffff,#fbfcff);
}

/* 반응형: 히어로 여백 */
@media(max-width:600px){
    .hero{
        padding:64px 20px 72px;
        border-radius:26px;
        margin-top:16px;
    }
}

/* 히어로 핵심 가치 한 줄 카피 (SEO/명확성 강화) */
.hero-pitch{
    display:inline-block;
    margin:14px auto 18px;
    padding:9px 20px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.28);
    border-radius:999px;
    color:#fff;
    font-size:.92rem;
    font-weight:700;
    letter-spacing:-.01em;
    backdrop-filter:blur(2px);
}
@media(max-width:600px){
    .hero-pitch{ font-size:.8rem; padding:8px 14px; }
}
