:root{
  --navy:#071d49;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e7e1d9;
  --cream:#faf7f2;
  --card:#ffffff;
  --soft:#f4eee7;
  --blue-soft:#e9f3ff;
  --shadow:0 18px 45px rgba(15,23,42,.08);
  --radius:24px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Noto Sans TC',sans-serif;background:var(--cream);color:var(--ink);line-height:1.6}
a{text-decoration:none;color:inherit}
button,input,select{font-family:inherit}
.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);box-shadow:0 8px 26px rgba(15,23,42,.06);position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:14px;font-size:26px;font-weight:900;color:var(--navy);letter-spacing:.03em}.brand-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900;font-size:15px}.brand-mark.small{width:38px;height:38px;font-size:12px}.nav{display:flex;gap:34px;font-weight:800}.nav a{position:relative}.nav a.active::after,.nav a:hover::after{content:"";position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);width:32px;height:3px;background:var(--navy);border-radius:999px}
.site-logo{
  width:60px;
  height:60px;
  object-fit:contain;
}

.section-shell{width:min(1180px,92vw);margin:0 auto}.hero{min-height:720px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;padding:40px 0}.hero-copy h1{font-size:clamp(34px,5vw,58px);line-height:1.12;color:var(--navy);font-weight:900;letter-spacing:-.04em}.hero-copy h2{font-size:clamp(22px,3vw,34px);margin:14px 0 22px;font-weight:900}.hero-copy p{font-size:20px;color:#334155;margin-bottom:28px}.primary-btn,.generate-btn,.locked-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:linear-gradient(135deg,#071d49,#0c2d66);color:#fff;border-radius:999px;font-weight:900;box-shadow:0 12px 28px rgba(7,29,73,.22);cursor:pointer}.primary-btn{padding:18px 36px;font-size:22px}.hero-art{min-height:700px;position:relative}.blob{position:absolute;border-radius:42% 58% 52% 48%;filter:blur(.1px);opacity:.95}.blob-blue{width:360px;height:320px;background:var(--blue-soft);right:110px;top:45px}.blob-beige{width:280px;height:270px;background:#f1ded0;right:0;top:85px}.person{position:absolute;bottom:0;display:grid;place-items:center;font-weight:900;color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.22);box-shadow:var(--shadow);background:linear-gradient(160deg,#c8b49e,#87644d);border:10px solid rgba(255,255,255,.7)}.male{width:190px;height:350px;border-radius:92px 92px 20px 20px;right:260px}.female{width:170px;height:330px;border-radius:86px 86px 22px 22px;right:90px;background:linear-gradient(160deg,#d8c3b1,#9a755c)}.float-item{position:absolute;font-size:48px;filter:drop-shadow(0 14px 18px rgba(15,23,42,.12))}.sunglasses{right:385px;top:35px}.bag{right:310px;top:200px}.watch{right:5px;top:210px}.shoes{right:0;bottom:80px}
.control-panel{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);

  display:grid;
  grid-template-columns:1fr 1.2fr 2.4fr 1.8fr;

  gap:0;
  margin-top:-18px;
  position:relative;
  z-index:5;
  overflow:hidden;
}
 
.step{
  padding:28px 24px;
  border-right:1px solid var(--line);
}

.step:last-of-type{
  border-right:0;
}

.step h3{
  font-size:18px;
  margin-bottom:18px;
  text-align:center;
}

.step h3 span{
  font-size:14px;
  color:var(--muted);
  font-weight:700;
}

.choice-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.choice,
.pill,
.accessory-grid button{
  border:1px solid transparent;
  background:#f8f4ef;
  border-radius:14px;
  padding:14px 16px;
  font-weight:800;

  font-size:20px;   /* 原本18 */

  cursor:pointer;
  transition:.2s;
}
.choice{
  min-height:110px;
  font-size:22px;
}

.pill{
  min-height:72px;

  border-radius:18px;

  border:1px solid #e5ddd4;

  background:#faf7f2;

  box-shadow:
    0 4px 10px rgba(0,0,0,.04);

  transition:.2s;
}

.accessory-grid button{
  min-height:70px;
  font-size:18px;
}

.choice.is-active,
.pill.is-active{
  border-color:#2b6cb0;
  background:#eaf3ff;
  color:#0b5aaa;
  box-shadow:0 8px 18px rgba(43,108,176,.12);
}

.accessory-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.accessory-grid button{
  background:#fff0f3;
  border:1px solid #f4c7d3;
  border-radius:18px;
  color:#071d49;
  box-shadow:0 6px 14px rgba(244,199,211,.25);
}

.accessory-grid button:hover{
  background:#ffe4ec;
}

.accessory-grid button.is-active{
  background:#ffe4ec;
  border-color:#e78ca4;
  color:#b91c4c;
}

.features{
  margin-top:24px;
  background:#fffdf9;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
  padding:26px;
}

.features article{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:8px 14px;
  align-items:center;
}

.features span{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eef4ff;
  font-size:22px;
}

.features b{
  font-size:18px;
}

.features p{
  grid-column:2;
  color:#475569;
  font-size:15px;
}


@media(max-width:980px){

  .site-header{
    height:auto;
    padding:18px 5vw;
    align-items:flex-start;
  }

  .nav{
    display:none;
  }

  .hero{
    grid-template-columns:1fr;
    padding-top:40px;
  }

  .hero-art{
    min-height:320px;
  }

  .male{
    right:45%;
    height:270px;
    width:150px;
  }

  .female{
    right:12%;
    height:255px;
    width:132px;
  }

  .blob-blue{
    right:20%;
    width:280px;
    height:230px;
  }

  .blob-beige{
    right:2%;
    width:220px;
    height:210px;
  }

  .control-panel{
    grid-template-columns:1fr;
  }

  .step{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .pill-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .accessory-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .features{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  }

  .assistant{
    grid-template-columns:1fr;
  }

  .look-row{
    grid-template-columns:repeat(2,1fr);
  }

}
@media(max-width:560px){.brand{font-size:20px}.hero-copy h1{font-size:36px}.hero-copy h2{font-size:24px}.hero-copy p{font-size:17px}.primary-btn{width:100%;font-size:18px}.hero-art{display:none}.control-panel{margin-top:20px}.accessory-grid,.pill-grid{grid-template-columns:repeat(2,1fr)}.look-row{grid-template-columns:1fr}.footer{gap:14px}}

.action-buttons{
display:flex;
flex-direction:column;
gap:10px;
margin-top:15px;
}

.action-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:15px;
  width:100%;
}

.profile-card .secondary-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:48px;
  border:none;
  border-radius:999px;
  background:#e2e8f0;
  color:#071d49;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}

.profile-card .secondary-btn:hover{
  background:#cbd5e1;
}
.hero{
    min-height:620px;
}

.hero-art{
    min-height:620px;
}

.hero-couple{
    position:absolute;
    bottom:0;
    right:30px;

    height:560px;
    width:auto;

    z-index:5;
}

.floating{
  position:absolute;
  z-index:6;
}

.sunglasses{
  width:110px;
  top:30px;
  right:320px;
}

.bag1{
  width:130px;
  top:180px;
  right:350px;
}

.bag2{
  width:140px;
  top:250px;
  right:500px;
}

.watch{
  width:90px;
  top:220px;
  right:20px;
}

.shoes{
  width:150px;
  bottom:80px;
  right:-10px;
}

.upload-guide{
  margin-top:24px;
  background:linear-gradient(135deg,#fff,#f8f3ed);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:34px;
}

.guide-head{
  text-align:center;
  margin-bottom:26px;
}

.guide-head span{
  color:#b28b67;
  font-weight:900;
  letter-spacing:.12em;
}

.guide-head h2{
  color:var(--navy);
  font-size:30px;
  margin:8px 0;
}

.guide-head p{
  color:#64748b;
}

.guide-steps{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:20px;
}

.guide-steps article{
  flex:1;
}

.guide-steps article{
  background:white;
  border:1px solid #eee4da;
  border-radius:18px;
  padding:22px;
  text-align:center;
}

.guide-steps b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:34px;
  border-radius:999px;
  background:#071d49;
  color:white;
  margin-bottom:12px;
}

.guide-steps h3{
  font-size:20px;
  margin-bottom:8px;
}

.guide-steps p{
  color:#64748b;
  font-size:15px;
}

@media(max-width:980px){
  .guide-steps{
    flex-wrap:wrap;
  }

  .guide-steps article{
    flex:1 1 calc(50% - 16px);
  }
}

@media(max-width:560px){
  .guide-steps article{
    flex:1 1 100%;
  }
}

.look-img{
  width:100%;
  height:220px;
  object-fit:contain;
  border-radius:14px;
  background:linear-gradient(160deg,#f8f5f1,#eadfD3);
  margin-top:10px;
  padding:8px;
}
@media(max-width:768px){

  .choice{
    font-size:20px;
    min-height:90px;
  }

  .pill{
    font-size:18px;
    min-height:60px;
  }

  .accessory-grid button{
    font-size:18px;
    min-height:60px;
  }

  select{
    font-size:18px;
    height:56px;
  }

  .step h3{
    font-size:24px;
  }

}

.assistant-v3{
  margin-top:24px;
  margin-bottom:28px;
}

.assistant-v3 .chat-area{
  width:100%;
}

.assistant-v3{
  margin-top:24px;
  margin-bottom:28px;
}

.assistant-v3 .chat-area{
  width:100%;
}

.prompt-bar textarea{
  width:100%;
  min-height:120px;
  border:1px solid #d9d4cc;
  border-radius:16px;
  padding:16px;
  font-size:16px;
  line-height:1.7;
  resize:vertical;
}

.v3-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  margin-top:20px;
}

.enter-gpt-btn,
.v3-actions .locked-btn,
.v3-actions .secondary-btn{
  height:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:16px;
  border:none;
  cursor:pointer;
}

.enter-gpt-btn,
.v3-actions .locked-btn{
  background:#071d49;
  color:white;
  box-shadow:0 12px 24px rgba(7,29,73,.18);
}

.v3-actions .secondary-btn{
  background:#e2e8f0;
  color:#071d49;
}

.toast{
  display:none;
  margin-top:14px;
  padding:12px 16px;
  border-radius:999px;
  background:#eaf3ff;
  color:#071d49;
  font-weight:900;
  text-align:center;
}

.toast.show{
  display:block;
}

@media(max-width:768px){
  .v3-actions{
    grid-template-columns:1fr;
  }
}

.ai-functions{
  margin-top:24px;
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:var(--shadow);
}

.func-group{
  margin-bottom:30px;
}

.func-group h3{
  margin-bottom:15px;
  color:#071d49;
}

.func-group label{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:12px 18px;
  margin:6px;

  border-radius:12px;
  background:#f8f4ef;

  cursor:pointer;

  font-weight:700;
}

.full-analysis-btn{

  width:100%;
  height:70px;

  border:none;
  border-radius:999px;

  background:#071d49;
  color:white;

  font-size:22px;
  font-weight:900;

  cursor:pointer;
}
.function-head{
  text-align:center;
  margin-bottom:26px;
}

.function-head span{
  color:#b28b67;
  font-weight:900;
  letter-spacing:.12em;
}

.function-head h2{
  color:#071d49;
  font-size:30px;
  margin:8px 0;
}

.function-head p{
  color:#64748b;
}
/* ===== AI WEAR R U v6.0 功能選擇區：區塊模式修正版 ===== */

.ai-functions{
  margin-top:28px;
  margin-bottom:28px;
  background:linear-gradient(135deg,#fff,#f8f3ed);
  border:1px solid var(--line);
  border-radius:24px;
  padding:34px;
  box-shadow:var(--shadow);
}

.function-head{
  text-align:center;
  margin-bottom:28px;
}

.function-head span{
  color:#b28b67;
  font-weight:900;
  letter-spacing:.12em;
}

.function-head h2{
  color:var(--navy);
  font-size:30px;
  margin:8px 0;
}

.function-head p{
  color:#64748b;
}

.func-group{
  background:#fff;
  border:1px solid #eee4da;
  border-radius:20px;
  padding:24px;
  margin-bottom:22px;
}

.func-group h3{
  color:var(--navy);
  font-size:22px;
  margin-bottom:16px;
}

.func-group label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 18px;
  margin:7px;
  border-radius:999px;
  background:#f8f4ef;
  border:1px solid transparent;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}

.func-group input[type="checkbox"]{
  width:18px;
  height:18px;
  flex:0 0 auto;
  accent-color:#071d49;
}

.func-group label:has(input:checked){
  background:#eaf3ff;
  border-color:#2b6cb0;
  color:#0b5aaa;
}

.full-analysis-btn{
  width:100%;
  height:70px;
  border:none;
  border-radius:999px;
  background:#071d49;
  color:white;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(7,29,73,.22);
}

@media(max-width:768px){
  .ai-functions{
    padding:24px 18px;
  }

  .func-group label{
    width:100%;
    margin:6px 0;
    justify-content:flex-start;
    font-size:18px;
  }
}
/* ===== v6.1 完整專業分析 ===== */

.analysis-box{

  background:white;

  border:1px solid #eee4da;

  border-radius:20px;

  padding:28px;

  margin-bottom:22px;

  text-align:center;

}

.analysis-box h3{

  color:#071d49;

  font-size:28px;

  margin-bottom:10px;

}

.analysis-box p{

  color:#64748b;

  margin-bottom:18px;

  font-size:17px;

}

.analysis-list{

  display:flex;

  flex-wrap:wrap;

  justify-content:center;

  gap:10px;

  margin-bottom:22px;

}

.analysis-list span{

  background:#f8f4ef;

  padding:10px 16px;

  border-radius:999px;

  font-weight:800;

}

/* 橘色 CTA */

.generate-final-btn{

  width:100%;

  height:80px;

  border:none;

  border-radius:999px;

  background:linear-gradient(
  135deg,
  #ff8a00,
  #ff6b00
  );

  color:white;

  font-size:24px;

  font-weight:900;

  cursor:pointer;

  margin-top:16px;

  box-shadow:
  0 15px 30px rgba(255,106,0,.25);

}

.generate-final-btn:hover{

  transform:translateY(-2px);

}

.virtual-tip{

  margin-bottom:16px;

  color:#64748b;

  font-size:15px;

  line-height:1.8;

}

.brand{
  min-width:260px;
}

.site-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}

.age-step select,
.occasion-step input{
  width:100%;
  height:58px;
  padding:0 16px;
  border:1px solid #d8d1c8;
  border-radius:14px;
  background:#fff;
  color:#071d49;
  font-size:18px;
  font-weight:800;
}

.occasion-step input::placeholder{
  color:#94a3b8;
  font-size:16px;
}

.look-row{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin:24px 0;
}

.look-row article{
  background:#fff;
  border:1px solid #eee4da;
  border-radius:18px;
  padding:14px;
  text-align:center;
}

.look-row article b{
  display:block;
  font-size:16px;
  margin-bottom:8px;
  color:#071d49;
}

.look-img{
  width:100%;
  height:180px;
  object-fit:contain;
  border-radius:14px;
  background:#f4eee7;
  padding:8px;
}

@media(max-width:980px){
  .look-row{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:560px){
  .look-row{
    grid-template-columns:1fr;
  }
}

.footer{
  margin-top:40px;
  padding:36px 6vw;
  background:#071d49;
  color:#fff;
  text-align:center;
}

.footer-brand b{
  font-size:24px;
  letter-spacing:.08em;
}

.footer-brand p{
  margin-top:8px;
  color:#cbd5e1;
}

.footer-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:22px;
  margin:24px 0 16px;
}

.footer-links a{
  color:#fff;
  font-weight:700;
}

.footer-copy{
  color:#cbd5e1;
  font-size:14px;
}

.pill-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(130px,1fr));

  gap:16px;

  margin-top:18px;
}

.pill:hover{
  transform:translateY(-2px);

  background:#fff;
}

.pill.is-active{
  background:#eaf3ff;

  border:2px solid #2b6cb0;

  color:#0b5aaa;

  box-shadow:
    0 10px 20px rgba(43,108,176,.15);
}

.page-container{
max-width:900px;
margin:60px auto;
padding:40px;
background:#fff;
border-radius:24px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.page-container h1{
font-size:40px;
color:#0b2b66;
margin-bottom:30px;
}

.page-container h2{
font-size:24px;
color:#0b2b66;
margin-top:30px;
margin-bottom:15px;
}

.page-container p{
line-height:2;
font-size:18px;
color:#444;
}

/* 法律頁／關於頁 Header Logo 修正 */
.site-header .brand img{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}

.site-header .brand span{
  font-size:24px;
  font-weight:900;
  color:#071d49;
  line-height:1.2;
}

@media(max-width:560px){
  .site-header .brand img{
    width:44px;
    height:44px;
  }

  .site-header .brand span{
    font-size:20px;
  }
}

.mode-badge-red{
  display:inline-block;
  margin-left:10px;
  padding:4px 12px;
  border-radius:999px;
  background:#ffe5e5;
  color:#e60012;
  font-size:14px;
  font-weight:900;
}

.mode-badge-green{
  display:inline-block;
  margin-left:10px;
  padding:4px 12px;
  border-radius:999px;
  background:#e8fff0;
  color:#00a63e;
  font-size:14px;
  font-weight:900;
}

.green-dot{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#00d84a;
  margin-right:8px;
}

.red-dot{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ff3b30;
  margin-right:8px;
}

/* ===== v6.5 金色使用說明卡 ===== */

.usage-card{
  margin:22px auto 28px;
  padding:24px;
  border-radius:22px;
  background:linear-gradient(135deg,#fff8e7,#f8ead2);
  border:1px solid #e8c98f;
  box-shadow:0 14px 32px rgba(184,132,46,.16);
  text-align:left;
}

.usage-card h3{
  text-align:center;
  color:#071d49;
  font-size:24px;
  margin-bottom:18px;
  font-weight:900;
}

.usage-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.usage-item{
  background:rgba(255,255,255,.75);
  border-radius:18px;
  padding:18px;
  border:1px solid rgba(232,201,143,.55);
}

.usage-item h4{
  font-size:19px;
  color:#071d49;
  margin-bottom:10px;
  font-weight:900;
}

.usage-item p{
  color:#475569;
  font-size:16px;
  line-height:1.8;
}

.usage-item.image{
  border-left:6px solid #ff3b30;
}

.usage-item.text{
  border-left:6px solid #00c853;
}

@media(max-width:768px){
  .usage-grid{
    grid-template-columns:1fr;
  }

  .usage-card{
    padding:20px;
  }

  .usage-card h3{
    font-size:22px;
  }
}

.mode-notice{
  display:flex;
  justify-content:center;
  gap:16px;
  margin:18px auto 20px;
  flex-wrap:wrap;
}

.mode-item{
  padding:12px 20px;
  border-radius:999px;
  background:#fff;
  border:1px solid #eee4da;
  font-weight:900;
  color:#071d49;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}

.stats-card{
  margin:-80px auto 24px;
  position:relative;
  z-index:8;
}

.stats-box{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 22px;
  box-shadow:0 12px 32px rgba(15,23,42,.08);

  display:grid;
  grid-template-columns:1.4fr repeat(5,1fr);
  gap:14px;
  align-items:center;
}

.stats-title{
  font-size:18px;
  font-weight:900;
  color:#071d49;
}

.stats-item{
  text-align:center;
  padding:10px 8px;
  border-radius:16px;
  background:#faf7f2;
}

.stats-item b{
  display:block;
  font-size:14px;
  color:#334155;
  margin-bottom:4px;
}

.stats-item span{
  display:block;
  font-size:22px;
  font-weight:900;
  color:#2563eb;
}

@media(max-width:980px){
  .stats-card{
    margin:20px auto 20px;
  }

  .stats-box{
    grid-template-columns:1fr 1fr;
  }

  .stats-title{
    grid-column:1 / -1;
    text-align:center;
  }
}

@media(max-width:560px){
  .stats-box{
    grid-template-columns:1fr;
  }
}