
:root{
  --ink:#142033;
  --muted:#5b6b82;
  --white:#ffffff;
  --cream:#fff7df;
  --paper:#fffdf8;
  --orange:#ff7a00;
  --orange2:#ff4d00;
  --yellow:#ffd43b;
  --blue:#2563eb;
  --sky:#0ea5e9;
  --green:#22c55e;
  --pink:#ff4da6;
  --purple:#6d28d9;
  --violet:#4c1d95;
  --cyan:#06b6d4;
  --border:#ecd7b5;
  --shadow:0 22px 60px rgba(20,32,51,.16);
  --softshadow:0 10px 28px rgba(20,32,51,.09);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 5% 4%, rgba(255,212,59,.55) 0, transparent 25%),
    radial-gradient(circle at 96% 7%, rgba(14,165,233,.16) 0, transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(255,77,166,.09) 0, transparent 28%),
    linear-gradient(180deg,#fff5d7 0%,#fffdf8 46%,#ffffff 100%);
}
a{color:inherit}
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  padding:14px 24px;
}
.topbar-inner{
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:950;
  font-size:23px;
  letter-spacing:-.5px;
}
.logo{
  width:50px;
  height:50px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--orange),var(--yellow));
  display:grid;
  place-items:center;
  color:white;
  font-weight:950;
  box-shadow:var(--softshadow);
}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{
  color:var(--ink);
  text-decoration:none;
  background:white;
  border:1px solid var(--border);
  padding:10px 14px;
  border-radius:999px;
  font-weight:850;
  font-size:14px;
  transition:.15s ease;
}
.nav a:hover{transform:translateY(-1px);box-shadow:var(--softshadow)}
.hero{
  max-width:1280px;
  margin:0 auto;
  padding:58px 24px 34px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:36px;
  align-items:center;
}
.hero.center{display:block;text-align:center;max-width:980px}
.badge{
  display:inline-flex;
  background:white;
  border:1px solid var(--border);
  box-shadow:0 8px 22px rgba(20,32,51,.08);
  padding:10px 16px;
  border-radius:999px;
  color:#d95f00;
  font-weight:950;
  margin-bottom:18px;
}
h1{
  font-size:clamp(42px,5.7vw,78px);
  line-height:.96;
  margin:0 0 18px;
  letter-spacing:-2.5px;
}
.hero p{
  font-size:20px;
  line-height:1.55;
  color:var(--muted);
  margin:0 0 26px;
  max-width:780px;
}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 20px;
  border-radius:16px;
  text-decoration:none;
  font-weight:950;
  border:1px solid transparent;
  cursor:pointer;
  font-size:15px;
}
.btn-primary{
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:white;
  box-shadow:0 14px 30px rgba(255,122,0,.28);
}
.btn-secondary{background:white;color:var(--ink);border-color:var(--border)}
.showcase{
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.25),transparent 24%),
    radial-gradient(circle at 88% 16%,rgba(255,212,59,.34),transparent 22%),
    linear-gradient(135deg,#4c1d95,#1d4ed8 52%,#06b6d4);
  border-radius:36px;
  padding:28px;
  box-shadow:var(--shadow);
  color:white;
  position:relative;
  overflow:hidden;
}
.showcase:after{
  content:"";
  position:absolute;
  inset:auto -10% -25% -10%;
  height:180px;
  background:rgba(255,255,255,.1);
  filter:blur(10px);
  transform:rotate(-5deg);
}
.mascot{position:relative;text-align:center;z-index:1}
.mascot .face{
  width:142px;
  height:142px;
  background:white;
  border-radius:38px;
  margin:0 auto 10px;
  display:grid;
  place-items:center;
  font-size:78px;
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}
.showcase h2{
  position:relative;
  z-index:1;
  text-align:center;
  font-size:42px;
  margin:10px 0 8px;
  letter-spacing:-1px;
}
.showcase p{
  position:relative;
  z-index:1;
  text-align:center;
  color:rgba(255,255,255,.92);
  font-size:17px;
  line-height:1.45;
  margin:0 0 18px;
}
.mini-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.mini{
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.32);
  border-radius:18px;
  padding:14px;
  font-weight:950;
  backdrop-filter:blur(8px);
}
.section{max-width:1280px;margin:0 auto;padding:42px 24px}
.section-title{text-align:center;margin-bottom:28px}
.section-title h2{
  font-size:clamp(32px,4vw,48px);
  margin:0 0 10px;
  letter-spacing:-1.3px;
}
.section-title p{
  color:var(--muted);
  font-size:18px;
  line-height:1.5;
  margin:0 auto;
  max-width:900px;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--softshadow);
  min-height:300px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.16s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card .icon{
  width:64px;
  height:64px;
  border-radius:21px;
  display:grid;
  place-items:center;
  font-size:34px;
  margin-bottom:16px;
}
.i1{background:#eaf3ff}.i2{background:#eaf9f0}.i3{background:#fff2cc}.i4{background:#ffe8f3}.i5{background:#ede9fe}.i6{background:#e0fbff}
.card h3{font-size:24px;line-height:1.08;margin:0 0 10px;letter-spacing:-.7px}
.card p{color:var(--muted);line-height:1.52;font-size:16px;margin:0 0 18px}
.card a{
  align-self:flex-start;
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:white;
  text-decoration:none;
  border-radius:14px;
  padding:12px 15px;
  font-weight:950;
}
.app-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:32px 24px 58px;
  display:grid;
  grid-template-columns:395px 1fr;
  gap:24px;
  align-items:start;
}
.panel,.preview{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.panel{padding:24px}
.panel h2,.preview h2{margin:0 0 14px;font-size:26px}
label{display:block;font-weight:950;margin:15px 0 7px}
input,select,textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  padding:13px 14px;
  font-size:15px;
  background:#fffdf8;
  color:var(--ink);
  outline:none;
}
textarea{min-height:88px;resize:vertical}
.help{color:var(--muted);font-size:13px;line-height:1.4;margin-top:6px}
.buttons{display:grid;gap:10px;margin-top:18px}
button{
  border:0;
  border-radius:15px;
  padding:14px 16px;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
}
.primary{background:linear-gradient(135deg,var(--orange),var(--orange2));color:white}
.secondary{background:white;color:var(--ink);border:1px solid var(--border)}
.preview{padding:24px}
.preview-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.paper{
  background:white;
  width:210mm;
  max-width:100%;
  min-height:297mm;
  margin:0 auto;
  border:1px solid #eadcc5;
  border-radius:20px;
  padding:15mm;
  position:relative;
  box-shadow:0 8px 22px rgba(20,32,51,.08);
}
.paper-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:2px solid #f0d9b5;
  padding-bottom:12px;
  margin-bottom:16px;
}
.paper-brand{font-size:23px;font-weight:950;color:#e57000}
.paper-small{color:var(--muted);font-size:13px;line-height:1.35}
.student{display:grid;grid-template-columns:1fr 145px;gap:12px;margin-bottom:14px;font-weight:950}
.blank{border-bottom:2px solid #d8c8aa;display:inline-block;min-width:130px;min-height:22px}
.paper h3.title{font-size:30px;margin:0 0 8px;letter-spacing:-.8px}
.instruction{color:var(--muted);font-size:16px;line-height:1.45;margin:0 0 14px}
.art-box{border:2px dashed #d8c8aa;border-radius:18px;padding:12px;display:grid;place-items:center;min-height:540px}
.art-box svg{width:100%;max-height:520px}
.worksheet-box{border:2px dashed #d8c8aa;border-radius:18px;padding:20px;min-height:510px;font-size:18px;line-height:1.5}
.sheet-footer{position:absolute;left:15mm;right:15mm;bottom:9mm;border-top:1px solid #f0d9b5;padding-top:8px;color:#8b9aaa;font-size:12px}
.row{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0;font-size:34px}
.line{height:34px;border-bottom:3px dotted #9aa4ae;margin:18px 0}
.choice{display:grid;grid-template-columns:34px 1fr;gap:10px;margin:12px 0;align-items:center}
.circle{width:28px;height:28px;border:2px solid #7a8794;border-radius:50%}
.grid-table{border-collapse:collapse;margin:18px auto;font-size:22px;font-weight:950}
.grid-table td{width:34px;height:34px;text-align:center;border:2px solid #253040}
.cross td{background:#fff}
.cross .black{background:#253040}
.maze{display:grid;margin:18px auto;background:#111;width:min(100%,520px);aspect-ratio:1/1}
.maze div{background:white}
.maze .wall{background:#111}.maze .start{background:#9cff9c}.maze .end{background:#ffb3b3}
.clock-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.clock-card{border:1px solid #e8d9c5;border-radius:16px;padding:12px;text-align:center}
.clock-card svg{width:170px;max-width:100%}
.notice{background:#fff9e8;border:1px solid var(--border);border-radius:18px;padding:14px;color:var(--muted);font-size:13px;line-height:1.45;margin-top:16px}
.footer{margin-top:38px;padding:34px 24px;background:#17212f;color:white;text-align:center}
.footer p{color:rgba(255,255,255,.75)}
.sales-box{
  background:linear-gradient(135deg,#4c1d95,#1d4ed8);
  color:white;
  border-radius:34px;
  padding:34px;
  box-shadow:var(--shadow);
}
.sales-box h2{font-size:42px;line-height:1.05;margin:0 0 14px}
.sales-box p{color:rgba(255,255,255,.86);font-size:18px;line-height:1.55}
.price-card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow);
}
.price{font-size:46px;font-weight:950;color:var(--orange);letter-spacing:-1.4px}
@media(max-width:1080px){
  .hero,.app-wrap{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .paper{width:100%;min-height:820px;padding:24px}
  .student{grid-template-columns:1fr}
  .art-box{min-height:460px}
}
@media(max-width:720px){
  .cards{grid-template-columns:1fr}
  .mini-grid{grid-template-columns:1fr}
  .topbar-inner{align-items:flex-start}
  .paper h3.title{font-size:24px}
}
@page{size:A4 portrait;margin:10mm}
@media print{
  body{background:white}
  .topbar,.hero,.panel,.preview-head,.section,.footer,.no-print{display:none!important}
  .app-wrap{display:block;padding:0;margin:0;max-width:none}
  .preview{box-shadow:none;border:0;padding:0}
  .paper{box-shadow:none;border:0;border-radius:0;width:190mm;min-height:277mm;padding:0}
  .art-box{min-height:190mm}
  .worksheet-box{min-height:190mm}
  .sheet-footer{position:fixed;left:0;right:0;bottom:0}
}
