/* --- 모바일 반응형 추가 --- */
@media (max-width: 1300px) {
  .stack-sticky-wrapper {
    top: 10vh;
  }

  .stack-container {
    flex-direction: column;
    align-items: center;
  }

  .stack-title-area {
    flex: none;
    width: 100%;
    margin-top: 0;
    margin-bottom: 60px;
    text-align: center;
  }

  .stack-animation-wrapper {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .stack-animation-wrapper {
    width: 100% !important;
  }

  .main-wrapper {
    border-radius: 0;
    margin: 0;
  }

  .header {
    margin-top: 0;
    height: 66px;
  }

  .header.active {
    background-color: var(--color-white);
    border-bottom: 1px solid #E5E5E5;
  }

  .header .container {
    padding: 0 22px;
  }

  .header.active .logo a {
    color: var(--color-blackh2);
  }

  .main-section {
    height: 780px;
    margin: 0;
    border-radius: 0;
  }

  .main-bg-slider {
    width: 360px;
    height: 780px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    overflow: hidden;
  }

  .main-bg-1 {
    background-image: url('../assets/main-section01_mo.png');
  }

  .main-bg-2 {
    background-image: url('../assets/main-section02_mo.png');
  }

  .main-bg-3 {
    background-image: url('../assets/main-section03_mo.png');
  }

  .main-slide {
    background-position: center center;
  }

  .main-content {
    top: 70%;
  }

  .main-title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .main-desc {
    font-size: 1rem;
    margin: 10px 0 40px 0
  }

  .main-title br,
  .main-desc br {
    display: none;
  }

  .main-demo-btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  .logo {
    width: 145px;
    height: 28px;
  }

  .logo a {
    color: var(--color-white);
    height: 28px;
  }

  .nav.active {
    max-height: 500px;
    opacity: 1;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 34px;
    padding: 0 22px;
  }

  .nav-list a {
    color: var(--color-blackh2);
    text-align: left;
    font-size: 18px;
  }

  .hero-video-section {
    width: calc(100% - 20px);
    height: 350px;
    margin: 10px auto;
  }

  .hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 아이콘 공통 스타일 */
  .icon-menu {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("../assets/icon/icon_hamberger.png");
    transition: background-image 0.3s ease;
  }

  .header.scrolled .icon-menu {
    background-image: url("../assets/icon/icon_hamberger_black.png");
  }

  .header.is-open .icon-menu,
  .header.active .icon-menu {
    background-image: url("../assets/icon/icon_close.png");
  }

  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease-in-out,
      padding 0.4s ease;
    padding: 0;
    gap: 34px;
  }



  .nav-btns {
    padding: 0 22px;
    width: 100%;
  }

  .header.scrolled .btn-contact,
  .btn-contact {
    border-radius: 12px;
    border: 1px solid #E6E7E7;
    background: #F7F9FA;
    flex: 1;
    font-family: var(--font-inter);
    color: #040E10;
    font-weight: var(--font-weight-500);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px;
    height: 52px;
  }

  .header.scrolled .btn-contact::after,
  .btn-contact::after {
    content: "";
    position: absolute;
    right: 32px;
    width: 24px;
    height: 24px;
    background: url('../assets/icon/icon24_arrow-right_black.png') no-repeat center / contain;
    transition: transform 0.3s ease;
  }

  /* 컨텐츠 */
  .contents {
    padding: 0 22px;
  }

  .grid-container,
  .serve-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .learn-more {
    display: none;
  }

  .sub-label {
    color: var(--color-primary);
    font-size: var(--font-size-15);
    font-weight: var(--font-weight-600);
    line-height: 130%;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-inter);
  }

  .title-group h2 {
    font-size: 30px;
    font-weight: var(--font-weight-700);
    color: var(--color-blackh2);
    line-height: 120%;
    margin: 0;
  }

  .title-group h3 {
    font-size: 15px;
    font-weight: var(--font-weight-400);
    color: var(--color-sub-p);
    line-height: 150%;
    font-family: var(--font-inter);
    margin-top: 16px;
  }


  .card-text h3 {
    font-size: 22px;
    color: var(--color-blackh2);
    margin: 0 0 6px 0;
  }

  .card-text p {
    font-size: 16px;
    color: var(--color-sub-p);
    line-height: 150%;
    margin: 0 0 8px 0;
    font-family: var(--font-inter);
    font-weight: 400;

  }

  .solution-section {
    margin-top: 100px;
  }

  .grid-serve {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .main-icon,
  .partners-icon {
    max-width: 100%;
    gap: 20px;
    font-size: var(--font-size-15);
  }

  .main-icon::before {
    width: 60px;
    height: 60px;
  }

  .main-sub-vis {
    max-width: 100%;
    padding: 100px 0;
    border-radius: 0;
    margin-top: 100px;
  }

  .main-sub-vis h2 {
    font-size: 30px;
    font-weight: var(--font-weight-700);
  }

  .partners-icon {
    height: 70px;
  }

  /* .partners-icon img {
    width: 139px;
    height: 54px;
  } */

  .video-section {
    margin: 100px auto 0 auto;
    border-radius: 0;
  }

  .video-text h1 {
    font-size: 24px;
    line-height: 140%;
  }

  .video-text {
    padding: 0 22px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    /* 세로 정렬 */
    align-items: center;
    text-align: center;
    gap: 0px;
    /* 요소 간 간격 여유 있게 */
  }

  /* 1. 메뉴 부분을 맨 위로 올림 */
  .footer-right {
    order: 1;
    width: 100%;
    padding: 0 20px;
  }

  /* 2. 로고와 주소 부분을 중간으로 */
  .footer-left {
    order: 2;
    width: 100%;
    border-top: 1px solid #EDEEEE;
    margin-top: 20px;
    padding-top: 20px;
  }

  .footer {
    order: 2;
    width: 100%;
    border-top: 1px solid #EDEEEE;
  }

  .sub .footer-left {
    order: 2;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 20px;
    padding-top: 20px;
  }

  .sub .footer {
    order: 2;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* 3. 카피라이트 영역은 맨 아래 유지 */
  .footer-bottom {
    order: 3;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    border-top: none;
    padding-top: 0;
  }

  /* 메뉴 리스트 스무스하게 정렬 */
  .footer-right ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-right h3 {
    font-size: 20px;
  }

  .footer-right ul li a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.2s;
  }

  .footer-right ul li~li {
    margin-top: 0;
  }

  .footer-logo {
    width: 166px;
    height: 32px;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .footer-bottom,
  .sub .footer-bottom {
    border-top: none;
  }

  .contact-info p {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: var(--font-weight-400);
    line-height: 150%;
    color: var(--color-sub-p);
    padding: 0 20px;
  }

  .sub .contact-info p {
    color: var(--color-white)
  }

  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .solution-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }

  .header-text p {
    margin: 0 auto;
    padding-top: 16px;
    width: 100%;
  }

  .solution-grid {
    flex-direction: column;
  }

  .header-image {
    margin: 40px auto 0 auto
  }

  .sub-solution-card .icon img {
    width: 40px;
  }

  .serve-container {
    padding-top: 50px;
  }

  .serve-grid .sub-solution-card .icon img {
    width: 60px;
  }

  .serve-grid .sub-solution-card .icon {
    margin-bottom: 40px;
  }

  .sub-solution-card h3 {
    font-size: 22px;
    font-weight: var(--font-weight-600);
    letter-spacing: -0.1px;
    margin-bottom: 12px;
  }

  .sub-solution-card li {
    font-size: 15px;
    line-height: 140%;
    /* 21px */
    margin-bottom: 6px;
  }

  .bottom-text {
    margin-bottom: 100px;
  }

  .sub-section,
  .sub-section.mb0 {
    margin: 40px 0 100px 0
  }

  .architecture-text {
    flex-direction: column;
    gap: 50px;
  }

  .architecture-text .text-left {
    font-size: 28px;
  }

  .architecture-text .text-right {
    font-size: 16px;
    position: static;
    width: 100%;
    padding-left: 0;
  }

  .architecture-text .text-right p~p {
    margin-top: 20px;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
    width: 100%;
  }

  .set {
    display: none;
  }

  .marquee-track .set:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .card {
    width: 100%;
    margin-right: 0;
  }

  .guide-line {
    display: none;
  }

  .sticky-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    display: block;
  }

  .sticky-left {
    width: 100%;
    text-align: center;
    font-size: 22px;
    padding-top: 20px;
    margin-bottom: 50px;
    flex: none;
    transform: none !important;
  }


  .layers-container {
    position: absolute;
    top: 150px;
    left: 0;
    width: 50%;
    height: 400px;
    display: flex;
    justify-content: flex-end;
    padding-right: 15px;
  }

  .layer {
    position: absolute;
    width: 150px;
    right: 15px;
    top: 0;
    transform: none;
  }

  .text-right {
    position: absolute;
    top: 150px;
    right: 0;
    width: 50%;
    height: 400px;
    padding-left: 15px;
    text-align: left;
  }

  .text-item {
    position: absolute;
    top: 0;
    bottom: auto;
    width: 100%;
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
  }

  /* about */
  .about-section-wrapper {
    padding: 40px 22px 100px 22px
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .about-card-title {
    font-size: 30px;
    line-height: normal;
    margin: 0 0 2px 0;
  }

  .about-card-sub-stats {
    font-size: 14px;
  }

  .about-partner-logo {
    width: 32px;
    height: 32px;
  }

  .about-partner-info h4 {
    font-size: 18px;
  }

  .found-section-wrapper {
    padding: 100px 22px;
  }

  .found-container {
    flex-direction: column;
    gap: 50px;
  }

  .found-main-title {
    font-size: 28px
  }

  .found-content-area {
    gap: 80px;
  }

  .found-item {
    flex-direction: column;
  }

  .found-text-box h3 {
    font-size: 20px;
  }

  .found-text-box p {
    font-size: 16px;
  }

  .found-text-box h3 span {
    display: block;
    margin-left: 0;
    margin-top: 6px;
    font-size: 15px;
  }

  .infra {
    flex-direction: column;
    text-align: center;
    gap: 60px;
    padding: 80px 20px;
    height: auto;
  }

  .globe-wrap {
    width: 90vw;
    height: 90vw;
    max-width: 500px;
    max-height: 500px;
  }

  .content h1 {
    font-size: 34px;
  }

  .main-container {
    width: 100%;
    flex-direction: column;
    height: auto;
  }

  .text-section {
    flex: none;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
  }

  .text-section h1 {
    font-size: 26px;
  }

  .globe-section {
    flex: none;
    height: 480px;
    width: 100%;
  }

  .video-bg {
    object-position: center;
  }

  .hero-section {
    height: 680px;
  }

  .main-video {
    object-fit: cover;
    height: 460px;
  }

  .solution-container {
    padding-top: 50px;
  }

  .solution-container:last-child {
    padding-top: 50px;
    margin-bottom: 100px;
  }

  .header-text h2 {
    font-size: 28px;
  }

  .only-pc {
    display: none !important
  }

  .only-mobile {
    display: block !important;
    margin-top: 10px;
  }

  .main-sub-vis .only-mobile {
    padding: 0 20px;
  }

  .header-text {
    text-align: left;
  }
}




@media (max-width: 900px) {
  .arch-pin-spacer {
    margin-bottom: 100px
  }

  .stack-container {
    flex-direction: column;
  }

  .stack-info-section {
    height: auto;
    padding: 50px 0;
    position: relative;
  }

  .stack-visual-section {
    padding-top: 0;
  }

  .stack-layer {
    top: 10vh;
    height: 60vh;
  }
}





@media (max-width: 768px) {
  .arch-pin-spacer {
    margin-bottom: -40px
  }

  .marquee-wrapper {
    padding: 0 20px;
  }

  .marquee-track .set:nth-child(2) {
    grid-template-columns: 1fr;
    max-width: 400px;
    padding: 0;
  }

  .icon {
    width: 80px;
  }

  .marquee-text {
    font-size: 18px;
  }

  .card {
    height: 202px;
  }

  .sub-section .title {
    font-size: 28px;
    text-align: center;
  }

  .card:hover {
    background: #0F1719;
    transform: translateY(0px);
  }

  .bg-video {
    display: none;
  }

  .sub-video {
    height: 380px;
    background: url('../assets/sub_video_mobile.png') no-repeat center center;
    background-size: auto;
  }

  .sub-video.full {
    height: 680px;
  }

  .overlay {
    background: none;
  }

  .overlay .bg-video {
    display: block;
    height: 380px;
    width: 100%;
  }

  .overlay p {
    margin-top: 0 !important
  }

  .video-content.architecture-vis-text {
    margin-top: 168px;
  }

  .video-content {
    padding-bottom: 0;
  }

  .video-content h1 {
    font-size: 32px;
  }

  .video-content p {
    font-size: 16px;
  }

  .video-content .mo {
    display: block;
    font-size: 16px;
  }

  .video-content .pc {
    display: none;
  }

  .video-content p:last-child {
    margin-top: 110px;
    font-size: 12px;
  }

  .header-text {
    padding-top: 0;
  }

  .stack-sticky-wrapper {
    padding-bottom: 30px;
  }

  .stack-title-area {
    text-align: left;
    margin-bottom: 40px;
  }

  .stack-main-title {
    font-size: 28px;
    text-align: center;
  }

  .stack-animation-wrapper {
    width: 100%;
  }

  .stack-item-img {
    width: 200px;
  }

  .stack-label-item {
    left: 195px;
    width: calc(100% - 195px);
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .serve-section {
    height: 660px;
  }

  .stage {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  .serve {
    height: 100%;
  }

  .icon-wrap {
    width: 46px;
    height: 46px;
  }

  .center h2 {
    font-size: 32px;
  }

  .center p {
    font-size: 1rem;
  }


  .modal-content {
    width: 90%;
    padding: 20px;
  }

  .modal-content form {
    margin: 30px 0;
  }

  .modal-content .subtitle {
    font-size: 14px;
  }

  .modal-content .btn-demo {
    width: 100%;
    font-size: 16px;
  }

  .modal-content .close-btn {
    top: 20px;
    right: 14px;
  }

  .vignette {
    background: radial-gradient(circle 300px at center,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.95) 100%);
  }

}

@media (max-width: 500px) {

  .mobile-br {
    display: block;
  }
}