:root {
    /* Premium Dark Theme Color Palette */
    --bg-color: #0a0f1a;
    --surface-color: rgba(20, 26, 40, 0.6);
    --surface-border: rgba(255, 255, 255, 0.08);
    
    --primary: #00d2ff;
    --primary-dark: #3a7bd5;
    --secondary: #00ff87;
    --secondary-dark: #60efff;
    --accent: #f6d365;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --glass-blur: blur(16px);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans TC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

/* Typography Elements */
.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
}

.btn-secondary {
    background: var(--surface-color);
    color: white;
    border: 1px solid var(--surface-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(0px);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--surface-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: inline-block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,15,26,0.3) 0%, rgba(10,15,26,0.8) 70%, var(--bg-color) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Sections Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.value-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: var(--glass-blur);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid var(--surface-border);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Service Showcases */
.service-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

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

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    display: block;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    transition: transform 0.7s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.03);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.image-glow.green { background: var(--secondary); }
.image-glow.gold { background: var(--accent); }

.service-text {
    flex: 1;
}

.service-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.service-item.reverse .service-tag {
    background: rgba(0, 255, 135, 0.1);
    color: var(--secondary);
    border-color: rgba(0, 255, 135, 0.2);
}

.service-text h3 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.service-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.text-link:hover {
    gap: 12px;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(20, 26, 40, 0.5) 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: var(--surface-color);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 26, 40, 0.8), rgba(10, 15, 26, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-shapes .shape {
    position: absolute;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 1;
}

.cta-shapes .shape-1 {
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
}

.cta-shapes .shape-2 {
    bottom: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface-border);
    padding: 60px 0 30px;
    background: #05080f;
}

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

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive Design */
@media (max-width: 992px) {
    .service-item, .service-item.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .hero-actions, .cta-buttons {
        flex-direction: column;
    }
    .nav-links {
        display: none; /* Mobile menu needed for real site */
    }
}
