/* ════════════════════════════════════════════════════
   Interior SaaS — Landing Page Stylesheet
   Palette: Navy #002366 · Gold #e8a020 · White
   Font: Pretendard → Noto Sans KR fallback
   Mobile-first, 768px+ desktop
   ════════════════════════════════════════════════════ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

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

:root {
    --navy:        #002366;
    --navy-dark:   #001a4d;
    --navy-mid:    #0a3580;
    --navy-light:  #1a4fa0;
    --gold:        #e8a020;
    --gold-dark:   #c88010;
    --gold-light:  #f5c050;
    --white:       #ffffff;
    --gray-50:     #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-500:    #64748b;
    --gray-700:    #334155;
    --gray-900:    #0f172a;

    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   24px;
    --shadow-sm:   0 2px 8px rgba(0,35,102,.07);
    --shadow-md:   0 8px 32px rgba(0,35,102,.12);
    --shadow-lg:   0 20px 60px rgba(0,35,102,.18);
    --transition:  .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ── 공통 레이아웃 ────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}
section { padding: 72px 0; }

.section-label {
    display: inline-block;
    background: rgba(232,160,32,.12);
    color: var(--gold-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* ── 버튼 ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,160,32,.35); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ── 네비 ─────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(0,35,102,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    line-height: 1;
}
.nav-logo .logo-main {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .01em;
}
.nav-logo .logo-domain {
    color: var(--gold);
    font-size: .88rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: .06em;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,.25);
}
.nav-logo .logo-sub {
    font-size: .68rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    letter-spacing: .04em;
}
/* 구 span 호환 */
.nav-logo > span {
    color: var(--gold);
    font-size: .92rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: .06em;
    opacity: 1;
    margin-left: 9px;
    padding-left: 9px;
    border-left: 1px solid rgba(255,255,255,.2);
    line-height: 1;
}
.nav-links {
    display: none;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { font-size: .88rem; padding: 10px 22px; }

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    padding-top: 110px;
    padding-bottom: 72px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,160,32,.15);
    border: 1px solid rgba(232,160,32,.3);
    color: var(--gold-light);
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
    letter-spacing: .05em;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero-title {
    font-size: clamp(1.45rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.28;
    letter-spacing: -.025em;
    margin-bottom: 20px;
    word-break: keep-all;
}
.hero-title .gold { color: var(--gold); display: block; margin-top: 4px; }
.hero-sub {
    font-size: clamp(.88rem, 2.2vw, 1.05rem);
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    line-height: 1.85;
    word-break: keep-all;
    letter-spacing: -.01em;
}
/* ── Hero CTA (PC 전용 — 모바일에서 숨김) */
.hero-actions {
    display: none;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.hero-tel-inline {
    display: none;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    font-size: .88rem;
    transition: color .15s;
}
.hero-tel-inline:hover { color: var(--gold-light); }
.hero-tel-inline strong { color: rgba(255,255,255,.9); font-weight: 700; }

/* 폰 하단 버튼 (모바일 전용) */
.phone-btn-bottom {
    width: 100%;
    max-width: 270px;
    text-align: center;
    justify-content: center;
    order: 10;
    flex-direction: column;
    line-height: 1.2;
}
.phone-btn-sub {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 4px;
    letter-spacing: -.01em;
}

/* 전화상담 버튼 (모바일 전용) */
.hero-call-full {
    order: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 270px;
    padding: 11px 16px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: opacity .15s;
}
.hero-call-full:hover { opacity: .85; }
.hero-call-num {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* SNS 공유 버튼 줄 */
.hero-sns-row {
    order: 12;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 270px;
}
.hero-sns-label {
    font-size: .65rem;
    font-weight: 600;
    color: rgba(255,255,255,.4);
    letter-spacing: .06em;
    white-space: nowrap;
}
.hero-sns-btns {
    display: flex;
    gap: 6px;
    flex: 1;
}
.sns-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .12s, opacity .12s;
    padding: 0;
}
.sns-btn svg { width: 16px; height: 16px; }
.sns-btn:hover { transform: translateY(-2px); opacity: .9; }
.sns-kakao  { background: #FEE500; color: #3A1D1D; }
.sns-insta  { background: radial-gradient(circle at 30% 110%, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: #fff; }
.sns-facebook { background: #1877F2; color: #fff; }
.sns-x      { background: #000; color: #fff; }
.sns-copy   { background: rgba(255,255,255,.15); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.2); }

/* 공유 토스트 */
.share-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0,0,0,.82);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    z-index: 9999;
    pointer-events: none;
}
.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 모바일 목업 */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.phone-mockup {
    width: 240px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 14px 14px 18px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(232,160,32,.4), 0 24px 60px rgba(0,0,0,.4);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform .2s, box-shadow .2s;
}
.phone-mockup:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(232,160,32,.6), 0 32px 70px rgba(0,0,0,.5);
}
/* ── 손가락 탭 애니메이션 ── */
.phone-tap {
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    animation: tap-fade 3.2s ease-in-out infinite;
}
.phone-tap-finger {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.45));
    animation: tap-press 3.2s ease-in-out infinite;
    transform-origin: bottom center;
}
.phone-tap-ring {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 38px;
    height: 38px;
    border: 2.5px solid rgba(255,255,255,.85);
    border-radius: 50%;
    margin-left: -19px;
    animation: tap-ring 3.2s ease-in-out infinite;
}
@keyframes tap-fade {
    0%,100%  { opacity: 0; }
    12%, 72% { opacity: 1; }
    88%      { opacity: 0; }
}
@keyframes tap-press {
    0%,18%  { transform: translateY(0)   scale(1); }
    38%     { transform: translateY(10px) scale(.85); }
    58%     { transform: translateY(0)   scale(1); }
    100%    { transform: translateY(0)   scale(1); }
}
@keyframes tap-ring {
    0%,32%  { transform: scale(0);   opacity: 0; }
    42%     { transform: scale(1);   opacity: 1; }
    68%     { transform: scale(1.6); opacity: 0; }
    100%    { transform: scale(0);   opacity: 0; }
}

/* 상단 노치 */
.phone-notch {
    width: 70px; height: 7px;
    background: #0d0d1a;
    border-radius: 99px;
    margin: 0 auto 10px;
}
/* iframe 뷰포트 컨테이너 */
.phone-screen {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    /* 390px 기준 페이지를 scale로 축소 */
    width: 212px;
    height: 440px;
    position: relative;
}
.phone-iframe-wrap {
    width: 390px;
    height: 810px;
    transform: scale(0.544);
    transform-origin: 0 0;
    pointer-events: none; /* 랜딩에서 클릭 방지 */
}
.phone-iframe-wrap iframe {
    width: 390px;
    height: 810px;
    border: none;
    display: block;
}
/* 실제 사이트 배지 */
.phone-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: .78rem;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background .15s;
    white-space: nowrap;
}
.phone-badge:hover { background: rgba(255,255,255,.2); color: #fff; }
.phone-badge-dot {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.5; transform:scale(1.3); }
}

@media (min-width: 768px) {
    /* 그리드: 콘텐츠 60% / 폰 비주얼 고정 340px */
    .hero-inner { grid-template-columns: 1fr 320px; gap: 56px; }
    /* PC CTA 표시 */
    .hero-actions   { display: flex; }
    .hero-tel-inline { display: flex; }
    /* 모바일 전용 버튼 숨김 */
    .phone-btn-bottom { display: none !important; }
    .hero-call-full   { display: none !important; }
    /* 폰 목업 크기 */
    .phone-mockup { width: 270px; }
    .phone-screen  { width: 242px; height: 500px; }
    .phone-iframe-wrap { width: 390px; height: 920px; transform: scale(0.621); }
    .phone-iframe-wrap iframe { width: 390px; height: 920px; }
    /* SNS 행 데스크톱 정렬 */
    .hero-sns-row { align-self: center; }
}

/* ── 통계 바 ──────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}
.stats-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: .75rem; color: var(--gray-500); margin-top: 2px; }



/* ── 차별점 ───────────────────────────────────────── */
.diff { background: var(--navy); color: var(--white); }
.diff .section-title { color: var(--white); }
.diff .section-desc { color: rgba(255,255,255,.65); }
.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
}
.diff-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}
.diff-item:hover { background: rgba(255,255,255,.1); border-color: rgba(232,160,32,.4); }
.diff-check {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: rgba(232,160,32,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: .9rem;
    margin-top: 1px;
}
.diff-title { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.diff-desc { font-size: .83rem; color: rgba(255,255,255,.6); }

@media (min-width: 768px) {
    .diff-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 신청안내 배너 ──────────────────────────────────── */
.apply-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
    padding: 56px 0;
}
.apply-banner-sub {
    font-size: .82rem; color: rgba(255,255,255,.6);
    letter-spacing: .08em; margin: 0 0 10px;
}
.apply-banner-title {
    font-size: clamp(1.2rem, 3.5vw, 1.7rem);
    font-weight: 800; color: #fff; margin: 0 0 24px;
}
.apply-banner-btn {
    display: inline-block;
    background: var(--gold); color: var(--navy);
    border: none; border-radius: 8px;
    padding: 14px 36px; font-size: 1rem; font-weight: 800;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 16px rgba(232,160,32,.35);
}
.apply-banner-btn:hover { opacity: .88; transform: translateY(-2px); }

/* ── 요금 ─────────────────────────────────────────── */
.pricing { background: var(--gray-50); }
.pricing-card {
    max-width: 560px;
    margin: 40px auto 0;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.pricing-header {
    background: var(--navy);
    padding: 32px 36px;
    text-align: center;
    color: var(--white);
}
.pricing-header .label { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.price-main { font-size: 3rem; font-weight: 900; color: var(--white); line-height: 1; }
.price-main sub { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.6); }
.price-main sup { font-size: 1.2rem; }
.price-note { font-size: .83rem; color: rgba(255,255,255,.55); margin-top: 8px; }
.pricing-body { padding: 32px 36px; }
.pricing-feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature-list li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--gray-700); }
.pricing-feature-list li::before { content: '✓'; color: var(--gold); font-weight: 900; flex-shrink: 0; }
.pricing-actions { display: flex; gap: 12px; flex-direction: column; }

@media (min-width: 480px) {
    .pricing-actions { flex-direction: row; }
    .pricing-actions .btn { flex: 1; }
}

/* ── 프로세스 ─────────────────────────────────────── */
.process { background: var(--white); }
.process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    position: relative;
}
.step-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--navy);
    color: var(--white);
    font-size: .85rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 12px;
}
.step-title { font-size: .95rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.step-desc { font-size: .82rem; color: var(--gray-500); }

@media (min-width: 768px) {
    .process-steps { grid-template-columns: repeat(4, 1fr); }
}

/* ── FAQ ──────────────────────────────────────────── */
.faq { background: var(--gray-50); }
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
}
.faq-q .arrow { flex-shrink: 0; transition: transform var(--transition); font-size: 1rem; color: var(--gold); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: .88rem; color: var(--gray-500); line-height: 1.8; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.faq-item.open .faq-a { display: block; }

/* ── CTA 섹션 ─────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    padding: 72px 0;
    text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--navy-dark); margin-bottom: 12px; }
.cta-section p { font-size: 1rem; color: rgba(0,35,102,.7); margin-bottom: 32px; }
.cta-section .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cta-section .btn-primary:hover { background: var(--navy-dark); }

/* ── 푸터 ─────────────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.55);
    padding: 40px 0;
    font-size: .82rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    line-height: 1;
}
.footer-logo .logo-main {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .01em;
}
.footer-logo .logo-domain {
    color: var(--gold);
    font-size: .88rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: .06em;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,.25);
}
.footer-logo .logo-sub {
    font-size: .68rem;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
}
/* 구 span 호환 */
.footer-logo > span {
    color: var(--gold);
    font-size: .92rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: .06em;
    opacity: 1;
    margin-left: 9px;
    padding-left: 9px;
    border-left: 1px solid rgba(255,255,255,.2);
    line-height: 1;
}
.footer-info { line-height: 1.9; }
.footer-info a { color: var(--gold); text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 768px) {
    .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ── 폼 (apply.php 공용) ──────────────────────────── */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}
.form-card-header { background: var(--navy); padding: 28px 36px; }
.form-card-header h2 { font-size: 1.4rem; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.form-card-header p { color: rgba(255,255,255,.65); font-size: .88rem; }
.form-card-body { padding: 32px 36px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.form-label .req { color: var(--gold-dark); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .92rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}
.form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0,35,102,.1);
}
.form-control.error { border-color: #dc2626; }
.form-control.success { border-color: #16a34a; }
.form-hint { font-size: .78rem; color: var(--gray-500); margin-top: 4px; }
.form-hint.error-msg { color: #dc2626; }
.form-hint.success-msg { color: #16a34a; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-2 .form-group { margin-bottom: 0; }
.subdomain-row { display: flex; gap: 10px; align-items: flex-start; }
.subdomain-row .form-control { flex: 1; }
.subdomain-check-btn {
    flex-shrink: 0;
    padding: 12px 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.subdomain-check-btn:hover { background: var(--navy-mid); }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem; color: var(--gray-700); cursor: pointer;
    background: var(--gray-100); border-radius: var(--radius-sm);
    padding: 8px 14px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    user-select: none;
}
.checkbox-label input { accent-color: var(--navy); }
.checkbox-label:has(input:checked) { background: rgba(0,35,102,.07); border-color: var(--navy); color: var(--navy); font-weight: 700; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-question {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}
.privacy-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: .8rem;
    color: var(--gray-500);
    max-height: 100px;
    overflow-y: auto;
    margin-bottom: 10px;
    line-height: 1.7;
}
.agree-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--gray-700); }
.agree-label input { accent-color: var(--navy); width: 18px; height: 18px; }

/* 에러/성공 메시지 */
.alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: .88rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* 완료 페이지 */
.complete-card {
    max-width: 560px;
    margin: 80px auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 52px 44px;
    text-align: center;
}
.complete-icon { font-size: 4rem; margin-bottom: 20px; }
.complete-refno {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 10px 24px;
    border-radius: 99px;
    margin: 16px 0;
}
.process-visual { display: flex; justify-content: center; gap: 0; margin: 28px 0; }
.pv-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pv-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.pv-circle.done { background: var(--gold); color: var(--navy-dark); }
.pv-circle.active { background: var(--navy); color: var(--white); box-shadow: 0 0 0 4px rgba(0,35,102,.15); }
.pv-circle.future { background: var(--gray-200); color: var(--gray-500); }
.pv-label { font-size: .68rem; color: var(--gray-500); font-weight: 600; text-align: center; max-width: 60px; line-height: 1.3; }
.pv-line { width: 32px; height: 2px; background: var(--gray-200); align-self: flex-start; margin-top: 17px; }
.pv-line.done { background: var(--gold); }

/* ── Hero 모바일 중앙 정렬 + 간격 조정 (768px 미만) ─── */
/* ── 햄버거 버튼 ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 18px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 드로어 ── */
.mobile-nav {
    display: none;
    position: fixed; top: 64px; right: 0;
    width: 260px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--navy);
    border-left: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-radius: 0 0 0 12px;
    z-index: 1100;
    padding: 8px 0 32px;
    box-shadow: -4px 8px 24px rgba(0,0,0,.35);
}
.mobile-nav.open { display: block; }
.mobile-nav-close {
    display: none;
}
.mobile-nav-links {
    list-style: none;
    margin: 0; padding: 0;
}
.mobile-nav-links li {
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-links li:last-child { border-bottom: none; }
.mobile-nav-links a,
.mobile-nav-links button {
    display: block; width: 100%;
    padding: 14px 20px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .9rem; font-weight: 600;
    background: none; border: none;
    text-align: left; cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s;
}
.mobile-nav-links a:hover,
.mobile-nav-links button:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav-links .mobile-cta {
    color: var(--gold); font-weight: 700;
}
.mobile-nav-group-label {
    font-size: .65rem; font-weight: 800;
    color: rgba(255,255,255,.35);
    letter-spacing: .1em; text-transform: uppercase;
    padding: 12px 20px 4px;
}
.mobile-nav-cta-wrap {
    padding: 14px 16px 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 4px;
}
.mobile-nav-apply-btn {
    display: block;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 800 !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: .9rem;
    transition: opacity .15s;
}
.mobile-nav-apply-btn:hover { opacity: .88; }
.mobile-nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    z-index: 1050;
    background: rgba(0,0,0,.3);
}
.mobile-nav-backdrop.open { display: block; }

@media (max-width: 767px) {
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .hero-content {
        text-align: center;
        align-items: center;
    }
    .hero-title .gold {
        display: block;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-inner {
        gap: 20px;
    }
    .hero-sub {
        margin-bottom: 0;
    }
}

/* ── PC 전용 Hero 강화 (768px 이상) ──────────────────── */
@media (min-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 96px;
        min-height: 600px;
        display: flex;
        align-items: center;
    }
    .hero > .container { width: 100%; }
    .hero-content {
        justify-content: center;
        padding-right: 12px;
    }
    .hero-title {
        font-size: clamp(2rem, 3.5vw, 3.2rem);
    }
    .hero-sub {
        margin-bottom: 32px;
        font-size: 1rem;
    }
}

/* ── 반응형 보정 ──────────────────────────────────── */
@media (max-width: 479px) {
    section { padding: 52px 0; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-card-body { padding: 24px 20px; }
    .form-card-header { padding: 22px 20px; }
    .pricing-body { padding: 24px 24px; }
    .pricing-header { padding: 24px 24px; }
    .complete-card { margin: 32px 16px; padding: 36px 24px; }
}
