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

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}

.container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 确保hero区域的container与导航栏对齐 */
.hero .container {
    padding-left: 20px;
    padding-right: 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 50px 0;
    background: transparent;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    height: 35px;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 151px;
}

.logo-link {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.logo-icon {
    position: absolute;
    background: center center / cover no-repeat;
    left: 0.22px;
    border-radius: 7px;
    width: 35px;
    height: 35px;
    top: 0.43px;
}

.logo-text {
    position: absolute;
    background: 0% 58.3% / 100% 274.89% no-repeat;
    height: 31px;
    left: 36.22px;
    mix-blend-mode: screen;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0);
    top: 1.43px;
    width: 85.217px;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 英雄区域 */
.hero {
    position: relative;
    background: #1669d5;
    min-height: 974px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-1 {
    position: absolute;
    top: 8px;
    left: -29px;
    right: 113px;
    bottom: 152px;
    background: rgba(48, 160, 194, 0.7);
    border-radius: 680px;
    filter: blur(50px);
}

.gradient-2 {
    position: absolute;
    top: 327px;
    left: 598px;
    right: -762px;
    bottom: -79px;
    background: #1250a1;
    border-radius: 386px;
    filter: blur(50px);
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 120px; /* 为固定导航栏留出空间 */
}

.hero-text {
    max-width: 450px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding-top: 0;
}

.hero-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 68px;
    letter-spacing: -3.4px;
    margin-bottom: 9.3px;
    white-space: nowrap;
    text-align: left;
    width: 100%;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 500;
    line-height: 41.6px;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
    white-space: pre;
}

/* 评分区域 */
.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    justify-content: flex-start;
}

.star {
    width: 24px;
    height: 23px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    text-align: left;
}

/* 下载区域 */
.download-section {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding-right: 79px;
}

.app-store-wrapper {
    position: relative;
    display: inline-block;
}

.app-store-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.app-store-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    height: 55px;
    width: 165px;
    flex-shrink: 0;
}

.app-store-svg-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    height: 55px;
    width: 165px;
}

.app-store-clip-path {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    height: 55px;
    width: 165px;
}

.app-store-mask-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 暂时禁用mask，确保App Store按钮可见 */
    /* -webkit-mask-image: url('assets/ad3af49a90d35458c6d50076c7aabc0bef682c28.svg');
    mask-image: url('assets/ad3af49a90d35458c6d50076c7aabc0bef682c28.svg');
    -webkit-mask-position: -0.028px 0px;
    mask-position: -0.028px 0px;
    -webkit-mask-size: 164.533px 55px;
    mask-size: 164.533px 55px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat; */
}

.app-store-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
}

/* 二维码浮层样式 */
.qr-code-tooltip {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.app-store-wrapper:hover .qr-code-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.qr-code-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
}

.qr-code-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

/* 移动端隐藏二维码弹框 */
@media (max-width: 768px) {
    .qr-code-tooltip {
        display: none !important;
    }
    
    /* 确保移动端App Store按钮正常显示和点击 */
    .app-store-wrapper {
        position: relative;
    }
    
    .app-store-btn {
        display: block;
        touch-action: manipulation;
    }
}

/* 英雄图片区域 */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 640px;
    z-index: 1;
    margin-left: 50px;
}

.phone-mockup {
    position: relative;
    width: 720px;
    height: 640px;
    z-index: 2;
}

.phone {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* 手部组件 */
.hand-component {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.phone-screen-mask {
    position: absolute;
    top: 15px;
    left: 191px;
    width: 449px;
    height: 638px;
    overflow: hidden;
    /* 暂时禁用mask，确保手机屏幕内容可见 */
    /* -webkit-mask-image: url('assets/e62db20076c048037c7eb491c0b40e86990cc859.svg');
    mask-image: url('assets/e62db20076c048037c7eb491c0b40e86990cc859.svg');
    -webkit-mask-position: -191.223px -15.091px;
    mask-position: -191.223px -15.091px;
    -webkit-mask-size: 720px 640px;
    mask-size: 720px 640px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat; */
}

.screen-mask {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-mask {
    position: absolute;
    top: 161px;
    left: 55px;
    width: 205px;
    height: 70px;
    overflow: hidden;
    /* 暂时禁用mask，确保Real-time Alerts可见 */
    /* -webkit-mask-image: url('assets/e62db20076c048037c7eb491c0b40e86990cc859.svg');
    mask-image: url('assets/e62db20076c048037c7eb491c0b40e86990cc859.svg');
    -webkit-mask-position: -55.223px -161.091px;
    mask-position: -55.223px -161.091px;
    -webkit-mask-size: 720px 640px;
    mask-size: 720px 640px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat; */
}

.widget-mask-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧卡片组件 */
.right-card-component {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.right-card {
    position: absolute;
    top: 60px;
    left: 408px;
    width: 261px;
    height: 104px;
    border-radius: 20px;
    overflow: hidden;
}

.right-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 实时提醒开关现在包含在手部组件中 */

/* 移除不需要的app-preview相关样式 */

/* 底部装饰 */
.bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
}

.divider {
    width: 100%;
    height: 100%;
}

/* 功能区域 */
.features {
    background: #fff9f0;
    padding: 100px 0;
    border-radius: 50px;
    margin: 100px auto;
    max-width: 1296px;
}

.features-header {
    text-align: center;
    margin-bottom: 100px;
}

.features-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 57.5px;
    color: #222222;
    margin-bottom: 10px;
}

.features-subtitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 28.8px;
    color: #333333;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1296px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image {
    width: 253px;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
}

/* 页脚 */
.footer {
    background: #ffffff;
    padding: 50px 0;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 50px;
    position: relative;
    width: 100%;
}

/* 左侧品牌区域 */
.footer-brand-section {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    align-self: stretch;
    flex-shrink: 0;
    width: 345px;
}

.footer-brand-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 2.5px;
    height: 72px;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 337px;
}

.footer-logo {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    height: 35px;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 151px;
}

.footer-logo-link {
    flex-basis: 0;
    flex-grow: 1;
    min-height: 1px;
    min-width: 1px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.footer-logo .logo-icon {
    position: absolute;
    background: center center / cover no-repeat;
    left: 0.22px;
    border-radius: 7px;
    width: 35px;
    height: 35px;
    top: 0.43px;
}

.footer-logo .logo-text {
    position: absolute;
    background: 0% 58.3% / 100% 274.89% no-repeat;
    height: 31px;
    left: 36.22px;
    mix-blend-mode: screen;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0);
    top: 1.43px;
    width: 85.217px;
}

.footer-copyright {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    height: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 338px;
}

.copyright-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-align: left;
    margin: 0;
    white-space: pre-wrap;
}

/* 中间备案联系区域 */
.footer-info-section {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    align-self: stretch;
    flex-shrink: 0;
    width: 373px;
}

.footer-info-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.footer-info-content {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 290px;
}

.footer-info-text {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-align: left;
    margin: 0;
}

.info-title {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0 0 0 0;
}

.info-icp {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

.footer-email {
    font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

.email-text {
    font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
}

/* 右侧用户协议区域 */
.footer-links-section {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    align-self: stretch;
    flex-shrink: 0;
    width: 165px;
}

.footer-links-container {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 80px;
}

.footer-links-content {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 290px;
}

.footer-links-text {
    box-sizing: border-box;
    content-stretch: stretch;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 0;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    color: #333333;
    text-align: left;
    width: 100%;
}

.links-title {
    font-family: 'Plus Jakarta Sans', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
    text-align: left;
    min-width: 100%;
    width: min-content;
}

.footer-link {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-decoration: none;
    margin: 0;
    text-align: left;
    width: 74px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1669d5;
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
        line-height: 56px;
    }
    
    .hero-subtitle {
        font-size: 28px;
        line-height: 36px;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-image {
        width: 300px;
        height: 400px;
    }
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 105, 213, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.nav-mobile.nav-open {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 隐藏导航栏 */
    .header {
        display: none;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 42px;
    }
    
    .hero-subtitle {
        font-size: 24px;
        line-height: 32px;
    }
    
    .hero-content {
        flex-direction: column-reverse; /* 改变顺序：先显示图片，后显示文字 */
        text-align: left;
        gap: 30px;
        align-items: center;
        padding-top: 40px; /* 减少顶部padding，因为导航栏已隐藏 */
    }
    
    .hero-text {
        text-align: left;
        align-items: flex-start;
        order: 2; /* 确保文字在图片后面 */
    }
    
    .hero-image {
        order: 1; /* 确保图片在前面 */
        margin-left: 0;
        width: 100%;
        min-height: 500px; /* 增加最小高度以匹配phone-mockup */
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 400px;
        height: 500px; /* 增加高度以容纳完整的屏幕内容 */
    }
    
    .phone-screen-mask {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 398px; /* 保持原始比例 449:638 = 280:398 */
        border-radius: 25px; /* 添加圆角以匹配手机屏幕 */
    }
    
    .screen-mask {
        width: 100%;
        height: 100%;
        object-fit: contain; /* 改为contain确保完整显示不被截断 */
        border-radius: 25px;
    }
    
    /* 隐藏widget组件 */
    .widget-mask {
        display: none;
    }
    
    /* 隐藏右侧卡片组件 */
    .right-card {
        display: none;
    }
    
    .features {
        padding: 60px 20px;
        margin: 60px 20px;
    }
    
    .features-title {
        font-size: 36px;
        line-height: 42px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: left;
        gap: 40px;
        align-items: flex-start;
        padding: 20px;
    }
    
    .footer-brand-section,
    .footer-info-section,
    .footer-links-section {
        width: 100%;
        align-items: flex-start;
    }
    
    .footer-info-container {
        align-items: flex-start;
    }
    
    .footer-links-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        line-height: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        line-height: 28px;
    }
    
    .phone-mockup {
        max-width: 320px;
        height: 420px;
    }
    
    .phone-screen-mask {
        width: 240px;
        height: 341px; /* 保持原始比例 449:638 = 240:341 */
        top: 12px;
    }
    
    .features-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .feature-image {
        width: 250px;
        height: 350px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image,
.features-header,
.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

 