/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-text {
    text-decoration: none;
    color: #2c3e50;
}

.logo-text:hover {
    opacity: 0.8;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50% / 30%;
    background-color: white;
    padding: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.language-switch {
    display: flex;
    gap: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #3498db;
    background: none;
    color: #3498db;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: #3498db;
    color: white;
}

.lang-btn:hover {
    background-color: #3498db;
    color: white;
}

/* 主要内容样式 */
main {
    margin-top: 60px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    opacity: 0.9;
}

.hero-app-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-app-image {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-app-image {
        max-width: 250px;
    }
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-services {
    width: 100%;
    margin-top: 1rem;
}

.hero-services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.hero-top {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
    width: 100%;
    justify-content: center;
}

.hero-welcome {
    text-align: left;
    max-width: 600px;
}

.hero-welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-welcome p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-images {
    flex-shrink: 0;
}

.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

@media (max-width: 1024px) {
    .hero-top {
        gap: 2rem;
    }

    .hero-welcome h1 {
        font-size: 2rem;
    }

    .hero-logo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-welcome {
        text-align: center;
    }

    .hero-logo {
        width: 50px;
        height: 50px;
        padding: 3px;
    }

    .hero-welcome h1 {
        font-size: 1.8rem;
    }
}

/* 产品卡片样式 */
.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 900px;
    text-align: left;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.product-header h3 {
    font-size: 2rem;
    color: #2c3e50;
}

.product-description {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.product-features {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.product-features ul {
    list-style-type: none;
    padding: 0;
}

.product-features li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: "✓";
    color: #3498db;
    position: absolute;
    left: 0;
}

.cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
}

.product-icon {
    width: 20%;
    height: auto;
    margin-bottom: 1rem;
}

/* 关于我们和联系方式样式 */
.about, .contact {
    text-align: center;
}

.contact-email {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    width: 20%;
    max-width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 50% / 30%;
    background-color: white;
    padding: 4px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-text {
    text-align: center;
}

.footer-text p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 15%;
        max-width: 80px;
        padding: 3px;
    }

    .footer-text p {
        font-size: 0.8rem;
    }
}

/* 语言切换样式 */
.zh {
    display: none;
}

.en {
    display: block;
}

/* 对于行内元素的语言切换 */
li.en, span.en {
    display: inline;
}

/* 关于我们样式 */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-content h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-card h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.mission-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.why-choose-section {
    margin: 2rem 0;
}

.why-choose-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.why-choose-section li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.why-choose-section li:before {
    content: "✓";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .language-switch {
        margin-top: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-services h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
        padding: 3px;
    }

    .hero-images {
        gap: 1rem;
    }

    .hero-logo:first-child {
        width: 220px;
        height: 220px;
    }

    .hero-logo:last-child {
        width: 150px;
        height: 150px;
    }

    .footer-logo {
        width: 25%;
        max-width: 120px;
        padding: 6px;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-content h3 {
        font-size: 1.5rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    .product-card {
        padding: 2rem 1rem;
    }

    .product-header {
        flex-direction: column;
        text-align: center;
    }

    .product-description {
        font-size: 1rem;
    }
}

/* Product Page Styles */
.product-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.checkmark {
    font-size: 1.5rem;
    color: #4CAF50;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.highlight-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 1rem 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.download-btn {
    padding: 1rem 2rem;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    background: #45a049;
}

.hero-app-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .highlight-item {
        padding: 1rem;
    }

    .highlight-text h3 {
        font-size: 1.1rem;
    }

    .highlight-text p {
        font-size: 0.85rem;
    }

    .highlight-summary {
        font-size: 1rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-app-image {
        max-width: 80%;
    }
}

.product-screenshots {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.screenshot {
    width: 280px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 8px solid white;
}

.screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .product-screenshots {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .screenshot {
        width: 100%;
        max-width: 280px;
        border-width: 6px;
    }
}

.privacy-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-section-content h1 {
    color: #007AFF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007AFF;
    padding-bottom: 0.5rem;
}

.privacy-section-content h2 {
    color: #007AFF;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-section-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

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

    .privacy-content {
        padding: 1.5rem;
    }

    .privacy-section-content h1 {
        font-size: 2rem;
    }

    .privacy-section-content h2 {
        font-size: 1.3rem;
    }
}

.privacy-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FFA500;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #FFA500;
}

.calcurrency-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.back-link:hover .calcurrency-icon {
    transform: scale(1.1);
}

.privacy-section-content h2 {
    color: #FFA500;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid #FFA500;
    padding-left: 1rem;
}

.privacy-section-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    list-style-type: none;
}

.privacy-section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section-content li:before {
    content: "•";
    color: #FFA500;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .calcurrency-icon {
        width: 20px;
        height: 20px;
    }
    
    .back-link {
        font-size: 0.8rem;
    }
}

.privacy-link {
    margin-top: 1.5rem;
    text-align: center;
}

.privacy-link a {
    color: #FFA500;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #FFA500;
    border-radius: 5px;
}

.privacy-link a:hover {
    color: #fff;
    background-color: #FFA500;
}

@media (max-width: 768px) {
    .privacy-link a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
} 