/* ============================================
   최재용 원장 공식 프로필 — 미래지향적 다크 테마
   ============================================ */
:root {
    --bg-dark: #070b14;
    --bg-panel: #0d1424;
    --bg-card: #111a2e;
    --border: rgba(94, 234, 212, 0.12);
    --text: #e6edf7;
    --text-dim: #9aa8bf;
    --accent: #34d9c3;
    --accent-2: #4f8cff;
    --accent-grad: linear-gradient(120deg, #34d9c3, #4f8cff);
    --gold: #f5c463;
    --radius: 16px;
    --maxw: 1180px;
    --font: 'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mt { margin-top: 1.2rem; }

/* ---------- 내비게이션 ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(7,11,20,.92); }
.nav-container {
    max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-mark {
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 10px; background: var(--accent-grad);
    color: #04121a; font-weight: 900; font-size: .8rem; letter-spacing: .5px;
}
.logo-text { color: var(--text); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.logo-text small { display: block; color: var(--text-dim); font-size: .68rem; font-weight: 400; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
    color: var(--text-dim); font-size: .92rem; font-weight: 500;
    padding: 8px 13px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--accent); text-decoration: none; background: rgba(52,217,195,.08); }
.nav-cta {
    background: var(--accent-grad); color: #04121a !important; font-weight: 700; margin-left: 8px;
}
.nav-cta:hover { opacity: .9; background: var(--accent-grad); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ---------- 히어로 ---------- */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(79,140,255,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(79,140,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 30% 20%, black 40%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .35; }
.glow-1 { width: 480px; height: 480px; background: #14b8a6; top: -140px; left: -120px; }
.glow-2 { width: 420px; height: 420px; background: #2563eb; bottom: -160px; right: -100px; }
.hero-container {
    position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .85rem; font-weight: 600; color: var(--gold);
    border: 1px solid rgba(245,196,99,.35); background: rgba(245,196,99,.08);
    padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; line-height: 1.15;
    background: linear-gradient(120deg, #fff 30%, #7ee9d8 70%, #6ea4ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 14px;
}
.hero-h1-sub {
    display: block; font-size: clamp(.95rem, 2vw, 1.15rem); font-weight: 500;
    color: var(--text-dim); -webkit-text-fill-color: var(--text-dim); margin-top: 12px; line-height: 1.5;
}
.answer-nugget {
    font-size: 1.06rem; color: var(--text);
    border-left: 3px solid var(--accent);
    background: rgba(52,217,195,.06);
    padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
    margin: 22px 0 12px;
}
.answer-nugget strong { color: var(--accent); }
.freshness-signal { font-size: .82rem; color: var(--text-dim); margin-bottom: 26px; }
.freshness-signal i { color: var(--accent); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 30px; border-radius: 12px; font-weight: 700; font-size: 1rem;
    transition: transform .2s, box-shadow .2s; text-decoration: none !important;
    border: 0; cursor: pointer; font-family: var(--font);
}
.btn-primary { background: var(--accent-grad); color: #04121a; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(52,217,195,.3); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid rgba(230,237,247,.25); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.hero-stats .stat {
    background: rgba(13,20,36,.7); border: 1px solid var(--border);
    border-radius: 12px; padding: 14px 12px; text-align: center;
}
.hero-stats dt { font-size: .72rem; color: var(--text-dim); order: 2; }
.hero-stats dd { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.hero-image { position: relative; margin: 0; }
.hero-image img {
    border-radius: 20px; border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.hero-image figcaption { font-size: .78rem; color: var(--text-dim); text-align: center; margin-top: 10px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 96px 0; }
.section:nth-of-type(even) { background: var(--bg-panel); }
.section-eyebrow {
    font-size: .8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 14px; }
.section-lead { color: var(--text-dim); font-size: 1.05rem; max-width: 760px; margin-bottom: 44px; }

/* ---------- 주요 이력 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px;
}
.about-card.wide { grid-column: 1 / -1; }
.about-card h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.about-card ul { list-style: none; }
.about-card li { padding: 7px 0 7px 22px; position: relative; color: var(--text); }
.about-card li::before { content: "▸"; position: absolute; left: 2px; color: var(--accent-2); }
.client-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 12px; }

/* ---------- 저서 ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 40px; }
.book-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; transition: transform .25s, border-color .25s;
}
.book-card:hover { transform: translateY(-6px); border-color: rgba(52,217,195,.4); }
.book-cover {
    aspect-ratio: 3/4; border-radius: 10px; margin-bottom: 18px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px;
    text-align: center; font-family: 'Noto Serif KR', serif; font-weight: 700; font-size: 1.15rem;
    line-height: 1.4; padding: 18px; color: #fff;
}
.book-cover i { font-size: 2rem; opacity: .9; }
.book-cover small { font-size: .8rem; font-weight: 400; opacity: .85; }
.accent-governance { background: linear-gradient(150deg, #0f3f3a, #123a63); }
.accent-click { background: linear-gradient(150deg, #402a10, #6b2f1a); }
.accent-geo { background: linear-gradient(150deg, #10304f, #26206b); }
.accent-claude { background: linear-gradient(150deg, #3c2a12, #34204f); }
.book-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.book-year { font-size: .8rem; color: var(--gold); margin-bottom: 8px; }
.book-card p:last-child { font-size: .9rem; color: var(--text-dim); }
.book-photo { max-width: 320px; margin: 0 auto; text-align: center; }
.book-photo img { border-radius: 12px; border: 1px solid var(--border); margin: 0 auto; }
.book-photo figcaption { font-size: .78rem; color: var(--text-dim); margin-top: 10px; }

/* ---------- 교육 프로그램 ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.program-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; transition: transform .25s, border-color .25s;
}
.program-card:hover { transform: translateY(-6px); border-color: rgba(79,140,255,.45); }
.program-icon {
    font-size: 1.5rem; color: #04121a; background: var(--accent-grad);
    width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 14px; margin-bottom: 18px;
}
.program-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.program-target { font-size: .82rem; color: var(--accent); margin-bottom: 10px; font-weight: 600; }
.program-card > p:nth-of-type(2) { font-size: .92rem; color: var(--text-dim); margin-bottom: 12px; }
.program-meta { font-size: .8rem; color: var(--gold); }
.program-cta { margin-top: 34px; text-align: center; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 20px 24px; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400;
    transition: transform .25s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { font-size: 1.02rem; font-weight: 700; }
.faq-item > p { padding: 0 24px 22px; color: var(--text-dim); font-size: .95rem; }
.faq-item[open] { border-color: rgba(52,217,195,.4); }

/* ---------- 언론보도 ---------- */
.press-list { list-style: none; max-width: 900px; }
.press-list li { margin-bottom: 12px; }
.press-list a {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 22px; color: var(--text);
    transition: border-color .2s, transform .2s; text-decoration: none !important;
}
.press-list a:hover { border-color: rgba(52,217,195,.45); transform: translateX(6px); }
.press-source {
    flex-shrink: 0; font-size: .75rem; font-weight: 700; color: var(--accent-2);
    border: 1px solid rgba(79,140,255,.35); border-radius: 999px; padding: 4px 12px;
}
.press-title { flex: 1; font-size: .95rem; }
.press-list i { color: var(--text-dim); font-size: .8rem; }

/* ---------- 문의 ---------- */
.contact-cta-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px;
}
.contact-cta-card {
    display: block; text-align: center; text-decoration: none !important;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 28px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.contact-cta-card:hover {
    transform: translateY(-6px); border-color: rgba(52,217,195,.5);
    box-shadow: 0 14px 40px rgba(52,217,195,.15);
}
.contact-cta-card i {
    font-size: 1.6rem; color: #04121a; background: var(--accent-grad);
    width: 60px; height: 60px; display: inline-grid; place-items: center;
    border-radius: 16px; margin-bottom: 18px;
}
.contact-cta-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 10px; }
.contact-cta-value { font-size: 1.45rem; font-weight: 900; color: var(--accent); margin-bottom: 8px; word-break: break-all; }
.contact-cta-desc { font-size: .85rem; color: var(--text-dim); }
.contact-info { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 6px 0; color: var(--text-dim); }
.contact-info li i { color: var(--accent-2); width: 22px; }
.contact-photo { margin-top: 26px; }
.contact-photo img { border-radius: 12px; border: 1px solid var(--border); margin: 0 auto; }
.contact-photo figcaption { font-size: .78rem; color: var(--text-dim); margin-top: 8px; }

/* ---------- 푸터 ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-panel); padding: 48px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-logo { font-size: 1.3rem; font-weight: 900; }
.footer-logo small { color: var(--text-dim); font-weight: 400; font-size: .8rem; }
.footer-grid p { color: var(--text-dim); font-size: .88rem; }
.footer-update { margin-top: 8px; font-size: .78rem !important; color: var(--accent) !important; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--text-dim); font-size: .9rem; }
.footer-grid nav a:hover { color: var(--accent); }
.footer-copy { text-align: center; color: var(--text-dim); font-size: .8rem; border-top: 1px solid var(--border); padding-top: 22px; max-width: var(--maxw); margin: 0 auto; }

/* ---------- 스크롤 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-image { max-width: 420px; margin: 0 auto; order: -1; }
    .about-grid, .contact-cta-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .nav-menu {
        position: fixed; top: 68px; right: 0; bottom: 0; width: min(300px, 80vw);
        flex-direction: column; align-items: stretch; gap: 6px;
        background: rgba(7,11,20,.97); backdrop-filter: blur(16px);
        border-left: 1px solid var(--border); padding: 26px 20px;
        transform: translateX(100%); transition: transform .3s ease;
    }
    .nav-menu.open { transform: none; }
    .nav-link { padding: 13px 16px; font-size: 1rem; }
    .nav-cta { margin-left: 0; text-align: center; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section { padding: 70px 0; }
    .form-row { grid-template-columns: 1fr; }
}
