/* index.css - 灵引首页样式 */

/* 基础变量定义 */
:root {
    --primary: #0057C2;
    --primary-dark: #004299;
    --primary-light: #1F75DD;
    --accent: #00E5FF;
    
    --love-primary: #FF6B6B;
    --love-light: #FFE0E0;
    --star-primary: #4D96FF;
    --star-light: #E6F2FF;
    
    --gray-dark: #2A3A59;
    --gray: #6E7A99;
    --gray-light: #ECF0F9;
    --white: #ffffff;
    
    --shadow-sm: 0 4px 6px rgba(10, 33, 64, 0.05);
    --shadow-md: 0 5px 15px rgba(10, 33, 64, 0.08);
    --shadow-lg: 0 10px 25px rgba(10, 33, 64, 0.1);
    --shadow-xl: 0 20px 40px rgba(10, 33, 64, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* 继承标准页面标题样式 */
.about-hero-section {
    position: relative;
    padding: 20px 0 10px; /* 统一使用about.css的紧凑布局 */
    background: #F0F7FF;
}

/* 面包屑导航样式 */
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
    margin-bottom: 10px; /* 统一使用about.css的边距 */
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumbs a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumbs a:hover {
    color: #1D4ED8;
}

.breadcrumbs i.fa-home {
    margin-right: 5px;
    font-size: 14px;
}

.breadcrumbs i.fa-angle-right {
    font-size: 12px;
    color: #9CA3AF;
}

.breadcrumbs span {
    color: #374151;
    font-weight: 500;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 40px; /* 统一使用about.css的字号 */
    font-weight: 600;
    margin-bottom: 20px;
    color: #1E40AF;
    line-height: 1.2;
}

.page-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #2563EB;
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 20px; /* 统一使用about.css的字号 */
    color: #4B5563;
    margin-top: 20px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.section-header h2 {
    font-size: 42px;
    color: var(--gray-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-description {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 品牌理念 */
.philosophy-section {
    padding: 30px 0;
    background: #f9f9f9;
}

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

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 0;
}

.philosophy-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-10px);
}

.item-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    z-index: 2;
    transition: all 0.3s ease;
}

.philosophy-item:hover .icon-inner {
    transform: scale(1.1);
}

.icon-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.philosophy-item:hover .icon-bg {
    opacity: 0.2;
    transform: scale(1.2);
}

.philosophy-item h3 {
    font-size: 24px;
    color: var(--gray-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.philosophy-item p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 16px;
}

.philosophy-quote {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.quote-icon {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.1;
    margin-bottom: 20px;
}

.philosophy-quote blockquote {
    font-size: 24px;
    color: var(--gray-dark);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.quote-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.05;
    border-radius: 50%;
}

/* 产品展示 */
.products-section {
    padding: 100px 0;
    background: white;
}

.products-showcase {
    display: grid;
    gap: 80px;
    margin-bottom: 80px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card.luckystar {
    grid-template-columns: 1fr 1fr;
}

.product-card.luckystar .product-visual {
    order: 2;
}

.product-card.luckystar .product-info {
    order: 1;
}

/* 产品视觉展示 */
.product-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.visual-device {
    position: relative;
    z-index: 2;
}

/* 亲语手机展示 */
.device-phone {
    width: 240px;
    height: 480px;
    background: #111;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: var(--love-primary);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
}

.voice-visualization {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px;
}

.voice-bar {
    width: 6px;
    height: 40px;
    background: var(--love-primary);
    border-radius: 3px;
    opacity: 0.3;
    animation: voice-wave 1.5s infinite ease-in-out;
}

.voice-bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 60px;
}

.voice-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 80px;
}

.voice-bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 60px;
}

.voice-bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 40px;
}

@keyframes voice-wave {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

.screen-message {
    background: var(--love-light);
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    color: var(--gray-dark);
    font-style: italic;
    text-align: center;
}

/* 小福星手表展示 */
.device-watch {
    position: relative;
    width: 200px;
    height: 300px;
}

.watch-band-top,
.watch-band-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100px;
    background: linear-gradient(to bottom, #1976D2, #1565C0);
    border-radius: 40px 40px 0 0;
}

.watch-band-top {
    top: -80px;
}

.watch-band-bottom {
    bottom: -80px;
    transform: translateX(-50%) rotate(180deg);
}

.watch-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: #333;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.watch-screen {
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Arial', sans-serif;
}

.time {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

.health-data {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.data-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--star-primary);
}

.watch-status {
    width: 40px;
    height: 40px;
    background: rgba(77, 150, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--star-primary);
}

.watch-crown {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 30px;
    background: #333;
    border-radius: 5px;
}

/* 产品装饰元素 */
.visual-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.deco-1 {
    width: 150px;
    height: 150px;
    background: var(--love-primary);
    top: -30px;
    left: -30px;
}

.deco-2 {
    width: 100px;
    height: 100px;
    background: var(--love-light);
    bottom: -20px;
    right: -20px;
}

.location-ping {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--star-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.safety-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 3px solid var(--star-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

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

/* 产品信息 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.product-card.hearttalk .product-logo {
    color: var(--love-primary);
}

.product-card.luckystar .product-logo {
    color: var(--star-primary);
}

.product-info h3 {
    font-size: 32px;
    color: var(--gray-dark);
    margin: 0;
}

.product-tagline {
    font-size: 20px;
    color: var(--gray);
    font-weight: 500;
    margin: -10px 0 0 0;
}

.product-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
}

.product-features {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-dark);
}

.feature-item i {
    font-size: 16px;
}

.product-card.hearttalk .feature-item i {
    color: var(--love-primary);
}

.product-card.luckystar .feature-item i {
    color: var(--star-primary);
}

.product-stats {
    display: flex;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.product-card.hearttalk .stat-number {
    color: var(--love-primary);
}

.product-card.luckystar .stat-number {
    color: var(--star-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 产品协同 */
.products-synergy {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f9ff 0%, #fff5f5 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.synergy-visual {
    position: relative;
    margin-bottom: 10px;
}

.synergy-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, var(--love-primary), var(--star-primary));
    opacity: 0.3;
}

.synergy-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.products-synergy h3 {
    font-size: 28px;
    color: var(--gray-dark);
    margin-bottom: 16px;
}

.products-synergy p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* 场景展示 */
.scenarios-section {
    padding: 30px 0;
    background: #f9f9f9;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.scenario-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-image {
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-light), #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

.scenario-content {
    padding: 24px;
}

.scenario-content h4 {
    font-size: 20px;
    color: var(--gray-dark);
    margin-bottom: 12px;
}

.scenario-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 数据统计 */
.stats-section {
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stats-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    backdrop-filter: blur(10px);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
}

.stat-suffix {
    font-size: 24px;
    margin-left: 5px;
    opacity: 0.8;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

.stats-quote {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stats-quote p {
    font-size: 20px;
    color: white;
    font-style: italic;
    margin: 0;
}

/* 用户评价 */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    color: var(--primary);
    opacity: 0.1;
}

.testimonial-content {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    text-align: justify；
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.author-info h4 {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 87, 194, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-love {
    background: var(--love-primary);
    color: white;
}

.btn-love:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-star {
    background: var(--star-primary);
    color: white;
}

.btn-star:hover {
    background: #3d86ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 150, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .philosophy-grid,
    .scenarios-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .philosophy-grid,
    .scenarios-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-card.luckystar .product-visual {
        order: 1;
    }
    
    .product-card.luckystar .product-info {
        order: 2;
    }
    
    .product-features {
        flex-direction: column;
        align-items: center;
    }
    
    .product-stats {
        justify-content: center;
    }
}