
:root{
  --deep:#020f0a;
  --green:#8cff5e;
  --mint:#d8ffd0;
  --sea:#42e6c8;
  --glass:rgba(4,34,25,.62);
  --line:rgba(140,255,94,.38);
  --text:#f4ffef;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 72% 16%,rgba(248,255,232,.16),transparent 15%),
    radial-gradient(circle at 20% 14%,rgba(140,255,94,.16),transparent 25%),
    radial-gradient(circle at 88% 58%,rgba(66,230,200,.11),transparent 28%),
    linear-gradient(135deg,#020f0a 0%,#031b13 43%,#052d20 100%);
  min-height:100vh;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.25;
  background:
    linear-gradient(112deg,transparent 0%,rgba(140,255,94,.10) 18%,transparent 28%),
    linear-gradient(73deg,transparent 0%,rgba(66,230,200,.16) 42%,transparent 50%);
  mix-blend-mode:screen;
  animation:holoSweep 12s ease-in-out infinite alternate;
}

@keyframes holoSweep{
  from{transform:translateX(-3%) translateY(-2%)}
  to{transform:translateX(3%) translateY(2%)}
}

a{color:inherit;text-decoration:none}

.page{
  width:min(1240px,calc(100% - 34px));
  margin:0 auto;
  position:relative;
  z-index:1;
}

.topbar{
  position:sticky;
  top:14px;
  z-index:20;
  margin:18px auto 28px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(2,18,13,.70);
  backdrop-filter:blur(18px);
  box-shadow:0 0 34px rgba(84,255,86,.13), inset 0 0 20px rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}

.logo-butterfly{
  width:46px;
  height:42px;
  position:relative;
  filter:drop-shadow(0 0 12px rgba(140,255,94,.78));
}

.logo-butterfly::before,
.logo-butterfly::after{
  content:"";
  position:absolute;
  width:21px;
  height:28px;
  top:4px;
  background:
    radial-gradient(circle at 38% 28%,rgba(255,255,255,.92),transparent 11%),
    linear-gradient(135deg,rgba(217,255,196,.92),rgba(44,212,83,.48));
  border:1px solid rgba(216,255,208,.70);
  border-radius:72% 28% 68% 32%;
  box-shadow:inset 0 0 12px rgba(255,255,255,.25),0 0 14px rgba(140,255,94,.50);
}

.logo-butterfly::before{left:4px;transform:rotate(-22deg)}
.logo-butterfly::after{right:4px;transform:scaleX(-1) rotate(-22deg)}
.logo-butterfly span{
  position:absolute;
  left:21px;
  top:10px;
  width:4px;
  height:22px;
  border-radius:999px;
  background:linear-gradient(#efffe4,#55d95d);
  box-shadow:0 0 8px rgba(140,255,94,.9);
}

.brand-title{font-size:20px;font-weight:900;letter-spacing:1px}
.brand-sub{font-size:11px;letter-spacing:3px;color:rgba(242,255,233,.66)}

.nav{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
.nav a{
  padding:10px 14px;
  border-radius:18px;
  color:rgba(242,255,233,.78);
  font-weight:800;
  font-size:14px;
  transition:.22s;
}
.nav a:hover,.nav a.active{
  color:#fff;
  background:rgba(140,255,94,.18);
  box-shadow:0 0 22px rgba(140,255,94,.22), inset 0 0 10px rgba(255,255,255,.06);
}

.version-pill{
  padding:9px 15px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--green);
  background:rgba(140,255,94,.08);
  box-shadow:0 0 18px rgba(140,255,94,.14);
  font-weight:900;
  white-space:nowrap;
}

.hero{position:relative;min-height:720px;padding:20px 0 34px}

.ocean-scene{
  position:relative;
  min-height:700px;
  border-radius:40px;
  overflow:hidden;
  border:1px solid rgba(140,255,94,.22);
  background:
    radial-gradient(circle at 76% 18%,rgba(248,255,232,.19),transparent 15%),
    radial-gradient(circle at 50% 38%,rgba(140,255,94,.14),transparent 25%),
    linear-gradient(180deg,rgba(2,14,18,.12),rgba(3,28,24,.86));
  box-shadow:0 0 56px rgba(66,230,200,.12), inset 0 0 82px rgba(140,255,94,.07);
}

.moon{
  position:absolute;
  right:10%;
  top:9%;
  width:122px;
  height:122px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#fff,#f6ffdd 49%,rgba(246,255,221,.58) 68%,rgba(246,255,221,.06) 82%,transparent 84%);
  box-shadow:0 0 42px rgba(247,255,232,.70),0 0 130px rgba(140,255,94,.22);
  opacity:.95;
  animation:moonBreath 5s ease-in-out infinite;
}
@keyframes moonBreath{0%,100%{transform:scale(1);opacity:.92}50%{transform:scale(1.045);opacity:1}}

.moon-reflection{
  position:absolute;
  right:3%;
  top:35%;
  width:330px;
  height:250px;
  opacity:.46;
  background:
    repeating-linear-gradient(180deg,rgba(247,255,232,.26) 0 4px,transparent 5px 16px),
    radial-gradient(ellipse at 50% 50%,rgba(140,255,94,.18),transparent 64%);
  clip-path:ellipse(47% 49% at 50% 50%);
  filter:blur(1px);
  transform:rotate(-4deg);
  animation:reflectionFlow 5.8s ease-in-out infinite alternate;
}
@keyframes reflectionFlow{from{transform:rotate(-4deg) translateY(0)}to{transform:rotate(-4deg) translateY(10px)}}

.wave-wall{position:absolute;left:-8%;right:-8%;bottom:0;height:365px;overflow:hidden}
.wave-curl{
  position:absolute;
  left:-2%;
  bottom:70px;
  width:62%;
  height:280px;
  opacity:.92;
  background:
    radial-gradient(ellipse at 52% 32%,rgba(255,255,255,.72),transparent 7%),
    radial-gradient(ellipse at 52% 40%,rgba(168,255,244,.55),transparent 14%),
    radial-gradient(ellipse at 44% 63%,rgba(66,230,200,.58),transparent 34%),
    radial-gradient(ellipse at 64% 78%,rgba(9,78,68,.72),transparent 44%);
  border-radius:58% 42% 45% 55%;
  transform:rotate(-11deg) skewX(-10deg);
  filter:drop-shadow(0 0 26px rgba(66,230,200,.18));
  animation:curlWave 5.8s ease-in-out infinite alternate;
}
.wave-curl::before{
  content:"";
  position:absolute;
  right:2%;
  top:4%;
  width:54%;
  height:45%;
  border-top:18px solid rgba(255,255,255,.60);
  border-right:9px solid rgba(255,255,255,.38);
  border-radius:60% 44% 55% 42%;
  filter:blur(.3px);
}
.wave-curl.right{left:auto;right:-5%;bottom:52px;transform:scaleX(-1) rotate(-10deg) skewX(-10deg);opacity:.82;animation-delay:1s}
@keyframes curlWave{from{translate:-20px 12px;scale:.98}to{translate:22px -12px;scale:1.04}}

.sea-foam{
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:102px;
  height:150px;
  opacity:.66;
  background:
    repeating-radial-gradient(ellipse at 50% 110%, transparent 0 26px, rgba(247,255,232,.22) 27px 29px),
    radial-gradient(ellipse at 15% 48%,rgba(255,255,255,.42),transparent 14%),
    radial-gradient(ellipse at 72% 46%,rgba(255,255,255,.38),transparent 14%),
    linear-gradient(90deg,transparent,rgba(168,255,244,.24),transparent);
  animation:foamMove 4.8s ease-in-out infinite alternate;
}
@keyframes foamMove{from{transform:translateX(34px) translateY(0)}to{transform:translateX(-34px) translateY(-14px)}}

.sea-surface{
  position:absolute;
  left:-12%;
  right:-12%;
  bottom:-26px;
  height:230px;
  background:
    radial-gradient(ellipse at 18% 40%,rgba(66,230,200,.46),transparent 28%),
    radial-gradient(ellipse at 50% 56%,rgba(140,255,94,.18),transparent 30%),
    radial-gradient(ellipse at 80% 42%,rgba(66,230,200,.42),transparent 30%);
  opacity:.88;
  border-top:2px solid rgba(168,255,244,.28);
  animation:surfaceMove 5.3s ease-in-out infinite alternate;
}
@keyframes surfaceMove{from{transform:translateX(24px) translateY(0)}to{transform:translateX(-24px) translateY(-10px)}}

.center-butterfly{
  position:absolute;
  left:50%;
  top:13%;
  width:250px;
  height:220px;
  transform:translateX(-50%);
  filter:drop-shadow(0 0 26px rgba(140,255,94,.95));
  animation:butterflyFloat 4.8s ease-in-out infinite;
}
.center-butterfly .wing{
  position:absolute;
  top:32px;
  width:104px;
  height:142px;
  background:
    radial-gradient(circle at 42% 24%,rgba(255,255,255,.95),transparent 9%),
    radial-gradient(circle at 58% 56%,rgba(255,255,255,.25),transparent 14%),
    linear-gradient(135deg,rgba(230,255,204,.82),rgba(31,214,87,.24));
  border:1.5px solid rgba(216,255,208,.82);
  border-radius:78% 22% 70% 30%;
  box-shadow:inset 0 0 28px rgba(255,255,255,.14),0 0 24px rgba(140,255,94,.42);
}
.center-butterfly .wing.left{left:22px;transform:rotate(-18deg);animation:leftWing 2.8s ease-in-out infinite}
.center-butterfly .wing.right{right:22px;transform:scaleX(-1) rotate(-18deg);animation:rightWing 2.8s ease-in-out infinite}
@keyframes leftWing{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(-23deg)}}
@keyframes rightWing{0%,100%{transform:scaleX(-1) rotate(-18deg)}50%{transform:scaleX(-1) rotate(-23deg)}}
.center-butterfly .lower{
  position:absolute;
  top:130px;
  width:78px;
  height:82px;
  background:linear-gradient(135deg,rgba(230,255,204,.62),rgba(31,214,87,.18));
  border:1.2px solid rgba(216,255,208,.70);
  border-radius:70% 30% 72% 28%;
  box-shadow:0 0 18px rgba(140,255,94,.28);
}
.center-butterfly .lower.left{left:55px;transform:rotate(23deg)}
.center-butterfly .lower.right{right:55px;transform:scaleX(-1) rotate(23deg)}
.center-butterfly .body{
  position:absolute;
  left:121px;
  top:76px;
  width:8px;
  height:108px;
  border-radius:999px;
  background:linear-gradient(#efffe4,#55d95d,#0a5d23);
  box-shadow:0 0 15px rgba(140,255,94,.9);
}
@keyframes butterflyFloat{0%,100%{translate:0 0;scale:1}50%{translate:0 -16px;scale:1.025}}

.hero-content{
  position:absolute;
  left:50%;
  top:44%;
  transform:translateX(-50%);
  text-align:center;
  width:min(720px,90%);
  z-index:4;
}
.script{
  font-size:46px;
  color:rgba(166,255,94,.72);
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-style:italic;
  text-shadow:0 0 22px rgba(140,255,94,.35);
}
.hero-content h1{
  font-size:60px;
  line-height:1.12;
  margin:0 0 16px;
  letter-spacing:4px;
  color:#efffe4;
  text-shadow:0 0 26px rgba(140,255,94,.34);
}
.hero-line{font-size:23px;color:var(--mint);font-weight:900;letter-spacing:3px;margin:12px 0 18px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:28px}

.btn, button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px 25px;
  border-radius:999px;
  border:1px solid rgba(216,255,208,.55);
  background:linear-gradient(135deg,rgba(140,255,94,.30),rgba(16,91,36,.72));
  color:#fff;
  font-weight:900;
  box-shadow:0 0 22px rgba(140,255,94,.20), inset 0 0 18px rgba(255,255,255,.08);
  cursor:pointer;
  transition:.22s;
  font-family:inherit;
}
.btn:hover, button:hover{transform:translateY(-2px);box-shadow:0 0 32px rgba(140,255,94,.34), inset 0 0 18px rgba(255,255,255,.12)}
.btn.secondary, button.secondary{background:rgba(255,255,255,.05);color:var(--mint)}

.tools{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:18px 0 24px}
.card{
  position:relative;
  min-height:230px;
  border:1px solid rgba(140,255,94,.35);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(8,48,32,.78),rgba(3,20,14,.54));
  padding:22px;
  overflow:hidden;
  box-shadow:0 0 22px rgba(84,255,86,.11), inset 0 0 18px rgba(255,255,255,.03);
  transition:.25s;
}
.card:hover{transform:translateY(-6px);border-color:rgba(180,255,126,.85);box-shadow:0 0 32px rgba(140,255,94,.28), inset 0 0 18px rgba(255,255,255,.06)}
.card-index{font-size:28px;color:rgba(140,255,94,.38);font-family:Georgia,serif}
.card-icon{font-size:40px;margin:18px 0 18px;color:var(--green);filter:drop-shadow(0 0 12px rgba(140,255,94,.5))}
.card h3{margin:0 0 10px;font-size:20px}
.card p{color:rgba(242,255,233,.66);font-size:14px}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;background:rgba(140,255,94,.13);color:var(--mint);font-size:12px;margin-left:5px}
.go{position:absolute;left:22px;bottom:20px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(216,255,208,.55);color:var(--green)}

.panel{
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--glass);
  backdrop-filter:blur(18px);
  box-shadow:0 0 34px rgba(84,255,86,.13), inset 0 0 18px rgba(255,255,255,.04);
  padding:24px;
}

.footer{text-align:center;color:rgba(242,255,233,.68);padding:28px 0 18px}
.footer-links{margin-top:12px;font-size:13px;opacity:.78}
.footer-links a{color:rgba(216,255,208,.82);border-bottom:1px solid rgba(216,255,208,.28)}

.tool-page,.ai-page{display:grid;grid-template-columns:1.18fr .82fr;gap:22px;align-items:start}
label{font-weight:900;color:var(--mint)}
textarea,input,select{
  width:100%;
  font-family:inherit;
  border:1px solid rgba(140,255,94,.35);
  border-radius:18px;
  background:rgba(255,255,255,.08);
  color:#f5ffed;
  padding:14px;
  margin:9px 0 16px;
  outline:none;
  font-size:15px;
}
select option{color:#082015}
textarea{min-height:110px;resize:vertical}
textarea:focus,input:focus,select:focus{border-color:rgba(216,255,208,.8);box-shadow:0 0 18px rgba(140,255,94,.18)}
.result{min-height:160px}

#qrcode{text-align:center;margin-top:18px}
#qrcode canvas,#qrcode img{max-width:100%;border-radius:18px;box-shadow:0 0 32px rgba(140,255,94,.22)}
.hidden-qr{position:absolute;left:-99999px;top:-99999px}

.timeline{display:grid;gap:16px}
.timeline-item{border:1px solid var(--line);border-radius:24px;padding:22px;background:rgba(255,255,255,.06)}

.quota-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(140,255,94,.28);
  border-radius:20px;
  padding:16px;
  background:rgba(255,255,255,.06);
  margin-bottom:18px;
}
.quota-number{font-size:28px;color:var(--green);font-weight:900}
.turnstile-placeholder{
  margin:10px 0 16px;
  min-height:72px;
  border:1px dashed rgba(216,255,208,.34);
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(216,255,208,.66);
  padding:16px;
}
.output-box{
  white-space:pre-wrap;
  min-height:220px;
  border:1px solid rgba(140,255,94,.35);
  border-radius:18px;
  background:rgba(255,255,255,.08);
  color:#f5ffed;
  padding:16px;
  margin-top:10px;
}
.small-note{color:rgba(242,255,233,.58);font-size:13px}

@media(max-width:980px){
  .topbar{position:relative;top:auto;align-items:flex-start;flex-direction:column}
  .tools{grid-template-columns:repeat(2,1fr)}
  .tool-page,.ai-page{grid-template-columns:1fr}
  .hero-content h1{font-size:44px}
  .script{font-size:36px}
  .center-butterfly{scale:.82;top:10%}
}
@media(max-width:560px){
  .page{width:min(100% - 22px,1240px)}
  .hero,.ocean-scene{min-height:670px}
  .tools{grid-template-columns:1fr}
  .hero-content{top:44%}
  .hero-content h1{font-size:34px}
  .hero-line{font-size:18px}
  .moon{width:78px;height:78px}
  .center-butterfly{scale:.68;top:9%}
  .wave-curl{width:75%}
}
