@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--ink:#172b4d;--muted:#718096;--blue:#2457e6;--pale:#eef3ff;--line:#e6ebf2;--bg:#f8faff;--green:#087f5b}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans','Noto Sans SC',sans-serif}a{color:inherit;text-decoration:none}.container{width:min(1120px,calc(100% - 40px));margin:auto}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-weight:800;font-size:21px;letter-spacing:-.6px;display:flex;align-items:center;gap:10px}.brand-mark{background:var(--blue);color:white;width:34px;height:34px;display:grid;place-items:center;border-radius:10px}.nav-links{display:flex;align-items:center;gap:28px;color:#516078;font-size:14px}.button{border:0;display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:9px;background:var(--blue);color:white;font-weight:700;cursor:pointer;font:inherit}.button:hover{background:#1947c7;color:white}.button-light{background:#eef3ff;color:var(--blue)}.hero{background:linear-gradient(120deg,#f3f6ff 0%,#fff 70%);padding:76px 0 58px}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.eyebrow{color:var(--blue);font-size:13px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}.hero h1{font-size:clamp(38px,5vw,58px);line-height:1.2;letter-spacing:-2px;margin:17px 0}.hero p{color:var(--muted);font-size:17px;line-height:1.9;max-width:570px}.hero-art{background:#e8efff;border-radius:30px;padding:35px;min-height:270px;display:flex;align-items:center;justify-content:center}.art-card{background:white;border-radius:18px;padding:24px;width:100%;box-shadow:0 20px 55px #18316e18;transform:rotate(2deg)}.art-card h3{margin:0 0 18px;font-size:19px}.skill-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line);font-size:14px}.skill-icon{color:var(--blue);font-weight:800;font-size:18px}.stats{display:flex;gap:38px;margin-top:30px}.stat strong{font-size:23px;display:block}.stat span{font-size:12px;color:var(--muted)}.section{padding:68px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.section h2{font-size:30px;letter-spacing:-.7px;margin:9px 0}.section-head p{color:var(--muted);margin:0}.search{display:flex;gap:8px;max-width:420px}.search input,.field input,.field textarea,.field select{width:100%;padding:12px 14px;border:1px solid #dfe5ef;border-radius:8px;font:inherit;outline:none;background:white}.search input:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2457e61a}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.course-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s}.course-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px #172b4d12}.course-cover{height:150px;padding:20px;display:flex;align-items:end;color:white;font-size:30px;font-weight:800;background:linear-gradient(135deg,#446cf2,#8aa4ff)}.course-card:nth-child(3n+2) .course-cover{background:linear-gradient(135deg,#087f79,#62c8b6)}.course-card:nth-child(3n) .course-cover{background:linear-gradient(135deg,#9b5de5,#e59aca)}.course-body{padding:19px}.tag{display:inline-block;background:var(--pale);color:var(--blue);padding:5px 9px;border-radius:20px;font-size:12px;font-weight:700}.course-body h3{font-size:18px;margin:13px 0 7px}.course-body p{color:var(--muted);font-size:13px;line-height:1.7;min-height:44px}.course-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:16px 0}.course-price{font-size:20px;font-weight:800;color:var(--ink)}.course-price small{font-size:12px;color:var(--muted);font-weight:400}.empty{padding:50px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.footer{background:#f7f9fc;padding:27px 0;color:var(--muted);font-size:13px}.detail-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:34px;padding:48px 0}.panel{border:1px solid var(--line);border-radius:14px;padding:24px;background:white}.detail-title{font-size:38px;margin:14px 0}.detail-copy{color:#65738a;line-height:1.9;white-space:pre-line}.form-box{position:sticky;top:20px;height:max-content}.field{margin:15px 0}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.error{color:#cf3949;font-size:12px;margin-top:5px}.success{background:#e8f7f0;color:#087f5b;padding:12px;border-radius:8px;margin-bottom:14px}.admin-bg{background:#f7f9fc;min-height:100vh}.admin-shell{padding:32px 0}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.admin-header h1{margin:0}.admin-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.metric{padding:20px;background:white;border:1px solid var(--line);border-radius:12px}.metric strong{display:block;font-size:27px}.metric span{color:var(--muted);font-size:13px}.admin-panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin:18px 0;overflow:auto}.admin-panel h2{font-size:20px;margin-top:0}table{width:100%;border-collapse:collapse;min-width:720px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);font-size:13px}th{color:var(--muted);font-weight:600}.inline{display:inline-flex;gap:7px;align-items:center}.small-button{padding:7px 10px;border-radius:6px;border:1px solid var(--line);background:white;cursor:pointer;font:inherit;font-size:12px}.danger{color:#ce3d4d}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eaf0ff,#fafbff)}.login-card{background:white;width:min(420px,calc(100% - 32px));padding:36px;border-radius:18px;box-shadow:0 20px 60px #19336f17}.login-card h1{margin:26px 0 7px}.login-card>p{color:var(--muted);margin-bottom:26px}.form-actions{display:flex;gap:10px;margin-top:20px}.note{font-size:12px;color:var(--muted);line-height:1.7}@media(max-width:800px){.hero-grid,.detail-layout{grid-template-columns:1fr}.hero-art{min-height:210px}.course-grid{grid-template-columns:repeat(2,1fr)}.section-head{align-items:flex-start;gap:18px;flex-direction:column}.nav-links{gap:14px}.form-box{position:static}}@media(max-width:560px){.container{width:calc(100% - 28px)}.nav{height:64px}.nav-links a:not(.button){display:none}.hero{padding:52px 0 40px}.hero-grid{gap:28px}.hero h1{font-size:39px}.stats{gap:20px}.course-grid,.admin-cards{grid-template-columns:1fr}.detail-title{font-size:30px}.section{padding:48px 0}}
