:root{
  --bg:#05070b;
  --card:#11151f;
  --surface:#171d29;
  --border:#293142;

  --primary:#d9e3f5;
  --primary-light:#ffffff;

  --text:#eef2f8;
  --text-soft:#afb8c8;

  --shadow:0 20px 40px rgba(0,0,0,.45);

  --radius:20px;
  --max-width:1280px;
}

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

body{
  background:
  linear-gradient(
    180deg,
    #05070b,
    #0d1018
  );

  color:var(--text);

  font-family:
  "Noto Sans TC",
  sans-serif;

  line-height:1.8;
}

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

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

.container{
  width:min(92%,1280px);
  margin:auto;
}

.header{
  position:sticky;
  top:0;
  z-index:999;

  backdrop-filter:blur(18px);

  background:rgba(5,7,11,.85);

  border-bottom:
  1px solid rgba(255,255,255,.06);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand img{
  width:56px;
  height:56px;
}

.brand span{
  display:block;
  font-size:1.1rem;
  font-weight:800;
}

.brand small{
  color:var(--text-soft);
}

nav{
  display:flex;
  gap:18px;
}

nav a{
  color:var(--text-soft);
}

nav a:hover{
  color:#fff;
}

.hero{
  padding:100px 0;
}

.hero-grid{
  display:grid;
  gap:50px;
  align-items:center;

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

.hero-badge{
  display:inline-block;

  margin-bottom:18px;

  padding:8px 16px;

  border-radius:999px;

  background:
  rgba(255,255,255,.08);

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

.hero h1{
  font-size:4rem;
  margin-bottom:18px;
}

.hero-subtitle{
  font-size:1.3rem;
  color:#fff;
  margin-bottom:18px;
}

.hero-description{
  color:var(--text-soft);
}

.hero-image img{
  border-radius:24px;
  box-shadow:var(--shadow);
}

.btn{
  display:inline-block;

  margin-top:30px;

  background:#fff;
  color:#000;

  padding:14px 24px;

  border-radius:14px;

  font-weight:700;
}

section{
  padding:80px 0;
}

section h2{
  margin-bottom:30px;
  font-size:2rem;
}

.cards{
  display:grid;

  gap:24px;

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

.card{
  background:var(--card);

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

  border-radius:20px;

  padding:28px;

  transition:.3s;
}

.card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,255,255,.18);
}

.card h3{
  margin-bottom:12px;
}

.card p{
  color:var(--text-soft);
}

footer{
  text-align:center;

  border-top:
  1px solid rgba(255,255,255,.08);

  padding:60px 0;
}

footer p{
  color:var(--text-soft);
  margin-top:10px;
}

@media(max-width:900px){

  .nav{
    flex-direction:column;
    gap:20px;
  }

  .hero h1{
    font-size:2.6rem;
  }

}
