* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
color: #333;
line-height: 1.6;
overflow-x: hidden;
}

.navbar {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
padding: 1rem 5%;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
}

.logo {
font-size: 1.8rem;
font-weight: 800;
color: #0a6bff;
text-decoration: none;
display: flex;
align-items: center;
}

.logo span {
color: #333;
margin-left: 0.5rem;
}

.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}

.nav-links a {
text-decoration: none;
color: #444;
font-weight: 600;
font-size: 1rem;
transition: color 0.3s;
padding: 0.5rem 1rem;
border-radius: 6px;
}

.nav-links a:hover {
color: #0a6bff;
background: rgba(10, 107, 255, 0.05);
}

.download-btn {
background: linear-gradient(135deg, #0a6bff 0%, #0066ff 100%);
color: white;
padding: 0.8rem 1.8rem;
border-radius: 30px;
font-weight: 700;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(10, 107, 255, 0.2);
}

.download-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(10, 107, 255, 0.3);
color: white;
}

.main-content {
padding-top: 80px;
}

.hero-section {
padding: 5rem 5% 3rem;
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.hero-text h1 {
font-size: 3.2rem;
line-height: 1.2;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #0a6bff 0%, #0047cc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.hero-text p {
font-size: 1.2rem;
color: #555;
margin-bottom: 2rem;
}

.cta-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}

.primary-btn {
background: linear-gradient(135deg, #0a6bff 0%, #0066ff 100%);
color: white;
padding: 1rem 2.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
font-size: 1.1rem;
transition: all 0.3s;
box-shadow: 0 4px 15px rgba(10, 107, 255, 0.2);
}

.primary-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(10, 107, 255, 0.3);
}

.secondary-btn {
background: white;
color: #0a6bff;
padding: 1rem 2.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
font-size: 1.1rem;
transition: all 0.3s;
border: 2px solid #0a6bff;
}

.secondary-btn:hover {
background: rgba(10, 107, 255, 0.05);
}

.translation-demo {
background: white;
border-radius: 16px;
padding: 2rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
margin-top: 2rem;
}

.translation-container {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 2rem;
align-items: start;
}

.language-selector {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}

.lang-btn {
padding: 0.5rem 1.5rem;
border: 2px solid #e1e8f0;
background: white;
border-radius: 30px;
cursor: pointer;
transition: all 0.3s;
font-weight: 600;
}

.lang-btn.active {
background: #0a6bff;
color: white;
border-color: #0a6bff;
}

.text-box {
border: 2px solid #e1e8f0;
border-radius: 12px;
padding: 1.5rem;
height: 200px;
overflow-y: auto;
font-size: 1.1rem;
line-height: 1.8;
}

.text-box:focus {
outline: none;
border-color: #0a6bff;
}

.swap-btn {
background: #f0f5ff;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
margin-top: 80px;
transition: all 0.3s;
color: #0a6bff;
font-size: 1.5rem;
}

.swap-btn:hover {
background: #e1ecff;
transform: rotate(180deg);
}

.features-section {
padding: 5rem 5%;
max-width: 1400px;
margin: 0 auto;
}

.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #222;
}

.features-carousel {
position: relative;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
background: white;
}

.carousel-track {
display: flex;
transition: transform 0.5s ease;
}

.feature-slide {
min-width: 100%;
padding: 3rem;
display: flex;
align-items: center;
gap: 3rem;
}

.feature-content h3 {
font-size: 1.8rem;
margin-bottom: 1rem;
color: #0a6bff;
}

.carousel-nav {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
}

.carousel-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ddd;
cursor: pointer;
transition: all 0.3s;
}

.carousel-dot.active {
background: #0a6bff;
transform: scale(1.2);
}

.download-section {
padding: 5rem 5%;
max-width: 1400px;
margin: 0 auto;
text-align: center;
}

.platform-cards {
display: flex;
justify-content: center;
gap: 2rem;
margin-top: 3rem;
flex-wrap: wrap;
}

.platform-card {
background: white;
border-radius: 16px;
padding: 2.5rem;
width: 280px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
}

.platform-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.platform-icon {
font-size: 3rem;
margin-bottom: 1.5rem;
color: #0a6bff;
}

.faq-preview {
padding: 5rem 5%;
max-width: 1000px;
margin: 0 auto;
}

.faq-container {
background: white;
border-radius: 16px;
padding: 2rem;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.faq-item {
border-bottom: 1px solid #eee;
padding: 1.5rem 0;
cursor: pointer;
}

.faq-question {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
font-size: 1.1rem;
}

.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
padding-top: 0;
color: #555;
}

.faq-item.active .faq-answer {
max-height: 200px;
padding-top: 1rem;
}

.footer {
background: #1a1a2e;
color: white;
padding: 4rem 5% 2rem;
margin-top: 5rem;
}

.footer-content {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
}

.footer-section h4 {
color: #0a6bff;
margin-bottom: 1.5rem;
font-size: 1.2rem;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 0.8rem;
}

.footer-links a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}

.footer-links a:hover {
color: #0a6bff;
}

.copyright {
text-align: center;
padding-top: 3rem;
margin-top: 3rem;
border-top: 1px solid #333;
color: #888;
font-size: 0.9rem;
}

@media (max-width: 992px) {
.hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
}

.translation-container {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.swap-btn {
    margin: 1rem auto;
    transform: rotate(90deg);
}

.feature-slide {
    flex-direction: column;
    text-align: center;
}
}

@media (max-width: 768px) {
.nav-links {
    display: none;
}

.hero-text h1 {
    font-size: 2.5rem;
}

.cta-buttons {
    justify-content: center;
}
}

.fade-in {
opacity: 0;
transform: translateY(30px);
transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}