:root {
    --bg: #000000;
    --band: #2a2a2a;
    --text: #eaeaea;
    --muted: #b8b8b8;
    --card: #171717;
    --cardBorder: #2b2b2b;
    --max: 1280px;
    --gap: 28px;
    --header-h: 72px;

    /* 폰트 스택 변수 */
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
        system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
        "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden; 
}

/* 폼 요소/버튼도 상속되도록 보강 */
button, input, select, textarea { font-family: inherit; }

img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.band {
    background: var(--band);
    color: #fff;
    padding: 65px 0;
    margin: 80px 0 32px;
    scroll-margin-top: var(--header-h);
}
.band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.band h3 {
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    letter-spacing: .2px;
}
.band p {
    margin: 0;
    color: #d6d6d6;
    font-size: 18px;
    line-height: 26px;
}

/* Header */
header {
    border-bottom: 1px solid #222;
    background: #0e0e0e;
    position: -webkit-sticky;   /* iOS Safari */
    position: fixed;
    top: 0;
    z-index: 1000;              /* 히어로 위로 */
    width: 100%;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .4px;
}
.logo .mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: conic-gradient(from 180deg, #00e0ff, #0077ff);
}
.menu { display: flex; gap: 50px }
.menu a { color: #dcdcdc; font-size: 18px; opacity: .9 }
.menu a:hover { opacity: 1 }


.hero {
    background: none;
    padding: 0;                
    position: relative;
    color: #fff;
    padding-top: 77px;
}

.hero > .container{
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - var(--header-h));
    background: url('../img/main_slied_img_01.png') center/cover no-repeat;
    border: none;
    overflow: hidden;
    z-index: 1;
    display: flex;           
    align-items: center;     
    justify-content: center;   
}

/* 내부 시각 효과 제거 */
.hero .visual { position: relative; width: min(980px, 100%); margin: 0 auto; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.hero .visual::before { content: none !important; display: none !important; }

/* 카피 블록: 중앙에 놓고 폭 제한 */
.hero .copy {
    max-width: var(--max);
    width: min(var(--max), 90%);
    margin: 0;
    padding: 0 24px;
}
.hero .title {
    font-size: 55px;
    line-height: 1.12;
    margin: 0 0 15px;
    font-weight: 600;
}
.hero .desc {
    margin: 0;
    line-height: 1.55;
    color: #e8e8e8;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.4px;
}
.hero .desc small {
    display: block;
    color: #cfcfcf;
    font-size: 18px;
    font-weight: 500;
    padding-top: 12px;
}

/* ===== Feature 설명 카드 ===== */
.features {
    margin: 44px auto 0;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feat .tag {
    display: inline-block;
    padding: 5px 14px;
    width: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 26px;
}
.feat .thumb { width: 100%; aspect-ratio: 4/3; border-radius: 10px; background: #151515; margin-bottom: 30px; }
.feat .thumb img { width: 100%; height: 100%; }
.feat p { margin: 0; color: #cfcfcf; font-size: 18px; line-height: 26px; text-align: center; }

.gif_width_75 { max-width: 75%; }

/* Features */
.features { margin-top: 120px; margin-bottom: 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.card {
    background: var(--card);
    border: 1px solid var(--cardBorder);
    border-radius: 14px;
    padding: 18px;
}
.card .thumb {
    width: 100%; aspect-ratio: 4/3; border-radius: 10px; background: #151515; border: 1px dashed #3a3a3a; margin-bottom: 12px;
}
.card h4 { margin: 0 0 6px; font-size: 16px }
.card p { margin: 0; color: #bfbfbf; font-size: 14px }

/* ===== Hardware (Zigzag, 2 columns with center divider) ===== */
.hardware-split { position: relative; padding: 8px 0 8px }
.hardware-split::before {
    content: ""; position: absolute; top: 155px; bottom: 0; left: 50%; width: 1px; background: #fff; transform: translateX(-.5px); height: 75%;
}
.hw-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-top: 120px; padding-bottom: 120px; }
.hw-col { display: flex; flex-direction: column; gap: 120px }
.hw-item { display: flex; align-items: center; gap: 18px }
.hw-item.left { justify-content: flex-end }
.hw-item.right { justify-content: flex-start; padding-left: 25px; }
.hw-media { display: flex; align-items: center; gap: 40px; }
.hw-item.left .hw-media .hw-text { text-align: end; }
.hw-columns>.hw-col:nth-child(2) { padding-top: 120px; }
.left .hw-media { flex-direction: row }
.right .hw-media { flex-direction: row-reverse }
.hw-thumb { width: 180px; aspect-ratio: 4/3; border-radius: 12px; flex: 0 0 auto }
.hw-text h5 { margin: 0 0 6px; font-size: 24px; font-weight: 700 }
.hw-text .spec { font-size: 19px; opacity: .9 }
.hw-text p {
    margin: 8px 0 0; color: #d7d7d7; line-height: 1.5; font-weight: 600; font-size: 18px;
}

/* Wide image */
.wide { padding: 80px 0 10px; overflow: hidden; }
.wide .ph { width: min(980px, 100%); aspect-ratio: 16/9; margin: 0 auto; }

/* Icons (6 + 4) */
.icons-group { margin: 120px auto 20px; max-width: 980px; display: flex; flex-direction: column; gap: 20px }
.icons { display: grid; gap: 18px; align-items: end; }
.icons.top { grid-template-columns: repeat(6, 1fr) }
.icons.bottom { grid-template-columns: repeat(4, 1fr); padding-top: 50px; }
.ico { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center }
.ico .box { border-radius: 12px; }
.ico span { font-size: 16px; color: #bdbdbd }

/* Spotlight */
.spot { padding: 20px 0 0px }
.bottle { border-radius: 20px; margin: 0 auto; display: flex; justify-content: center; padding-top: 35px; position: relative; }
.bottle::after {
    content: ""; position: absolute; width: 1000px; height: 500px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 153, 255, .35), transparent 70%);
    left: 10%; top: 33%; filter: blur(1px); pointer-events: none; z-index: 1;
}
.bottle img { z-index: 2 }

/* Docs strip */
.text_center>img { display: inline-block; }
.text_center { text-align: center; padding-top: 120px; padding-bottom: 100px; }
.docs { margin: 90px auto 0; display: flex; gap: 5px; padding-bottom: 6px; justify-content: center; }
.doc { min-width: 155px; aspect-ratio: 3/4 }

/* Scenic */
.scenic {
    position: relative;
    margin: 70px 0;
    overflow: hidden;
    border: 1px solid #222;
    scroll-margin-top: var(--header-h);
}
.scenic .bg { aspect-ratio: 20/7; background: #0e0e0e url('../img/main_section05_img01.png') center/cover no-repeat }
.scenic .copy { position: absolute; inset: 0; display: flex; align-items: center }
.scenic .copy .inner { padding: 0 6vw }
.scenic h2 { margin: 0 0 6px; font-size: 30px; font-weight: 600 }
.scenic h3 { margin: 0 0 12px; font-size: 40px; line-height: 1.15 }
.scenic p { color: #e9f7ff; font-size: 18px; padding-top: 15px; }
.inner_h2 { position: absolute; top: 10%; left: 50%; transform: translateX(-50%);}
.inner_h3_p { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1000px; }
.inner_h3_p>h3:nth-child(2) { text-align: right; }

/* Publication */
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 120px; }
.pub {
    position: relative;
    background: #3D3D3D;
    border: 1px solid var(--cardBorder);
    border-radius: 14px;
    padding: 24px 20px;
    overflow: hidden;
    height: 100%;
}
.pub::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #004d72, #0291d6);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 0;
}
.pub * { position: relative; z-index: 1; }
.pub:hover::before { opacity: 1; }
.pub .num { font-weight: 600; font-size: 45px; margin-bottom: 3px; opacity: .9; line-height: 53px; }
.pub p { margin: 0; color: #cfcfcf; font-size: 18px; line-height: 24px; }
.pub_top_text { padding-bottom: 80px; }
.pub_bottom_text { position: absolute; bottom: 20px; }

/* Footer */
footer {
    background: #1d1d1d;
    margin-top: 140px;
    padding: 90px 0 0px 0px;
    overflow: hidden;
}
.foot-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 80px;
    position: relative;
}
.logos { display: flex; gap: 10px; flex-wrap: wrap; opacity: .9; padding-top: 35px; }
.logos .mini { width: 28px; height: 28px; border-radius: 6px; background: #1f1f1f; border: 1px solid #333 }
.addr { color: #bdbdbd; font-size: 13px; max-width: 48ch }
.social { display: flex; gap: 10px }
.social a {
    width: 34px; height: 34px; border-radius: 10px; background: #1c1c1c; border: 1px solid #2a2a2a;
    display: grid; place-items: center; font-size: 12px; color: #cfcfcf;
}

.email_wrap { display: flex; gap: 30px; align-items: center; }
.wid_53 {width: 53px;}
.wid_58 {width: 58px;}
.footer_contact h3, .footer_addres h3 { font-size: 18px; margin: 0; }
.email_wrap h5 { font-size: 15px; font-weight: 500; margin-top: 15px; margin-bottom: 15px; }
.email_wrap:nth-child(2) { margin-bottom: 0px; }
.foot-top::after {
    content: '';
    width: 145%;
    background-color: #fff;
    height: 1px;
    position: absolute;
    bottom: 10px;
    left: -23%;
    opacity: 0.6;
}
.footer_bottom { display: flex; justify-content: space-between; }
.footer_bottom_right { display: flex; align-items: center; gap: 15px; }
.footer_bottom_left .copyright { font-size: 15px; font-weight: 500; color: #a1a1a1; }


/* 250826 수정 */
.smarter_counting_exp_title h2 {text-align: center; font-weight: 500; line-height: 42px;}
.smarter_counting_exp_title h2:nth-child(2) {line-height: 36px;}
.smarter_counting_exp_title h2 .exp_title_font_large {font-size: 40px; font-weight: 600;}
.smarter_counting_exp_img {padding-top: 100px;}
.smarter_counting_exp {padding-top: 80px;}

.smarter_counting_main_img_wrap .smarter_counting_main_img img {padding: 100px 0px;}

.countin_main_img_pc {display: block;}
.countin_main_img_mobile {display: none;}

/* ----------------
   Responsive
   ---------------- */
@media (max-width:1024px) {
    .hero-wrap { grid-template-columns: 1fr }
    .features { grid-template-columns: 1fr 1fr }

    .icons.top { grid-template-columns: repeat(3, 1fr) }
    .icons.bottom { grid-template-columns: repeat(2, 1fr) }

    .hw-columns { gap: 40px }

    .hero { padding: 0; }
}

@media (max-width:760px) {
    .features { grid-template-columns: 1fr }
    .icons.top { grid-template-columns: repeat(3, 1fr) }
    .icons.bottom { grid-template-columns: repeat(2, 1fr) }

    .hardware-split::before { display: none }
    .hw-columns { grid-template-columns: 1fr; gap: 28px }
    .hw-col { gap: 60px }
    .hw-item { justify-content: flex-start }
    .right .hw-media { flex-direction: row }

    .pub-grid { grid-template-columns: repeat(1, 1fr); }

    .feat .tag, .feat .thumb, .feat p { width: 80%; }

    .hw-item.left { justify-content: center; }
    .hw-columns>.hw-col:nth-child(2) { padding-top: 0px; }
}

/* ************************ 반응형 ************************ */
@media screen and (max-width: 1440px) {
    .hero .mockimg { background-size: 65%; }
    .text_center>img { width: 70%; }
    .docs { flex-wrap: wrap; }
}
@media screen and (max-width: 1380px) {
    .container { width: 87%; }
}
@media screen and (max-width: 1300px) {
    .logo a img { width: 140px; }
    .hardware-split::before { display: none; }
    .hw-columns { gap: 50px; }

    /* 폰트 사이즈 */
    .hero .title { font-size: 50px; }
    .hero .desc { font-size: 19px; }
    .feat .tag { font-size: 19px; }
    .band h3 { font-size: 38px; }
    .scenic h3, .scenic h2 { font-size: 28px; }
    .smarter_counting_exp_title h2 {font-size: 22px;}
    .smarter_counting_exp_title h2 .exp_title_font_large {font-size: 38px;}

    .band .container { flex-direction: column; }
    .scenic h3 { text-align: center; }
    .inner_h3_p>h3:nth-child(2) { text-align: center; }
    .inner_h2 { top: 7%; left: 50%; transform: translateX(-50%); }
    .bottle::after { left: 2%; }
    .pub_top_text { padding-bottom: 120px; }
    .inner_h3_p { top: 57%; }

    .logos { width: 100%; }
    .foot-top { gap: 50px; }
}
@media screen and (max-width: 1024px) {
    .hero .container { background-position: 55% center; min-height: calc(100vh - var(--header-h)); }
    .hero .copy { width: 90%; padding: 0 28px; }
    .features { max-width: 90%; }

    .hw-columns { padding-top: 100px; padding-bottom: 100px; }
    .band { margin: 40px 0 32px; }
    .wide { padding: 90px 0 10px; }
    .icons-group { margin: 100px auto 20px; }

    .left .hw-media, .right .hw-media { flex-direction: column-reverse; }
    .right .hw-media .hw-text, .hw-item.left .hw-media .hw-text { text-align: center; }

    .text_center { padding-top: 90px; padding-bottom: 60px; }
    .bottle::after { left: -10%; top: 0%; }
    .scenic .bg { aspect-ratio: 18 / 8; }

    .inner_h3_p { width: 80%; }
    footer { padding: 60px 0 0 0; }
}
@media screen and (max-width: 900px) {
    .bottle::after { display: none; }

    .text_center>img { width: 80%; }
    .hero .title { font-size: 45px; }
    .feat .tag { font-size: 18px; }
    .band h3 { font-size: 36px; }
    .scenic h3 { font-size: 34px; }
    .scenic h2 { font-size: 24px; }
    .hw-text h5 { font-size: 22px; }
    .hw-text .spec { font-size: 18px; }
    .smarter_counting_exp_title h2 {font-size: 20px;}
    .smarter_counting_exp_title h2 .exp_title_font_large {font-size: 36px;}
    .smarter_counting_exp_title h2:nth-child(2) {line-height: 30px;}

    .scenic p { display: none; }
    .inner_h3_p { width: 95%; }
    .inner_h2 { top: 30%; }
}
@media screen and (max-width: 760px) {
    .nav { flex-direction: column; gap: 25px; }
    .hero .mockimg { background-size: 75%; }

    .wide { padding: 90px 0 80px; }
    .menu a { font-size: 17px; }
    .band p br { display: none; }
    .hw-item.right { padding-left: 0px; }

    .hw-thumb { text-align: center; }
    .hw-thumb img { display: inline-block; }
    .inner_h2 { top: 15%; }

    .smarter_counting_exp_title br {display: none;}
}
@media screen and (max-width: 600px) {
    /* 작아지면 헤더가 두 줄이 될 수 있어 높이 보정 */
    :root { --header-h: 96px; }

    .hero .title { font-size: 36px; }
    .band h3 { font-size: 32px; }
    .pub .num { font-size: 36px; }

    .hero .container { background-position: 60% center; min-height: calc(100vh - var(--header-h)); }
    .hero .copy { width: 92%; padding: 0 16px; padding-top: 100px;}

    .feat .tag, .feat .thumb, .feat p { width: 90%; }
    .container { width: 90%; padding: 20px; }

    .scenic .bg { aspect-ratio: 17 / 10; }
    .inner_h2 { display: none; }

    .desc br {display: none;}

    .countin_main_img_pc {display: none;}
    .countin_main_img_mobile {display: block;}
    .countin_main_img_mobile img:nth-child(1) {padding-bottom: 0px;}
    .countin_main_img_mobile img:nth-child(2) {padding-top: 0px;}
}
@media screen and (max-width: 480px) {
    .hero .mockimg { background-size: 100%; }
    .gif_width_75 { max-width: 115%; }
    .menu { gap: 20px; }
    .scenic .bg { aspect-ratio: 23 / 20; }

    .footer_bottom { flex-wrap: wrap; }
    .footer_bottom_left { width: 100%; }
    .footer_bottom_right { padding-bottom: 25px; }
}
