* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
 font-family: "Montserrat", sans-serif; 
    background: #fff;
}

/* ?? wrap w */
.wrap{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:0 30px;
    box-sizing:border-box;
}

/* ?? 헤더 */
.header {
    width: 100%;
    background: #fff;
}

.header-inner{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:20px 30px;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* 로고 */
.logo img {
    width: 250px; 
}


h1.fade-up{
    font-size: 40px !important;  font-weight:500; 
}
 

p.fade-up{
    font-size: 28px !important;  font-weight:300; 
}


@media (max-width: 768px){
    h1.fade-up{
      font-size: 24px !important;  font-weight:500; 
    }

  p.fade-up{
    font-size: 18px !important;  font-weight:300; 
}

}
 
 

/* 메뉴 기본 (PC) */
 
.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    position: relative;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease; font-size:20px;
}

/* 밑줄 */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, #2b3c74, #11b4a8);
    transition: width 0.3s ease;
}

/* hover */
.nav a:hover {
    color: #2b3c74; /* 확실히 보이는 컬러 */
}

.nav a:hover::after {
    width: 100%;
}


/* 햄버거 숨김 (PC) */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ?? 모바일 */
@media (max-width: 768px) {

    .header-inner {
        position: relative;
    }

    /* 햄버거 보이기 */
    .menu-toggle {
        display: block;
    }

    /* 메뉴 숨김 */
    .nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,1.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
        display: none;
    }

    /* 열렸을 때 */
    .nav.active {
        display: flex;
    }

    /* 모바일에선 구분선 제거 */
    .nav a::after {
        display: none;
    }

    .nav a {
        font-size: 14px;
        padding: 5px 0;
    }
}

/* 상단 배너 */
.top-banner {
    background: linear-gradient(90deg, #0aa, #0cc);
    color: #fff;
    text-align: center;
    padding: 22px;
    font-size: 28px;
    font-weight: 400;
    border-radius: 10px;
    margin-bottom: 30px;
}
/* 넥스펀 전체 */
.brand {
    display: inline-flex;
    gap: 2px;
    font-weight: 600;
}

/* 각 글자 */
.brand span {
    position: relative;
}

/* ?? 각 글자 위 점 */
.brand span::before {
    content: "●";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    opacity: 0.8;
}
/* 카드 영역 */
.card-wrap {
    display: flex;
    gap: 24px;
}


.title-img {
    width:70%;
    max-width: 320px;
    margin: 0 auto 10px;
    display: block;
}


/* 카드 */
.card {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    color: #fff;
    height: 660px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

/* 배경 */
.card-blue {
    background: linear-gradient(rgba(20,40,100,0.85), rgba(20,40,100,0.85)), url('./img/back_left.png') center/cover;
}

.card-green {
    background: linear-gradient(rgba(0,150,130,0.85), rgba(0,150,130,0.85)), url('img/back_right.png') center/cover;
}

/* 내용 */
.card-content {
    text-align: center;
    padding-top: 120px; padding-bottom:100px;
}

.card h2 {
    font-size: 42px;
    letter-spacing: 2px;
}

.sub {
    margin-top: 10px;
    opacity: 0.9;
    font-size: 16px;
}



.desc {
    margin-top: 20px;
    font-size: 0; /* ?? 공백 버그 방지 */
}

/* 24시 크게 */
.desc .big { 
    font-size: 30px;
    font-weight: 400;
}

/* 나머지 작고 얇게 */
.desc .small {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.9;
}



/* 아이콘 */
.icon {
    width:25%;
    margin:35px auto;
    display: block;
}

/* 버튼 */
.btn {
    display: inline-block;
    padding: 14px 34px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    margin-top: 20px;
    transition: 0.3s;
    font-size: 15px;
}

.btn:hover {
    background: rgba(255,255,255,0.4);
}

 
/* 태블릿 */
@media (max-width: 1024px) {

    .card {
        height: 550px;
    }

    .card h2 {
        font-size: 34px;
    }

    .desc {
        font-size: 18px;
    }

    .icon {
        width: 100px;
    }
}

/* 모바일 */


 

@media (max-width: 768px) {



   .logo img {
        width: 120px;
    }

    .top-banner {
        font-size: 18px;
        padding: 16px;
    }

    .card-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .card {
        height: auto;
        padding: 40px 20px;
    }

    .card-content {
        padding-top: 0;
    }

    .card h2 {
        font-size: 28px;
    }

    .desc {
        font-size: 16px;
    }

    .icon {
        width: 90px;
        margin: 10px auto;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

   .desc .big {
        font-size: 22px;
    }

    .desc .small {
        font-size: 14px;
    }


.nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
        display: none;

        z-index: 9999; /* ?? 핵심 */
    }
	
	.card-content {
    text-align: center;
    padding-top: 50px; padding-bottom:50px;
}

}



.line {
    width: 1cm;
    height: 2px;
    background: #fff;
    margin: 18px auto;
    opacity: 0.7;
    border-radius: 2px;      /* 살짝 부드럽게 */
}

 .footer-info { font-family: "Montserrat", sans-serif; 
    width: 100%; margin-top:30px;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 14px 20px;
    font-size: 12px;
    color: #777;
}

/* 내부 정렬 */
.footer-inner {
    max-width: 1600px;
    margin: 0 auto; font-size:14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px  6px;
}

/* 항목 */
.footer-inner span {
    white-space: nowrap;
    position: relative;
}

/* 구분선 */
.footer-inner span::after {
    content: "|";
    margin-left: 10px;
    color: #ccc;
}

.footer-inner span:last-child::after {
    content: "";
}

.copyright { font-family: "Montserrat", sans-serif; 
    margin-top: 8px;      max-width: 1600px; margin:0 auto;
    font-size: 10px;
    color: #666;
    text-align: left; line-height:30px;
    letter-spacing: 0.5px;
}



html {
    scroll-behavior: smooth;
}

/* 각 섹션 스타일 */
.section {
    padding:60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
}

/* 헤더 높이만큼 보정 (중요??) */
.section {
    scroll-margin-top: 100px;
}

/* 타이틀 전체 박스 */
.section-title {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* 메인 타이틀 */
.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #111;
    margin-bottom: 14px;
    font-family: 'Montserrat',  sans-serif;
}

/* 서브 텍스트 */
.section-title p {
    font-size: 15px;
    color: #888;
    letter-spacing: 0.5px;
}

/* 포인트 라인 (밑줄 느낌) */
.section-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #111;
    margin: 18px auto 0;
    border-radius: 2px;
}


/* 플로팅 메뉴 전체 */
.floating-menu{
    position: fixed;
    top: 50%;
    left: calc(50% + 800px + 30px); /* wrap 오른쪽 + 30px */
    transform: translateY(-50%);
    z-index: 999;
}


@media (max-width: 1700px){
    .floating-menu{
        left: auto;
        right: 20px;
    }
}

/* 버튼 기본 */
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 10px 0;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    .menu-btn {
        width: 38.5px;   /* 55 × 0.7 */
        height: 38.5px;  /* 55 × 0.7 */
        font-size: 14px; /* 20 × 0.7 */
        margin: 7px 0;   /* 10 × 0.7 */
    }
}


/* 텍스트 숨김 */
.menu-btn span {
    position: absolute;
    right: 65px;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    opacity: 0;
    white-space: nowrap;
    transition: 0.3s;
}

/* hover 시 텍스트 표시 */
.menu-btn:hover span {
    opacity: 1;
    right: 70px;
}

/* hover 효과 */
.menu-btn:hover {
    transform: scale(1.1);
}

/* 개별 컬러 */
.phone { background: #2d89ef; }
.kakao { background: #fee500; color:#3c1e1e; }
.youtube { background: #ff0000; }
.insta { 
    background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); 
}
.naver { background: #03c75a; }


.naver-svg {
    width: 26px;   /* ?? 키워서 선명하게 */
    height: 26px;
    display: block;
}

/* 아이콘 더 또렷하게 */
.menu-btn {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* hover 시 강조 */
.naver:hover {
    background: #02b351;
}
 
 /* =========================
   공통 타이틀 (brand + system 같이 사용)
========================= */
.brand-title,
.cost-title,
.system-title {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* 배경 이미지 */
.cost-title .bg,
.brand-title .bg,
.system-title .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.brand-title .bg img,
.cost-title .bg img,
.system-title .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 오버레이 */
.brand-title .overlay,
.cost-title .overlay,
.system-title .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* 텍스트 (공통 그대로 사용) */
.brand-title-inner {
    position: relative;
    z-index: 2;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #fff;
    text-align: center;
}


/* ?? notice 추가 */
.notice-title {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* 배경 */
.notice-title .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.notice-title .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 오버레이 */
.notice-title .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}


/* ?? club 추가 */
.club-title {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* 배경 이미지 */
.club-title .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.club-title .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 오버레이 */
.club-title .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}



/* ?? member 추가 */
.member-title {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* 배경 */
.member-title .bg {
    position: absolute;
    top: 0;


    left: 0;
    width: 100%;
    height: 100%;
}

.member-title .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 오버레이 */
.member-title .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
/* =========================
   애니메이션
========================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .brand-title,
    .cost-title,
    .system-title,
    .club-title,
    .notice-title,
    .member-title {
        height: 300px;
    }
 
    .brand-title-inner h1 {
        font-size: 30px;
    }

    .brand-title-inner p {


        font-size: 14px;
    }
}
 











 /* =========================
   넥스큐 갤러리 (비비드 업그레이드)
========================= */
/*background: linear-gradient(45deg, #b388ff, #7c4dff, #5e35b1); */
/* 전체 풀폭 */
.nexcue-gallery-wrap {
    width: 100%;  border-radius:10px; 
    margin: 0;
    padding: 40px 40px;
    box-sizing: border-box;
       background: rgb(46, 62, 123);
 
    position: relative;
    overflow: hidden;
}

/* 은은한 빛 효과 */
.nexcue-gallery-wrap::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    filter: blur(80px);  pointer-events: none; 
}

.nexcue-gallery-wrap::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,153,255,0.25), transparent 70%);
    filter: blur(80px);  pointer-events: none; 
}

/* 로고 */
.nexcue-logo {
    text-align: center;
    margin-bottom: 60px;
}

.nexcue-logo img {
    max-width: 420px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

/* 타이틀 (핵심 개선) */
.nexcue-logo {
  text-align: center;
}

/* 로고 이미지 */
.nexcue-logo img {
  width: 220px;
  margin-bottom: 18px;
}

/* 첫 번째 카피 (설명 문구) */
.nexcue-subtitle:first-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

/* 두 번째 카피 (브랜드 강조) */
.nexcue-subtitle:last-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.3;
}

/* 전체 텍스트 공통 */
.nexcue-subtitle {
  display: block;
}

/* 살짝 고급 느낌 추가 */
.nexcue-subtitle:last-of-type {
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 갤러리 */
.nexcue-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 카드 */
.nexcue-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

/* 이미지 */
.nexcue-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    transition: transform 0.6s ease, filter 0.4s ease;
}

/* 오버레이 */
.nexcue-item::after {
    content: "VIEW";
    position: absolute;
    bottom: 20px;
    left: 20px;

    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0;

    transition: all 0.4s ease;
}

/* hover 효과 */
.nexcue-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.nexcue-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);

}

.nexcue-item:hover::after {
    opacity: 1;
}

/* 팝업 */
.nexcue-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

/* 이미지 애니메이션 */
.nexcue-popup-img {
    max-width: 85%;
    max-height: 85%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.nexcue-popup-img.show {
    opacity: 1;
    transform: scale(1);
}

/* 닫기 */
.nexcue-close {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
}

/* 좌우 버튼 */
.nexcue-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: #fff;

    cursor: pointer;
}

.nexcue-prev { left: 60px; }
.nexcue-next { right: 60px; }

/* 반응형 */
@media (max-width: 1024px) {
    .nexcue-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .nexcue-gallery-wrap {
        padding: 60px 20px;
    }

    .nexcue-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .nexcue-subtitle {
        font-size: 22px;
    }
}


@media (max-width: 480px) {
   
  .nexcue-subtitle:first-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.nexcue-subtitle:last-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.3;
}
}



 








 
/* =========================
   섹션 페이드 인
========================= */
.nexcue-profit {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.nexcue-profit.show {
    opacity: 1;
    transform: translateY(0);
}



.nexcue-profit { border-radius:10px;  margin-top:20px; 
    padding: 100px 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);
}



 
/* =========================
   넥스핑섹션 페이드 인
========================= */
.nexping-profit {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.nexping-profit.show {
    opacity: 1;
    transform: translateY(0);
}



.nexping-profit { border-radius:10px;  margin-top:20px; 
    padding: 100px 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);
}




/* 컨테이너 */
.profit-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 60px 40px 80px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* 타이틀 */
.profit-header {
    text-align: center;
    margin-bottom: 60px;
}

.profit-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0e1b2f;
}

.accent {
    color: #ff6a00;   font-size: 82px;
    font-weight: 600; padding: 0 10px 0; margin: 13px 0 0 0;
}

.profit-header p {
    font-size: 20px; line-height:36px;
    color: #555;
}

.highlight {
    color: #ff6a00;     font-size: 26px; line-height:36px;
    font-weight: 700;
}

/* 상단 */
.profit-top {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.top-card {
    width: 500px;
    height: 160px;
    background: #f3f5f9;
    border-radius: 80px;
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 0 20px;

    box-shadow: inset 0 5px 10px rgba(0,0,0,0.05),
                0 10px 20px rgba(0,0,0,0.05);
}

.top-card img {
    width:100px;
}

.top-card h3 {
    font-size: 24px;
    font-weight: 800;
}

.top-card p {
    font-size: 20px;
    color: #666;
}

.top-card h3,
.top-card p {
    transform: translateX(-30px);
}




/* 하단 */
.profit-bottom {
    display: flex;
    gap: 20px;
}

/* 카드 */
.bottom-card {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.bottom-card:hover {
    transform: translateY(-8px);
}

/* 아이콘 */
.bottom-card img {
    width: 120px;
    margin-bottom: 10px; 
}
.bottom-card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* 제목 */
.bottom-card h4 {
    font-size: 24px;
    font-weight: 700;
}

/* 숫자 */
.value {
    margin-top: 10px;
}

.value strong {
    font-size: 42px;
    font-weight: 700;
    color: #1c2d4a;
}

.value em {
    font-size: 18px;
    font-style: normal;
    margin-left: 4px;
}

/* ?? 핵심 강조 카드 */
.highlight-card {
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
    color: #fff;
 
    transform: none;
 
    box-shadow: 0 15px 30px rgba(255,120,0,0.3);

 
    border: 3px solid rgba(255,255,255,0.6);
 
    box-shadow: 
        0 15px 30px rgba(255,120,0,0.3),
        inset 0 0 0 3px rgba(255,255,255,0.3);
}

.highlight-card h4 {
    color: #fff;
}

/* 강조 숫자 */
.highlight-value strong {
    font-size: 64px;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.highlight-value em {
    color: #fff;
}

/* 서브 */
.sub {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 5px;
}

/* 하단 안내 */
.profit-note {
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
    color: #777;
}

/* 반응형 */
@media (max-width: 768px) {


.top-card {
    width: 100%;
    
}
.profit-container {
    
    padding: 10px 20px 20px;
   
}




.top-card p {
    font-size: 14px;
    color: #666;
}


.top-card h3,
.top-card p {
    transform: translateX(-3px);
}



    .profit-top {
        flex-direction: column;
    }

    .top-card {
        width: 100%;
    }

    .profit-bottom {
        flex-wrap: wrap;
    }

    .bottom-card {
        width: 48%;
    }

    .highlight-value strong {
        font-size: 48px;
    }
}


@media (max-width: 480px) {
 
.profit-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0e1b2f;
}

.accent {
    color: #ff6a00;   font-size: 42px;
    font-weight: 600; padding: 0 10px 0; margin: 13px 0 0 0;
}


.top-card img {
    width:70px;
}
}






/* =========================
   스크롤 등장 애니메이션
========================= */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* 살짝 딜레이 주기 (자연스럽게) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/*  넥스큐  자본회수기간  끝 */










/*  넥스큐 무인 당구장이 선택 받는 4가지 이유 시작 */
/* =========================
   섹션 타이틀 (공통 스타일)
========================= */
.nxq-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  margin-bottom: 80px;
}

/* 다크 배경일 때 더 고급스럽게 */
.nxq-bg-dark .nxq-title {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* 반응형 */
@media (max-width: 768px) {
  .nxq-title {
    font-size: 28px;
    margin-bottom: 50px;
  }
}

  /* 전체 래핑 (네임스페이스 핵심) */

.nexcue-reason {  border-radius:10px;  margin-top:20px; 
  padding: 80px 20px;
  position: relative;
  overflow: hidden;

  /* ?? 메인 그라데이션 */
  background: linear-gradient(135deg, #0f766e 0%, #0ea5a4 40%, #1e3a8a 100%);
}

.nexcue-reason::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  filter: blur(80px);
}

.nexcue-reason::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,255,255,0.2), transparent 70%);
  filter: blur(80px);
}





/* 컨테이너 */
.nexcue-reason .reason-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.nexcue-reason .reason-container h2 {
  font-size: 28px;
  margin-bottom: 60px;
  font-weight: 700;
}

/* 그리드 */
.nexcue-reason .reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

/* 카드 */
.nexcue-reason .reason-item {
  opacity: 0;
  transform: translateY(40px);
  animation: nexcueFadeUp 0.8s ease forwards;
}

/* 순차 딜레이 */
.nexcue-reason .reason-item:nth-child(1) { animation-delay: 0.2s; }
.nexcue-reason .reason-item:nth-child(2) { animation-delay: 0.4s; }
.nexcue-reason .reason-item:nth-child(3) { animation-delay: 0.6s; }
.nexcue-reason .reason-item:nth-child(4) { animation-delay: 0.8s; }

/* 박스 */
.nexcue-reason .reason-box {
  background: #fff;
  border-radius: 20px;
  padding: 20px 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

/* 아이콘 */
.nexcue-reason .reason-box .icons {
  margin-bottom: 15px;
}

.nexcue-reason .reason-box img {
  width: 280px;
 
}

/* 타이틀 */
.nexcue-reason .reason-box .title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

/* 설명 */
.nexcue-reason .reason-item p {
  font-size: 24px;
  color: #fff;
  line-height: 1.6;
}

/* 호버 */
.nexcue-reason .reason-box:hover {
  transform: translateY(-8px);
  background: #fff; 
  color: #000;
}

/* SVG 호버 */
.nexcue-reason .reason-box:hover svg rect,
.nexcue-reason .reason-box:hover svg path,
.nexcue-reason .reason-box:hover svg circle {
  stroke: #fff !important;
  fill: #fff !important;
}

/* 애니메이션 (이름도 변경해서 충돌 방지) */
@keyframes nexcueFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .nexcue-reason .reason-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 모바일 */
@media (max-width: 460px) {

.nxq-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  margin-bottom: 80px;
}

}



/*  넥스큐 무인 당구장이 선택 받는 4가지 이유 끝 */






/*  넥스큐  특허시작 */



/* =========================
   타이틀 (특허 섹션)
========================= */ 
/* =========================================================
   PATENT SECTION
========================================================= */

.patent-section * {
  box-sizing: border-box;
}

.patent-section {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   TITLE
========================================================= */

.nxq-title-patent {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;

  padding: 40px  0px;

  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-align: center;

  color: #fff;

  border-radius: 12px;

  background: linear-gradient(135deg, #6d28d9, #4f46e5);
}


.patent-container h2 {
  margin: 0;

  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;

  text-align: center;
}


.patent-container {
  padding: 70px 20px 50px;
}

.nxq-title-patent::after {
  content: '';
  display: block;

  width: 42px;
  height: 3px;

  margin: 18px auto 0;

  border-radius: 20px;
  background: #fff;
}


/* =========================================================
   CARD WRAP
========================================================= */

.patent-cards {
  width: 100%;
  max-width: 1600px;

  margin: 0 auto;
  padding: 80px  0px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
    overflow: hidden;
  background: linear-gradient(180deg, #faf9ff 0%, #f4f1ff 100%);
  border-radius: 20px;
}


/* =========================================================
   CARD
========================================================= */

.patent-card {
  position: relative;

  width: 100%;
  max-width: 620px;
  min-height: 320px;

  display: flex;
  align-items: center;
  gap: 30px;

  padding: 35px;

  border-radius: 28px;

  background: #fff;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 3px 10px rgba(124,58,237,0.06);

  transition: 0.3s ease;
}

.patent-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 50px rgba(124,58,237,0.15);
}

/* 상단 라인 */

 
/* =========================================================
   LEFT IMAGE
========================================================= */

.patent-left {
  position: relative;
  flex-shrink: 0;
}

/* 등록증 이미지 */

.patent-left > img {
  width: 190px;
  display: block;

  border-radius: 14px;
}

/* 출원 카드 */

.pending-card {
  background: linear-gradient(145deg, #fcfbff, #f6f3ff);
  border: 1px solid #ece9ff;
}

/* 출원 이미지 영역 */

.fake-cert {
  position: relative;

  width: 210px;

  padding-top: 12px;
  padding-bottom: 50px; /* ← 하단 여백 추가 */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 출원 이미지 */

.fake-cert img {
  width: 100%;
  display: block;

  border-radius: 14px;
}


/* =========================================================
   BADGE
========================================================= */

/* =========================================================
   BADGE 공통
========================================================= */

/* 배지 공통 */

.badge {
  position: absolute;

  left: 40px;   /* ← 고정 위치 */
  bottom: -16px;

  width: 128px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;

  color: #fff;

  z-index: 5;

  box-shadow:
    0 8px 18px rgba(0,0,0,0.12);
}
/* =========================================================
   CERTIFIED
========================================================= */

.badge.certified {
  background: linear-gradient(90deg, #7c3aed, #6366f1);
}


/* =========================================================
   PENDING
========================================================= */

.badge.pending {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}


/* =========================================================
   배지 아이콘
========================================================= */

.badge-icon {
  width: 14px;
  height: 14px;

  border-radius: 50%;

  border: 1.5px solid rgba(255,255,255,0.9);

  background:
    radial-gradient(circle,
      rgba(255,255,255,0.95) 28%,
      transparent 30%);

  flex-shrink: 0;
}

/* =========================================================
   RIGHT
========================================================= */

.patent-right {
  flex: 1;
  min-width: 0;
}


/* =========================================================
   LABEL
========================================================= */

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 28px;
  padding: 0 14px;

  margin-bottom: 14px;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 700;

  color: #7c3aed;
  background: rgba(124,58,237,0.10);
}


/* =========================================================
   TITLE
========================================================= */

.patent-right h3 {
 margin: 0 0 22px;

  font-size: 32px;     /* 기존 38px → 축소 */
  font-weight: 500;    /* 기존 800 → 완화 */
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* 등록 타이틀 */

.title-certified {
  background: linear-gradient(90deg, #7c3aed, #6366f1);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 출원 타이틀 */

.title-pending {
  background: linear-gradient(90deg, #2563eb, #06b6d4);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* =========================================================
   LIST
========================================================= */

.patent-info {
  margin: 0;
  padding: 0;

  list-style: none;
}

.patent-info li {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  margin-bottom: 14px;

  font-size: 15px;
  line-height: 1.6;

  color: #444;
}

/* 아이콘 */

.patent-info li img {
  width: 18px;
  height: 18px;

  margin-top: 3px;

  flex-shrink: 0;
}

/* strong */

.patent-info strong {
  display: inline-block;
  min-width: 72px;

  color: #111;
  font-weight: 700;
}


/* =========================================================
   SYSTEM TITLE
========================================================= */

.nxq-title-system {

  margin: 80px 0 40px;

  text-align: center;

  font-family: Montserrat, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2px;

  background: linear-gradient(90deg, #6d28d9, #1e40af);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .patent-card {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .patent-cards {
    padding: 50px 16px;
    gap: 20px;
  }

  .patent-card {
    flex-direction: column;

    align-items: center;
    text-align: center;

    gap: 26px;

    padding: 30px 24px 40px;

    min-height: auto;
  }

  /* 이미지 */

  .patent-left > img,
  .fake-cert {
    width: 170px;
  }

  .fake-cert img {
    width: 100%;
  }

  /* 우측 */

  .patent-right {
    width: 100%;
  }

  /* 타이틀 */

  .patent-right h3 {
    font-size: 30px;
    margin-bottom: 22px;
  }

  /* 라벨 */

  .label {
    margin: 0 auto 14px;
  }

  /* 리스트 */

  .patent-info li {
    text-align: left;
    font-size: 14px;
  }

  /* 뱃지 */

  .badge {
    min-width: 110px;
    height: 32px;

    font-size: 11px;
  }

  /* 상단 타이틀 */

  .nxq-title-patent {
    font-size: 24px;
    padding: 32px 20px;
  }

  /* 시스템 타이틀 */

  .nxq-title-system {
    font-size: 24px;
    margin: 60px 0 30px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .patent-card {
    padding: 26px 18px 38px;
  }

  .patent-left > img,
  .fake-cert {
    width: 150px;
  }

  .patent-right h3 {
    font-size: 26px;
  }

  .patent-info li {
    font-size: 13px;
    line-height: 1.5;
  }

  .patent-info strong {
    min-width: 64px;
  }

}
 











/*  넥스큐 시스템 시작 */
 
 .nx-img-wrap {
  width: 100%;
  max-width: 1600px; /* 필요하면 1400px로 늘려도 좋음 */
  margin: 0 auto;
}

.nx-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px; /* 핵심 */
}
 
.nx-card:first-child .nx-img img {
 height:400px;
  max-width:460px; display: block;
  margin: 0 auto;
}


.nx-wrap {
  padding: 100px 20px; border-radius:10px;
  font-family: "Pretendard", sans-serif;
  position: relative;
  overflow: hidden;

  /* 메인 그라데이션 */
  background: linear-gradient(
   35deg,
    #065f46 0%,   /* 딥 그린 */
    #059669 35%,  /* 에메랄드 */
    #10b981 60%,  /* 민트 */
    #84cc16 85%,  /* 라임 */
    #bef264 100%  /* 연두 */
  );
}

/* 빛 번짐 효과 */
.nx-wrap::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.15) 0%,
    rgba(255,255,255,0) 70%
  );
  filter: blur(40px);
}

/* 웨이브 느낌 (이미지 없이 CSS로) */
.nx-wrap::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -10%;
  width: 120%;
  height: 200px;

  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0) 70%
  );

  transform: rotate(-3deg);
}

/* 타이틀 */
.nx-header {
  text-align: center;
  margin-bottom: 60px;
}

.nx-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffff;
}

.nx-header p {
  margin-top: 10px;
  color: #fff;
}

/* 2열 */
.nx-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 40px;

  /* 카드 높이 동일 */
  align-items: stretch;
}

/* 카드 */
.nx-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: 0.3s;

  /* 내부 정렬용 */
  display: flex;
  flex-direction: column;
  height: 100%;
}


.nx-card:hover {
  transform: translateY(-10px);
}


/* 이미지 영역 */
.nx-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;

  /* 모든 카드 이미지 높이 통일 */
  height: 460px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f8f8f8;
}


@media (max-width: 768px) {
  .nx-img {
    height: 340px;
  }
}

/* 이미지 비율 유지 */
.nx-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 비율 유지 */
  display: block;
}


/* 첫 카드 로고 전용 */
.nx-card:first-child .nx-img img {
 
  max-width: 460px;
 
  object-fit: contain;
  margin: 0 auto;
}

/* 제목 */
.nx-card h3 {
  padding-top:30px;
  font-size: 28px;
  color: #00154a;
  margin-bottom: 14px;
}

/* 리스트 영역 */
.nx-card ul {
  padding-left: 18px;
  color: #444;
  line-height: 1.6;

  /* 핵심 */
  margin-top: auto;
}

/* 리스트 텍스트 */
.nx-card ul li {
  font-size: 22px;
  margin-bottom: 2px;
}

/* 제목 */
.nx-card h3 {
  font-size: 28px;
  color: #00154a;
  margin-bottom: 10px;
}

 

/* 리스트 */
.nx-card ul {
  padding-left: 18px;
  color: #444;
  line-height: 1.6;
}

/* 중앙 강조 */
.nx-highlight {
  margin-top: 100px;
  background: linear-gradient( -45deg, #c2ea99, #1fc7b6);
  border-radius: 30px;
  padding: 60px 20px;
  color: #fff;
}
.nx-highlight-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.nx-highlight h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.nx-highlight p {
  opacity: 0.9;
  margin-bottom: 40px;
}

/* 영상 */
.nx-video {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.nx-video img {
  width: 48%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nx-video {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.nx-video-item {
  flex: 1;
  position: relative;
  padding-top: 28%; /* 기존 56.25% → 절반 느낌 */
  border-radius: 20px;
  overflow: hidden;
}

.nx-video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .nx-video {
    flex-direction: column;
  }
}





/* 반응형 */
@media (max-width: 768px) {
  .nx-grid {
    grid-template-columns: 1fr;
  }

  .nx-video {
    flex-direction: column;
  }

  .nx-video img {
    width: 100%;
  }
}

@media (max-width: 460px) {

  /* 전체 패딩 줄이기 */
  .nx-wrap {
    padding: 60px 15px;
  }

  /* 타이틀 */
  .nx-header h2 {
    font-size: 24px;
  }

  .nx-header p {
    font-size: 12px;
  }

  /* 카드 */
  .nx-card {
    padding: 16px;
    border-radius: 16px;
  }

  /* 카드 제목 */
  .nx-card h3 {
    font-size: 20px;
  }

  /* 리스트 */
  .nx-card ul li {
    font-size: 14px;
  }

  /* 이미지 */
  .nx-img img {
    width: 100%;
    height: auto;
  }
  
  .nx-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;

  /* 모든 카드 이미지 높이 통일 */
 

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f8f8f8;
}
  

  /* 영상 비율 */
  .nx-video-item {
    padding-top: 65%; /* 살짝 더 크게 */
  }

  /* 강조 영역 */
  .nx-highlight {
    padding: 40px 15px;
    border-radius: 20px;
  }

  .nx-highlight h3 {
    font-size: 20px;
  }

  .nx-highlight p {
    font-size: 14px;
  }
}





/* =========================
   갤러리
========================= */
.nxg-gallery {
  padding: 60px 20px;
  text-align: center;
}


.nxg-title {
  display: none;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 80px;
}

/* =========================
   썸네일 Swiper
========================= */
.nxg-swiper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: visible; /* ?? 버튼/스크롤 표시 */
}

.swiper-slide {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}

.swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 또는 16/9 */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: .3s;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

.swiper-slide p {
  margin-top: 10px;
  font-size: 14px;
}

/* =========================
   네비 버튼
========================= */
.nxg-nav {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: rgba(0,0,0,0.6);

  cursor: pointer;
  z-index: 100;
}

.nxg-nav.prev { left: 10px; }
.nxg-nav.next { right: 10px; }

/* 화살표 */
.nxg-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 12px;

  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.nxg-nav.prev::after {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.nxg-nav.next::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

 
/* =========================
   팝업
========================= */
.nxg-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.nxg-popup.active {
  display: flex;
}

/* overlay */
.nxg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

/* modal */
.nxg-modal {
  position: relative;
  width: 1100px;
  max-width: 92%;
  z-index: 2;
}

/* popup swiper */
.nxg-popup-swiper {
  border-radius: 14px;
  overflow: hidden;
}

.nxg-popup-swiper img {
  width: 100%;
  height:620px;
  object-fit: cover;
}

/* 좌우 버튼 */
.nxg-popup-prev,
.nxg-popup-next {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.nxg-popup-prev { left: 10px; }
.nxg-popup-next { right: 10px; }

/* =========================
   X 버튼
========================= */
.nxg-close {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(0,0,0,0.4);

  border: none;
  cursor: pointer;
  z-index: 99999;
}

.nxg-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nxg-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nxg-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
   반응형
========================= */

@media (max-width: 1024px) {
  .nxg-swiper img {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .nxg-gallery {
    padding: 40px 15px;
  }

  .nxg-swiper img {
    height: 100px;
  }

  .swiper-slide p {
    font-size: 12px;
  }

  .nxg-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {

  .nxg-swiper {
    padding: 0 8px;
  }

  .nxg-swiper img {
    height: 90px;
  }

  .swiper-slide p {
    font-size: 11px;
  }

  /* 팝업 */
  .nxg-modal {
    width: 95%;
  }

  .nxg-popup-swiper img {
    height: 60vh;
  }

  /* 버튼 */
  .nxg-popup-prev,
  .nxg-popup-next {
    padding: 6px 10px;
  }

  /* 닫기 */
  .nxg-close {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
  }

 
  .nxg-nav.prev { left: 5px; }
  .nxg-nav.next { right: 5px; }
}


 




.nxq-title-counsel {
  max-width: 1600px;
  width: 100%; 
  margin:  0px auto;

  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.5px;

  /* ?? inline-block 제거 */
  display: block;

  padding: 40px 0 40px;
  border-radius: 10px;

background: linear-gradient(135deg, #ef4444, #ec4899);
  color: #fff; 
}
.nxq-title-counsel::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  margin: 18px auto 0;
  border-radius: 3px;
}




 /* =========================
   넥스핑 갤러리 (비비드 업그레이드)
========================= */
/*background: linear-gradient(45deg, #b388ff, #7c4dff, #5e35b1); */
/* 전체 풀폭 */
.nexping-gallery-wrap {
    width: 100%;  border-radius:10px; 
    margin: 0;
    padding: 40px 40px;
    box-sizing: border-box;
       background: rgb(0, 174, 164);
 
    position: relative;
    overflow: hidden;
}

/* 은은한 빛 효과 */
.nexping-gallery-wrap::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    filter: blur(80px);  pointer-events: none; 
}

.nexping-gallery-wrap::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,153,255,0.25), transparent 70%);
    filter: blur(80px);  pointer-events: none; 
}

/* 로고 */
.nexping-logo {
    text-align: center;
    margin-bottom: 60px;
}

.nexping-logo img {
    max-width: 420px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

/* 타이틀 (핵심 개선) */
.nexping-logo {
  text-align: center;
}

/* 로고 이미지 */
.nexping-logo img {
  width: 220px;
  margin-bottom: 18px;
}

/* 첫 번째 카피 (설명 문구) */
.nexping-subtitle:first-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

/* 두 번째 카피 (브랜드 강조) */
.nexping-subtitle:last-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.3;
}

/* 전체 텍스트 공통 */
.nexping-subtitle {
  display: block;
}

/* 살짝 고급 느낌 추가 */
.nexping-subtitle:last-of-type {
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 갤러리 */
.nexping-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* 카드 */
.nexping-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

/* 이미지 */
.nexping-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    transition: transform 0.6s ease, filter 0.4s ease;
}

/* 오버레이 */
.nexping-item::after {
    content: "VIEW";
    position: absolute;
    bottom: 20px;
    left: 20px;

    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0;

    transition: all 0.4s ease;
}

/* hover 효과 */
.nexping-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.nexping-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.nexping-item:hover::after {
    opacity: 1;
}

/* 팝업 */
.nexping-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

/* 이미지 애니메이션 */
.nexping-popup-img {
    max-width: 85%;
    max-height: 85%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.nexping-popup-img.show {
    opacity: 1;
    transform: scale(1);
}

/* 닫기 */
.nexping-close {
    position: absolute;
    top: 40px;
    right: 50px;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
}

/* 좌우 버튼 */
.nexping-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: #fff;
    cursor: pointer;
}

.nexping-prev { left: 60px; }
.nexping-next { right: 60px; }

/* 반응형 */
@media (max-width: 1024px) {
    .nexping-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .nexping-gallery-wrap {
        padding: 60px 20px;
    }

    .nexping-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .nexping-subtitle {
        font-size: 22px;
    }
}


@media (max-width: 480px) {
   
  .nexping-subtitle:first-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.nexping-subtitle:last-of-type {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.3;
}
}



.card-wrap{
    display:flex;
    gap:30px; /* 기존 값 사용 */
}

.card-link{
    flex:1;
    display:block;
    text-decoration:none;
    color:inherit;
}

.card-link:hover{
    text-decoration:none;
    color:inherit;
}

.card{
    width:100%;
    height:100%;
    cursor:pointer;
}

.card-link .card{
    width:100% !important;
}


.card-overlay{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:1;
}

.card-content{
    position:relative;
    z-index:2;
}



@media (max-width:768px){

    .wrap{
        padding:0 12px;
    }

}

@media (max-width:768px){

    .wrap,
    .section,
    .patent-container,
    .nexcue-gallery-wrap,
    .nexping-gallery-wrap,
    .nx-wrap{
        padding-left:12px !important;
        padding-right:12px !important;
    }

}

@media (max-width: 768px) {
    .brand-title, .cost-title, .system-title, .club-title, .notice-title, .member-title {
        height: 120px;

 .brand-title-inner h1 {
        font-size:20px;
    }
    }