:root {
    --mp: #3b48cc;
    --mm: #26d0ce;
    --mb: #0f172a;
    --mg: #64748b;
    --ml: #f4f5f9;
    --mw: #ffffff;
}
.content-main .section-main { padding-top: 0 !important; }
.content-main .m-sec { padding: 52px 20px !important; background: #fff; box-sizing: border-box; }
.content-main .m-sec.bg-dots {
    background-color: #f8fafc !important;
}
.content-main .m-sec.m-dark { background: #0f1016 !important; }
/* bundle.css .content-main p { font-size:18px } 오버라이드 */
.content-main .m-sec p { font-size: 0.9rem !important; line-height: 1.6; }
.m-sec-hd { text-align: center; margin-bottom: 28px; }
.m-sec-hd h2 { font-size: 1.65rem; font-weight: 800; color: var(--mb); margin-bottom: 10px; letter-spacing: -0.5px; line-height: 1.3; }
.m-sec-hd p { font-size: 0.9rem !important; color: var(--mg); line-height: 1.6; margin: 0; }
.m-badge { display: inline-block; background: rgba(59,72,204,0.08); color: var(--mp); padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.m-badge.dk { color: #fff; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }

/* fade-up */
.mf { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.mf.mv { opacity: 1; transform: translateY(0); }
.mf.d1 { transition-delay: 0.08s; }
.mf.d2 { transition-delay: 0.16s; }
.mf.d3 { transition-delay: 0.24s; }

/* ① 다이애드는 다릅니다 */
.m-stats-bar {
    background: #0A0F1A; border-radius: 18px; padding: 28px 16px; margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.m-stats-bar::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
}
.m-stats-row { display: flex; justify-content: space-around; position: relative; z-index: 1; }
.m-stat { text-align: center; }
.m-stat h4 { font-size: 2rem; font-weight: 900; color: #fff; margin: 0; line-height: 1; letter-spacing: -1px; display: inline; }
.m-stat .su { font-size: 1.1rem; font-weight: 800; color: #26d0ce; }
.m-stat p { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin: 6px 0 0; font-weight: 600; }

.m-vision-list { display: flex; flex-direction: column; gap: 10px; }
.m-vision-card {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
    border-radius: 18px; padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.5);
}
.m-vision-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--mb); margin: 0 0 7px; }
.m-vision-card p { font-size: 0.88rem; color: var(--mg); line-height: 1.6; margin: 0; }

/* ② 주요 광고 매체 */
.m-agency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.m-agency-item {
    background: #fff; border-radius: 14px; border: 1px solid rgba(0,0,0,0.05);
    padding: 18px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); text-decoration: none; cursor: pointer;
}
.m-agency-item.mf { transition-duration: 0.4s; }
.m-agency-grid .m-agency-item:nth-child(1) { transition-delay:   0ms; }
.m-agency-grid .m-agency-item:nth-child(2) { transition-delay:  35ms; }
.m-agency-grid .m-agency-item:nth-child(3) { transition-delay:  70ms; }
.m-agency-grid .m-agency-item:nth-child(4) { transition-delay: 105ms; }
.m-agency-grid .m-agency-item:nth-child(5) { transition-delay: 140ms; }
.m-agency-grid .m-agency-item:nth-child(6) { transition-delay: 175ms; }
.m-agency-grid .m-agency-item:nth-child(7) { transition-delay: 210ms; }
.m-agency-grid .m-agency-item:nth-child(8) { transition-delay: 245ms; }
.m-agency-grid .m-agency-item:nth-child(9) { transition-delay: 280ms; }
.m-agency-logo { height: 30px; display: flex; align-items: center; justify-content: center; }
.m-agency-logo img { max-height: 26px; max-width: 110px; width: auto; object-fit: contain; }
.m-agency-logo img.daangn-logo { max-height: 50px; }
.m-agency-logo img.naver-logo { max-height: 18px; }
.m-agency-logo.naver-gfa { gap: 6px; }
.m-agency-logo-text { font-size: 1.1rem; font-weight: 900; }
.m-gfa-badge { font-size: calc(1rem + 2px); font-weight: 900; background: none; color: #000; padding: 0; letter-spacing: -0.3px; line-height: 1; flex-shrink: 0; }
.m-partner-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.65rem; font-weight: 700; color: #1e40af;
    background: rgba(59,130,246,0.07); border: 1px solid rgba(59,130,246,0.2);
    padding: 3px 9px; border-radius: 20px;
}
.m-partner-badge::before { content: '✓'; font-size: 0.6rem; font-weight: 900; }
.m-agency-label { font-size: 0.68rem; color: var(--mg); text-align: center; margin-top: auto; }

/* ③ 기술 섹션 */
.m-sol-stats {
    background: linear-gradient(135deg, #3b48cc 0%, #26d0ce 100%);
    border-radius: 16px; padding: 22px 12px; display: flex; justify-content: space-around;
    margin-bottom: 20px; color: #fff;
}
.m-sol-stat { text-align: center; }
.m-sol-stat h5 { font-size: 1.45rem; font-weight: 900; margin: 0 0 4px; letter-spacing: -0.5px; }
.m-sol-stat span { font-size: 0.7rem; opacity: 0.85; font-weight: 600; }

.m-bento-list { display: flex; flex-direction: column; gap: 10px; }
.m-bento-item {
    background: #fff; border-radius: 18px; padding: 20px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04);
    display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
    text-decoration: none;
}
.m-bento-icon {
    width: 44px; height: 44px; flex-shrink: 0; background: var(--ml); border-radius: 13px;
    display: flex; align-items: center; justify-content: center; color: var(--mp);
}
.m-bento-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.m-bento-content h4 { font-size: 1rem; font-weight: 800; color: var(--mb); margin: 0 0 5px; }
.m-bento-content p { font-size: 0.85rem; color: var(--mg); line-height: 1.5; margin: 0; }

/* ④ 노하우 플랜 탭 */
.m-plan-tabs {
    display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px;
    scrollbar-width: none;
}
.m-plan-tabs::-webkit-scrollbar { display: none; }
.m-plan-tab {
    flex-shrink: 0; padding: 9px 16px; border-radius: 30px; border: none;
    background: var(--ml); font-size: 0.85rem; font-weight: 700; cursor: pointer;
    transition: all 0.25s; color: var(--mg); white-space: nowrap;
}
.m-plan-tab.active { background: var(--mp); color: #fff; box-shadow: 0 4px 12px rgba(59,72,204,0.3); }
.m-plan-panel { display: none; }
.m-plan-panel.active { display: block; animation: mFadeIn 0.3s ease; }
@keyframes mFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.m-plan-card {
    background: #fff; border-radius: 18px; padding: 22px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04);
}
.m-plan-lbl {
    display: inline-block; background: rgba(59,72,204,0.08); color: var(--mp);
    padding: 4px 12px; border-radius: 20px; font-weight: 800; font-size: 0.78rem; margin-bottom: 10px;
}
.m-plan-card h4 { font-size: 1.2rem; font-weight: 900; color: var(--mb); margin-bottom: 10px; letter-spacing: -0.3px; line-height: 1.3; }
.m-plan-hl {
    display: flex; align-items: center; background: #f8f9fc; border: 1px solid #edf0f5;
    padding: 11px 14px; border-radius: 11px; font-weight: 700; font-size: 0.9rem;
    color: var(--mp); margin-bottom: 10px;
}
.m-hl-dot { width: 7px; height: 7px; background: var(--mp); border-radius: 50%; margin-right: 9px; flex-shrink: 0; box-shadow: 0 0 7px rgba(59,72,204,0.4); }
.m-plan-card p { font-size: 0.88rem; line-height: 1.7; color: var(--mg); margin: 0; }

/* ⑤ KPI 전략 */
.m-strategy-list { display: flex; flex-direction: column; gap: 10px; }
.m-strategy-item {
    background: #fff; border-radius: 16px; padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04);
}
.m-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; background: linear-gradient(135deg, #3b48cc, #26d0ce);
    color: #fff; border-radius: 50%; font-weight: 900; font-size: 0.85rem; margin-bottom: 9px;
}
.m-strategy-item h4 { font-size: 1rem; font-weight: 800; color: var(--mb); margin: 0 0 7px; }
.m-strategy-item p { font-size: 0.85rem; color: var(--mg); line-height: 1.6; margin: 0; }
.m-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; }
.m-tag { background: rgba(59,72,204,0.07); color: var(--mp); padding: 3px 9px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; }

/* ⑥ 진심 다크 섹션 */
.m-sec.m-dark { background: #0f1016; position: relative; overflow: hidden; }
.m-aurora-1 { position: absolute; top: -10%; left: -10%; width: 220px; height: 220px; background: rgba(59,72,204,0.3); filter: blur(55px); border-radius: 50%; animation: maMove 15s infinite alternate ease-in-out; }
.m-aurora-2 { position: absolute; bottom: -10%; right: -10%; width: 180px; height: 180px; background: rgba(38,208,206,0.2); filter: blur(48px); border-radius: 50%; animation: maMove 20s infinite alternate-reverse ease-in-out; }
@keyframes maMove { 0% { transform: translate(0,0); } 100% { transform: translate(36px,28px); } }
.m-dark-wrap { position: relative; z-index: 2; }
.m-dark .m-sec-hd h2 { color: #fff; }
.m-dark .m-sec-hd p { color: rgba(255,255,255,0.7); }

.m-cta-box {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; padding: 26px 18px; text-align: center; margin-bottom: 18px;
    backdrop-filter: blur(10px);
}
.m-cta-box h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.m-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.72); margin-bottom: 18px; line-height: 1.6; }
.m-cta-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.m-btn { padding: 12px 22px; border-radius: 50px; font-weight: 700; font-size: 0.92rem; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.m-btn.pr { background: var(--mp); color: #fff; }
.m-btn.sc { background: #fff; color: var(--mb); }

.m-svc-list { display: flex; flex-direction: column; gap: 10px; }
.m-svc-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 18px; backdrop-filter: blur(10px);
    display: flex; align-items: flex-start; gap: 13px;
}
.m-svc-icon {
    width: 42px; height: 42px; flex-shrink: 0; background: rgba(255,255,255,0.07);
    border-radius: 11px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.m-svc-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.85); stroke-width: 1.5; fill: none; }
.m-svc-text h5 { font-size: 0.95rem; font-weight: 800; color: #fff; margin: 0 0 5px; }
.m-svc-text p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }

/* ── 플로팅 서치 패널 ── */
.m-search-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45); z-index: 10003;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.m-search-overlay.on { opacity: 1; visibility: visible; pointer-events: auto; }
.m-sw {
    position: fixed; bottom: 20px; left: 0; width: 100%;
    z-index: 990; display: flex; flex-direction: column; align-items: center;
    padding: 0 14px; box-sizing: border-box; pointer-events: none;
    animation: mSwBounce 0.9s cubic-bezier(0.34,1.56,0.64,1) 0.5s both;
}
@keyframes mSwBounce {
    0%   { opacity:0; transform:translateY(70px); }
    55%  { opacity:1; transform:translateY(-10px); }
    75%  { transform:translateY(5px); }
    88%  { transform:translateY(-3px); }
    100% { transform:translateY(0); }
}
.m-sw.focused { z-index: 10004; }

/* 알약 배너 */
.m-micro-banner {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,0.93); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 5px 14px 5px 6px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    text-decoration: none; margin-bottom: 10px; pointer-events: auto; transition: margin-bottom 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 8px 20px rgba(59,72,204,0.1), inset 0 0 0 1px rgba(59,72,204,0.18);
    animation: mBannerGlow 3s infinite alternate;
}
@keyframes mBannerGlow {
    0%   { box-shadow: 0 8px 20px rgba(59,72,204,0.05), inset 0 0 0 1px rgba(59,72,204,0.12); }
    100% { box-shadow: 0 12px 28px rgba(38,208,206,0.2), inset 0 0 0 1px rgba(38,208,206,0.38); }
}
.m-free-badge {
    display: flex; align-items: center; gap: 3px;
    background: linear-gradient(135deg, #3b48cc, #26d0ce);
    color: #fff; font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 30px;
    box-shadow: 0 2px 8px rgba(38,208,206,0.3);
}
.m-free-badge svg { width: 11px; height: 11px; fill: #fff; animation: mSparkle 4s linear infinite; }
@keyframes mSparkle { 0%,100% { transform:scale(1) rotate(0deg); } 50% { transform:scale(1.2) rotate(180deg); } }
.m-banner-text { color: #1a1a1a; letter-spacing: -0.02em; }
.m-arr-icon { width: 14px; height: 14px; stroke: #888; stroke-width: 2.5; fill: none; flex-shrink: 0; }

/* 글래스 패널 */
.m-glass {
    background: rgba(255,255,255,0.9); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1.5px solid rgba(59,72,204,0.32); border-radius: 50px; padding: 7px 7px;
    width: 100%; pointer-events: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,0.13), inset 0 0 0 1px rgba(255,255,255,0.8);
    transition: border-radius 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s, transform 0.4s, box-shadow 0.4s, border-color 0.4s;
    animation: mGlassGlow 3s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes mGlassGlow {
    0%   { border-color: rgba(59,72,204,0.32);  box-shadow: 0 16px 40px rgba(0,0,0,0.13), inset 0 0 0 1px rgba(255,255,255,0.8), 0 0 14px rgba(59,72,204,0.08); }
    100% { border-color: rgba(38,208,206,0.58); box-shadow: 0 16px 40px rgba(0,0,0,0.13), inset 0 0 0 1px rgba(255,255,255,0.8), 0 0 22px rgba(38,208,206,0.2); }
}
.m-sw.focused .m-glass {
    border-radius: 28px; padding: 16px; animation: none;
    border-color: rgba(38,208,206,0.7); transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.22), 0 0 0 1.5px rgba(38,208,206,0.55), 0 0 26px rgba(38,208,206,0.22), inset 0 0 0 1px rgba(255,255,255,1);
}
.m-glass.attention {
    animation: mGlassPulse 1.5s ease-in-out forwards !important;
}
@keyframes mGlassPulse {
    0%   { border-color: rgba(59,72,204,0.32); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
    20%  { border-color: rgba(38,208,206,1); box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 0 0 5px rgba(38,208,206,0.15), 0 0 34px rgba(38,208,206,0.5); }
    100% { border-color: rgba(59,72,204,0.32); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
}
.m-search-row {
    display: flex; align-items: center; height: 46px; padding: 0 4px 0 14px; width: 100%;
}
.m-search-row > svg { width: 18px; height: 18px; flex-shrink: 0; stroke: #999; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-search-input {
    flex: 1; border: none !important; background: transparent; padding: 0 10px;
    font-size: 0.95rem; font-weight: 600; color: #111; outline: none !important; box-shadow: none !important;
}
.m-search-input::placeholder { color: #bbb; font-weight: 500; }
.m-btn-search {
    background: linear-gradient(135deg, #3b48cc, #26d0ce); color: #fff; border: none;
    border-radius: 35px; padding: 0 20px; height: 38px; font-size: 0.88rem; font-weight: 700;
    cursor: pointer; white-space: nowrap; flex-shrink: 0; margin-left: auto;
    box-shadow: 0 4px 12px rgba(59,72,204,0.3); transition: transform 0.2s;
}
.m-btn-search:active { transform: scale(0.96); }

/* 트렌딩 키워드 */
.m-keywords {
    max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s, visibility 0.3s, margin 0.3s;
}
.m-sw.focused .m-micro-banner { margin-bottom: 20px; }
.m-sw.focused .m-keywords { max-height: 50px; opacity: 1; visibility: visible; margin-top: 12px; }
.m-kw-outer {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.m-kw-track { display: flex; gap: 7px; width: max-content; animation: mKwScroll 28s linear infinite; }
.m-kw-track:hover { animation-play-state: paused; }
@keyframes mKwScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.m-kw-tag {
    background: rgba(59,72,204,0.07); color: #3b48cc; padding: 5px 12px;
    border-radius: 7px; text-decoration: none; font-weight: 700; font-size: 0.78rem;
    border: 1px solid rgba(59,72,204,0.13); white-space: nowrap; flex-shrink: 0;
}

/* 마지막 섹션 하단 여백 (플로팅 패널에 가리지 않도록) */
.m-sec:last-of-type { padding-bottom: 100px; }
/* 탑버튼·빠른상담: 플로팅 패널 위로 이동, 우측 겹침 방지 */
.scroll_top { bottom: 140px !important; right: 14px !important; z-index: 1000 !important; }
.free_cs    { bottom: 195px !important; right: 14px !important; z-index: 1000 !important; }

/* ⑦ 게시판 */
.m-boards-wrap { display: flex; flex-direction: column; gap: 14px; }
.m-board-box {
    background: #fff; border-radius: 18px; padding: 22px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04);
}
.m-board-hd {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; padding-bottom: 11px; border-bottom: 2px solid rgba(0,0,0,0.07);
}
.m-board-hd a.ttl { font-size: 1.05rem; font-weight: 900; color: #111; text-decoration: none; }
.m-board-hd a.more { font-size: 0.74rem; font-weight: 700; color: #666; text-decoration: none; padding: 5px 11px; background: var(--ml); border-radius: 20px; }
.m-board-list { list-style: none; padding: 0; margin: 0; }
.m-board-list li { border-bottom: 1px solid rgba(0,0,0,0.04); }
.m-board-list li:last-child { border-bottom: none; }
.m-board-list a { display: flex; align-items: center; gap: 9px; padding: 12px 2px; text-decoration: none; }
.m-board-list .nb { flex-shrink: 0; font-size: 0.67rem; font-weight: 800; color: var(--mp); background: rgba(59,72,204,0.07); padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.m-board-list .nt { flex: 1; font-size: 0.85rem; font-weight: 600; color: #333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-board-list .nd { flex-shrink: 0; font-size: 0.72rem; color: #9ca3af; }
