@charset "utf-8";

/* ====== RESET ====== */
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
button { font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

/* ====== LAYOUT ====== */
.inner { width:1700px; max-width:90%; margin:0 auto; }

/* ====== SECTION TITLE ====== */
.sec-head { margin-bottom:2.6em; }
.sec-title {
    font-family: 'Presentation';
    font-size:75px;
    font-weight:800;
    /* line-height: 1; */
    display:flex;
    align-items:flex-end;
    gap:0.5em;
}
.sec-title span {
    font-size:0.25em;
    font-weight:700;
    color:#fff;
    padding-bottom:10px;
    letter-spacing:0;
}

/* ====== REVEAL ANIM (dynamic + repeatable) ====== */
.reveal {
    opacity:0;
    transform:translateY(70px) scale(.96);
    filter:blur(6px);
    transition:opacity .8s cubic-bezier(.2,.8,.2,1),
               transform .8s cubic-bezier(.2,.8,.2,1),
               filter .8s cubic-bezier(.2,.8,.2,1);
    will-change:opacity, transform, filter;
}
.reveal.on { opacity:1; transform:translateY(0) scale(1); filter:blur(0); }

/* direction / style variants */
.reveal.from-left  { transform:translateX(-90px) scale(.96); }
.reveal.from-right { transform:translateX(90px) scale(.96); }
.reveal.from-left.on, .reveal.from-right.on { transform:translateX(0) scale(1); }
.reveal.zoom       { transform:scale(.78); }
.reveal.zoom.on    { transform:scale(1); }
.reveal.rotate     { transform:translateY(60px) rotate(-4deg) scale(.95); }
.reveal.rotate.on  { transform:translateY(0) rotate(0) scale(1); }

/* ====== HEADER ====== */
#header {
    position:fixed; top:0; left:0;
    width:100%; z-index:1000;
    transition:background .35s ease, padding .35s ease, box-shadow .35s ease;
    padding:1.6em 0;
}
#header.scrolled {
    background:rgba(8,6,14,.85);
    backdrop-filter:blur(14px);
    padding:1em 0;
    box-shadow:0 4px 30px rgba(0,0,0,.4);
}
.header-inner {
    width:1700px; max-width:94%;
    margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
}
.logo img { width:auto; }
.gnb ul { display:flex; gap:2.6em; }
.gnb a {
    font-size:1em; font-weight:700; color:#fff;
    position:relative; padding:.3em 0;
    transition:color .25s;
}
.gnb a::after {
    content:''; position:absolute; left:0; bottom:-2px;
    width:0; height:2px; background:#6633ee; transition:width .3s;
}
.gnb a:hover { color:#6633ee; }
.gnb a:hover::after { width:100%; }

/* 드롭다운 */
.gnb li.has-dropdown { position:relative; }
.gnb .dropdown {
    display:block;
    position:absolute; top:130%; left:50%;
    transform:translateX(-50%) translateY(10px);
    min-width:160px;
    background:rgba(8,6,14,.95);
    backdrop-filter:blur(14px);
    border:1px solid #2e2542; border-radius:8px;
    padding:.6em 0;
    opacity:0; visibility:hidden;
    transition:opacity .3s ease, transform .3s ease, visibility .3s;
    z-index:1001;
}
.gnb li.has-dropdown:hover .dropdown {
    opacity:1; visibility:visible;
    transform:translateX(-50%) translateY(0);
}
.gnb .dropdown li { display:block; }
.gnb .dropdown a {
    display:block; width:100%;
    font-size:.82em; font-weight:600;
    text-align: center;
    padding:.7em 1.4em;
    white-space:nowrap;
    transition:background .25s, color .25s;
}
.gnb .dropdown a::after { display:none; }
.gnb .dropdown a:hover { color:#6633ee; }

.btn-contact {
    font-size:.86em; font-weight:700;
    border:2px solid #fff; border-radius:50px;
    padding:.65em 1.5em;
    transition:all .3s;
}
.btn-contact:hover { background:#6633ee; border-color:#6633ee; }
.m-menu-btn { display:none; flex-direction:column; gap:5px; width:30px; }
.m-menu-btn span { display:block; height:2px; background:#fff; border-radius:2px; transition:.3s; }

/* ====== HERO ====== */
.hero {
    position:relative; height:100vh; min-height:680px;
    display:flex; align-items:flex-end;
    overflow:hidden;
    padding-bottom:18vh;
}
.hero-bg { position:absolute; inset:0; z-index:-1; }
.hero-bg img,
.hero-bg video { width:100%; height:100%; object-fit:cover; }
.hero-bg::after {
    content:''; position:absolute; inset:0; z-index:1;
    background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.45) 100%);
}
.hero-inner { width:1700px; max-width:94%; }
.hero-text h2 {
    font-size:55px; font-weight:800; line-height:1.25;
    letter-spacing:-0.02em; margin-bottom:.6em;
}
.hero-text p { font-size:1.1em; color:#fff; }

/* ====== ABOUT ====== */
.about { padding:9em 0 7em; }
.about-content { display:flex; gap:4%; align-items: center; position:relative; }
.about-left { width:54%; }
.about-left h3 {
    font-family: 'Presentation'; font-size:55px; font-weight:800; line-height:1.1;
    margin-bottom:50px;
}
.about-desc p { word-break: keep-all; color:#e5e3ee; font-size: 1em; margin-bottom:1.4em; line-height: 1.5; }
.about-link {
    display:inline-flex; align-items:center; gap:.6em;
    color: #e5e3ee; font-size:1.1em; font-weight:600; line-height: 1; margin-top:1.2em;
    border-bottom:2px solid #e5e3ee; padding-bottom:.5em;
    transition:gap .3s, color .3s;
}
.about-link span { font-size: 1.2em; }
.about-link:hover { gap:1em; }
.about-img {
    width:42%; position:relative;
}
.about-visual {
    position:relative; width:100%; aspect-ratio:850/710;
}
/* blob shape (file1) used as a mask; holographic image (file2) shows ONLY inside the white shape */
.av-blob {
    position:absolute; inset:0;
    background:url("../image/main/about_bg01.png") no-repeat center / cover;
    -webkit-mask:url("../image/main/about_diagram01.png") no-repeat center / contain;
            mask:url("../image/main/about_diagram01.png") no-repeat center / contain;
    -webkit-mask-mode:luminance; mask-mode:luminance;
    -webkit-mask-composite:source-over;
    animation:blobFloat 9s ease-in-out infinite,
              blobBgShift 14s ease-in-out infinite alternate;
    will-change:transform, background-position;
    filter:drop-shadow(0 30px 60px rgba(60,60,180,.45));
}
/* float = drift up/down + sideways + subtle rotate/scale */
@keyframes blobFloat {
    0%   { transform:translateY(0) translateX(0) rotate(0deg) scale(1); }
    25%  { transform:translateY(-26px) translateX(10px) rotate(2.5deg) scale(1.03); }
    50%  { transform:translateY(-6px) translateX(-12px) rotate(-2deg) scale(.99); }
    75%  { transform:translateY(-30px) translateX(8px) rotate(3deg) scale(1.04); }
    100% { transform:translateY(0) translateX(0) rotate(0deg) scale(1); }
}
/* the holographic image inside slowly pans so the visible colors keep changing */
@keyframes blobBgShift {
    0%   { background-position:0% 50%; }
    50%  { background-position:100% 30%; }
    100% { background-position:30% 100%; }
}

/* ====== SERVICES ====== */
.services { padding:5em 0; }
.service-list {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2em;
}
.service-card {
    background:#14101e;
    padding:0 0 40px;
    overflow:hidden;
    border-radius:6px;
    transition:transform .4s ease, background .4s ease;
}
.service-card:hover { transform:translateY(-10px); background:#100c1a; }
.service-thumb {
    width:100%; aspect-ratio:16/10; overflow:hidden; margin-bottom:32px;
}
.service-thumb img {
    width:100%; height:100%; object-fit:cover;
    transition:transform .5s ease;
}
.service-card:hover .service-thumb img { transform:scale(1.06); }
.service-card h4 {
    font-family: 'Presentation'; font-size:32px; font-weight:800; line-height:1.2;
    margin:0 40px 0.8em;
}
.service-card p {
    font-size:17px; color:#a5a2b8; line-height:1.7; word-break:keep-all;
    margin:0 40px;
}

/* ====== TECHNOLOGY ====== */
.technology { padding:5em 0; }
.tech-grid {
    display:grid; grid-template-columns:1fr 1fr;
    border-top:1px solid #1c1726;
    border-left:1px solid #1c1726;
}
.tech-item {
    border-right:1px solid #1c1726;
    border-bottom:1px solid #1c1726;
    padding:2.8em 2.4em;
    display:flex; align-items:center; justify-content:space-between;
    gap:1.5em; min-height:200px;
    transition:background .35s ease;
}
.tech-item:hover { background:#0b0910; }
.tech-text h4 { font-family: 'Presentation'; font-size:32px; font-weight:700; line-height:1.35; margin-bottom:2.4em; }
.tech-text .patent { font-size:1em; color:#a5a2b8; }
.tech-icon { flex-shrink:0; transition:transform .5s ease; }
.tech-item:hover .tech-icon { transform:scale(1.1) translateY(-4px); }

/* ====== HISTORY ====== */
.history { padding:5em 0; }
.history-content { display:flex; gap:5%; align-items:center; }
.history-imgs { width:50%; }
.hi-main { border-radius:4px; overflow:hidden; margin-bottom:1.1em; }
.hi-main img { width:100%; aspect-ratio:16/11; object-fit:cover; }
.hi-thumbs { display:grid; grid-template-columns:repeat(3,1fr); gap:1.1em; }
.hi-thumbs img { width:100%; aspect-ratio:1/0.8; object-fit:cover; border-radius:4px; }
.history-timeline { width:45%; padding-top:1.5em; }
.history-timeline ul { position:relative; }
.history-timeline li {
    display:flex; align-items:center; gap:50px;
    padding:25px 0; position:relative;
    font-family: 'Presentation';
}
.history-timeline .year { font-size: 24px; font-weight:700; width:60px; flex-shrink:0; }
.history-timeline .dot {
    width:10px; height:10px; border: 2px solid #6633ee; border-radius:50%;
    background:#050309; flex-shrink:0; position:relative; z-index:2;
}
.history-timeline ul::before {
    content:''; position:absolute; left:114px; top:18px; bottom:18px;
    width:1px; background:#6633ee;
}
.history-timeline .desc { font-size:24px; color:#e5e3ee; }
.history-timeline .desc i { font-style: normal; font-size: 0.65em; font-weight: 300; opacity: 0.8; }

/* ====== CUSTOMER ====== */
.customer { padding:5em 0; }
.customer-logos { display:flex; flex-direction:column; gap:3em; }
.logo-row {
    display:grid; grid-template-columns:repeat(6,1fr);
    gap:1.5em; align-items:center; justify-items:center;
}
.logo-row.row-center { grid-template-columns:repeat(2,1fr); max-width:66%; margin:0 auto; }
.c-logo img {
    width: auto;
    opacity: .85;
    transition: opacity .3s;
    filter: grayscale(0) brightness(1);
}
.c-logo:hover img { opacity:1; }

/* ====== PORTFOLIO ====== */
.portfolio { padding:5em 0; }

/* 제목 줄에 다운로드 버튼 정렬 */
.portfolio .sec-head {
    display:flex; align-items:flex-end; justify-content:space-between;
    flex-wrap:wrap; gap:1em;
}

/* B 스타일 : 아이콘 원형 + 슬라이드 */
.portfolio-download {
    flex-shrink:0;
    display:inline-flex; align-items:center; gap:.9em;
    color:#fff; font-size:1em; font-weight:700; line-height:1;
    padding:.5em .6em .5em 1.6em; border-radius:50px;
    background:#14101e; border:1px solid #2e2542;
    transition:border-color .3s, background .3s;
}
.portfolio-download .pd-ico {
    display:inline-flex; align-items:center; justify-content:center;
    width:42px; height:42px; border-radius:50%;
    background:#6633ee; flex-shrink:0;
    transition:transform .3s, background .3s;
}
.portfolio-download .pd-ico i { font-size:1.15em; }
.portfolio-download:hover { border-color:#6633ee; background:#100c1a; }
.portfolio-download:hover .pd-ico { transform:translateY(3px); background:#5028bb; }

.portfolio-tabs { display:flex; gap:1em; margin-bottom:2.6em; flex-wrap:wrap; }
.tab-btn {
    font-size:.92em; font-weight:600;
    padding:.85em 1.7em; border-radius:50px;
    background:#1a1622; color:#a9a4b6;
    transition:all .3s;
}
.tab-btn.active { background:#6633ee; color:#fff; }
.tab-btn:hover:not(.active) { background:#241d33; color:#fff; }
.tab-panel { display:none; }
.tab-panel.active { display:block; animation:fadeUp .55s ease; }
@keyframes fadeUp { from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

/* ====== NEWS ====== */
.news { padding:5em 0; }

/* ====== CONTACT ====== */
.contact { padding:6em 0; font-family: 'Presentation'; }
.contact-content { display:flex; gap:5%; align-items:flex-start; }
.contact-info { width:45%; font-family: 'Presentation'; }
.ci-head { font-size:1.3em; margin-bottom:1.6em; }
.ci-head strong { font-weight:800; }
.ci-head span { color:#555; margin:0 .4em; }
.ci-addr, .ci-tel {
    border-top:1px solid #2a2435; padding:1.6em 0;
}
.ci-tel { border-bottom:1px solid #2a2435; }
.contact-info dl { display:flex; gap:2em; margin-bottom:.9em; }
.contact-info dl:last-child { margin-bottom:0; }
.contact-info dt { width:64px; flex-shrink:0; color:#cfcfd6; font-size:20px; line-height: 1.5; }
.contact-info dd { color:#cfcfd6; font-size:20px; line-height: 1.5; }
.contact-form { width:50%; }
.contact-form input,
.contact-form textarea {
    width:100%; background:#fff; color:#222;
    border:none; border-radius:5px;
    padding:1.15em 1.3em; font-family: 'Presentation'; font-size:20px;
    margin-bottom:1.1em;
}
.contact-form textarea { min-height:260px; resize:vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color:#9a9a9a; }
.btn-submit {
    background:#6633ee; color:#fff; font-weight:700;
    width: 200px; padding:1em 0; border-radius:5px;
    font-size:20px; transition:background .3s; display:block;
}
.btn-submit:hover { background:#5028bb; }

/* ====== FOOTER ====== */
#footer { border-top:1px solid #1c1726; padding:3.4em 0 2.4em; margin-top:4em; }
.footer-top { display:flex; gap:3%; align-items:flex-start; }
.footer-logo { width:22%; }
.footer-logo img { height:26px; width:auto; margin-bottom:1.6em; }
.footer-sns { display:flex; gap:.7em; }
.footer-sns a {
    width:40px; height:40px; border-radius:50%;
    color: #fff;
    background:#1a1622; display:flex; align-items:center; justify-content:center;
    transition:background .3s;
}
.footer-sns a:hover { background:#6633ee; }
.footer-sns img { width:16px; height:16px; }
.footer-addr { width:78%; }
.footer-addr2 { width:32%; }
.footer-addr p, .footer-addr2 p { font-size:.92em; color:#8d8d97; line-height:2.1; }
.footer-copy { text-align:right; margin-top:2.5em; }
.footer-copy p { font-size:.8em; color:#5a5a64; }

/* ====== TOP BTN ====== */
#topBtn {
    position:fixed; right:30px; bottom:30px; z-index:900;
    width:60px; height:60px; border-radius:6px;
    background:#6633ee; color:#fff; font-size:1.2em; font-weight:700;
    opacity:0; visibility:hidden; transition:opacity .3s, visibility .3s, transform .3s;
}
#topBtn.show { opacity:1; visibility:visible; }
#topBtn:hover { transform:translateY(-5px); }

/* ====== SUB ====== */
.sub-visual {
    width: 100%;
    height: 300px;
    padding-top: 110px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sub_title h2 { font-family: 'Presentation'; font-size:65px; }