/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
    text-align: justify;
  font-family:'Noto Sans TC',sans-serif;
  color:#111;
  background:#fff;
  overflow-x:hidden;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}
h3{
  font-size: 24px;
}

.container{
   width: 100%;
    max-width: 1030px; /* 1000 + 左右15 */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.nav-wrap{
  height:55px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-group{
  display:flex;
  gap:12px;
  align-items:center;
}

.logo{
  width:88px;
  height:47px;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}
.logo2{
  width:176px;
  height:47px;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}

.logo.dark{
  color:#fff;
}

.nav{
  display:flex;
  gap:36px;
}

.nav a{
  color:#111;
  font-size:14px;
  font-weight:600;
  position:relative;
}

.nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:#2348b6;
  transition:.35s;
}

.nav a:hover::after{
  width:100%;
}

/* HAMBURGER */

.hamburger{
  width:48px;
  height:48px;
  border:none;
  background:none;
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:28px;
  height:3px;
  background:#2046b2;
  border-radius:10px;
  transition:.3s;
}

/* HERO */
.hero::after{
  content:'';

  position:absolute;

  width:700px;
  height:700px;

  right:-250px;
  top:-150px;

  background:
  radial-gradient(
    circle,
    rgba(91,126,255,.22),
    transparent 70%
  );

  filter:blur(40px);

  pointer-events:none;
}
.hero{
  position:relative;
  overflow:hidden;
  padding-top:120px;
  min-height:940px;
  background:
  linear-gradient(to bottom,#eef7ff 0%,#ffffff 100%);
}

.hero-gradient{
  position:absolute;
  inset:0;
  background-image: url("img/BG.jpg");
    background-size: cover;
    background-position: center;
}

.hero-light{
  position:absolute;
  width:700px;
  height:700px;
  background:radial-gradient(circle,rgba(255,255,255,.8),transparent 70%);
  top:-200px;
  left:-200px;
  animation:rotateGlow 12s linear infinite;
}

@keyframes rotateGlow{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}


.hero-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}

.hero-content{
  position:relative;
  z-index:2;
  width:50%;
}

.year{
  font-size:110px;
  font-weight:900;
  line-height:1;
  color:#2348b6;
  letter-spacing:2px;
  margin-bottom:14px;
}

.hero h1{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.hero h1 span{
  width:fit-content;
  background:#2145af;
  color:#fff;
  padding:10px 22px;
  font-size:58px;
  line-height:1.2;
  font-weight:900;
  box-shadow:0 12px 30px rgba(18,44,130,.22);
}

.hero-visual{
  width:42%;
  position:relative;
  height:650px;
}

.diamond{
  position:absolute;
  overflow:hidden;
  transform:rotate(45deg);
  border-radius:3px;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}

.diamond img{
  width:140%;
  height:140%;
  object-fit:cover;
  transform:rotate(-45deg) scale(1.1);
}

.diamond-lg{
  width:330px;
  height:330px;
  top:40px;
  right:70px;
  animation:float 5s ease-in-out infinite;
}

.diamond-md{
  width:250px;
  height:250px;
  bottom:70px;
  right:0;
  animation:float 6s ease-in-out infinite;
}

.diamond-sm{
  width:180px;
  height:180px;
  top:250px;
  left:0;
  animation:float 4s ease-in-out infinite;
}

.diamond-xs{
  width:150px;
  height:150px;
  bottom:180px;
  left:120px;
  animation:float 7s ease-in-out infinite;
}

@keyframes float{
  0%,100%{
    transform:rotate(45deg) translateY(0);
  }
  50%{
    transform:rotate(45deg) translateY(-16px);
  }
}

.glass{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(10px);
}

/* TAG */

.tag{
  position:absolute;
  z-index:5;

  padding:10px 18px;

  border-radius:999px;

  background:
  linear-gradient(
    135deg,
    rgba(255,255,255,.38),
    rgba(255,255,255,.12)
  );

  border:1px solid rgba(255,255,255,.45);

  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  color:#2145af;

  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;

  box-shadow:
  0 10px 30px rgba(0,0,0,.08),
  inset 0 1px 1px rgba(255,255,255,.45);

  animation:tagFloat 5s ease-in-out infinite;

  white-space:nowrap;
}

/* 微光 */

.tag::before{
  content:'';
  position:absolute;
  inset:0;

  border-radius:inherit;

  background:
  linear-gradient(
    120deg,
    rgba(255,255,255,.55),
    rgba(255,255,255,0)
  );

  opacity:.7;

  pointer-events:none;
}

/* 漂浮 */

@keyframes tagFloat{

  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-10px);
  }

}

/* 桌機版位置 */
/* 全部避開主標與人物 */

.t1{
  top:-40px;
  left:100px;
}

.t2{
  top:40px;
  left:10px;
}

.t3{
  top:320px;
  left:12px;
}

.t4{
  top:-30px;
  right:50px;
}

.t5{
  top:80px;
  right:-100px;
}

.t6{
  top:350px;
  right:150px;
}

/* DATE */

.date-section{
  padding:90px 0 100px;
}

.date-box{
  position:relative;
  width:min(700px,92%);
  margin:auto;
  background:#fff;
  padding:70px 50px;
  text-align:center;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.corner{
  position:absolute;
  width:48px;
  height:48px;
  border:5px solid #2c4cb8;
}

.tl{
  top:-5px;
  left:-5px;
  border-right:none;
  border-bottom:none;
}

.br{
  right:-5px;
  bottom:-5px;
  border-left:none;
  border-top:none;
}

.date-block h3{
  color:#2348b6;
  font-size:36px;
  margin-bottom:12px;
}

.date-block p{ font-size:20px;font-weight: 600;
}

.line{
  width:100%;
  height:1px;
  background:#ccc;
  margin:35px 0;
}

/* ABOUT */

.about{
  background:#eef3fb;
  padding:60px 0;
  position:relative;
}

.about-wrap{
  display:flex;
  align-items:center;
  gap:70px;
}

.about-device{
  width:45%;
}

.about-text{
  width:55%;
}

.about-text p{ font-size:17px;
  line-height:1.5;
  margin-bottom:24px;
}

.highlight{
  color:#2145af;
  font-weight:600;
  font-size:18px !important;
}

.diamond-bg{
  position:absolute;
  width:180px;
  height:180px;
  background:linear-gradient(135deg,#2145af,#b8c6f4);
  transform:rotate(45deg);
  left:-90px;
  top:-50px;
  opacity:.5;
}

/* HOW */

.how{
    background-size: cover;
  background-image: url("img/BG3.png");
  color:#fff;
  padding:0px 0;
}

.how-wrap{
 display: flex;
  align-items: flex-end; /* 關鍵：讓左右兩側內容都對齊底部 */
  gap: 20px;
}

.how-image{
  width: 40%;
  display: flex;       /* 使用 flex 控制內部圖片 */
  align-self: flex-end; /* 確保自己是在父層的最底端 */
  line-height: 0;
}

.how-image img{
display: block;      /* 消除圖片下方的微小間隙 */
  width: 100%;         /* 寬度撐滿容器 */
  height: auto;        /* 高度自適應 */
  margin-top: auto;
    position: re
}

.how-content {

  width: 55%;
  padding-bottom: 40px; /* 視情況調整，讓文字與底部保持一點美感距離 */
   padding-top: 60px; 
    
}

.how h2{
  font-size:36px;
  margin-bottom:30px;
}

.how ul{
  display:flex;
  flex-direction:column;
  gap:5px;
    padding: 0 10px 0 20px;
}

.how li{
  line-height:1.4; font-size:17px;
    padding-bottom:15px;
}

/* BENEFIT */

.benefit{
  position:relative;
  padding:60px 0;
}

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title h2{
  font-size:36px;
  color:#2145af;
}

.white h2{
  color:#fff;
}

.benefit-box{
  background:#fff;
  border-left:10px solid #2145af;
  padding:20px 40px;
  margin-bottom:20px;
  box-shadow:0 12px 40px rgba(0,0,0,.06);
}

.benefit-box h3{
  color:#2145af;
  margin-bottom:5px;
  font-size:24px;
}

.benefit-box p,
.benefit-box li{
  line-height:2; font-size:17px;
}

.vertical-text{
  position:absolute;
  left:-20px;
  top:40%;
  transform:translateY(-50%) rotate(180deg);
  writing-mode:vertical-rl;
  font-size:80px;
  font-weight:900;
  color:#e5ebfa;
}

/* REWARD */

.reward{
    background-image: url("img/BG2.png");
  background:#eef3fb;
    background-size: cover;
  padding:60px 0;
}

.w_bold{ font-weight: bold;font-size: 24px;line-height: 1.5;}
.reward-content{
  width:min(900px,100%);
  margin:auto;
}

.reward-content p,
.reward-content li{ font-size:17px;
  line-height:1.6;
    padding-bottom: 15px;
}

.reward-content ul{
  margin:30px 0;
  padding-left:20px;
}

/* NOTICE */

.notice{
  background:#2145af;  padding:60px 0;
}

.notice-box{
  color:#fff;
  width:min(900px,100%);
  margin:auto;
  border-left:4px solid rgba(255,255,255,.7);
  padding-left:30px;
  line-height:2; font-size:17px;
}

/* FLOATING */

.floating-shape{
  position:absolute;
  width:120px;
  height:120px;
  background:linear-gradient(135deg,rgba(255,255,255,.4),rgba(0,140,255,.08));
  backdrop-filter:blur(10px);
  transform:rotate(45deg);
  animation:float2 8s ease-in-out infinite;
}

.shape1{
  left:5%;
  top:15%;
}

.shape2{
  right:10%;
  top:10%;
}

.shape3{
  left:15%;
  bottom:10%;
}

.shape4{
  right:8%;
  bottom:20%;
}

@keyframes float2{
  0%,100%{
    transform:rotate(45deg) translateY(0);
  }
  50%{
    transform:rotate(45deg) translateY(-25px);
  }
}

/* HOVER */

.benefit-box,
.date-box,
.diamond,
.how-image img{
  transition:.4s;
}

.benefit-box:hover,
.date-box:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 60px rgba(0,0,0,.12);
}

.diamond:hover{
  transform:rotate(45deg) scale(1.04);
}

/* RWD */

@media(max-width:1100px){

  .hero-inner,
  .about-wrap,
  .how-wrap{
    flex-direction:column;
  }

  .hero-content,
  .hero-visual,
  .about-device,
  .about-text,
  .how-image,
  .how-content{
    width:100%;
  }

  .hero{
    padding-bottom:100px;
  }

  .hero-visual{
    height:560px;
  }

  .year{
    font-size:90px;
  }

  .hero h1 span{
    font-size:48px;
  }

}

@media(max-width:768px){

  .nav{
    position:fixed;
    top:50px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    padding:30px;
    gap:24px;
    transform:translateY(-120%);
    transition:.35s;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
  }

  .nav.active{
    transform:translateY(0);
  }

  .hamburger{
    display:flex;
  }

  .hero{
    min-height:auto;
    padding-top:120px;
  }

  .hero-content{
    padding-top:80px;
  }

  .year{
    font-size:64px;
  }

  .hero h1 span{
    font-size:34px;
    padding:12px 18px;
  }

  .hero-visual{
    height:350px;
  }

  .diamond-lg{
    width:200px;
    height:200px;
    right:100px;
  }

  .diamond-md{
    width:150px;
    height:150px;
  }

  .diamond-sm{
    width:100px;
    height:100px;
  }

  .diamond-xs{
    width:100px;
    height:100px;
      top: -50px;
  }

  .tag{
    font-size:11px;
    padding:6px 12px;
  }

  .date-box{
    padding:30px 24px;
  }

  .date-block h3{
    font-size:30px;
  }

  .date-block p{
    font-size:16px;
    line-height:1.8;
  }

  .section-title h2,
  .how h2{
    font-size:36px;
  }

  .about-text p,
  .reward-content p,
  .reward-content li,
  .benefit-box p,
  .benefit-box li,
  .how li,
  .notice-box{
    font-size:16px;
  }

  .vertical-text{
    display:none;
  }

  .benefit-box{
    padding:28px;
  }

  .floating-shape{
    display:none;
  }

}
@media(max-width:768px){
 
.how-image {
   
    display: none;
}
  .hero-content{
    padding-top:0px;
  }

  .tag{
    font-size:11px;
    padding:7px 12px;
  }

  .t1{
    top:200px;
    left:0;
  }

  .t2{
    top:450px;
    left:110px;
  }

  .t3{
    top:300px;
    left:20px;
  }

  .t4{
    top:280px;
    right:20px;
  }

  .t5{
    display: none;
  }

  .t6{
    top:200px;
    right:50px;
  }

}

/* =========================
   RIBBON PARALLAX
========================= */
.hero-light{
    z-index:0;
}

.hero-gradient{
    z-index:1;
}

.ribbon-layer{
    z-index:2;
}

.hero-inner{
    position:relative;
    z-index:5;
}

.ribbon-layer{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:2;
}

/* 基本彩帶 */

.ribbon{
    position:absolute;
    width:520px;
    opacity:.9;

    mix-blend-mode:screen;

    filter:
    blur(1px)
    drop-shadow(0 0 30px rgba(255,255,255,.35));

    animation: ribbonFloat 8s ease-in-out infinite;
    will-change:transform;
}

/* 第一條 */
.rb1{
    top:-40px;
    left:-120px;

    transform:
    rotate(-8deg);

    animation-delay:0s;
}

/* 第二條 */
.rb2{
    right:-100px;
    bottom:-120px;

    width:620px;

    transform:
    rotate(12deg);

    animation-delay:2s;
}

/* 漂浮動畫 */

@keyframes ribbonFloat{

    0%{
        transform:
        translateY(0px)
        rotate(-6deg)
        scale(1);
    }

    50%{
        transform:
        translateY(-18px)
        rotate(-10deg)
        scale(1.03);
    }

    100%{
        transform:
        translateY(0px)
        rotate(-6deg)
        scale(1);
    }
}
@media(max-width:768px){

    .ribbon{
        width:300px;
        opacity:.7;
    }

    .rb1{
        left:-120px;
        top:20px;
    }

    .rb2{
        right:-140px;
        bottom:-40px;
    }

}
@media(max-width:480px){
    

  .hero h1 span{
    font-size:26px;
  }

  .year{
    font-size:52px;
  }

  .hero-visual{
    transform:scale(.9);
  }

  .section-title h2,
  .how h2{
    font-size:34px;
      text-align: center;
  }

}

/*表格*/


/* 外框 */
.apply-form-wrap{
    background-image: url("img/BG2.png");
    background-size: cover;
  width:100%;
  padding:70px 20px;
  display:flex;
  justify-content:center;
}

/* 表單 */
.apply-form{
  width:100%;
  max-width:800px;
  background:#ffffff;
  border-radius:20px;
  padding:30px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* 標題 */
.form-title{
  width:100%;
  text-align:center;
  font-size:36px;
  font-weight:600;
  color:#2145af;
  margin:0 auto 30px;
  position:relative;
  display:block;
  padding-bottom:15px;
  letter-spacing:2px;
}

/* 下底線 */
.form-title::after{
  content:"";
  width:120px;
  height:2px;
  border-radius:50px;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;

  background:linear-gradient(
    90deg,
    #4da9ff,
    #005cff
  );
}

/* 左右排列 */
.form-group{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
}

/* textarea 對齊上方 */
.form-group.align-top{
  align-items:flex-start;
}

/* 左側標題 */
.form-group label{
  width:130px;
  flex-shrink:0; font-size:17px;
  font-weight:700;
  color:#16325c;

  line-height:1.5;
}

/* 右側輸入區 */
.field-area{
  flex:1;
}

/* 輸入框 */
.form-group input,
.form-group textarea{
  width:100%;
  border:none;
  border-bottom:1px solid #93b4e0;
  padding:10px 0;
  font-size:17px;
  background:transparent;
  transition:0.3s;
  outline:none;
  color:#16325c;
}

/* focus */
.form-group input:focus,
.form-group textarea:focus{
  border-bottom:2px solid #006dff;
}

/* placeholder */
::placeholder{
  color:#9aa8bc;
}

/* 提示 */
.note{
  margin-top:12px;
  font-size:14px;
  color:#7b8ca8;
  line-height:1.8;
}

/* 按鈕 */
.submit-btn{
    width: 350px;
    border: none;
    text-align: center;
    padding: 15px 20px;
    margin: 50px auto 20px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
    transition: 0.35s;
    background: linear-gradient(135deg, #2145af 0%, #076ccf 40%, #0057ff 100%);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    display: block;


  box-shadow:
    0 10px 30px rgba(0,102,255,0.28),
    inset 0 1px 1px rgba(255,255,255,0.35);
}

/* hover */
.submit-btn:hover{
  transform:translateY(-3px);

  box-shadow:
    0 18px 40px rgba(0,102,255,0.38),
    inset 0 1px 1px rgba(255,255,255,0.4);
}

/* 手機版 */
@media(max-width:768px){

  .apply-form{
    padding:38px 24px;
    border-radius:24px;
  }

  .form-title{
    font-size:34px;
    margin-bottom:45px;
  }

  /* 改上下排列 */
  .form-group{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    margin-bottom:30px;
  }

  .form-group label{
    width:100%;
    font-size:17px;
  }

  .field-area{
    width:100%;
  }

  .submit-btn{width:90%; font-size:17px;
    padding:18px;
  }
    .section-title {
    text-align: center;
    margin-bottom: 40px;
}

}