:root {
  --primary-blue: #2196f3;
  --primary-blue-dark: #1976d2;
  --primary-green: #43a047;
  --primary-green-dark: #2e7d32;


  --bg-color: #f0f4f8;
  --bg-gradient: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 100%);

  --text-main: #334155;
  --text-secondary: #64748b;
  --text-light: #f8fafc;


  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  --font-main: 'Noto Sans TC', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg-gradient);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 80px;

}


.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-blue), transparent 70%);
  animation: float 20s infinite ease-in-out;
  position: fixed;

}

.shape-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--primary-green), transparent 70%);
  animation: float 15s infinite ease-in-out reverse;
  position: fixed;

}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 50px);
  }
}


h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0;
  font-weight: 700;
}

.highlight-blue {
  color: var(--primary-blue);
  text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.highlight-green {
  color: var(--primary-green);
  text-shadow: 0 0 20px rgba(67, 160, 71, 0.5);
}

.blue-text {
  color: var(--primary-blue);
}

.green-text {
  color: var(--primary-green);
}


main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  width: 100%;

}

section {
  margin-bottom: 6rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.title-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.title-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.hero-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.main-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.hero-avatars {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

.avatar-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.05);
}

.blue-glow {
  box-shadow: 0 0 40px rgba(33, 150, 243, 0.3);
}

.green-glow {
  box-shadow: 0 0 40px rgba(67, 160, 71, 0.3);
}


.btn-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn {
  color: white;
  border: 1px solid transparent;
}

.blue-btn {
  background: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.blue-btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}

.green-btn {
  background: var(--primary-green);
  box-shadow: 0 4px 15px rgba(67, 160, 71, 0.4);
}

.green-btn:hover {
  background: var(--primary-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.6);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  color: var(--text-light);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--glass-shadow);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}


.bot-details-section {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.bot-block {
  background: rgba(255, 255, 255, 0.7);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.08);
}

.section-desc {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.command-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.command-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.command-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cmd-trigger {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  background: rgba(33, 150, 243, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}


.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.cmd-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.cmd-card code {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-green);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.1em;
  margin-bottom: 0.5rem;
  border: 1px solid #e2e8f0;
}

.image-showcase {
  text-align: center;
  margin-top: 2rem;
}

.feature-img-styled {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
}

.img-caption {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
}


.team-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  width: 250px;
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

.member-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #94a3b8;
}

.role {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
}

.blue-tag {
  color: var(--primary-blue);
  background: rgba(33, 150, 243, 0.1);
}

.green-tag {
  color: var(--primary-green);
  background: rgba(67, 160, 71, 0.1);
}


footer {
  text-align: center;
  padding: 2rem 0 1rem 0;

  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: auto;

}

footer p {
  margin: 0;
}


.footer-btn-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2em 0;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2em;
  border-radius: 50px;
  background: white;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.footer-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}


@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .hero-avatars {
    gap: 1.5rem;
  }

  .avatar-wrapper {
    width: 120px;
    height: 120px;
  }

  .btn-row {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .bot-block {
    padding: 1.5rem;
  }

  .footer-btn-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }


  .footer-btn {
    width: 100%;
    text-align: center;
    max-width: 250px;
  }
}


.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.main-nav.nav-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 50%;

  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


.nav-dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(15px);
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: rgba(33, 150, 243, 0.1);
  color: var(--primary-blue);
}


.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-dropdown:hover .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    border: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding-left: 1rem;
  }

  .dropdown-content {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.active .dropdown-content {
    display: block;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dropdown-content {
    text-align: center;
    padding: 0;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.02);
    width: 100%;
  }
}


.hidden {
  display: none !important;
}

.page-view {
  padding-top: 120px;

  padding-bottom: 4rem;
  min-height: 80vh;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-view h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  text-align: center;
}

.page-view h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
}

.page-view h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.page-view p,
.page-view li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1rem;
}

.page-view ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-view li {
  margin-bottom: 0.5rem;
}

.page-view a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.page-view a:hover {
  text-decoration: underline;
}

.page-view strong {
  color: var(--text-main);
}


.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


.page-view {
  opacity: 1;
}