:root{
  --blue:#3478df;
  --blue-dark:#1e63c5;
  --navy:#16345b;
  --text:#5e718b;
  --line:#dce7f3;
  --pale:#f3f8fe;
  --green:#19aa78;
  --gold:#f2c659;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#e9eff6;color:var(--navy);font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;line-height:24px;font-size:14px;}
button,input{font:inherit}
button{border:0;cursor:pointer}
.app{width:100%;max-width:430px;min-height:100vh;margin:auto;background:#fff;overflow:hidden}

/* Hero */
.hero{position:relative;padding:27px 20px 0;text-align:center;background:radial-gradient(circle at 8% 14%,rgba(255,221,129,.24),transparent 24%),radial-gradient(circle at 92% 9%,rgba(91,167,255,.18),transparent 27%),linear-gradient(180deg,#f8fbff 0%,#edf6ff 58%,#e9f4ff 100%)}
.hero-top{display:grid;grid-template-columns:34px auto 34px;gap:11px;align-items:center;justify-content:center}
.hero-top:before,.hero-top:after{content:"";height:1px;background:linear-gradient(90deg,transparent,#82aee3)}
.hero-top:after{background:linear-gradient(90deg,#82aee3,transparent)}
.kicker{color:#3b76c5;font-size:12px;font-weight:600;letter-spacing:1px;white-space:nowrap}
.hero h1{margin:18px 0 8px;font-size:34px;font-weight:600;line-height:40px;letter-spacing:0;}
.hero h1 span{position:relative;z-index:1;display:inline-block;margin-right:2px;color:var(--blue)}
.hero h1 span:after{content:"";position:absolute;z-index:-1;left:-3px;right:-3px;bottom:2px;height:9px;border-radius:9px;background:rgba(255,210,89,.42);transform:rotate(-1.5deg)}
.hero-copy{margin:0;color:#657d98;font-size:14px;line-height:20px;}
.hero-date{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;color:#71869f;font-size:12px;line-height:18px;}
.hero-date:before,.hero-date:after{content:"";width:18px;height:1px;background:#b8cbe0}
.hero-ended{display:inline-block;margin-top:10px;padding:3px 12px;border-radius:99px;background:rgba(22,52,91,.08);color:#5e718b;font-size:12px;line-height:18px}
.hero-picture{position:relative;height:210px;margin:5px -20px 0;background: url('https://static.eudic.net/web/activity/teachersday/teachers-day-hero-cartoon-v2.png') center/cover no-repeat}
.hero-picture:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#edf6ff 0%,rgba(237,246,255,.34) 8%,transparent 22%)}

/* Sections */
.section{padding:45px 20px;background:#fff}
.section.tint{background:radial-gradient(circle at 100% 0,rgba(255,221,129,.12),transparent 24%),linear-gradient(180deg,#f3f8fe,#f8fbff)}
.section h2{max-width:13em;margin:0 auto 25px;text-align:center;color:var(--navy);font-size:28px;font-weight:600;line-height:39px;letter-spacing:0;}
.intro{max-width:25em;margin:-12px auto 23px;color:#667a94;font-size:14px;line-height:24px;text-align:center}

/* Benefits */
.benefit-showcase{padding:20px 18px 17px;border-radius:22px;background:linear-gradient(150deg,#f8fbff,#eef6ff)}
.badge-stage{display:grid;grid-template-columns:94px minmax(0,1fr);gap:16px;align-items:center;text-align:left}
.badge-art{display:block;width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 7px 8px rgba(36,87,148,.13))}
.badge-copy{min-width:0}
.badge-stage b{display:block;font-size:15px;line-height:22px;font-weight:500;}
.badge-stage span{display:block;margin-top:5px;color:#6b7f98;font-size:12px;line-height:18px;}
.benefit-divider{height:1px;margin:18px 0 15px;background:linear-gradient(90deg,transparent,#cddff0 14%,#cddff0 86%,transparent)}
.ai-quota-title{margin:0 0 10px;color:var(--navy);font-size:15px;font-weight:500;text-align:center;line-height:22px;}
.quota-pair{display:grid;grid-template-columns:1fr 1px 1fr;align-items:center}
.quota-pair:before{content:"";grid-column:2;width:1px;height:38px;background:#c8daec}
.quota-metric{grid-row:1;padding:5px 7px;text-align:center}
.quota-metric:first-child{grid-column:1}
.quota-metric:last-child{grid-column:3}
.quota-metric strong{display:block;color:var(--blue-dark);font-size:28px;font-weight:600;line-height:36px;letter-spacing:0;white-space:nowrap}
.quota-metric span{display:block;margin-top:5px;color:#657b95;font-size:12px;font-weight:400;line-height:18px;}
.quota-metric strong .quota-unit{display:inline;margin:0 0 0 2px;color:inherit;font-size:14px;font-weight:500;letter-spacing:0}
.quota-caption{margin:12px 0 0;color:#71849b;font-size:12px;line-height:18px;text-align:center}

/* AI uses */
.ai-uses{display:grid;gap:10px}
.ai-use{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:13px;padding:15px;border:1px solid #d9e7f5;border-radius:16px;background:rgba(255,255,255,.72)}
.ai-use-icon{display:grid;grid-row:1/3;place-items:center;width:48px;height:48px;border-radius:50%;background:#e7f2ff;color:var(--blue)}
.ai-use-icon .icon-svg{width:28px;height:28px;stroke-width:1.9}
.ai-use b{display:block;font-size:15px;line-height:22px;font-weight:500;}
.ai-use p{margin:4px 0 0;color:#667b94;font-size:12px;line-height:18px;letter-spacing:.2px;}
.ai-use-note{margin:14px 4px 0;color:#7b8da2;font-size:12px;line-height:18px;text-align:center}

/* Steps */
.step-list{position:relative;padding:0 4px}
.step-list:before{content:"";position:absolute;left:17px;top:28px;bottom:28px;width:1px;background:#cfdeed}
.step{position:relative;display:grid;width:100%;grid-template-columns:28px 1fr;gap:12px;padding:11px 0;background:transparent;color:inherit;text-align:left}
.step-dot{position:relative;z-index:1;width:28px;height:28px;display:grid;place-items:center;border:1px solid #bfd2e7;border-radius:50%;background:#f8fbff;color:#8192a7;font-size:14px;font-weight:600;}
.step-body{padding:1px 0 7px}
.step-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.step-title{font-size:14px;font-weight:600;line-height:22px;}
.step-state-text{flex:none;color:#8493a5;font-size:12px;font-weight:500;white-space:nowrap;line-height:18px;}
.step-state-text:after{content:"›";margin-left:4px;font-size:15px;font-weight:500;vertical-align:-1px}
.step.done .step-state-text{color:var(--green)}
.step.done .step-state-text:before{content:none}
.step.done .step-state-text:after{content:"✓";margin-left:4px;font-size:12px;font-weight:850;vertical-align:0}
.step.active .step-state-text{color:var(--blue-dark)}
.step-description{display:block;margin-top:5px;color:#657b96;font-size:12px;line-height:18px;}
.step.static{cursor:default}
.invite-guide{width:84%;max-width:310px;margin:9px auto 0}
.invite-shot{overflow:hidden;border:1px solid #d7e3f1;border-radius:15px;background:#eef3fb;box-shadow:0 8px 22px rgba(37,78,127,.08)}
.invite-shot img{display:block;width:100%;height:auto}

/* Features */
.features{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.feature{min-height:170px;padding:17px 14px;border:1px solid #dce8f4;border-radius:18px;background:radial-gradient(circle at 100% 0,rgba(102,174,255,.11),transparent 36%),linear-gradient(145deg,#fbfdff,#f3f8fe);box-shadow:0 7px 20px rgba(42,83,133,.06)}
.feature:nth-child(2),.feature:nth-child(3){background:radial-gradient(circle at 100% 0,rgba(255,218,111,.11),transparent 34%),linear-gradient(145deg,#fff,#f6f9fd)}
.feature-icon{width:40px;height:40px;display:grid;place-items:center;margin-bottom:13px;border-radius:12px;background:#e8f3ff;color:var(--blue)}
.feature b{display:block;margin-bottom:5px;font-size:13px;line-height:20px;font-weight:600;}
.feature p{margin:0;color:#687b94;font-size:12px;line-height:18px;}
.icon-svg{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.more{display:block;width:max-content;margin:18px auto 0;color:#2d70cd;font-size:14px;font-weight:400;text-decoration:none;line-height:20px;}

/* Notice */
.notice-list{margin:0;padding-left:21px}
.notice-list li{padding:5px 0 5px 3px;color:#5f7188;font-size:14px;line-height:24px;}
.notice-list li::marker{color:#6f84a0;font-size:12px;font-weight:500;}
.notice-emphasis{color:var(--blue-dark);font-weight:600;}
.wechat-service{color:var(--blue-dark);font-weight:600;text-decoration:none}

/* Footer & action */
.footer{padding:27px 20px calc(100px + env(safe-area-inset-bottom));background:#f5f8fc;color:#8998aa;font-size:12px;line-height:18px;text-align:center}
.primary{width:100%;height:48px;border-radius:13px;background:linear-gradient(135deg,#4387ec,#2469d1);color:#fff;font-size:14px;font-weight:600;box-shadow:0 9px 22px rgba(41,107,207,.22);line-height:20px;}
.primary:disabled{background:#aebdce;box-shadow:none;cursor:default}
.bottom-bar{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:430px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(214,224,236,.9);background:rgba(255,255,255,.94);box-shadow:0 -5px 18px rgba(38,68,105,.07);backdrop-filter:blur(10px)}

/* Modal */
.modal{display:none;position:fixed;z-index:50;inset:0;align-items:flex-end;justify-content:center;background:rgba(16,35,64,.55)}
.modal.open{display:flex}
.sheet{width:100%;max-width:430px;max-height:90vh;padding:24px 20px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#fff;overflow:auto}
.sheet-head{display:flex;align-items:flex-start;justify-content:space-between}
.sheet h2{margin:0;font-size:28px;font-weight:600;line-height:39px;}
.sheet-sub{margin:5px 0 18px;color:#6b7d94;font-size:14px;line-height:20px;}
.close{width:34px;height:34px;border-radius:50%;background:#f0f3f7;color:#667489;font-size:19px}
.field{margin-bottom:13px}
.field label,.field-label{display:block;margin-bottom:6px;font-size:14px;font-weight:600;line-height:20px;}
.required{margin-left:3px;color:#e35151;font-style:normal}
.field input{width:100%;height:48px;padding:0 12px;border:1px solid #d9e1eb;border-radius:11px;background:#fff;font-size:14px;outline:none;line-height:20px;}
.field input:focus{border-color:#80afe9;box-shadow:0 0 0 3px rgba(52,120,223,.10)}
.upload-help{margin:-1px 0 9px;color:#7d8da1;font-size:12px;line-height:18px;}
.upload{position:relative;display:flex;align-items:center;flex-wrap:wrap;min-height:126px;margin:0;padding:13px;border:1px solid #e2e9f2;border-radius:14px;background:#f8faff;cursor:pointer}
.upload input{display:none}
.upload-tile{display:flex;width:98px;height:98px;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #b9c8da;border-radius:12px;background:#fff;color:#8c9bb0}
.camera-icon{position:relative;width:28px;height:21px;margin-bottom:8px;border:2px solid currentColor;border-radius:5px}
.camera-icon:before{content:"";position:absolute;left:8px;top:-6px;width:10px;height:5px;border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0}
.camera-icon:after{content:"";position:absolute;left:7px;top:4px;width:10px;height:10px;border:2px solid currentColor;border-radius:50%}
.upload-count{font-size:14px;font-weight:600;line-height:1}
.upload-previews{display:flex;flex:0 0 100%;min-width:0;flex-wrap:nowrap;gap:4px;margin-top:4px}
.upload-thumb{position:relative;display:block;width:58px;height:58px;overflow:hidden;border:1px solid #e2e9f2;border-radius:10px;background:#eef2f7}
.upload-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.upload-thumb-remove{position:absolute;top:3px;right:3px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:rgba(18,34,57,.78);color:#fff;font-size:15px;line-height:17px;text-align:center;cursor:pointer}
.upload-empty-tip{margin:8px 2px 0;color:#9aa8bb;font-size:12px;line-height:18px}
.consent{display:flex;gap:8px;padding:10px;border-radius:10px;background:#fff6f3;color:#8c5149;font-size:12px;line-height:18px;}
.consent input{margin-top:2px}
.submit{margin-top:15px}
.success-sheet{text-align:center}
.success-icon{display:grid;place-items:center;width:54px;height:54px;margin:2px auto 15px;border-radius:50%;background:#e5f7f0;color:var(--green);font-size:28px;font-weight:800}
.success-sheet h2{font-size:28px;font-weight:600;line-height:39px;}
.success-copy{margin:8px auto 16px;color:#657990;font-size:14px;line-height:24px;}
.review-warning{margin:0 0 18px;padding:12px 13px;border-radius:12px;background:#f4f7fb;color:#687a90;font-size:12px;line-height:18px;text-align:left}
.toast{position:fixed;z-index:80;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);max-width:calc(100% - 64px);padding:12px 18px;border:1px solid rgba(52,120,223,.16);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(30,70,122,.16);color:var(--navy);font-size:14px;font-weight:500;line-height:21px;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s}
.toast.show{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}
@media(min-width:431px){.app{box-shadow:0 0 45px rgba(32,53,82,.13)}}
@media(max-width:350px){
  .hero{padding-left:16px;padding-right:16px}
  .hero-top{grid-template-columns:24px auto 24px;gap:8px}
  .kicker{font-size:12px;letter-spacing:.6px}
  .hero h1{font-size:30px;line-height:38px}
  .hero-picture{height:195px;margin-left:-16px;margin-right:-16px}
  .section{padding-left:17px;padding-right:17px}
  .features{gap:8px}
  .feature{min-height:177px;padding:15px 11px}
  .badge-stage{grid-template-columns:82px minmax(0,1fr);gap:12px}
  .badge-art{width:82px;height:82px}
  .quota-metric strong{font-size:28px}
}
/* Web typography adaptations: allow headings to wrap; keep inputs at 16px on touch devices to avoid focus zoom. */
.sheet-head > div{min-width:0}
.close{flex-shrink:0}
@media (pointer:coarse){.field input{font-size:16px}}
