@charset "UTF-8";
/* =========================================================================
 * DK드론 (DK Drone) - 공통 스타일시트 (common.css)
 * 모든 페이지에서 공통으로 사용하는 리셋 / 디자인토큰 / 헤더 / 푸터 / 버튼
 * 다크 테크 테마 + 블루 액센트
 * ========================================================================= */

/* -------------------------------------------------------------------------
 * 1. 디자인 토큰 (CSS 변수)
 * ------------------------------------------------------------------------- */
:root {
    /* 컬러 - 배경 계열 */
    --c-bg: #0a0d14;                 /* 페이지 최하단 배경 */
    --c-bg-2: #0e131d;               /* 섹션 교차 배경 */
    --c-surface: #141a26;            /* 카드 표면 */
    --c-surface-2: #1b2331;          /* 카드 호버 / 상단 표면 */
    --c-line: rgba(255, 255, 255, 0.08); /* 경계선 */
    --c-line-strong: rgba(255, 255, 255, 0.16);

    /* 컬러 - 텍스트 계열 */
    --c-text: #eef2f8;               /* 기본 밝은 텍스트 */
    --c-text-sub: #9aa6b8;           /* 보조 텍스트 */
    --c-text-dim: #5f6b7e;           /* 흐린 텍스트 */

    /* 컬러 - 액센트 (블루) */
    --c-primary: #2f7bff;            /* 메인 블루 */
    --c-primary-2: #57a0ff;          /* 밝은 블루 (호버/그라데이션) */
    --c-primary-dim: rgba(47, 123, 255, 0.14);
    --c-cyan: #35e0e0;               /* 보조 시안 (테크 포인트) */

    /* 타이포 */
    --font-base: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
                 "Malgun Gothic", "맑은 고딕", sans-serif;

    /* 레이아웃 */
    --wrap: 1280px;                  /* 컨텐츠 최대 폭 */
    --wrap-narrow: 1040px;
    --header-h: 76px;                /* 헤더 높이 */
    --radius: 14px;
    --radius-sm: 8px;

    /* 트랜지션 */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast: 0.2s;
    --t-base: 0.4s;
}

/* -------------------------------------------------------------------------
 * 2. 리셋 & 기본
 * ------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* 공통 레이아웃 래퍼 */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
}

/* 섹션 공통 여백 */
.section {
    padding: 130px 0;
}

/* 섹션 상단 헤더(라벨 + 제목 + 설명) */
.sec-head {
    margin-bottom: 60px;
}

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary-2);
    margin-bottom: 18px;
}

.sec-label::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--c-primary-2);
}

.sec-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.03em;
}

.sec-title .accent {
    color: var(--c-primary-2);
}

.sec-desc {
    margin-top: 20px;
    max-width: 620px;
    font-size: 17px;
    color: var(--c-text-sub);
}

/* -------------------------------------------------------------------------
 * 3. 버튼
 * ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease),
                box-shadow var(--t-fast) var(--ease);
    white-space: nowrap;
}

.btn i {
    font-size: 14px;
    transition: transform var(--t-fast) var(--ease);
}

.btn:hover i {
    transform: translateX(4px);
}

/* 기본(솔리드 블루) */
.btn-primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 8px 26px -8px rgba(47, 123, 255, 0.7);
}

.btn-primary:hover {
    background: var(--c-primary-2);
    transform: translateY(-2px);
}

/* 아웃라인 */
.btn-ghost {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-line-strong);
}

.btn-ghost:hover {
    border-color: var(--c-primary-2);
    color: var(--c-primary-2);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
 * 4. 헤더 / 글로벌 내비게이션
 * ------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease),
                height var(--t-base) var(--ease);
}

/* 스크롤 시 / 서브페이지에서 배경 채움 */
.site-header.scrolled,
.site-header.solid {
    background: rgba(10, 13, 20, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--c-line);
}

.header-inner {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 로고 */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.logo .mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.logo b {
    color: var(--c-primary-2);
}

/* GNB */
.gnb {
    display: flex;
    align-items: center;
    height: 100%;
}

.gnb > li {
    position: relative;
    height: 100%;
}

.gnb > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    transition: color var(--t-fast) var(--ease);
}

.gnb > li > a:hover {
    color: var(--c-primary-2);
}

/* 드롭다운 서브메뉴 */
.gnb .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    padding: 10px;
    background: rgba(20, 26, 38, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease),
                visibility var(--t-fast);
}

.gnb > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gnb .submenu a {
    display: block;
    padding: 11px 16px;
    font-size: 15px;
    color: var(--c-text-sub);
    border-radius: 6px;
    transition: color var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease);
}

.gnb .submenu a:hover {
    color: #fff;
    background: var(--c-primary-dim);
}

/* 헤더 우측 유틸 */
.header-util {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lang-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-sub);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--t-fast) var(--ease);
}

.lang-btn:hover {
    color: #fff;
}

.header-util .btn {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
}

/* 헤더 우측 아이콘 버튼 (검색 / 전체메뉴) */
.util-ico {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--c-text);
    border-radius: 50%;
    transition: background var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease);
}

.util-ico:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--c-primary-2);
}

/* 모바일 햄버거 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--t-fast) var(--ease),
                opacity var(--t-fast) var(--ease);
}

/* 모바일 메뉴 패널 (기본 숨김) */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: calc(var(--header-h) + 20px) 32px 40px;
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav > ul > li {
    border-bottom: 1px solid var(--c-line);
}

.mobile-nav > ul > li > a {
    display: block;
    padding: 20px 4px;
    font-size: 20px;
    font-weight: 700;
}

.mobile-nav .m-sub a {
    display: block;
    padding: 8px 4px 8px 16px;
    font-size: 16px;
    color: var(--c-text-sub);
}

.mobile-nav .m-sub {
    padding-bottom: 14px;
}

/* -------------------------------------------------------------------------
 * 5. 푸터
 * ------------------------------------------------------------------------- */
.site-footer {
    background: var(--c-bg-2);
    border-top: 1px solid var(--c-line);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--c-line);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--c-text-sub);
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-sns {
    display: flex;
    gap: 12px;
}

.footer-sns a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-line-strong);
    border-radius: 50%;
    color: var(--c-text-sub);
    transition: all var(--t-fast) var(--ease);
}

.footer-sns a:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 15px;
    color: var(--c-text-sub);
    transition: color var(--t-fast) var(--ease);
}

.footer-col ul a:hover {
    color: var(--c-primary-2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 34px;
    flex-wrap: wrap;
}

.footer-info {
    font-size: 14px;
    color: var(--c-text-dim);
    line-height: 1.9;
}

.footer-info strong {
    color: var(--c-text-sub);
    font-weight: 600;
}

.footer-cert {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-cert img {
    height: 42px;
    opacity: 0.7;
    filter: grayscale(1) brightness(1.6);
}

/* -------------------------------------------------------------------------
 * 6. 스크롤 등장 애니메이션 (JS 연동)
 * ------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease),
                transform 0.9s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* 순차 딜레이 유틸 */
.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }

/* -------------------------------------------------------------------------
 * 7. 서브페이지 공통 - 페이지 히어로
 * ------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
    background: var(--c-bg);
}

/* 배경 이미지 : 최하단(z-index 0) */
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    z-index: 0;
}

/* 어둡게 덮는 오버레이 : 배경 위(z-index 1) */
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.55) 0%, rgba(10, 13, 20, 0.88) 100%);
    z-index: 1;
}

/* 텍스트 콘텐츠 : 최상단(z-index 2) */
.page-hero .wrap {
    position: relative;
    z-index: 2;
}

.page-hero__label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary-2);
    margin-bottom: 16px;
}

.page-hero__title {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.page-hero__desc {
    margin-top: 18px;
    font-size: 18px;
    color: var(--c-text-sub);
    max-width: 560px;
}

/* 브레드크럼 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text-dim);
    margin-top: 22px;
}

.breadcrumb i {
    font-size: 10px;
}

.breadcrumb .cur {
    color: var(--c-text-sub);
}

/* -------------------------------------------------------------------------
 * 8. 반응형
 * ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .gnb,
    .header-util .btn,
    .header-util .lang-btn,
    .util-ico {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .wrap,
    .header-inner {
        padding: 0 20px;
    }

    .section {
        padding: 84px 0;
    }

    .sec-title {
        font-size: 32px;
    }

    .sec-desc {
        font-size: 16px;
    }

    .page-hero {
        height: 340px;
    }

    .page-hero__title {
        font-size: 34px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .sec-title {
        font-size: 27px;
    }

    .btn {
        height: 50px;
        padding: 0 24px;
    }
}
