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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    color: #ffffff;
    background: #f8f9fa;
}

.background-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0043CE 0%, #0043CE 1%, #0F62FE 100%);
    position: relative;
    overflow: hidden;
}

/* Header Styles */
.header {
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    color: #ffffff;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

/* Main Content Styles */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 3.5rem;
    text-align: center;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0043CE;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
                0 2px 4px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15),
                0 3px 6px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: #ffffff;
}

.contact-button:hover::before {
    opacity: 1;
}

.contact-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mail-icon {
    color: #0043CE;
    transition: transform 0.3s ease;
}

.contact-button:hover .mail-icon {
    transform: scale(1.1);
}

/* Decoration Elements */
.decoration-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .card {
        max-width: 700px;
        padding: 3rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .description {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .card {
        padding: 2.5rem 2rem;
        margin: 1rem;
        width: 95%;
    }

    .title {
        font-size: 2.5rem; /* Reduced font size for better fit */
    }

    .description {
        font-size: 1.2rem; /* Improved readability */
        margin-bottom: 2rem; /* Adjusted spacing */
    }
    
    .contact-button {
        padding: 1.5rem 2.5rem; /* Increased touch area */
        font-size: 1.25rem; /* Adjusted font size */
    }
    
    .mail-icon {
        width: 20px;
        height: 20px;
    }

    .message-box {
        margin: 1.5rem auto;
        padding: 1rem 1.5rem; /* Optimized padding */
    }

    .message-header {
        font-size: 1.3rem; /* Adjusted header size */
    }

    .message-content {
        font-size: 1rem; /* Improved text size */
    }
}

@media (max-width: 480px) {
    .contact-button {
        padding: 1rem 1.75rem; /* Further increased touch area */
        font-size: 1rem; /* Adjusted font size */
        width: auto;
        min-width: 200px;
    }
    
    .title {
        font-size: 2rem; /* Further reduced font size */
    }

    .description {
        font-size: 1rem; /* Further improved readability */
        margin-bottom: 1.5rem; /* Adjusted spacing */
    }
    
    .mail-icon {
        width: 18px;
        height: 18px;
    }

    .message-box {
        padding: 0.75rem 1rem; /* Optimized padding */
    }

    .message-header {
        font-size: 1.1rem; /* Adjusted header size */
    }

    .message-content {
        font-size: 0.9rem; /* Improved text size */
    }
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.email-fallback {
    display: none;
}

.message-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;  /* 添加左对齐 */
}

.message-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.2),
        1px -1px 0 rgba(0,0,0,0.2),
        -1px 1px 0 rgba(0,0,0,0.2),
        1px 1px 0 rgba(0,0,0,0.2);
    text-align: left;  /* 添加左对齐 */
}

.message-content {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;  /* 添加左对齐 */
}

.message-content p {
    margin: 0.5rem 0;
    color: #fff;
}