/* 首頁專用自訂樣式 */
:root {
    --bs-body-bg: #0a0a0a !important;
}

/* 自訂滾動條樣式 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 6px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox 滾動條樣式 */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #1a1a1a;
}
.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 50%; right: 20%; animation-delay: 2s; }
.card-3 { bottom: 20%; left: 30%; animation-delay: 4s; }
.floating-card i { font-size: 2rem; color: #6366f1; }
.floating-card span { font-weight: 600; font-size: 0.9rem; }
.btn-sample-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}
.btn-sample-primary:hover, .btn-sample-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
    color: #fff;
}

.btn-sample-secondary {
    background: linear-gradient(135deg, #fbbf24, #ea580c);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(251,191,36,0.3);
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}

.btn-sample-secondary:hover, .btn-sample-secondary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251,191,36,0.4);
    color: #fff;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    max-width: 280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.25rem;
    padding: 0.75rem;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}
.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.feature-icon i { font-size: 2rem; color: #fff; }
.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.feature-card .card-title { color: #fff; font-weight: 600; }
.feature-card .card-text { color: #a1a1aa; }


.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 950px;
    margin: 0 auto;
}
.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 260px;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
}
.step-content h3 { color: #fff; font-weight: 600; margin-bottom: 0.5rem; }
.step-content p { color: #a1a1aa; font-size: 0.9rem; }
.step-arrow { color: #6366f1; font-size: 1.5rem; flex-shrink: 0; }
@media (max-width: 768px) {
    .workflow-steps { 
        flex-direction: column; 
        gap: 1rem; 
        width: 100%;
        overflow-x: hidden;
    }
    .step-arrow { transform: rotate(90deg); }
    .step {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-section {
        min-width: auto;
        width: 100%;
    }
    .social-links {
        justify-content: center;
    }
    .feature-card {
        max-width: 100%;
        padding: 1.25rem 0.5rem;
    }
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card.featured {
    border-color: #6366f1;
    transform: scale(1.05);
}
.pricing-card.featured::before {
    content: '推薦';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
}
.price span {
    font-size: 1rem;
    color: #a1a1aa;
}
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}
.pricing-features li {
    padding: 0.5rem 0;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.pricing-features i.fa-check { color: #10b981; }
.pricing-features i.fa-times { color: #ef4444; }
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.home-hero-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
.home-hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.home-hero-bg > * { position: relative; z-index: 1; }

body.home-index .navbar {
    margin-bottom: 0 !important;
}

.navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: none !important;
    padding: 1rem 0 !important;
}
.navbar .nav-link,
.navbar .navbar-brand,
.navbar .dropdown-menu {
    color: #fff !important;
}
.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
    color: #6366f1 !important;
}

.container:first-of-type,
main > *:first-child {
    margin-top: 6rem !important;
}

body {
    background: #0a0a0a !important;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.footer {
    background: rgba(10, 10, 10, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    min-height: 120px !important;
    line-height: normal !important;
    padding: 2rem 0 !important;
}

.footer .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: #6366f1;
}

.footer-section h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6366f1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a1a1aa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #a1a1aa;
}

/* 強大功能專用大卡片 */
.feature-card-large {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    max-width: 1200px;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 1.5rem 1.25rem;
}
@media (max-width: 768px) {
    .feature-card-large {
        max-width: 100%;
        width: 100vw;
        padding: 1.25rem 0.5rem;
    }
}


 