:root{--bg:#f7fafc;--paper:#fff;--ink:#172033;--muted:#5c6b7d;--line:#d7e0ea;--blue:#2563eb;--green:#159957;--orange:#f28c28;--red:#e84a5f;--purple:#7c3aed;--shadow:0 24px 70px rgba(26,41,61,.14)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{position:relative;overflow:hidden;background:var(--bg);color:var(--ink);font-family:"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif}button{font:inherit}h1,h2,h3,p,figure{margin:0}
.deck{position:absolute;top:50%;left:50%;width:1920px;height:1080px;container-type:size;overflow:hidden;transform:translate(-50%,-50%) scale(var(--deck-scale,1));transform-origin:center;background:var(--paper);box-shadow:var(--shadow)}
.slide{position:absolute;inset:0;display:none;padding:40px 44px}.slide.active{display:flex;flex-direction:column;gap:18px}.slide::before{position:absolute;inset:0 0 auto;height:12px;background:linear-gradient(90deg,var(--blue),var(--green),var(--orange));content:""}
.slide-header{position:relative;z-index:1;flex:0 0 auto}.unit{margin-bottom:6px;color:var(--blue);font-size:34px;font-weight:900}.page-ref{position:absolute;top:4px;right:0;border:2px solid var(--line);border-radius:999px;padding:8px 16px;background:#f6f8fb;color:var(--muted);font-size:23px;font-weight:900}h1{font-size:74px;line-height:1}.subtitle{margin-top:10px;color:var(--muted);font-size:30px;font-weight:800;line-height:1.3}.subtitle strong{color:var(--blue)}

/* 1. 딥러닝 전후 */
.before-after{display:grid;flex:1;min-height:0;grid-template-columns:1fr 76px 1fr;align-items:stretch;gap:16px}.before-after>article{display:flex;min-height:0;flex-direction:column;gap:18px;border:2px solid var(--line);border-top:11px solid var(--orange);border-radius:10px;padding:24px;background:#fffaf3}.before-after>article:last-child{border-top-color:var(--blue);background:#f6f9ff}.before-after header{display:flex;align-items:center;justify-content:space-between}.before-after header span{border-radius:999px;padding:8px 14px;background:#fff0da;color:#b85d0e;font-size:20px;font-weight:900}.before-after article:last-child header span{background:#eaf1ff;color:var(--blue)}.before-after h2{font-size:40px}.versus{display:grid;place-items:center;color:#8a98a9;font-size:30px;font-weight:900}
.process-line{display:grid;grid-template-columns:1fr auto 1.3fr auto 1.2fr auto .75fr;align-items:center;gap:10px}.process-line.deep{grid-template-columns:1fr auto 1.8fr auto .8fr}.process-line b,.process-line strong{display:grid;min-height:86px;place-items:center;border-radius:9px;padding:12px;background:#fff;color:var(--ink);font-size:21px;text-align:center}.process-line .human{background:#fff0da;color:#9d4d09}.process-line .machine{background:#e9f1ff;color:#174fc2}.process-line i{font-size:31px;font-style:normal;font-weight:900;color:#75869a}.process-line strong{background:#283d52;color:#fff}
.face-features{display:flex;justify-content:center;gap:12px}.face-features span{border:2px dashed #e2b276;border-radius:8px;padding:12px 17px;background:#fff;font-size:20px;font-weight:800}.feature-layers{display:flex;flex:1;min-height:150px;align-items:center;justify-content:center;gap:18px}.feature-layers span{width:108px;height:108px;border:13px double #8bb0f5;border-radius:50%;background:#eaf1ff}.feature-layers span:nth-of-type(2){width:86px;height:86px}.feature-layers span:nth-of-type(3){width:62px;height:62px}.feature-layers i{width:58px;height:4px;background:var(--blue)}.before-after article>p{margin-top:auto;border-top:2px solid var(--line);padding-top:16px;color:var(--muted);font-size:25px;font-weight:800;line-height:1.35;text-align:center}.before-after article>p strong{color:var(--blue)}

/* 2. 인공 신경망 */
.network-compare{display:grid;flex:1;min-height:0;grid-template-columns:1fr 170px 1fr;align-items:center;gap:18px}.network-compare>article{display:flex;height:100%;min-height:0;flex-direction:column;gap:18px;border:2px solid var(--line);border-radius:10px;padding:25px;background:#f9fbfd}.network-compare h2{font-size:38px;text-align:center}.network-compare article>p{margin-top:auto;color:var(--muted);font-size:24px;font-weight:800;line-height:1.4;text-align:center}.mapping{display:grid;gap:10px;place-items:center;color:var(--blue);font-size:20px;font-weight:900;text-align:center}.mapping b{font-size:54px}
.bio-network{display:flex;flex:1;min-height:240px;align-items:center;justify-content:center}.neuron{position:relative;display:grid;width:124px;height:124px;place-items:center;border:8px solid #e07a5f;border-radius:50%;background:#fff1ec}.neuron b{font-size:23px}.neuron i{position:absolute;left:-72px;width:80px;height:5px;background:#e07a5f;transform-origin:right}.neuron i:nth-child(1){transform:rotate(-32deg)}.neuron i:nth-child(2){transform:rotate(0)}.neuron i:nth-child(3){transform:rotate(32deg)}.neuron em{position:absolute;left:100%;width:90px;height:7px;background:#e07a5f}.neuron.second{margin-left:100px;border-color:#2a9d8f;background:#ecfaf6}.neuron.second i{background:#2a9d8f}.bio-network>span{z-index:2;margin-left:56px;border-radius:999px;padding:7px 11px;background:#263e51;color:#fff;font-size:17px;font-weight:900}
.artificial-network{display:grid;flex:1;min-height:240px;grid-template-columns:1fr 70px 160px 70px 1fr;align-items:center}.artificial-network>div{display:grid;gap:12px}.artificial-network div b{border-radius:7px;padding:11px;background:#eaf1ff;color:var(--blue);font-size:20px;text-align:center}.artificial-network i{height:5px;background:#9bacc0}.artificial-network strong{display:grid;aspect-ratio:1;place-items:center;border:10px solid #a8c3fa;border-radius:50%;background:#edf3ff;color:var(--blue);font-size:22px;text-align:center}.artificial-network em{display:grid;height:86px;place-items:center;border-radius:8px;background:#263e51;color:#fff;font-size:23px;font-style:normal;font-weight:900}
.definition{display:grid;grid-template-columns:260px 300px 1fr;align-items:center;gap:20px;border-radius:9px;padding:17px 24px;background:#263e51;color:#fff}.definition b{color:#a8c3fa;font-size:25px}.definition span{border-left:1px solid #637887;padding-left:20px;color:#c6d0d8;font-size:20px;font-weight:800}.definition p{font-size:22px;font-weight:800}

/* 3. 퍼셉트론 */
.perceptron-layout{display:grid;flex:1;min-height:0;grid-template-columns:1.45fr .75fr;gap:22px}.perceptron-diagram{display:grid;grid-template-columns:130px 120px 50px 210px 50px 220px 50px 150px;align-items:center;border:2px solid var(--line);border-radius:10px;padding:24px;background:#f8fbff}.inputs,.weights{display:grid;gap:18px}.inputs span{display:grid;height:60px;place-items:center;border-radius:50%;background:var(--blue);color:#fff;font-family:Georgia,serif;font-size:25px;font-weight:900}.weights span{display:grid;height:60px;place-items:center;color:#5e6f81;font-family:Georgia,serif;font-size:22px;font-weight:800}.perceptron-diagram>i{font-size:38px;font-style:normal;font-weight:900;color:var(--blue)}.weighted-sum,.activation,.output{display:grid;min-height:160px;place-items:center;border-radius:12px;padding:18px;background:#eaf1ff;text-align:center}.weighted-sum b,.activation b,.output b{font-size:26px}.weighted-sum span,.activation span,.output span{color:var(--muted);font-size:20px;font-weight:800}.activation{background:#eef9f3}.output{background:#263e51;color:#fff}.output span{color:#fff}
.term-list{display:grid;grid-template-rows:repeat(3,1fr);gap:13px}.term-list section{display:grid;grid-template-columns:68px 1fr;align-items:center;gap:16px;border-left:9px solid var(--blue);padding:17px;background:#f0f5ff}.term-list section:nth-child(2){border-color:var(--orange);background:#fff7ed}.term-list section:nth-child(3){border-color:var(--green);background:#effaf4}.term-list section>b{display:grid;width:60px;height:60px;place-items:center;border-radius:50%;background:#fff;font-family:Georgia,serif;font-size:28px}.term-list h2{font-size:27px}.term-list p{margin-top:5px;color:var(--muted);font-size:20px;font-weight:800;line-height:1.3}.threshold{display:flex;align-items:center;justify-content:center;gap:18px;border-radius:9px;padding:16px;background:#263e51;color:#fff;font-size:23px;font-weight:800}.threshold strong{border-radius:999px;padding:8px 17px;background:var(--blue)}.threshold strong:last-child{background:#788896}.threshold i{color:#9eafbd;font-style:normal}

/* 4. 다층 신경망 */
.mlp-compare{display:grid;flex:1;min-height:0;grid-template-columns:1fr 100px 1fr;align-items:stretch;gap:18px}.mlp-compare>article{display:grid;grid-template-rows:auto 1fr auto auto;gap:12px;border:2px solid var(--line);border-top:10px solid var(--orange);border-radius:10px;padding:22px;background:#fffaf3}.mlp-compare>article:last-child{border-top-color:var(--blue);background:#f6f9ff}.mlp-compare h2{font-size:35px}.mlp-compare article>strong{color:var(--blue);font-size:28px;text-align:center}.mlp-compare article>p{color:var(--muted);font-size:21px;font-weight:800;text-align:center}.change{display:grid;place-items:center;color:var(--blue);font-size:58px;font-style:normal;font-weight:900}
.linear-plot{position:relative;margin:8px 70px;border-bottom:4px solid var(--ink);border-left:4px solid var(--ink);background:linear-gradient(#eef2f5 1px,transparent 1px),linear-gradient(90deg,#eef2f5 1px,transparent 1px);background-size:54px 54px}.linear-plot span{position:absolute;width:28px;height:28px;border:4px solid #fff;border-radius:50%;box-shadow:0 2px 8px #53627166}.blue-dot{background:var(--blue)}.orange-dot{background:var(--orange)}.d1{left:18%;bottom:22%}.d2{left:32%;bottom:38%}.d3{right:20%;top:22%}.d4{right:34%;top:40%}.linear-plot i{position:absolute;left:51%;top:-5%;width:5px;height:110%;transform:rotate(-25deg);background:#263e51}
.layer-network{display:grid;grid-template-columns:1fr 90px 1.2fr 90px .8fr;align-items:center;padding:25px 55px}.layer-network>div{display:grid;gap:24px;justify-items:center}.layer-network span{display:block;width:54px;height:54px;border:7px solid #9fbaf0;border-radius:50%;background:#eef4ff}.layer-network .hidden span{border-color:#76c69c;background:#effaf4}.layer-network>i{height:5px;background:#9aabba}.layer-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.layer-roles section{display:flex;align-items:center;gap:18px;padding:15px 20px;background:#edf3ff}.layer-roles section:nth-child(2){background:#effaf4}.layer-roles section:nth-child(3){background:#fff6e9}.layer-roles b{min-width:100px;color:var(--blue);font-size:23px}.layer-roles p{font-size:20px;font-weight:800}

/* 5. 심층 신경망 */
.deep-layout{display:grid;flex:1;min-height:0;grid-template-columns:1.45fr .75fr;gap:22px}.deep-network{display:grid;grid-template-columns:1fr 60px 1fr 60px 1fr 60px 1fr 60px .8fr;align-items:center;border:2px solid var(--line);border-radius:10px;padding:24px 35px;background:#f8fbff}.layer-column{display:grid;gap:14px;justify-items:center}.layer-column h2{margin-bottom:8px;font-size:23px}.layer-column span{display:block;width:54px;height:54px;border:7px solid #9eb9ef;border-radius:50%;background:#edf3ff}.layer-column.hidden span{border-color:#72c097;background:#edf9f3}.output-layer span{border-color:#eda761;background:#fff6e9}.deep-network>i{height:4px;background:#9baebe}.deep-definitions{display:grid;grid-template-rows:repeat(2,1fr);gap:16px}.deep-definitions section{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:18px;border-left:10px solid var(--blue);padding:22px;background:#eef4ff}.deep-definitions section:last-child{border-color:var(--purple);background:#f5f1ff}.deep-definitions span{display:grid;width:90px;height:90px;place-items:center;border-radius:50%;background:#fff;color:var(--blue);font-size:23px;font-weight:900}.deep-definitions section:last-child span{color:var(--purple)}.deep-definitions h2{font-size:30px}.deep-definitions p{margin-top:8px;color:var(--muted);font-size:21px;font-weight:800;line-height:1.35}.deep-note{border-radius:9px;padding:17px 24px;background:#263e51;color:#fff;font-size:23px;font-weight:800;text-align:center}.deep-note strong{color:#d8c7ff}

/* 6. 활용 분야 */
.application-grid{display:grid;flex:1;min-height:0;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:18px}.application-grid article{display:grid;grid-template-columns:70px 1fr;grid-template-rows:auto auto 1fr;column-gap:18px;border-left:11px solid var(--blue);border-radius:9px;padding:22px 24px;background:#f3f7ff}.application-grid article:nth-child(2){border-color:var(--green);background:#f1faf5}.application-grid article:nth-child(3){border-color:var(--orange);background:#fff8ef}.application-grid article:nth-child(4){border-color:var(--purple);background:#f7f3ff}.application-grid article>span{grid-row:1/3;display:grid;width:58px;height:58px;place-items:center;border-radius:50%;background:#fff;color:var(--blue);font-size:22px;font-weight:900}.application-grid h2{font-size:34px}.application-grid p{margin-top:5px;color:var(--muted);font-size:21px;font-weight:800}.application-grid article>div{grid-column:1/3;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-self:end}.application-grid article>div b{display:grid;min-height:72px;place-items:center;border-radius:8px;padding:10px;background:#fff;font-size:19px;text-align:center}

.nav-zone{position:fixed;top:0;bottom:0;z-index:5;width:12cqw;border:0;background:transparent;cursor:pointer}.nav-prev{left:0}.nav-next{right:0}.nav-zone span{position:absolute;top:50%;display:block;width:30px;height:30px;opacity:.28;transform:translateY(-50%) rotate(45deg)}.nav-prev span{left:20px;border-bottom:6px solid var(--ink);border-left:6px solid var(--ink)}.nav-next span{right:20px;border-top:6px solid var(--ink);border-right:6px solid var(--ink)}.footer{position:fixed;right:22px;bottom:18px;left:22px;z-index:6;display:flex;align-items:center;justify-content:center;gap:18px;pointer-events:none}.footer p{border-radius:999px;padding:7px 12px;background:rgba(255,255,255,.86);color:var(--muted);font-size:16px;font-weight:900}.dots{display:flex;gap:8px;pointer-events:auto}.dot{width:12px;height:12px;border:0;border-radius:50%;background:#b6c4d6;cursor:pointer}.dot.active{width:34px;border-radius:999px;background:var(--blue)}
