 

/* =========================
   전체 스코프 제한
========================= */
.nxq-wrap {
 font-family: "Montserrat", sans-serif; 
}

/* =========================
   헤더 (스크롤 시 고정)
========================= */
.nxq-header {
    position: sticky;  /* ?? 핵심 */
    top: 0;
    height: 80px; margin-bottom:10px;
    width: 100%; border-radius:10px;

    background: rgba(10,20,40,0.9);
    backdrop-filter: blur(10px);

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
}

 
/* 기본 */
.nxq-nav a {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    font-size: 18px;     font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
    padding: 6px 15px;
}

/* hover */
.nxq-nav a:hover {
    color: #fff;
}

/* ?? ACTIVE 상태 */
.nxq-nav a.active {
    color: #fff;
    font-weight: 600;
}

/* ?? 밑줄 애니메이션 */
.nxq-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

.nxq-nav a:hover::after {
    width: 75%; /* ?? 텍스트 느낌에 맞게 */
}

.nxq-nav a.active::after {
    width: 75%;
}





/* =========================
   HERO (프리미엄 버전)
========================= */
.nxq-hero {
    position: relative; border-radius:10px;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* 배경 이미지 */
.nxq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('./img/back_cost.jpg') center/cover no-repeat;
    transform: scale(1.08);
    filter: brightness(0.6);
    z-index: 1;
}

/* 블루 그라데이션 오버레이 */
.nxq-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(77,163,255,0.25), transparent 60%),
        linear-gradient(180deg, rgba(5,10,20,0.7), rgba(5,10,20,0.95));
    z-index: 2;
}

/* 콘텐츠 */
.nxq-hero > div {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

/* 타이틀 */
.nxq-hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 18px;

    background: linear-gradient(90deg, #ffffff, #9ed0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: nxqFadeUp 1s ease forwards;
}

/* 서브 */
.nxq-hero p {
    font-size: 18px;
    opacity: 0.85;
    letter-spacing: 0.5px;

    animation: nxqFadeUp 1.4s ease forwards;
}

/* 은은한 하단 라인 */
.nxq-hero .nxq-line {
    width: 80px;
    height: 3px;
    margin: 30px auto 0;
    background: linear-gradient(90deg, transparent, #4da3ff, transparent);

    animation: nxqFadeUp 1.8s ease forwards;
}

/* 애니메이션 */
@keyframes nxqFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}













/* =========================
   섹션
========================= */
.nxq-section{
    width:100%;
    max-width:1600px;
    margin:20px auto;
    padding:60px  0px 40px;
    box-sizing:border-box;
    border-radius:10px;
}

.nxq-title { text-align:center;
    font-size:32px;
    margin-bottom:20px;
}

.nxq-sub { text-align:center;
    font-size:20px;
    margin-bottom:20px;
}


.nxq-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #53cecb;
  margin: 18px auto 0;
  border-radius: 3px;
}

.nxq-text {
    color:#666;
    line-height:1.8;
}

.title-sub { text-align:center;     font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  line-height: 1.6;
  font-weight: 300;
}


@media (max-width: 480px) {
 .nxq-title { text-align:center;
    font-size:18px;
    margin-bottom:20px;
}

.nxq-sub { text-align:center;
    font-size:18px;
    margin-bottom:20px;
}

}


/* =========================
   배경
========================= */
.nxq-bg-light {
    background:#f8f9fb;
}

 

.nxq-bg-dark {
    background:#0f1c2e;
    color:#fff;
}

.nxq-bg-dark {
    background:#0f1c2e;
    color:#fff;
}


.nxq-bg-dark .nxq-text {
    color:#ccc;
}

/* =========================
   GRID
========================= */
.nxq-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap:20px;
    margin-top:40px;
}

.nxq-box {
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.nxq-bg-dark .nxq-box {
    background:rgba(255,255,255,0.05);
}

/* =========================
   버튼
========================= */
.nxq-btn {
    display:inline-block;
    margin-top:20px;
    padding:12px 20px;
    background:#4da3ff;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
}

.nxq-btn:hover {
    background:#2b7edb;
}

/* =========================
   모바일
========================= */
@media(max-width:768px){

    .nxq-nav {
        gap:12px;
        overflow-x:auto;
    }

    .nxq-nav a {
        font-size:12px;
        white-space:nowrap;
    }

    .nxq-hero h1 {
        font-size:30px;
    }

}
 

.nx-info-row{
    display:flex;
    align-items:flex-start;
    gap: 0px;
}

.nx-info-row strong{
    flex:0 0 40px; /* 제목 너비 */
}

.nx-info-row span{
    flex:1;
}

@media(max-width:768px){
 .nexcue-reason .reason-item p { font-size: 14px;}
 
 .nexcue-reason .reason-box .title  { font-size: 18px;}
 
.profit-header p {
    font-size: 16px;
    color: #555;
}

.top-card h3 {
    font-size: 20px;
    font-weight: 600;
}


.value strong {
    font-size: 24px;
    font-weight: 600;
    color: rgb(28, 45, 74);
}
.profit-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 20px 40px 80px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
 

.nexcue-profit {
    border-radius: 10px;
    margin-top: 20px;
    padding: 40px 20px;
    background: radial-gradient(circle at 30% 20%, #ffb347, transparent 40%), radial-gradient(circle at 80% 80%, #ff6a00, transparent 40%), linear-gradient(135deg, #ff8a00, #ff5e00);
}

}
 

@media (max-width:768px){

    .bottom-card{
        width:100% !important;
        flex:0 0 100% !important;
        max-width:100% !important;
        margin-bottom:15px;
    }

}
