@font-face {
    font-family: 'MyBrandFont';
    src: url('../fonts/myfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LogoFont';
    src: url('../fonts/logo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* SF Pro Display */
@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Semibold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Bold.otf') format('opentype');
    font-weight: 700;
}

/* SF Pro Text */
@font-face {
    font-family: 'SF Pro Text';
    src: url('../fonts/SF-Pro-Text-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('../fonts/SF-Pro-Text-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('../fonts/SF-Pro-Text-Semibold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('../fonts/SF-Pro-Text-Bold.otf') format('opentype');
    font-weight: 700;
}

/* Brown Font */
@font-face {
    font-family: 'Brown';
    src: url('../fonts/Brown-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Brown';
    src: url('../fonts/Brown-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
    --brand-blue: #0E427E;
    --brand-green: #62BA46;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'MyBrandFont', "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--brand-blue);
    background-color: #fff;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* Language Specific Typography */
html[lang="en"] body {
    font-family: 'Brown', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html[lang="ko"] body,
html[lang="ja"] body {
    font-family: 'SF Pro Text', 'SF Pro Display', sans-serif;
    word-break: keep-all;
}

html[lang="zh-CN"] body,
html[lang="zh-TW"] body {
    font-family: 'MyBrandFont', "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    position: relative;
    height: 32px;
    overflow: hidden;
    cursor: pointer;
}

.logo-en,
.logo-cn {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: flex;
    align-items: center;
}

.logo-cn {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    opacity: 0;
}

@media (min-width: 769px) {
    .logo.hovered .logo-en {
        transform: translateY(-100%);
        opacity: 0;
    }

    .logo.hovered .logo-cn {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .logo.clicked .logo-en {
        transform: translateY(-100%);
        opacity: 0;
    }

    .logo.clicked .logo-cn {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.nav-links a {
    margin-left: 40px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-green);
}

footer {
    background: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 40px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 12px 0;
    }

    .nav-inner {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .nav-links a {
        margin: 0;
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 20px;
        background: #f5f5f5;
        transition: all 0.3s;
    }

    .nav-links a:active {
        background: #e0e0e0;
        transform: scale(0.95);
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}