/* ===========================================
   功能页面专用样式 (Features Page Styles) - 全新布局设计
   采用阶梯式卡片、交互路线图、扇形布局、进度指示器
   布局概念：流程导向 + 层次感 + 交互体验
   =========================================== */

/* ===========================================
   全新功能英雄区域 - 阶梯式分层设计
   =========================================== */

.features-hero {
    min-height: 100vh;
    padding: calc(80px + var(--space-2xl)) 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: transparent;
}

/* 阶梯式背景层 */
.features-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 115, 22, 0.08) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: 0;
    animation: slideInFromTop 1s ease-out;
}

/* 装饰性几何图形 */
.features-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse at 80% 80%, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.06) 40%, transparent 70%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

.features-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 英雄区域内容布局 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: 60vh;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.features-hero .hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    background: rgba(249, 115, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-orange-700);
    margin-bottom: var(--space-xl);
    animation: bounceIn 0.6s ease-out 0.3s both;
}

.features-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
    text-align: left;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-hero p {
    font-size: 1.3rem;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    text-align: left;
    max-width: 90%;
}

.features-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* 英雄区域视觉装饰 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(251, 146, 60, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.hero-visual::after {
    content: "⚙️";
    font-size: 10rem;
    position: relative;
    z-index: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.features-hero .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease-out both;
}

.features-hero .stat-item:nth-child(1) {
    animation-delay: 0.8s;
}
.features-hero .stat-item:nth-child(2) {
    animation-delay: 1s;
}
.features-hero .stat-item:nth-child(3) {
    animation-delay: 1.2s;
}

.features-hero .stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    z-index: 1;
}

.features-hero .stat-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.3);
}

.features-hero .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-orange-600);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.features-hero .stat-label {
    color: var(--warm-gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================================
   全新功能流程图 - 交互式路线图设计
   =========================================== */

.features-timeline {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 115, 22, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.features-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='circuit' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M10,10 L40,10 L40,40 L10,40 Z' fill='none' stroke='%23f97316' stroke-width='0.5' opacity='0.1'/%3E%3Ccircle cx='25' cy='25' r='2' fill='%23f97316' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23circuit)'/%3E%3C/svg%3E")
        repeat;
    opacity: 0.3;
    animation: circuitMove 30s linear infinite;
    z-index: 0;
}

@keyframes circuitMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.timeline-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.timeline-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-lg);
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-header p {
    font-size: 1.2rem;
    color: var(--warm-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

/* 流程路径设计 */
.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-orange-500) 0%, var(--primary-orange-400) 50%, var(--primary-orange-300) 100%);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    animation: flowAnimation 3s ease-in-out infinite;
}

/* 流动动画 */
.timeline-container::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
    animation: flowPulse 2s linear infinite;
    z-index: 1;
}

@keyframes flowAnimation {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    }
}

@keyframes flowPulse {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: calc(100% - 50px);
        opacity: 0;
    }
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    animation: slideInTimeline 0.8s ease-out both;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}
.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}
.timeline-item:nth-child(5) {
    animation-delay: 1s;
}
.timeline-item:nth-child(6) {
    animation-delay: 1.2s;
}
.timeline-item:nth-child(7) {
    animation-delay: 1.4s;
}
.timeline-item:nth-child(8) {
    animation-delay: 1.6s;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
    padding-right: var(--space-2xl);
    margin-right: calc(50% + 60px);
    margin-left: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
    padding-left: var(--space-2xl);
    margin-left: calc(50% + 60px);
    margin-right: 0;
}

@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 时间线标记重新设计 */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.marker-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.3), 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 0 12px rgba(249, 115, 22, 0.1);
    border: 3px solid white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.marker-icon::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--primary-orange-500),
        var(--primary-orange-400),
        var(--primary-orange-300),
        var(--primary-orange-500)
    );
    background-clip: border-box;
    animation: spinIcon 4s linear infinite;
    z-index: -1;
}

.timeline-item:hover .marker-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.9), 0 0 0 16px rgba(249, 115, 22, 0.15);
}

@keyframes spinIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    z-index: 1;
}

/* 连接线箭头 */
.timeline-content::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateY(-50%);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -12px;
    border-left-color: rgba(249, 115, 22, 0.15);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -12px;
    border-right-color: rgba(249, 115, 22, 0.15);
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(249, 115, 22, 0.25);
}

/* 内容头部样式 */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.content-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin: 0;
    line-height: 1.3;
}

.feature-tag {
    padding: var(--space-xs) var(--space-md);
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange-700);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content p {
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* 功能优势列表 */
.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--warm-gray-700);
    font-size: 0.95rem;
    font-weight: 500;
}

.benefit-item i {
    color: var(--success-green);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

/* 清理旧样式 */
.feature-highlights {
    display: none;
}

/* ===========================================
   全新优势展示区域 - 扇形布局设计
   =========================================== */

.features-advantages {
    padding: var(--space-3xl) 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(249, 115, 22, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.features-advantages::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(
        from 0deg,
        rgba(249, 115, 22, 0.1) 0deg,
        transparent 90deg,
        rgba(251, 146, 60, 0.08) 180deg,
        transparent 270deg,
        rgba(249, 115, 22, 0.1) 360deg
    );
    border-radius: 50%;
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.advantages-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.advantages-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-lg);
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.advantages-header p {
    font-size: 1.2rem;
    color: var(--warm-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 扇形网格布局 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.8s ease-out both;
}

.advantage-item:nth-child(1) {
    animation-delay: 0.2s;
    transform-origin: bottom right;
}
.advantage-item:nth-child(2) {
    animation-delay: 0.4s;
    transform-origin: bottom left;
}
.advantage-item:nth-child(3) {
    animation-delay: 0.6s;
    transform-origin: top right;
}
.advantage-item:nth-child(4) {
    animation-delay: 0.8s;
    transform-origin: top left;
}

.advantage-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.25);
}

.advantage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-warm);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 2;
}

.advantage-content {
    position: relative;
    z-index: 2;
}

.advantage-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.advantage-content p {
    color: var(--warm-gray-600);
    line-height: 1.7;
    font-size: 1.05rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 旧的对比表格已移除 */

/* 功能详细展示已移除，简化页面结构 */

/* ===========================================
   全新响应式设计 - 适配各种设备
   =========================================== */

@media (max-width: 1024px) {
    /* 英雄区域平板适配 */
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: var(--space-xl);
    }

    .features-hero h1,
    .features-hero p {
        text-align: center;
        max-width: 100%;
    }

    /* 时间线平板适配 */
    .timeline-container::before {
        left: var(--space-xl);
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: calc(var(--space-xl) + 60px);
        margin-right: 0;
        text-align: left;
        padding: var(--space-xl);
    }

    .timeline-content::after {
        left: -12px !important;
        right: auto !important;
        border-right-color: rgba(249, 115, 22, 0.15) !important;
        border-left-color: transparent !important;
    }

    .timeline-marker {
        left: var(--space-xl);
    }

    .marker-icon {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    /* 优势网格适配 */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    /* 英雄区域移动端 */
    .features-hero {
        min-height: 80vh;
        padding: calc(60px + var(--space-xl)) 0 0;
    }

    .features-hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .features-hero p {
        font-size: 1.1rem;
        margin-bottom: var(--space-xl);
    }

    .features-hero .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .features-hero .stat-item {
        padding: var(--space-md);
    }

    /* 时间线移动端 */
    .timeline-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .timeline-content {
        margin-left: calc(var(--space-lg) + 50px);
        padding: var(--space-lg);
    }

    .timeline-marker {
        left: var(--space-lg);
    }

    .marker-icon {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    .timeline-container::before {
        left: var(--space-lg);
        width: 4px;
    }

    /* 优势区域移动端 */
    .advantages-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .advantage-item {
        padding: var(--space-xl);
    }

    .advantage-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕英雄区域 */
    .features-hero {
        min-height: 70vh;
        padding: calc(60px + var(--space-md)) 0 var(--space-md);
    }

    .features-hero h1 {
        font-size: clamp(1.6rem, 10vw, 2.2rem);
    }

    .features-hero p {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }

    .features-hero .stat-item {
        padding: var(--space-sm);
    }

    .features-hero .stat-number {
        font-size: 1.8rem;
    }

    /* 超小屏时间线 */
    .timeline-header h2 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    .timeline-content {
        margin-left: calc(var(--space-md) + 40px);
        padding: var(--space-md);
    }

    .timeline-marker {
        left: var(--space-md);
    }

    .marker-icon {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }

    .timeline-container::before {
        left: var(--space-md);
        width: 3px;
    }

    /* 超小屏优势区域 */
    .advantages-header h2 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    .advantage-item {
        padding: var(--space-lg);
    }

    .advantage-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }

    .advantage-content h3 {
        font-size: 1.2rem;
    }

    .advantage-content p {
        font-size: 0.95rem;
    }
}
