/* SHIFT WEB — 업종별 랜딩 공용 스타일
   메인(index.html)의 다크 시네마틱 히어로 + 밝은 본문 구조를 따른다. */

:root {
    --bg-color: #f8f9fa;
    --text-main: #212529;
    --text-sub: #5c636a;
    --accent-blue: #0056b3;
    --accent-hover: #004494;
    --white: #ffffff;
    --line: #e5e8eb;
    --surface: #ffffff;
    --surface-alt: #f1f3f5;

    /* 다크 히어로 */
    --dark-1: #0e1218;
    --dark-2: #1a2230;
    --dark-line: rgba(255, 255, 255, 0.14);
    --dark-text-sub: rgba(255, 255, 255, 0.72);

    --section-padding: clamp(56px, 8vw, 112px);
    --container-width: 1160px;
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 헤더 (다크) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 18, 24, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dark-line);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.brand img {
    width: 132px;
    height: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.93rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.header-nav a:hover {
    color: var(--white);
}

.header-cta {
    background: var(--accent-blue);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
}

.header-cta:hover {
    background: #1a6fd4;
}

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .brand img {
        width: 108px;
    }
}

/* ---------- 다크 히어로 ---------- */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--dark-1);
    color: var(--white);
    padding: clamp(30px, 4vw, 46px) 0 clamp(64px, 8vw, 110px);
    overflow: hidden;
}

/* 사진 없이 CSS 만으로 만드는 시네마틱 배경 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 80% at 78% 8%, rgba(0, 102, 214, 0.42) 0%, transparent 58%),
        radial-gradient(90% 70% at 8% 96%, rgba(96, 165, 250, 0.24) 0%, transparent 60%),
        linear-gradient(158deg, #10151c 0%, var(--dark-2) 52%, #0b0f14 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}

.hero-display {
    font-size: clamp(2.7rem, 9.5vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    background: linear-gradient(45deg, var(--white), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 12px 0 18px;
    word-break: break-word;
}

.hero h1 {
    font-size: clamp(1.55rem, 3.3vw, 2.5rem);
    line-height: 1.42;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--white);
    max-width: 20em;
    word-break: keep-all;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-lead {
    margin-top: 20px;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    color: var(--dark-text-sub);
    max-width: 44em;
    word-break: keep-all;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ec9ff;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.28);
    padding: 6px 14px;
    border-radius: 999px;
}

/* ---------- 브레드크럼 (히어로 내부) ---------- */
.breadcrumb {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 26px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb li::after {
    content: '›';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.35);
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ---------- 버튼 ---------- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.96rem;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #1a6fd4;
    transform: translateY(-2px);
}

.hero .btn-ghost {
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.hero .btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.btn-ghost {
    border-color: var(--line);
    background: var(--surface);
}

.btn-ghost:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ---------- 태그 ---------- */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.hero .tag {
    color: #cfe3ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-blue);
    background: rgba(0, 86, 179, 0.07);
    border-radius: 999px;
    padding: 6px 14px;
}

/* ---------- 섹션 공통 (밝은 본문) ---------- */
section {
    padding: var(--section-padding) 0;
}

section.tight {
    padding: calc(var(--section-padding) * 0.62) 0;
}

.section-head {
    max-width: 46em;
    margin-bottom: 46px;
}

h2 {
    font-size: clamp(1.45rem, 2.7vw, 2.05rem);
    line-height: 1.42;
    letter-spacing: -0.03em;
    font-weight: 800;
    word-break: keep-all;
}

.section-head p {
    margin-top: 14px;
    color: var(--text-sub);
    word-break: keep-all;
}

h3 {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.5;
    word-break: keep-all;
}

/* ---------- 카드 ---------- */
.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card p {
    margin-top: 11px;
    color: var(--text-sub);
    font-size: 0.94rem;
    word-break: keep-all;
}

a.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.1);
}

.card-num {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 12px;
}

/* 문제 목록 */
.problem-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.problem-list li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: 20px 22px;
    color: var(--text-sub);
    font-size: 0.95rem;
    word-break: keep-all;
}

.problem-list strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 6px;
}

.alt {
    background: var(--surface-alt);
}

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 44px 22px 0;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    word-break: keep-all;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent-blue);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item .faq-body {
    padding: 0 44px 24px 0;
    color: var(--text-sub);
    font-size: 0.95rem;
    word-break: keep-all;
}

/* ---------- CTA ---------- */
.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--dark-1);
    color: var(--white);
    border-radius: var(--radius);
    padding: clamp(38px, 5vw, 62px);
    text-align: center;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(100% 90% at 82% 6%, rgba(0, 102, 214, 0.4) 0%, transparent 60%),
        linear-gradient(158deg, #10151c 0%, var(--dark-2) 55%, #0b0f14 100%);
}

.cta-band h2 {
    color: var(--white);
}

.cta-band p {
    margin-top: 14px;
    color: var(--dark-text-sub);
    word-break: keep-all;
}

.cta-band .hero-actions {
    justify-content: center;
}

.cta-band .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.cta-band .btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* ---------- 푸터 (다크) ---------- */
.site-footer {
    background: var(--dark-1);
    color: rgba(255, 255, 255, 0.62);
    padding: 58px 0 66px;
    font-size: 0.89rem;
}

.footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
    margin-bottom: 36px;
}

.footer-grid h3 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-grid ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

.footer-grid a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--dark-line);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- 접근성 ---------- */
:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 100;
    background: var(--accent-blue);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
