:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: #2d3748;
    background: var(--light);
    line-height: 1.8;
   
}

.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.nav-link {
    font-weight: 500;
    color: #000 !important;
    margin: 0 1rem;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero 區域樣式 - 突顯關鍵詞 */
.hero-section {
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
   
    position: relative;
    overflow: hidden;
}

/* 背景裝飾 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L40 20 L30 40 Z" fill="white"/><circle cx="70" cy="30" r="10" fill="white"/><rect x="60" y="60" width="15" height="15" fill="white"/></svg>') repeat;
    background-size: 100px 100px;
}

.hero-section h1 {
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.hero-section .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 維度標籤樣式 */
.dimension-tags .badge {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-bottom:1em;
}

.dimension-tags .badge:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 按鈕樣式 */
.hero-section .btn-primary {
    background: white;
    color: #4776E6;
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: #8E54E9;
}

.hero-section .btn-primary i {
    transition: transform 0.3s ease;
}

.hero-section .btn-primary:hover i {
    transform: translateX(5px);
}

/* 小提示 */
.text-white-50 {
    color: rgba(255,255,255,0.8) !important;
    position: relative;
    z-index: 2;
}

@media (max-width:1440px)
{
    .hero-section .lead
    {
        font-size:15px;
    }
    .dimension-tags .badge
    {
        font-size:12px;
    }
    .hero-section h1
    {
        font-size:2rem;
    }
    .hero-section .btn-primary
    {
        font-size:16px;
    }
}
/* 響應式調整 */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section .btn-primary
    {
        font-size:15px;
    }
    
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        border-radius: 0 0 30px 30px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .dimension-tags .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem !important;
        margin-bottom: 5px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .dimension-tags .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem !important;
    }
}



.steps-section {
    background: var(--light);
    padding: 60px 0;
}

.step-card {
    border: none;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.step-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-desc {
    color: var(--gray);
}

.section-title {
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 146px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.h2-title
{
    color:#fff;
}
.h2-title::after
{
    display:none !important;
   

}



.role-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
    background: white;
    height: 100%;
}

.role-card:hover {
    /* transform: translateY(-12px); */
    box-shadow: 0 25px 50px rgba(99,102,241,0.2);
}

.role-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.8rem 1.5rem;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
}

.type-item {
    padding: 1.2rem;
    margin: 0.8rem;
    border-radius: 16px;
    background: #f8f9fc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration:none !important;
}

.type-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(99,102,241,0.15);
    background: white;
}

.type-emoji {
    font-size: 3rem;
    margin-bottom: 0.6rem;
    display: block;
}

.type-name {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.type-nickname {
    font-size: 1rem;
    color: var(--gray);
}

.quick-test-item {
    padding: 1.3rem 1.6rem;
    margin: 1rem 0.5rem;
    border-radius: 16px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    text-align: center;
    text-decoration:none !important;
}

.quick-test-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(99,102,241,0.2);
    color: var(--primary-dark);
}

.carousel-item {
    padding: 2.5rem 4rem;
    text-align: center;
}

.testimonial {
    font-style: italic;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #4b5563;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    background-color: #4776E6;
    border-radius: 50%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    
    
    padding: 20%;
}
#faq
{
    background:#fff !important;
}
.faq .card {
    border: none;
    background: transparent;
}

.faq .card-header {
    background: transparent;
    border: none;
    padding: 0;
}

.faq .btn-link {
    color: #2d3748;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    border: 1px solid #e2e8f0;
    text-indent:2rem;
}
.card-body
{
    padding:0.25rem 0.5rem;
}

.faq .btn-link:hover {
    color: var(--primary);
}

.faq .collapse {
    padding: 1rem 0;
}

footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 4rem 0 2.5rem;
    
}
.accordion > .card .card-header
{
    margin-bottom:5px;
}
@media (max-width:1440px)
{
    .section-title
    {
        font-size:1.6rem;
    }
    .role-header
    {
        font-size:1.4rem;
    }
    .type-emoji
    {
        font-size:2.5rem;
    }
    .quick-test-item
    {
        margin:0.2rem 0px;
    }
    .testimonial
    {
        font-size:1.2rem;
    }
    .faq .btn-link
    {
        padding:0.8rem 0px;
    }
    .text-info p
    {
        font-size:15px;
    }
    .step-title
    {
        font-size:1.4rem;
        margin-bottom:0.8rem;
    }
}
@media (max-width:1366px)
{
    .section-title
    {
        font-size:1.4rem;
    }
     .role-header
    {
        font-size:1.3rem;
    }
    .type-emoji
    {
        font-size:2rem;
    }
    .testimonial
    {
        font-size:1rem;
    }
    .faq .btn-link
    {
        padding:0.5rem 0px;
    }
    .text-info p
    {
        font-size:14px;
    }
    .step-title
    {
        font-size:1.3rem;
        margin-bottom:0.6rem;
    }

}
@media (max-width: 991.98px) {
    .hero h1 { font-size: 2.8rem; }
    .hero .lead { font-size: 1.2rem; }
    .carousel-item { padding: 2rem 2rem; }
    .section-title
    {
        font-size:1.3rem;
    }
     .role-header
    {
        font-size:1.2rem;
    }
    .quick-test-item { margin: 0rem 0; 
        font-size:13px;
    }
    .step-title
    {
        font-size:1.2rem;
        margin-bottom:0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero { padding: 80px 0 120px; }
    .hero h1 { font-size: 2.4rem; }
    .type-item { margin: 1rem 0; }
    
    .step-card { margin-bottom: 2rem; }
    .section-title
    {
        font-size:1.2rem;
    }
}