/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::before {
    opacity: 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 10px;
    color: #888;
    letter-spacing: 3px;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: #00d4ff;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 動態幻燈片背景 */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.3);
    transform: scale(1.1);
    transition: all 20s ease;
}

.slide.active .slide-bg {
    transform: scale(1.2);
}

/* 幻燈片控制點 */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 4px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: linear-gradient(180deg, #00d4ff, #0099ff);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 漸層遮罩層 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(26, 26, 26, 0.75) 30%,
        rgba(0, 212, 255, 0.05) 70%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 2;
}

/* 裝飾性粒子效果 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    bottom: 25%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    top: 10%;
    right: 30%;
    animation-delay: 8s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 600px;
}

/* Hero徽章 */
.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.badge-text {
    font-size: 14px;
    color: #00d4ff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.title-highlight {
    background: linear-gradient(135deg, #00d4ff, #0099ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite alternate;
}

@keyframes titleShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Hero統計數據 */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-mini {
    text-align: left;
}

.stat-mini-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 5px;
}

.stat-mini-label {
    font-size: 0.9rem;
    color: #888;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.element-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2), transparent);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.element-1 {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 15%;
    animation: float 8s ease-in-out infinite;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 55%;
    right: 15%;
    animation: float 6s ease-in-out infinite reverse;
}

.element-3 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 25%;
    animation: float 5s ease-in-out infinite;
}

.element-4 {
    width: 60px;
    height: 60px;
    top: 75%;
    left: 45%;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% { 
        transform: translateY(-20px) rotate(0deg); 
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

/* 韓式設計元素 */
.design-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.design-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 20s linear infinite;
}

.design-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #00d4ff;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.design-dots {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 100px;
    height: 100px;
}

.design-dots::before,
.design-dots::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0.7;
}

.design-dots::before {
    top: 0;
    left: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

.design-dots::after {
    bottom: 0;
    right: 0;
    animation: dotPulse 2s ease-in-out infinite 1s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.design-lines {
    position: absolute;
    bottom: 25%;
    left: 20%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    animation: lineExpand 3s ease-in-out infinite;
}

.design-lines::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    animation: lineExpand 3s ease-in-out infinite 0.5s;
}

@keyframes lineExpand {
    0%, 100% {
        width: 40px;
        opacity: 0.5;
    }
    50% {
        width: 80px;
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #00d4ff, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    margin-bottom: 10px;
}

.scroll-text {
    font-size: 12px;
    color: #888;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

@keyframes scrollPulse {
    0%, 100% { 
        opacity: 0.3;
        height: 40px;
    }
    50% { 
        opacity: 1;
        height: 50px;
    }
}

/* 通用章节样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务部分 */
.services {
    padding: 120px 0;
    background: #1a1a1a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.icon-design, .icon-development, .icon-operations {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-design::before {
    content: "💡";
    font-size: 24px;
}

.icon-development::before {
    content: "💻";
    font-size: 24px;
}

.icon-operations::before {
    content: "📈";
    font-size: 24px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '•';
    color: #00d4ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 作品展示 */
.portfolio {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
}

.portfolio-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}

.portfolio-scroll-track {
    display: flex;
    gap: 30px;
    animation: portfolioScroll 40s linear infinite;
    will-change: transform;
}

.portfolio-scroll-track.paused {
    animation-play-state: paused;
}

@keyframes portfolioScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.portfolio-scroll-item {
    flex: 0 0 auto;
    width: 240px;
    aspect-ratio: 720/1280;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    border: 2px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-scroll-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.portfolio-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.portfolio-scroll-item:hover img {
    transform: scale(1.1);
}

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.8) 0%,
        rgba(0, 153, 255, 0.6) 50%,
        rgba(0, 100, 200, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-scroll-item:hover .portfolio-item-overlay {
    opacity: 1;
}

.portfolio-item-number {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* 滾動控制按鈕 */
.portfolio-scroll-controls {
    position: absolute;
    top: -60px;
    right: 0;
    z-index: 10;
}

.scroll-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scroll-control:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.scroll-control.scroll-play {
    border-color: rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.scroll-control.scroll-play:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.control-icon {
    font-size: 16px;
}

.control-text {
    font-size: 14px;
    font-weight: 500;
}

/* 滾動指示器 */
.portfolio-scroll-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator-track {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-indicator-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    border-radius: 2px;
    animation: progressMove 40s linear infinite;
}

.portfolio-scroll-track.paused .scroll-indicator-progress {
    animation-play-state: paused;
}

@keyframes progressMove {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 100%;
        transform: translateX(0);
    }
    100% {
        width: 100%;
        transform: translateX(200px);
    }
}

/* 团队部分 */
.team {
    padding: 120px 0;
    background: #1a1a1a;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 10px;
    font-family: 'Arial', 'Helvetica', 'Microsoft YaHei', 'SimHei', sans-serif;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility;
}

.stat-number .stat-symbol {
    color: #00d4ff !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: 'Arial', 'Helvetica', 'Times New Roman', monospace !important;
    display: inline-block !important;
    vertical-align: baseline;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;
}

.stat-label {
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* 联系部分 */
.contact {
    padding: 120px 0;
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

.contact-description {
    max-width: 500px;
}

.contact-description p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-scroll-item {
        width: 200px;
    }
    
    .portfolio-scroll-controls {
        top: -50px;
        right: 10px;
    }
    
    .scroll-control {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-scroll-item {
        width: 180px;
    }
    
    .portfolio-scroll-track {
        gap: 20px;
    }
    
    .portfolio-scroll-controls {
        top: -45px;
        right: 5px;
    }
    
    .scroll-control {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .control-text {
        display: none;
    }
    
    .portfolio-scroll-indicators {
        bottom: -30px;
    }
    
    .scroll-indicator-track {
        width: 150px;
        height: 3px;
    }

    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .team-stats {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* 彈窗樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00d4ff;
}

.modal-body {
    padding: 30px;
}

.screenshot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.screenshot-wrapper {
    position: relative;
    max-width: 360px;
    width: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 720/1280;
    object-fit: cover;
}

.screenshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 212, 255, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.screenshot-nav:hover {
    background: rgba(0, 212, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.screenshot-nav.prev {
    left: 20px;
}

.screenshot-nav.next {
    right: 20px;
}

.screenshot-counter {
    text-align: center;
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 20px;
}

.screenshot-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 120px;
    overflow-y: auto;
}

.thumbnail {
    width: 60px;
    height: 107px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #00d4ff;
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .screenshot-wrapper {
        max-width: 280px;
    }

    .screenshot-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .screenshot-nav.prev {
        left: 10px;
    }

    .screenshot-nav.next {
        right: 10px;
    }

    .thumbnail {
        width: 50px;
        height: 89px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        width: 98%;
        border-radius: 15px;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 15px;
    }

    .screenshot-wrapper {
        max-width: 240px;
    }

    .screenshot-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .screenshot-nav.prev {
        left: 5px;
    }

    .screenshot-nav.next {
        right: 5px;
    }

    .thumbnail {
        width: 40px;
        height: 71px;
    }
}

/* 規則彈窗樣式 */
.rules-modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.rules-content {
    color: #e0e0e0;
    line-height: 1.8;
}

.rules-content h4 {
    color: #00d4ff;
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.rules-content h5 {
    color: #ffffff;
    margin: 15px 0 8px 0;
    font-size: 1.1rem;
}

.rules-content p {
    margin-bottom: 15px;
}

.rules-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.rules-content li {
    margin-bottom: 8px;
}

.rules-content .highlight {
    color: #00d4ff;
    font-weight: 600;
} 