@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');

:root {
    --primary-color: #0cf;
    --primary-hover: #9ff;
    --text-color: #e6e6e6;
    --text-light: #999;
    --background-color: #050608;
    --card-bg: #111318;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    background-image: linear-gradient(180deg, #0d1117 0%, #050608 100%);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

header {
    background-color: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo {
    transform: rotate(-15deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s;
}

.logo-container:hover .logo-text {
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 24px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.5);
}

#hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.2), transparent 70%);
    animation: pulse 10s infinite alternate;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 70%);
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.5) rotate(90deg); }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
    text-wrap: pretty;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 20px rgba(0, 204, 255, 0.3);
}

#hero input[type="email"] {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--card-bg);
    color: var(--text-color);
}

#hero input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.3);
}

main section {
    padding: 80px 0;
    text-align: center;
}

main section#features {
    background-color: rgba(0,0,0,0.2);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    background: radial-gradient(circle at center, var(--primary-color), transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    transform: scale(0);
}

.feature-item:hover::before {
    opacity: 0.1;
    transform: scale(3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 204, 255, 0.1), rgba(0, 102, 255, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.feature-item h4, .feature-item p, .feature-icon {
    position: relative;
    z-index: 1;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-color);
}

.os-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.os-icons img {
    height: 44px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.os-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

#solution {
    background-color: var(--card-bg);
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.solution-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.solution-image {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.solution-image img {
    max-width: 100%;
    border-radius: 12px;
}

#cta {
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

#cta .container {
    position: relative;
    z-index: 1;
}

#cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    padding-top: 100%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.1), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#cta h2 {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.2);
}

#cta p {
    color: var(--text-light);
    margin-bottom: 30px;
}

#cta .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 700;
}

#cta .btn-primary:hover {
    background: var(--primary-hover);
    color: var(--background-color);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.2);
}

footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 25px;
    }
    
    nav a {
        margin-left: 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 20px;
    }

    #hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    #hero form {
        flex-direction: column;
    }

    main section {
        padding: 60px 20px;
    }

    .solution-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .solution-text,
    .solution-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .solution-text {
        order: 2;
    }

    h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
} 