body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #f4f4f4;
    color: #303030;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
}

.logo {
    margin: 0px 0px 0px 0px;
}

.navbar .logo img {
    width: 320px;
    height: auto;
}

.nav-list {
    list-style: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 40px;
    display: flex;
}

.nav-list li {
    margin: 0px 0px 0px 20px;
}

.nav-list a {
    text-decoration: none;
    color: #374151;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 4px;
    margin: 0 8px;
    border-bottom: 2px solid transparent;
    background: none;
    transition: color 0.15s, border-color 0.15s, transform 0.08s;
}

.nav-list a:hover {
    color: #2563eb;
    border-bottom-color: #c7d2fe;
}

.nav-list a:active {
    transform: translateY(1px);
    color: #1d4ed8;
}

.nav-list a.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.nav-list a:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    color: #374151;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.dropdown-toggle:hover {
    color: #2563eb;
    border-bottom-color: #c7d2fe;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.15s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);

    padding: 6px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0px 0px 0px 0px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 18px;
    color: #374151;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: #f9fafb;
    color: #2563eb;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    line-height: 1;

    color: #374151;
    text-decoration: none;

    padding: 0px 0px 0px 0px;
    margin: 4px 0px 0px 10px;

    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-icon:hover,
.nav-icon:focus {
    color: #2563eb;
    background-color: #f1f5f9;
    outline: none;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
}

.footer-text {
    margin: 0;
    text-align: center;

    font-size: 14px;
    line-height: 1.6;
    color: #6b7280; /* 中性灰 */
}

.footer-text .brand {
    font-weight: 600;
    color: #374151;
}

.footer-text a {
    color: #2563eb;
    text-decoration: none;
}

.footer-text a:hover,
.footer-text a:focus {
    text-decoration: underline;
}

/* Hero Search Section */
.home-hero {
    background:
        linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
    padding: 60px 0 64px 0;
}

.hero-header {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 40px auto;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 14px 0;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

/* Search form layout */
.hero-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.search-controls {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.search-controls select,
.search-controls input[type="text"] {
    font-size: 18px;
    padding: 14px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
}

.search-controls select {
    min-width: 170px;
    background: #ffffff;
}

.search-controls input[type="text"] {
    flex: 1;
}

.search-controls select:focus,
.search-controls input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.search-controls .btn.primary {
    padding: 0 28px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
}

/* Example hints */
.search-hints {
    margin-top: 14px;
    font-size: 16px;
    color: #6b7280;
    text-align: left;
    padding-left: 6px;            
}

.search-hints-label {
    margin-right: 6px;
}

.example-link {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 0px 6px 0px 0px;
}

.example-link:hover {
    text-decoration: underline;
}


/* Accessibility helper */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Welcome overview ---------- */
.home-welcome {
    background: #ffffff;
    padding: 48px 0 72px 0;
}

/* Header */
.welcome-header {
    max-width: 1000px;
    margin: 0 auto 36px auto;
    text-align: center;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.welcome-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

/* Main layout */
.welcome-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Framework */
.framework-image {
    width: 100%;
    max-width: 720px;
    border-radius: 10px;
    margin-top: 24px;
}

.framework-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

/* Feature list */
.welcome-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

/* Feature card */
.feature-card {
    position: relative;
    display: grid;

    /* 左：數字 / 右：內容 */
    grid-template-columns: 55px 1fr;

    /* 明確定義兩列：標題列 + 文字列 */
    grid-template-rows: auto auto;

    column-gap: 0px;
    row-gap: 6px; /* 讓標題與段落之間更自然 */

    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);

    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Step number */
.feature-card::before {
    content: attr(data-step);

    /* ★ 關鍵：跨越標題 + 段落兩列 */
    grid-column: 1;
    grid-row: 1 / span 2;

    /* ★ 關鍵：在「兩列總高度」的中間置中 */
    align-self: center;
    justify-self: center;

    margin: 0px 0px 0px -10px;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 800;

    background: #e0e7ff;
    color: #1e3a8a;

    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
    transition: transform 0.2s ease;
}

/* Content block */
.feature-card h3 {
    grid-column: 2;
    grid-row: 1;

    margin: 0px 0px 0px 5px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    color: #1e3a8a;
}

.feature-card p {
    grid-column: 2;
    grid-row: 2;

    margin: 0px 0px 0px 5px;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* Hover (subtle feedback only) */
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(30, 58, 138, 0.14);
}

.feature-card:hover::before {
    transform: scale(1.08);
}

/* CTA */
.welcome-cta {
    margin-top: 28px;
    text-align: center;
}

.welcome-link {
    font-size: 16px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.welcome-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
    .welcome-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .feature-card {
        grid-template-columns: 48px 1fr;
        padding: 22px 20px;
        row-gap: 6px;
    }

    .feature-card::before {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .feature-card h3 {
        font-size: 18px;
    }
}

/* Research highlights (editorial carousel – left / right) */
.home-research {
    background: #f9fafb;
    padding: 40px 0 72px 0;
}

/* Header */
.research-header {
    max-width: 1000px;
    margin: 0 auto 36px auto;
    text-align: center;
}

.research-title {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.research-intro {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

/* Swiper container – prevent clipping */
.research-carousel,
.research-carousel .swiper-wrapper {
    overflow: visible;
}

/* Slide focus */
.research-carousel .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.35s ease;
}

.research-carousel .swiper-slide-active {
    opacity: 1;
    z-index: 2;
}

/* Card layout */
.research-slide {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    align-items: center;

    background: #ffffff;
    border-radius: 18px;
    padding: 10px 60px;

    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);

    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.research-carousel .swiper-slide-active .research-slide {
    box-shadow: 0 22px 54px rgba(0,0,0,0.14);
    border-color: #c7d2fe;
}

/* Text block */
.research-text {
    max-width: 560px;
}

.research-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #1e3a8a;
    background: #e0e7ff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.research-paper-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.research-paper-meta {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 12px;
}

.research-paper-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #4b5563;
}

/* Figure */
.research-figure img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
}

.research-figure figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

/* Swiper controls */
.research-carousel {
    padding-bottom: 56px;
}

.research-carousel .swiper-button-prev,
.research-carousel .swiper-button-next {
    color: #2563eb;
}

.research-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: #c7d2fe;
    opacity: 1;
}

.research-carousel .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #2563eb;
}

/* Responsive */
@media (max-width: 960px) {
    .research-slide {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .research-text {
        max-width: none;
    }

    .research-figure img {
        max-height: 300px;
    }
}



















































.welcome-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin-bottom: 0px;
    animation: fadeIn 0.3s ease-in;
}

.welcome-clearfix::after {
    content: "";
    display: table;
    clear: both; /* 清除浮動 */
}

.welcome-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #286ea0;
    margin: 0 0 10px;
}

.welcome-card p {
    font-size: 19px !important; /* 確保優先級 */
    line-height: 1.8;
    text-align: justify;
    margin: 0 40px 10px 0; /* 右邊距增至 40px，移除重複定義 */
}

.welcome-card strong {
    font-weight: 700;
}

.welcome-card a {
    color: #286ea0;
    text-decoration: none;
}

.welcome-card a:hover {
    text-decoration: underline;
}

.welcome-image-container {
    float: right;
    margin: 0px 0px 0px 25px; 
}

.welcome-image {
    width: 450px; /* 從 400px 增至 450px，示例 */
    height: auto; /* 保持比例 */
    border: 2px solid #99ccff;
    border-radius: 4px;
    padding: 10px;
    animation: fadeIn 0.5s ease-in;
}

/* Features Section */
.features {
    padding: 20px 0px 20px 0px;
    background: #f9f9f9;
}

.features h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 40px 0px 0px;
}

.features-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 12px;
    flex: 0 0 650px;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.highlight-image {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
    animation: fadeIn 0.5s ease-in;
    filter: brightness(100%); /* 新增屬性：降低亮度 10% */
}

.card-grid {
    display: flex;
    flex-direction: column; /* 改為 1 列 */
    gap: 15px;
    flex: 1; /* 填充剩餘空間 */
}

.highlight-text-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 5px 15px 5px 15px;
    margin-bottom: 0px;
    animation: fadeIn 0.3s ease-in;
}

/* Functional Network Section */
.network {
    padding: 5px 0px 20px 0px;
    background: #f9f9f9;
}

.network h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 30px 0px 0px;
}

.network-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 20px 10px 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.network-image {
    max-width: 790px;
    height: auto;
    border: 2px solid #99ccff;
    border-radius: 4px;
    margin-bottom: 15px;
    animation: fadeIn 0.5s ease-in;
}

/* Research Section */
.research {
    padding: 5px 0px 20px 0px;
    background: #f9f9f9;
}

.research h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 30px 0px 0px;
}

.research-content h3 {
    font-size: 24px;   /* ← 你可以改成 20px、24px 等依需求 */
    font-weight: 700;
    color: #0044BB;
    margin-bottom: 12px;
}

.research-image-container {
    flex: 1;
    max-width: 50%;
    padding: 10px 40px 10px 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.research-image-container img {
    width: 100%;
    height: auto;
    border: 2px solid #99ccff;
    border-radius: 4px;
    animation: fadeIn 0.5s ease-in;
}

.research-carousel {
    position: relative;
    overflow: hidden;
}

.research-item {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1100px;
    animation: fadeIn 0.5s ease-in;
}

.research-content {
    flex: 1;
    max-width: 50%;
    padding: 10px 20px 10px 50px; 
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.research-item img {
    max-width: 790px;
    max-height: 540px;
    height: auto;
    border: 2px solid #99ccff;
    border-radius: 4px;
    margin-bottom: 0;
    animation: fadeIn 0.5s ease-in;
}

.research-item p {
    font-size: 18px;
    margin: 0 0 10px;
}

.research-item a {
    color: #286ea0;
    text-decoration: none;
}

.research-item a:hover {
    text-decoration: underline;
}

.swiper-button-prev, .swiper-button-next {
    color: #286ea0;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-pagination {
    text-align: center;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: #286ea0;
}

.swiper-slide.research-item {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    height: 500px; /* ← 可根據內容高度調整 */
    box-sizing: border-box;
}

/* News Section */
.news {
    padding: 20px 0px 20px 0px;
    background: #f9f9f9;
}

.news h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 30px 10px 0px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px 24px 20px 24px;
    margin-bottom: 0px;
    animation: fadeIn 0.3s ease-in;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-date {
    font-size: 20px;
    font-weight: 700;
    color: #444;
}

.news-badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 16px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.news-card p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 10px;
    text-align: justify;
}

.news-link {
    font-size: 16px;
    font-weight: bold;
    color: #286ea0;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

.news-read-more {
    text-align: center;
    margin-top: 20px;
}

.news-read-more .btn.primary {
    background: #286ea0;
    color: #fff;
    padding: 10px 20px;
    margin: 0px 20px 0px 0px;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    text-decoration: none;
}

.news-read-more .btn.primary:hover {
    background: #1e5a8c;
    text-decoration: underline;
}


.highlight {
    color: #d80000;
    font-weight: bold;
}

/* Resources Section */
.resources {
  padding: 20px 0px 40px 0px;
  background: #f9f9f9;
}

.resources h2 {
  font-size: 28px;
  font-weight: 700;
  color: #286ea0;
  text-align: center;
  padding: 0px 30px 0px 0px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.resource-item {
  background: #ffffff;
  border: 1px solid #99ccff;
  border-radius: 6px;
  padding: 12px 18px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.resource-item a {
  color: #286ea0;
  text-decoration: none;
}

.resource-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}














/* Introduction Section */
.intro {
    padding: 30px 0px 0px 0px;
    background: #f9f9f9;
}

.intro-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px 24px 20px 24px;
    margin-bottom: 0px;
    animation: fadeIn 0.3s ease-in;
}

.intro-content {
    text-align: left;
}

.intro-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 0px 20px 0px;
}

.intro-content p {
    font-size: 19px;
    line-height: 1.6;
    margin: 0 0 10px;
}

/* 移除無用的圖片樣式 */
.intro-image-container,
.intro-image {
    display: none;
}

/* Statistics Section */
.stats {
    padding: 5x 0px 20px 0px;
    background: #f9f9f9;
}

.stats h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 40px 0px 0px;
}

.stats-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-improvements, .stats-distribution {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #99ccff;
    border-radius: 8px;
    overflow: hidden;
}

.stats-improvements thead tr:first-child th,
.stats-distribution thead tr:first-child th {
    font-size: 20px;
    font-weight: 700;
    background: #e6f0fa;
    padding: 15px;
    border-bottom: 2px solid #99ccff;
    border-radius: 8px 8px 0 0; /* 圓角僅適用於頂部 */
}

.stats-improvements th, .stats-distribution th {
    font-weight: 700;
    padding: 12px;
    background: linear-gradient(90deg, #e6f0fa, #d0e3f3);
    border-bottom: 2px solid #99ccff;
    text-align: center;
    color: #1a4a7e;
}

.stats-improvements td, .stats-distribution td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.stats-improvements th:first-child, .stats-distribution th:first-child {
    text-align: left;
}

.stats-improvements td:first-child, .stats-distribution td:first-child {
    text-align: left;
}

.stats-improvements tr.alt-row, .stats-distribution tr.alt-row {
    background: #f5faff;
}

/* System Flow Section */
.flow {
    padding: 5px 0px 40px 0px;
    background: #f9f9f9;
}

.flow h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.flow-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.flow-image {
    max-width: 790px;
    height: auto;
    border: 2px solid #99ccff;
    border-radius: 4px;
    animation: fadeIn 0.5s ease-in;
}

/* Advanced Search Section */
.advanced-search {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.advanced-search h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.search-cards {
    display: grid;
    grid-template-columns: 1fr; /* 改為單列 */
    gap: 10px; /* 增加垂直間距 */
}

.search-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.search-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 20px !important; /* 確保優先級 */
    font-weight: 600;
    color: #303030;
    margin: 0px 0px 5px 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 18px !important; /* 確保優先級 */
    box-sizing: border-box;
    transition: border-color 0.2s;
    margin-bottom: 20px;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #286ea0;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.advanced-search .btn.primary {
    background: #286ea0;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0px 10px 0px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.advanced-search .btn.primary.single {
    background: #286ea0;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0px 50px 0px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.advanced-search .btn.primary:hover {
    background: #1e5a8c;
    transform: scale(1.05);
}

.advanced-search .btn.secondary {
    background: #ffffff;
    border: 1px solid #286ea0;
    color: #286ea0;
    padding: 10px 20px;
    margin: 0px 40px 0px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.advanced-search .btn.secondary:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

/* CysPTM-GPT Section */
.cysptm-gpt {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.cysptm-gpt h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 40px 10px 0px;
}

.prediction-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.prediction-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #286ea0;
    margin: 5px 45px 10px 0px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #286ea0;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cysptm-gpt .btn.primary {
    background: #286ea0;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0px 0px 0px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.cysptm-gpt .btn.primary:hover {
    background: #1e5a8c;
    transform: scale(1.05);
}

.cysptm-gpt .btn.secondary {
    background: #ffffff;
    border: 1px solid #286ea0;
    color: #286ea0;
    padding: 10px 20px;
    margin: 0px 40px 0px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.cysptm-gpt .btn.secondary:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

.error {
    color: #d80000;
    text-align: center;
    padding: 10px;
    background: #fff3f3;
    border: 1px solid #ffcccc;
    border-radius: 6px;
}

/* 載入動畫 */
.loading {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #286ea0;
}

/* 灰色遮罩 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 進度條容器 */
.progress-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.progress-container h3 {
    font-size: 20px;
    color: #286ea0;
    margin-bottom: 15px;
}

/* 進度條 */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0;
    height: 100%;
    background: #286ea0;
    transition: width 0.3s ease-in-out;
}

/* 禁用按鈕樣式 */
.btn.primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* 結果表格 */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-table th, .result-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    text-align: Center;
    font-size: 22px; /* 增大字體 */
}

.result-table th {
    background: linear-gradient(90deg, #e6f0fa, #d0e3f3);
    font-weight: 700;
    color: #1a4a7e;
    letter-spacing: 0.5px;
}

.result-table tr:hover {
    background: #f5faff;
}

.result-table th:first-child {
    width: 30%;
}

.result-table th:last-child {
    width: 70%;
}

/* PTM 類型文字顏色 */
.result-table .ptm-type.ptm-glutathionylationc {
    color: #d32f2f; /* 紅色，與 #ffcccb 對應 */
    font-weight: bold;
}

.result-table .ptm-type.ptm-snitrosylationc {
    color: #0288d1; /* 藍色，與 #add8e6 對應 */
    font-weight: bold;
}

.result-table .ptm-type.ptm-spalmitoylationc {
    color: #388e3c; /* 綠色，與 #ccffcc 對應 */
    font-weight: bold;
}

/* PTM 位點交互樣式 */
.result-table .ptm-position {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.result-table .ptm-position.ptm-glutathionylationc {
    color: #d32f2f; /* 紅色文字 */
}

.result-table .ptm-position.ptm-snitrosylationc {
    color: #0288d1; /* 藍色文字 */
}

.result-table .ptm-position.ptm-spalmitoylationc {
    color: #388e3c; /* 綠色文字 */
}

.result-table .ptm-position:hover {
    background: #e0e0e0; /* 懸停時添加灰色背景 */
}

/* 無數據提示 */
.no-data-message {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 18px; /* 與表格字體大小一致 */
    margin: 20px 0;
}

/* PTM 位點高亮 */
.sequence-wrapper .ptm-glutathionylation {
    background: #ffcccb !important;
    font-weight: bold;
}

.sequence-wrapper .ptm-snitrosylation {
    background: #add8e6 !important;
    font-weight: bold;
}

.sequence-wrapper .ptm-spalmitoylation {
    background: #ccffcc !important;
    font-weight: bold;
}

/* PTM 位點放大字體 */
.sequence-wrapper .ptm-highlight {
    font-size: 35px !important;
    cursor: pointer;
    line-height: 35px !important;
    vertical-align: middle;
}

/* 處理多重 PTM 重疊 */
.sequence-wrapper .ptm-snitrosylation.ptm-glutathionylation,
.sequence-wrapper .ptm-snitrosylation.ptm-spalmitoylation {
    background: #add8e6 !important;
}

.sequence-wrapper .ptm-glutathionylation.ptm-spalmitoylation {
    background: #ffcccb !important;
}

/* 結果頁面按鈕容器 */
.result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

/* 圖標按鈕樣式 */
.cysptm-gpt .btn.secondary.icon-only {
    padding: 10px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 調整 .result-actions 以適應單個按鈕 */
.cysptm-gpt .result-actions {
    display: flex;
    justify-content: left;
    margin: -50px 0px 0px 0px;
}

/* 序列卡片 */
.cysptm-gpt .sequence-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin: 20px 0px 30px 0px;
    animation: fadeIn 0.5s ease-in;
}

.cysptm-gpt .sequence-card p {
    font-size: 22px;
    margin: 0px 0px 10px 0px;
}

.cysptm-gpt .sequence-card p strong {
    font-size: 25px;
    margin: 0px 0px 10px 0px;
    color: #1a4a7e;
}

/* 序列包裝器（支持自動換行） */
.sequence-wrapper {
    display: block;
    width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
    font-family: monospace;
    font-size: 20px;
    line-height: 45px;
}















/* Workflow Card */
.workflow-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin: 0px 0px 30px 0px;
    animation: fadeIn 0.5s ease-in;
}

.workflow-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 40px 0px;
    text-align: center;
}

.workflow-image {
    text-align: center;
    margin: 15px 0;
}

.workflow-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Statistics Section */
.stats {
    padding: 30px 0px 20px 0px;
    background: #f9f9f9;
}

.stats h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.stats-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

/* Static Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
}

.stat-item {
    background: #f0f8ff;
    padding: 10px;
    border-radius: 6px;
    border-left: 4px solid #286ea0;
    font-size: 16px;
    color: #333;
}

.stat-item strong {
    color: #1a4a7e;
}

/* Enhanced Statistics Table */
.stats-table.enhanced {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.stats-table.enhanced th {
    font-weight: 700;
    padding: 12px;
    background: linear-gradient(90deg, #2a6eb6, #4a90e2); /* 更鮮明藍色漸層 */
    border-bottom: 2px solid #99ccff;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.stats-table.enhanced td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.stats-table.enhanced th:first-child,
.stats-table.enhanced td:first-child {
    text-align: left;
}

.stats-table.enhanced tr.alt-row {
    background: #f5faff; /* 更柔和的交替背景 */
}

.stats-table.enhanced tr:hover {
    background: #e6f0fa; /* 懸停效果 */
}

.stats-table.enhanced img.motif-image {
    max-width: 250px;
    height: auto;
    border-radius: 4px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.stats-table.enhanced img.motif-image:hover {
    transform: scale(1.05); /* 圖片放大效果 */
}

.stats-link,
.motif-link {
    color: #286ea0;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background 0.2s;
}

.stats-link:hover,
.motif-link:hover {
    background: #e6f0fa;
    text-decoration: underline;
}

/* Disease Section */
.disease {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.disease h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.disease-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.disease-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.disease-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #286ea0;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn.primary {
    background: #286ea0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.btn.primary:hover {
    background: #1e5a8c;
    transform: scale(1.05);
}

.disease-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #99ccff;
    border-radius: 8px;
    overflow: hidden;
}

.disease-table th {
    font-weight: 700;
    padding: 12px;
    background: linear-gradient(90deg, #e6f0fa, #d0e3f3);
    border-bottom: 2px solid #99ccff;
    text-align: center;
    color: #1a4a7e;
}

.disease-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.disease-table th:first-child,
.disease-table td:first-child {
    text-align: left;
}

.disease-table tr.alt-row {
    background: #f5faff;
}

.disease-link {
    color: #286ea0;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background 0.2s;
}

.disease-link:hover {
    background: #e6f0fa;
    text-decoration: underline;
}

/* Network Section */
.network {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.network h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.network-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.network-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.network-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.form-step {
    margin-bottom: 20px;
}

.form-step h4 {
    font-size: 20px;
    font-weight: 600;
    color: #286ea0;
    margin: 0px 40px 15px 0px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #286ea0;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.network .btn.primary {
    background: #286ea0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.network .btn.primary:hover {
    background: #1e5a8c;
    transform: scale(1.05);
}

.network .btn.secondary {
    background: #ffffff;
    border: 1px solid #286ea0;
    color: #286ea0;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.network .btn.secondary:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

/* Structure Analysis Section */
.structure {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.structure h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.structure-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.structure-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.structure-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.structure-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #99ccff;
    border-radius: 8px;
    overflow: hidden;
}

.structure-table th {
    font-weight: 700;
    padding: 12px;
    background: linear-gradient(90deg, #e6f0fa, #d0e3f3);
    border-bottom: 2px solid #99ccff;
    text-align: center;
    color: #1a4a7e;
}

.structure-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.structure-table th:first-child,
.structure-table td:first-child {
    text-align: left;
}

.structure-table tr.alt-row {
    background: #f5faff;
}

.structure-table a {
    color: #286ea0;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background 0.2s;
}

.structure-table a:hover {
    background: #e6f0fa;
    text-decoration: underline;
}

/* ASA Section */
.asa {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.asa h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.asa-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.asa-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.asa-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.asa-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.asa-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.asa-card p strong {
    color: #1a4a7e;
}

/* Download Section */
.download {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.download h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.download-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.download-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.download-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #99ccff;
    border-radius: 8px;
    overflow: hidden;
}

.download-table th {
    font-weight: 700;
    padding: 12px;
    background: linear-gradient(90deg, #e6f0fa, #d0e3f3);
    border-bottom: 2px solid #99ccff;
    text-align: center;
    color: #1a4a7e;
}

.download-table td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.download-table th:first-child,
.download-table td:first-child {
    text-align: left;
}

.download-table tr.alt-row {
    background: #f5faff;
}

.download-link {
    color: #286ea0;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background 0.2s;
}

.download-link:hover {
    background: #e6f0fa;
    text-decoration: underline;
}

/* Tutorial Section */
.tutorial {
    padding: 30px 0px 40px 0px;
    background: #f9f9f9;
}

.tutorial h2 {
    font-size: 28px;
    font-weight: 700;
    color: #286ea0;
    text-align: center;
    padding: 0px 60px 10px 0px;
}

.tutorial-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tutorial-card {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    border: 1px solid #99ccff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

.tutorial-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #286ea0;
    margin: 0px 45px 15px 0px;
    text-align: center;
}

.tutorial-subcard {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border-left: 4px solid #286ea0;
    border-radius: 4px;
}

.tutorial-subcard h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a4a7e;
    margin-bottom: 10px;
}

.tutorial-image {
    margin: 15px 0;
    text-align: center;
}

.tutorial-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toc-list {
    list-style-type: none;
    padding: 0;
}

.toc-list li {
    margin: 10px 0;
}

.toc-list a {
    color: #286ea0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.toc-list a:hover {
    text-decoration: underline;
}

.sub-toc {
    padding-left: 20px;
    margin-top: 5px;
}

.sub-toc li {
    margin: 5px 0;
}

/* 確保其他現有樣式保持不變 */