/* Global Styles */
:root {
    --primary-color: #4E62E4;
    --primary-dark: #3A4BC7;
    --primary-light: #6B7BEA;
    --light-gray: #666666;
    --lighter-gray: #999999;
    --off-white: #f5f5f5;
    --text-dark: #4E62E4;
    --text-light: #ffffff;
    --shadow: rgba(78, 98, 228, 0.15);
}

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

/* Hide Facebook Pixel */
.fb-pixel-img {
    display: none !important;
}

body {
    font-family: 'Noto Serif TC', serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: #ECEEFE;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ECEEFE;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: fixed;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--primary-color);
    pointer-events: none;
    z-index: 10;
    opacity: 0.4;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(236, 238, 254, 0) 0%, rgba(78, 98, 228, 0.05) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
    padding: 2rem;
}

.logo {
    width: 280px;
    height: auto;
    margin-bottom: 3rem;
    filter: drop-shadow(0 2px 10px rgba(78, 98, 228, 0.25));
    animation: logoFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:focus {
    outline: none;
}

.hero-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary-dark);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.02em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}



.cta-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Noto Serif TC', serif;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:focus {
    outline: none;
}

.cta-button:active {
    outline: none;
    transform: translateY(-1px);
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero::after {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .logo {
        width: 180px;
        margin-bottom: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        padding: 0 1.5rem;
        letter-spacing: 0.02em;
        font-weight: 400;
    }
    
    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }
}