/* 明亮科技风格 - Duck F50 故事页面 */
:root {
    /* 明亮科技色彩系统 */
    --primary-blue: #0066ff;
    --bright-blue: #0084ff;
    --sky-blue: #00b4ff;
    --light-cyan: #00e5ff;
    --soft-white: #f8fbff;
    --pure-white: #ffffff;
    --light-gray: #f0f4f8;
    --medium-gray: #e1e8ed;
    --dark-gray: #657786;
    --text-primary: #14171a;
    --text-secondary: #657786;
    --accent-green: #17bf63;
    --accent-orange: #ff7a00;
    
    /* 渐变系统 */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    --gradient-sky: linear-gradient(135deg, var(--sky-blue), var(--light-cyan));
    --gradient-card: linear-gradient(135deg, var(--pure-white), var(--soft-white));
    --gradient-hero: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    
    /* 阴影系统 - 更柔和 */
    --shadow-light: 0 2px 12px rgba(0, 102, 255, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 102, 255, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 102, 255, 0.16);
    --shadow-glow: 0 0 20px rgba(0, 132, 255, 0.3);
    
    /* 动画 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 375px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
        padding: 0 0.3rem;
    }
    
    .step {
        max-width: 140px;
    }
    
    .step-card {
        padding: 0.4rem;
        min-height: 100px;
    }
    
    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }
    
    .step-title {
        font-size: 0.65rem;
    }
    
    .step-description {
        font-size: 0.55rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--soft-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 明亮英雄区域 */
.tech-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 132, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 228, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.hero-title br {
    margin-bottom: 0.5rem;
    content: "";
    display: block;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-badge,
.tech-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.625rem 1.25rem;
    background: var(--pure-white);
    border-radius: 50px;
    box-shadow: var(--shadow-light);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-medium);
    font-size: 0.9rem;
    border: 1px solid var(--medium-gray);
}

@media (max-width: 768px) {
    .tech-badge,
    .tech-badge-link {
        gap: 0.3rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 25px;
    }
    
    .tech-badge i,
    .tech-badge-link i {
        font-size: 0.9rem;
    }
}

.tech-badge-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.tech-badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50px;
}

.scroll-indicator:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.scroll-indicator:hover i {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 明亮内容区域 */
.tech-section {
    padding: 60px 0;
    position: relative;
}

.tech-section.alt-bg {
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 明亮卡片系统 */
.pain-grid,
.solution-grid,
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pain-card,
.solution-card,
.result-item,
.achievement-item {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--medium-gray);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.pain-card::before,
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sky);
}

.pain-card:hover,
.solution-card:hover,
.result-item:hover,
.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}



.pain-icon,
.solution-icon,
.result-icon,
.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pain-card h3,
.solution-card h3,
.result-item h3,
.achievement-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.pain-card,
.solution-card,
.result-item,
.achievement-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pain-card > div:first-child,
.solution-card > div:first-child,
.result-item > div:first-child,
.achievement-item > div:first-child {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.pain-card p,
.solution-card p,
.result-item p,
.achievement-item p {
    color: var(--text-secondary);
    margin-bottom: 0rem;
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pain-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem !important;
}

.tech-spec {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.spec-badge {
    padding: 0.25rem 0.75rem;
    background: var(--light-cyan);
    color: var(--pure-white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 洞察框 */
.insight-box {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-blue);
    margin: 2rem 0;
}

.insight-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* 技术条 */
.tech-bar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.bar-label {
    min-width: 100px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.bar-container {
    flex: 1;
    height: 14px;
    background: var(--light-gray);
    border-radius: 7px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 1s ease;
    border-radius: 7px;
}

.bar-value {
    min-width: 65px;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* 分析网格 */
.analysis-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.analysis-item h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.analysis-item ul {
    list-style: none;
    space-y: 1.5rem;
}

.analysis-item li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.analysis-item li i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    min-width: 20px;
}

/* 流程步骤 */
.tech-process {
    text-align: center;
    margin-top: 3rem;
}

.tech-process h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.tech-process h3 i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    -webkit-text-fill-color: var(--primary-blue);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-arrow {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0.5rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* 测试结果 */
.test-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-unit {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.test-visual {
    text-align: center;
    margin-top: 2rem;
}

.test-scenario {
    display: inline-block;
    padding: 2rem;
    background: var(--pure-white);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.test-scenario i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* 用户反馈 */
.testimonial {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.testimonial-content {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary-blue);
    margin: 0 0.5rem;
}

.testimonial-author {
    color: var(--text-secondary);
    font-weight: 600;
}

/* 总结区域 */
.final-section {
    background: var(--gradient-hero);
}

.summary-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
}

.summary-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.summary-metrics {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .tech-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-subtitle-text {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pain-grid,
    .solution-grid,
    .feedback-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 200px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-title {
        font-size: 0.875rem;
    }
    
    .step-description {
        font-size: 0.75rem;
    }
    
    .summary-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-subtitle-text {
        display: none;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pain-card,
    .solution-card,
    .result-item,
    .achievement-item {
        padding: 1.5rem;
    }
    
    .pain-icon,
    .solution-icon,
    .result-icon,
    .achievement-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .pain-card > div:first-child,
    .solution-card > div:first-child,
    .result-item > div:first-child,
    .achievement-item > div:first-child {
        gap: 1rem;
    }
    
    .pain-card h3,
    .solution-card h3,
    .result-item h3,
    .achievement-item h3 {
        font-size: 1.1rem;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-items: center;
        padding: 0 0.5rem;
    }
    
    .step {
        width: 100%;
        max-width: 160px;
        margin: 0;
    }
    
    .step-card {
        padding: 0.5rem;
        margin-bottom: 0.2rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .step-title {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .step-description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
}

/* 页脚样式 */
.footer {
    background: var(--text-primary);
    color: var(--pure-white);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .footer {
        background: var(--text-primary);
        color: var(--pure-white);
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    .footer-info p {
        margin: 0.25rem 0;
        font-size: 0.875rem;
        opacity: 0.8;
        color: var(--pure-white);
    }
}