@charset "UTF-8";
/**
 * 首页特定样式
 * 
 * @package RiaFlow_Theme
 */

/* ==========================================
   主横幅区域
   ========================================== */
.hero-section {
    min-height: 100vh; 
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* padding: 8rem 2rem 6rem; */
}
/* 小装饰块 */
.hero-section::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 204px;
    height: 204px;
    opacity: 1;
    background: rgba(110, 31, 172, 0.5);
    filter: blur(400px);
    border-radius: 50%;
}
/* .hero-section::after {
    content: '';
    position: absolute;
    bottom: -180px;
    right: 0px;
    width: 204px;
    height: 204px;
    opacity: 1;
    background: #002A8A;
    filter: blur(400px);
    
}  */

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 0px;
}

.hero-brand {
    font-family: MiSans;
    font-size: 64px;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.hero-platform-badge {
    border-radius: 2px;
    opacity: 1;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 2px 12px;
    background: #165DFF;
    font-family: MiSans;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    /* vertical-align: top;
    position: relative;
    top: 22px; */
}

.hero-main-title {
    font-family: MiSans;
    font-size: 44px;
    font-weight: 600;
    line-height: normal;
    color: var(--text-primary);
    margin-bottom: 32px;
}

/* 打字机效果 */
.hero-main-title.typewriter {
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
}

.hero-subtitle {
    font-family: MiSans;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: var(--text-tertiary);
    margin-bottom: 18px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 56px;
}

.hero-feature-tag {
    display: inline-block;
    transition: all var(--transition-fast);
    width: 52px;
    border-radius: 2px;
    opacity: 1;
    align-items: center;
    text-align: center;
    padding: 2px 8px;
    gap: 10px;
    background: rgba(68, 125, 255, 0.15);
    font-family: MiSans;
    font-size: 12px;
    font-weight: 500;
    color: #447DFF;
}

.hero-feature-tag:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 54px;
}


.hero-actions .btn-primary {
    width: 172px;
    height: 57px;
    border-radius: 16px;
    opacity: 1;
    font-family: MiSans;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0em;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);

}

.hero-actions .btn-secondary {
    height: 57px;
    border-radius: 16px;
    opacity: 1;
    /* 自动布局 */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 54px;
    gap: 10px;
    background: rgba(68, 125, 255, 0.06);
    box-sizing: border-box;
    border: 1px solid rgba(68, 125, 255, 0.2);
    font-family: MiSans;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0em;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-promotion {
   font-family: MiSans;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0em;
    color: var(--text-tertiary)
}

.points-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-image.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
}

.hero-dialog-box-old {
    position: absolute;
    top: -50px;
    left: -30px;
    background: white;
    color: #1e293b;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    z-index: 3;
}

.hero-dialog-box::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.hero-dialog-text {
    font-weight: 600;
    font-size: 1rem;
}

.hero-agent-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* 向下滚动指引 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all var(--transition-fast);
    z-index: 10;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.scroll-text {
    font-family: MiSans;
    font-size: 12px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0em;
    color: rgba(255, 255, 255, 0.3);
}

.scroll-arrow {
    width: 12px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow path {
    fill: #FFFFFF;
    fill-opacity: 0.3;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ==========================================
   功能特点区域
   ========================================== */
.features-section {
    padding-top: 119.72px;
    padding-bottom: 140px;
    background: var(--bg-primary);
}

.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* 产品功能介绍区域容器 */
.product-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* 核心功能特点区域容器 */
.features-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
    font-family: MiSans;
    font-size: 36px;
    font-weight: 600;
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.9);
}

/* 标题中的逗号和换行符 - 默认显示逗号，隐藏换行 */
.section-title .title-comma {
    display: inline;
}

.section-title .title-break {
    display: none;
}

.features-container .section-title {
  color: var(--text-primary);
  margin-bottom: 64px;
}
.section-description {
    font-family: MiSans;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 925px;
    margin-left: auto;
    margin-right: auto;
}

.section-description .quote-mark {
    font-weight: 600;
}

.section-description .highlight-text {
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.features-grid .feature-card {
    background: rgba(68, 125, 255, 0.06);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(68, 125, 255, 0.2);
    /* transition: all var(--transition-fast);   */
    text-align: left;
}

.features-grid .feature-card:hover {
    /* transform: translateY(-5px);  */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), rgba(68, 125, 255, 0.06);
    box-sizing: border-box;
    border: 1px solid rgba(68, 125, 255, 0.5);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    margin-bottom: 24px;
}

.feature-title {
    margin-bottom: 16px;
    font-family: MiSans;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0em;
    font-feature-settings: "kern" on;
    color: var(--text-primary);
}

.feature-description {
    
    font-family: MiSans;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: var(--text-tertiary);
}

/* ==========================================
   产品功能区域
   ========================================== */
.product-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background-image: url('../images/bg/bg1-pc.png');
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat; 
}

.product-item
{
    margin-bottom: 80px;
}

.product-content {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-height: 400px;
}

.product-item.reverse .product-content {
    flex-direction: row-reverse;
}

.product-text {
    flex: 0.6;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: MiSans;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.product-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-bottom: 18px;
}

.product-title .highlight-text {
    background: linear-gradient(276deg, #165DFF 0%, #C98FF7 97%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
   background: linear-gradient(270deg, #165DFF 0%, #8232DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
   font-family: MiSans;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    text-align: justify;

    font-feature-settings: "kern" on;
    color: rgba(0, 0, 0, 0.9);
}

/* 产品优势块样式 */
.product-advantages {
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.05) 0%, rgba(130, 50, 219, 0.05) 100%);
    border-radius: 8px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.advantage-text {
    font-family: MiSans;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

.advantage-text .highlight-key {
    font-weight: 600;
    font-size: 16px;
    padding: 0 2px;
}

.product-image {
    flex: 1.2;
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(68, 125, 255, 0.2);
    box-shadow: 0px 10.76px 26.91px 0px rgba(33, 82, 112, 0.1),0px 5.38px 13.45px 0px rgba(33, 82, 112, 0.05);
    /* transform: translateY(-5px); */
    border: 1.35px solid rgba(68, 125, 255, 0.2);
}
.product-image img:hover {
    border: 1px solid rgba(68, 125, 255, 0.5);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1),0px 8px 20px 0px rgba(33, 82, 112, 0.1),0px 4px 10px 0px rgba(33, 82, 112, 0.05);
}
/* ==========================================
   轮播样式
   ========================================== */
.product-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: auto;
}

.carousel-track .product-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-track .product-item.active {
    display: block;
    opacity: 1;
}

/* 轮播指示器容器 - 包含左右按钮和页码 */
.carousel-indicators {
    position: absolute;
    bottom: 0px;
    left: calc(65% + 24px);
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    z-index: 10;
}

/* 轮播控制按钮 - 上一个/下一个 */
.carousel-btn {
   
    width: 40px;
    height: 40px;
    border-radius: 8px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    gap: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;

}


.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn svg path {
    stroke: #000000;
    stroke-width: 2;
}

/* 页码指示器 */
.carousel-page-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: MiSans;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
    user-select: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
}

.carousel-page-indicator .current-page {
    color: #000000;
    font-weight: 600;
    font-size: 18px;
}

.carousel-page-indicator .total-pages {
    color: #000000;
}

/* 轮播动画 */
@keyframes fadeInCarousel {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .scroll-text
    {
        display: none;
    }
 

    /* 轮播响应式 */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-btn.carousel-prev {
        margin-left: -20px;
    }
    
    .carousel-btn.carousel-next {
        margin-right: -20px;
    }
}
/* 平板设备优化 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 内容区域左右留空 40px */
    .hero-container,
    .section-container,
    .product-container,
    .features-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    /* 主横幅区域 */
    .hero-section::after {
        display: none;
    }
    
    .hero-title{
     font-size: 56px;
    }
    .hero-main-title
    {
        font-size: 38px;
    }
    /* 产品功能介绍区域 */
    .product-section {
    background-image: url('../images/bg/bg1-ipad.png');
    }
    .product-description
    {
        font-size: 14px;
    }



    /* 核心功能特点区域 */
    .feature-card {
       padding: 24px;
    }
}
/* 手机设备 768px*/
@media (max-width: 768px) {
    /* 内容区域左右留空 16px */
    .hero-container,
    .section-container,
    .product-container,
    .features-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-section {
        padding-top: 98px;
        min-height: auto;
    }
    
    .hero-section::after {
        display: none;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
    .hero-image {
        margin-bottom: 60px;
    }
    .scroll-text {
        font-size: 12px;
    }

    .scroll-arrow {
        width: 10px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
    }
    .hero-brand {
        font-size:36px;
    }
    
    .hero-main-title {
        font-size: 30px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .hero-features {
        gap: 0.8rem;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 18px;
        justify-content: flex-start;
        margin-bottom: 24px;
    }
    
    .hero-actions .btn {
        flex: 1;
        max-width: none;
        white-space: nowrap;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-actions .btn-primary {
        min-width: auto;
    }
    
    .hero-actions .btn-secondary {
        min-width: auto;
    }
    
    .hero-dialog-box {
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 17px;
    }
    
   
   
    /* product-container 的标题和描述左对齐 */
    .product-container .section-title,
    .product-container .section-description {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    .product-section {
    background-image: url('../images/bg/bg1-iphone.png');
    }
    .product-section
    {

        padding-top: 80px;
    }
    .product-container .section-title
    {
        font-size: 23px;
        margin-bottom: 16px;
    }
    .product-container .section-description {
        font-size: 14px;
        margin-bottom: 60px;
    }
    .section-description .highlight-text {
    font-weight: 600;
    }
    .product-content,
    .product-item.reverse .product-content {
        flex-direction: column;
        align-items: center;
    }
    
    .product-text {
        align-items: center;
        max-height: 190px;
    }
    
    .product-icon {
        margin-left: auto;
        margin-right: auto;
        width: 40px;
        height:40px;
        margin-bottom: 16px;
    }
    
    .product-title {
        font-size: 20px;
        text-align: center;
        justify-content: center;
        margin-bottom: 12px;
    }
    
    
    .product-description {
        font-size: 14px;
    }

    /* 产品优势块响应式 - 手机 */
    .product-advantages {
        display: none;
    }

    .product-item {
        margin-bottom: 40px;
    }
    /* 轮播响应式  */
    
    .carousel-indicators {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        gap: 16px;
        justify-content: center;
    }

    .carousel-page-indicator {
        font-size: 14px;
    }

    .carousel-page-indicator .current-page {
        font-size: 16px;
    }

     /* 产品独特优势 */
    /* 移动设备：隐藏逗号，显示换行 */
    .features-section
    {
        padding-top: 80px;
        padding-bottom: 0px;
    }
    .features-section .section-title .title-comma {
        display: none;
    }
    
   .features-section .section-title .title-break {
        display: block;
    }
    .features-section .section-title
    {
        font-size: 23px;
        margin-bottom: 24px;
    }
    .feature-card
    {
        padding: 24px 16px 16px 16px;
    }
    .feature-icon-wrapper
    {
        height: 34px;
        width: 34px;
        margin-bottom: 15px;
    }
    .feature-title {
        margin-bottom: 8px;
        font-size: 16px;
    }
    
}
