/* =========================================================
   032 INCHEON MAIN CSS
   File: /css/index.css

   Revision History
   ---------------------------------------------------------
   2026-05-29
   - 기존 인라인 CSS를 /css/index.css 기준으로 분리

   2026-06-03
   - 현재 index.php 확정 블럭 기준으로 CSS 재정리
   - 구버전 Header / 구버전 Hero / Operation Flow / Business Dock 삭제
   - 구버전 Partner / Portfolio Puzzle / Lightbox / Online Lab / Asset / Contact Layout 삭제
   - 새 하단 블럭은 Tailwind 기반이므로 별도 CSS 추가 없음
   - 유지 범위: Base / Mobile Menu Safety / Main Hero / Contact 최소 연동 / Footer / Print
========================================================= */


/* =========================================================
   [00] DESIGN TOKENS
========================================================= */
:root {
    --navy: #102653;
    --navy-2: #17366d;
    --blue: #1764ff;
    --blue-2: #2b7cff;
    --mint: #17b897;
    --green: #16a672;
    --green-2: #1ecf8f;
    --ink: #17233b;
    --muted: #66758f;
    --muted-2: #8a97af;
    --line: #dfe9f7;
    --soft: #f6faff;
    --soft-blue: #eef6ff;
    --white: #ffffff;
    --hero-bg: #eef4fb;
    --shadow: 0 26px 80px rgba(28, 73, 135, 0.13);
    --shadow-soft: 0 18px 48px rgba(28, 73, 135, 0.09);
    --radius-xl: 38px;
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
}


/* =========================================================
   [01] RESET / BASE
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Pretendard", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 5%, rgba(23,100,255,0.08), transparent 24%),
        radial-gradient(circle at 92% 11%, rgba(23,184,151,0.07), transparent 24%),
        #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    padding-top: 82px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   [02] MOBILE MENU SAFETY
   - 현재 Header는 Tailwind 기반
   - 모바일 패널 노출/숨김만 안전 처리
========================================================= */
#mobileMenuPanel {
    display: none;
}

#mobileMenuPanel.is-open {
    display: block;
}

#mobileMenuPanel:not(.hidden) {
    display: block;
}


/* =========================================================
   [03] MAIN HERO / SLICK STANDARD
   - 현재 index.php [BLOCK 02] MAIN HERO 전용
========================================================= */
.main-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    background: linear-gradient(135deg, #f5fbff 0%, #eef6ff 52%, #f4fbff 100%);
}

.main-hero-slider {
    position: relative;
    overflow: hidden;
}

.main-hero-slider:not(.slick-initialized) .main-hero-slide {
    display: none;
}

.main-hero-slider:not(.slick-initialized) .main-hero-slide:first-child {
    display: block;
}

.main-hero-slider.slick-initialized .main-hero-slide {
    display: block;
}

.main-hero-slider .slick-list,
.main-hero-slider .slick-track {
    height: 100%;
}

.main-hero-slider .slick-slide {
    outline: none;
}

.main-hero-slider .slick-slide > div {
    height: 100%;
}

.main-hero-slider .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    z-index: 20;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-hero-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

.main-hero-slider .slick-dots button {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 100, 255, 0.25);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.main-hero-slider .slick-dots .slick-active button {
    width: 28px;
    background: #1764ff;
}

.main-hero-slider .slick-prev,
.main-hero-slider .slick-next {
    position: absolute;
    top: 50%;
    z-index: 25;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transform: translateY(-50%);
}

.main-hero-slider .slick-prev {
    left: 34px;
}

.main-hero-slider .slick-next {
    right: 34px;
}

.main-hero-slider .slick-prev::before,
.main-hero-slider .slick-next::before {
    display: block;
    color: #1764ff;
    font-size: 28px;
    font-weight: 900;
    line-height: 46px;
    text-align: center;
}

.main-hero-slider .slick-prev::before {
    content: '‹';
}

.main-hero-slider .slick-next::before {
    content: '›';
}

.main-hero-inner {
    position: relative;
    z-index: 5;
    width: min(1440px, calc(100% - 40px));
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 54px;
    padding: 84px 0 72px;
}

.main-hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(24px);
}

.main-hero-bg-shape-01 {
    width: 360px;
    height: 360px;
    right: -70px;
    top: -90px;
    background: rgba(147, 197, 253, 0.20);
}

.main-hero-bg-shape-02 {
    width: 260px;
    height: 260px;
    left: -90px;
    top: 280px;
    background: rgba(16, 185, 129, 0.10);
}

.main-hero-bg-shape-03 {
    width: 260px;
    height: 260px;
    left: 48%;
    bottom: -100px;
    background: rgba(56, 189, 248, 0.10);
}

.main-hero-copy,
.main-hero-visual {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-hero-copy {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.main-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 10px 16px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 12px 30px rgba(15,23,42,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.main-hero-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,0.12);
}

.main-hero-title {
    margin: 26px 0 0;
    color: #020617;
    font-size: clamp(42px, 4.8vw, 70px);
    line-height: 1.11;
    font-weight: 950;
    letter-spacing: -0.07em;
    word-break: keep-all;
}

.main-hero-title strong {
    display: inline-block;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 48%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
    font-weight: 950;
}

.main-hero-desc {
    max-width: 650px;
    margin: 28px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.82;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.main-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.main-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 58px;
    padding: 0 30px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.main-hero-cta-primary {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: #fff;
    border: 1px solid rgba(37,99,235,0.85);
    box-shadow: 0 16px 34px rgba(37,99,235,0.22);
}

.main-hero-cta-outline-blue {
    background: rgba(255,255,255,0.9);
    color: #2563eb;
    border: 1px solid rgba(37,99,235,0.35);
    box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}

.main-hero-cta-outline-green {
    background: rgba(255,255,255,0.9);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.35);
    box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}

.main-hero-cta-btn:hover {
    transform: translateY(-4px);
}

.main-hero-service-buttons {
    display: none !important;
}

.main-hero-visual {
    position: relative;
    z-index: 9;
}

.main-hero-person-stage {
    position: relative;
    width: 100%;
    min-height: 620px;
}

.main-hero-person-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.main-hero-person-orb-01 {
    width: 420px;
    height: 420px;
    left: 118px;
    top: 38px;
    background: rgba(191, 219, 254, 0.24);
}

.main-hero-person-orb-02 {
    width: 260px;
    height: 260px;
    left: 28px;
    bottom: 54px;
    background: rgba(125, 211, 252, 0.20);
    filter: blur(2px);
}

.main-hero-dashboard-panel {
    position: absolute;
    right: 20px;
    top: 18px;
    width: 480px;
    height: 430px;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.42);
    box-shadow: 0 28px 64px rgba(15,23,42,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.dashboard-panel-top {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 22px 24px 0 24px;
}

.dashboard-panel-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.dashboard-panel-top span:nth-child(1) {
    background: #93c5fd;
}

.dashboard-panel-top span:nth-child(2) {
    background: #67e8f9;
}

.dashboard-panel-top span:nth-child(3) {
    background: #86efac;
}

.dashboard-panel-lines {
    padding: 22px 34px 0;
}

.dashboard-line {
    height: 14px;
    border-radius: 999px;
    background: rgba(148,163,184,0.22);
    margin-top: 14px;
}

.dashboard-line-01 {
    width: 68%;
}

.dashboard-line-02 {
    width: 78%;
}

.dashboard-panel-boxes {
    position: absolute;
    right: 42px;
    bottom: 54px;
    display: flex;
    gap: 18px;
}

.dashboard-box {
    width: 116px;
    height: 96px;
    border-radius: 24px;
    background: rgba(220,252,231,0.45);
}

.dashboard-box-01 {
    background: rgba(191,219,254,0.42);
}

.dashboard-box-02 {
    background: rgba(220,252,231,0.42);
}

.main-hero-floating-card {
    position: absolute;
    z-index: 12;
    border: 1px solid rgba(255,255,255,0.84);
    background: rgba(255,255,255,0.90);
    box-shadow: 0 20px 48px rgba(15,23,42,0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.floating-card-left {
    left: 0;
    top: 110px;
    width: 248px;
    padding: 22px 22px 20px;
    border-radius: 28px;
}

.floating-card-right {
    right: 32px;
    bottom: 74px;
    width: 262px;
    padding: 22px 22px 20px;
    border-radius: 28px;
}

.main-hero-floating-card span {
    display: block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.main-hero-floating-card strong {
    display: block;
    color: #0f172a;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.main-hero-floating-card p {
    margin: 9px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.main-hero-person-img {
    position: absolute;
    z-index: 10;
    right: 72px;
    bottom: 6px;
    width: min(468px, 64vw);
    max-height: 660px;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(15,23,42,0.16));
}

.main-hero-person-shadow {
    position: absolute;
    z-index: 3;
    right: 92px;
    bottom: 2px;
    width: 396px;
    height: 44px;
    border-radius: 999px;
    background: rgba(15,23,42,0.12);
    filter: blur(14px);
}


/* =========================================================
   [04] HERO REVEAL MOTION
========================================================= */
.hero-scene .hero-reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
    filter: blur(8px);
}

.hero-scene.is-ready .hero-reveal,
.hero-scene.is-active .hero-reveal {
    animation-name: heroRevealIn;
    animation-duration: 0.95s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: forwards;
}

.hero-scene.is-leaving .hero-reveal {
    animation-name: heroRevealOut;
    animation-duration: 0.45s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.reveal-01 {
    animation-delay: 0.05s;
}

.reveal-02 {
    animation-delay: 0.18s;
}

.reveal-03 {
    animation-delay: 0.34s;
}

.reveal-04 {
    animation-delay: 0.50s;
}

.reveal-05 {
    animation-delay: 0.64s;
}

@keyframes heroRevealIn {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.985);
        filter: blur(8px);
    }

    60% {
        opacity: 1;
        transform: translateY(-3px) scale(1.004);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroRevealOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-18px) scale(0.992);
        filter: blur(5px);
    }
}

.hero-scene.is-ready .main-hero-person-img,
.hero-scene.is-active .main-hero-person-img {
    animation:
        heroRevealIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.50s forwards,
        heroFloatPerson 5.8s ease-in-out 1.7s infinite;
}

.hero-scene.is-ready .floating-card-left,
.hero-scene.is-active .floating-card-left {
    animation:
        heroRevealIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards,
        heroFloatCard 5.2s ease-in-out 1.6s infinite;
}

.hero-scene.is-ready .floating-card-right,
.hero-scene.is-active .floating-card-right {
    animation:
        heroRevealIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.64s forwards,
        heroFloatCard 5.2s ease-in-out 2s infinite;
}

@keyframes heroFloatPerson {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes heroFloatCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scene .hero-reveal,
    .hero-scene.is-ready .hero-reveal,
    .hero-scene.is-active .hero-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }

    .main-hero-person-img,
    .main-hero-floating-card {
        animation: none !important;
    }
}


/* =========================================================
   [05] CONTACT JS SUPPORT
   - 현재 [BLOCK 09] Contact Board에서 JS가 active 클래스만 토글할 때를 위한 최소 스타일
   - 새 CSS 추가 패치가 아니라, 현재 확정 블럭 기준의 정식 영역
========================================================= */
#contact .type-btn {
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

#contact .type-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
}

#contact .type-btn.active {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

#contact .input,
#contact .textarea {
    width: 100%;
}

#contact .textarea {
    resize: vertical;
}


/* =========================================================
   [06] FOOTER
========================================================= */
.footer {
    margin-top: 0;
    padding: 48px 34px;
    background: #07162f;
    color: rgba(255,255,255,0.64);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    min-height: 42px;
}

.footer-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo.logo-fallback::before {
    content: "032 인천기획";
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.footer-text {
    margin-top: 18px;
    color: rgba(255,255,255,0.62);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   [07] RESPONSIVE / HERO
========================================================= */
@media (max-width: 1180px) {
    .main-hero-inner {
        grid-template-columns: 1fr;
        gap: 38px;
        min-height: auto;
        padding: 82px 0 64px;
    }

    .main-hero-copy,
    .main-hero-visual {
        min-height: auto;
    }

    .main-hero-person-stage {
        min-height: 560px;
    }

    .main-hero-dashboard-panel {
        right: 34px;
    }

    .main-hero-person-img {
        right: 94px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .main-hero-section {
        min-height: auto;
    }

    .main-hero-slider .slick-prev,
    .main-hero-slider .slick-next {
        display: none !important;
    }

    .main-hero-slider .slick-dots {
        bottom: 18px;
    }

    .main-hero-inner {
        width: min(100% - 32px, 720px);
        padding: 68px 0 54px;
        gap: 28px;
    }

    .main-hero-title {
        font-size: 40px;
        line-height: 1.15;
    }

    .main-hero-desc {
        font-size: 16px;
        line-height: 1.72;
    }

    .main-hero-cta {
        gap: 10px;
    }

    .main-hero-cta-btn {
        width: 100%;
        min-width: 100%;
        height: 54px;
        border-radius: 16px;
    }

    .main-hero-person-stage {
        min-height: 500px;
    }

    .main-hero-dashboard-panel {
        width: calc(100% - 28px);
        height: 330px;
        right: 14px;
        top: 18px;
        border-radius: 34px;
    }

    .floating-card-left {
        left: 8px;
        top: 54px;
        width: 206px;
        padding: 16px;
    }

    .floating-card-right {
        right: 8px;
        bottom: 30px;
        width: 214px;
        padding: 16px;
    }

    .main-hero-person-img {
        right: 50%;
        bottom: 14px;
        width: min(340px, 82vw);
        transform: translateX(50%);
    }

    .main-hero-person-shadow {
        right: 50%;
        width: 280px;
        transform: translateX(50%);
    }

    .hero-scene.is-ready .main-hero-person-img,
    .hero-scene.is-active .main-hero-person-img {
        animation:
            heroRevealInMobile 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.50s forwards,
            heroFloatPersonMobile 5.8s ease-in-out 1.7s infinite;
    }

    @keyframes heroRevealInMobile {
        0% {
            opacity: 0;
            transform: translateX(50%) translateY(36px) scale(0.985);
            filter: blur(8px);
        }

        60% {
            opacity: 1;
            transform: translateX(50%) translateY(-3px) scale(1.004);
            filter: blur(0);
        }

        100% {
            opacity: 1;
            transform: translateX(50%) translateY(0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes heroFloatPersonMobile {
        0%,
        100% {
            transform: translateX(50%) translateY(0);
        }

        50% {
            transform: translateX(50%) translateY(-7px);
        }
    }
}


/* =========================================================
   [08] PRINT SAFETY
========================================================= */
@media print {
    html,
    body {
        background: #ffffff !important;
        padding-top: 0 !important;
    }

    #siteHeader,
    .main-hero-slider .slick-prev,
    .main-hero-slider .slick-next,
    .main-hero-slider .slick-dots {
        display: none !important;
    }

    .main-hero-section {
        min-height: auto !important;
        background: #ffffff !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .main-hero-inner {
        min-height: auto !important;
        padding: 40px 0 !important;
    }

    .main-hero-bg-shape,
    .main-hero-person-orb {
        display: none !important;
    }

    .main-hero-floating-card,
    .main-hero-dashboard-panel,
    .footer {
        box-shadow: none !important;
    }
}

