/* =========================================
   全域設定 (Global Styles)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 點擊選單時平滑滾動 */
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #0b0c10; /* 深石墨黑底色 */
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.highlight {
    color: #00d1ff;
}

/* =========================================
   導覽列設定 (Navbar)
========================================= */
.navbar {
    background-color: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.nav-logo {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1.5px;
}

.nav-logo span { color: #00d1ff; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: #a0aab2;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover { color: #00d1ff; }

.has-dropdown { position: relative; }

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #12141a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00d1ff;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-radius: 0 0 6px 6px;
}

.has-dropdown:hover .dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown li a {
    color: #a0aab2;
    text-decoration: none;
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown li a:hover {
    background-color: rgba(0, 209, 255, 0.1);
    color: #00d1ff;
    padding-left: 28px;
}

/* =========================================
   按鈕設定 (Buttons)
========================================= */
.btn-quote {
    color: #00d1ff;
    border: 1px solid #00d1ff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: #00d1ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

.btn-primary {
    background-color: #00d1ff;
    color: #0b0c10;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   首頁主視覺 (Hero Section)
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0b0c10 20%, rgba(11, 12, 16, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 24px;
    margin-top: 60px;
}

.badge {
    display: inline-block;
    color: #00d1ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 209, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    background: rgba(0, 209, 255, 0.05);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px #00d1ff;
    text-shadow: 0 0 30px rgba(0, 209, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #a0aab2;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* =========================================
   通用區塊設定 (Sections)
========================================= */
.section {
    padding: 100px 24px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: #a0aab2;
    font-size: 1.1rem;
}

/* =========================================
   產業痛點卡片區 (Trends)
========================================= */
.trends {
    background-color: #0b0c10;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #12141a;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 209, 255, 0.3);
    background-color: #161a22;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.card p {
    color: #a0aab2;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   技術介紹區塊 (Technology)
========================================= */
.technology {
    background-color: #12141a; /* 稍微不同的深色做出層次 */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-text {
    flex: 1;
}

.tech-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tech-text p {
    color: #a0aab2;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #d1d5db;
    font-size: 1.05rem;
}

.tech-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #00d1ff;
    font-weight: bold;
}

.tech-list li strong {
    color: #ffffff;
}

.tech-image-placeholder {
    flex: 1;
    min-height: 400px;
    background-color: #08090b;
    border: 1px dashed rgba(0, 209, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aab2;
    font-size: 0.9rem;
}

/* =========================================
   頁尾聯絡資訊 (Footer)
========================================= */
.footer {
    background-color: #08090b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 24px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-info h2 span { color: #00d1ff; }

.footer-info p {
    color: #a0aab2;
    max-width: 400px;
    line-height: 1.8;
}

.footer-contact h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.footer-contact h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    height: 80%;
    width: 4px;
    background-color: #00d1ff;
}

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

.footer-contact ul li {
    color: #a0aab2;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-contact ul li a {
    color: #00d1ff;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-contact ul li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 13px;
}

/* 響應式微調 (手機版) */
@media (max-width: 768px) {
    .tech-flex {
        flex-direction: column;
    }
    .hero-title {
        font-size: 3rem;
    }
}