/* 技术生态页面样式 */

/* 移除所有元素的默认边框和轮廓 */
* {
    outline: none !important;
}

/* 移除按钮和链接的边框 */
button, a, input, textarea, select {
    border: none !important;
    outline: none !important;
}

/* 移除focus状态的边框 */
*:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 主题色彩 - 深蓝色技术风格 */
:root {
    --tech-primary: #1e3a8a;
    --tech-secondary: #3b82f6;
    --tech-accent: #60a5fa;
    --tech-dark: #1e293b;
    --tech-light: #f8fafc;
    --tech-gray: #64748b;
    --tech-border: #e2e8f0;
}

/* 英雄区域 */
.tech-hero {
    background: linear-gradient(135deg, var(--tech-primary) 0%, var(--tech-secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

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

.tech-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-hero .subtitle {
    font-size: 1.5rem;
    color: var(--tech-accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tech-hero .description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.tech-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--tech-primary);
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--tech-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    border: none !important;
    outline: none !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: var(--tech-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    border: none !important;
    outline: none !important;
}

/* 技术栈概览 */
.tech-stack {
    padding: 80px 0;
    background: var(--tech-light);
}

/* 技术矩阵样式 */
.tech-matrix {
    padding: 80px 0;
    background-color: var(--tech-bg-light);
}

.tech-matrix h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 1rem;
}

.tech-matrix .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--tech-gray);
    margin-bottom: 3rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.tech-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.crossphp-icon {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

.aqi-icon {
    background: linear-gradient(135deg, #8A2BE2, #9A3BF0);
}

.svelte-icon {
    background: linear-gradient(135deg, #FF3E00, #FF6B35);
}

.products-icon {
    background: linear-gradient(135deg, #059669, #10B981);
}

.tech-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tech-dark);
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-content p {
    color: var(--tech-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    color: var(--tech-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tech-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-tech-link,
.btn-github {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.btn-tech-link {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
}

.btn-tech-link:hover {
    background: linear-gradient(135deg, #3730A3, #5B21B6);
    transform: translateY(-2px);
    border: none !important;
    outline: none !important;
}

.btn-github {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.btn-github:hover {
    background: rgba(79, 70, 229, 0.2);
    border: none !important;
    outline: none !important;
    transform: translateY(-2px);
}

.tech-stack h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stack-category {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--tech-border);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--tech-border);
}

.category-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.category-header h3 {
    font-size: 1.5rem;
    color: var(--tech-dark);
    font-weight: 600;
    margin: 0;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--tech-light);
    border-radius: 6px;
    border-left: 3px solid var(--tech-secondary);
}

.tech-name {
    font-weight: 600;
    color: var(--tech-dark);
}

.tech-version {
    background: var(--tech-secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-desc {
    color: var(--tech-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* 开发者资源 */
.developer-resources {
    padding: 80px 0;
    background: white;
}

.developer-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background: var(--tech-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--tech-border);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.5rem;
    color: var(--tech-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-card p {
    color: var(--tech-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-links a {
    color: var(--tech-secondary);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.resource-links a:hover {
    background: var(--tech-secondary);
    color: white;
    border: none !important;
    outline: none !important;
}

/* 框架特性 */
.framework-features {
    padding: 80px 0;
    background: var(--tech-light);
}

.framework-features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-container {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-number {
    background: var(--tech-secondary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--tech-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--tech-gray);
    line-height: 1.6;
    margin: 0;
}

/* 生态系统 */
.ecosystem {
    padding: 80px 0;
    background: white;
}

.ecosystem h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.ecosystem-diagram {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
    height: 400px;
}

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-logo {
    background: var(--tech-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.center-logo img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.center-logo span {
    font-size: 0.9rem;
    font-weight: 600;
}

.ecosystem-items {
    position: relative;
    width: 100%;
    height: 100%;
}

.eco-item {
    position: absolute;
    background: white;
    border: 2px solid var(--tech-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.eco-item[data-category="products"] {
    border-color: #ff6a00;
}

.eco-item[data-category="tools"] {
    border-color: #10b981;
}

.eco-item[data-category="extensions"] {
    border-color: #8b5cf6;
}

.eco-item[data-category="community"] {
    border-color: #f59e0b;
}

.eco-item:nth-child(1) { top: 10%; left: 20%; }
.eco-item:nth-child(2) { top: 10%; right: 20%; }
.eco-item:nth-child(3) { top: 35%; left: 5%; }
.eco-item:nth-child(4) { top: 35%; right: 5%; }
.eco-item:nth-child(5) { bottom: 35%; left: 5%; }
.eco-item:nth-child(6) { bottom: 35%; right: 5%; }
.eco-item:nth-child(7) { bottom: 10%; left: 20%; }
.eco-item:nth-child(8) { bottom: 10%; right: 20%; }

.eco-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.eco-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--tech-dark);
}

.ecosystem-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.legend-color[data-color="products"] {
    background: #ff6a00;
}

.legend-color[data-color="tools"] {
    background: #10b981;
}

.legend-color[data-color="extensions"] {
    background: #8b5cf6;
}

.legend-color[data-color="community"] {
    background: #f59e0b;
}

.legend-item span {
    font-size: 0.9rem;
    color: var(--tech-gray);
}



/* 产品案例展示 */
.product-showcase {
    padding: 80px 0;
    background: white;
}

.product-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tech-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-showcase .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--tech-gray);
    margin-bottom: 3rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background: var(--tech-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    border: none !important;
    outline: none !important;
}

.showcase-image {
    height: 250px;
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-preview {
    background: white;
    border-radius: 8px;
    width: 90%;
    height: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.preview-header {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-dots {
    display: flex;
    gap: 4px;
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
}

.preview-dots span:first-child {
    background: #ff5f56;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
    background: #27ca3f;
}

.preview-title {
    font-size: 0.9rem;
    color: var(--tech-dark);
    font-weight: 500;
}

.preview-content {
    padding: 1rem;
    height: calc(100% - 60px);
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.chat-message {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    max-width: 80%;
}

.chat-message.user {
    background: var(--tech-secondary);
    color: white;
    align-self: flex-end;
}

.chat-message.bot {
    background: #f1f3f4;
    color: var(--tech-dark);
    align-self: flex-start;
}

.donation-interface {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
}

.creator-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6a00, #ff8533);
}

.creator-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    color: var(--tech-dark);
}

.creator-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--tech-gray);
}

.showcase-info {
    padding: 2rem;
}

.showcase-info h3 {
    font-size: 1.5rem;
    color: var(--tech-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.showcase-info p {
    color: var(--tech-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack-used {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-used {
    background: var(--tech-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.showcase-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.showcase-stats .stat {
    text-align: center;
}

/* 技术统计数据样式 */
.tech-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tech-stats .stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border: none !important;
    outline: none !important;
}

.tech-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.tech-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--tech-gray);
    margin-top: 0.25rem;
}

.btn-showcase {
    background: var(--tech-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-showcase:hover {
    background: var(--tech-secondary);
    color: white;
    border: none !important;
    outline: none !important;
}

/* 成功案例样式 */
.success-cases {
    padding: 80px 0;
    background: var(--tech-light);
}

.success-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 1rem;
}

.success-cases .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--tech-gray);
    margin-bottom: 3rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--case-primary), var(--case-secondary));
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border: none !important;
    outline: none !important;
}

.case-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--case-primary), var(--case-secondary));
}

.case-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tech-dark);
    margin-bottom: 0.5rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.case-tag.commercial {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
}

.case-tag.passion {
    background: rgba(236, 72, 153, 0.1);
    color: #BE185D;
}

.case-tag.enterprise {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
}

.case-tag.performance {
    background: rgba(245, 101, 101, 0.1);
    color: #DC2626;
}

.case-tag.tech {
    background: rgba(107, 114, 128, 0.1);
    color: #374151;
}

.case-content p {
    color: var(--tech-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--tech-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 案例卡片主题色彩 */
.commercial-case {
    --case-primary: #059669;
    --case-secondary: #10B981;
}

.passion-case {
    --case-primary: #BE185D;
    --case-secondary: #EC4899;
}

.enterprise-case {
    --case-primary: #4F46E5;
    --case-secondary: #7C3AED;
}

.performance-case {
    --case-primary: #DC2626;
    --case-secondary: #F56565;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-hero h1 {
        font-size: 2.5rem;
    }
    
    .tech-hero .description {
        font-size: 1rem;
    }
    
    .tech-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .matrix-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-card,
    .case-card {
        padding: 1.5rem;
    }
    
    .tech-actions {
        flex-direction: column;
    }
    
    .btn-tech-link,
    .btn-github {
        flex: none;
        width: 100%;
    }
    
    .stack-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .ecosystem-diagram {
        height: 300px;
    }
    
    .eco-item {
        min-width: 80px;
        padding: 0.5rem;
    }
    
    .eco-item span {
        font-size: 0.7rem;
    }
    
    .ecosystem-legend {
        gap: 1rem;
    }
    
    /* 技术矩阵移动端适配 */
    .tech-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .tech-info h3 {
        font-size: 1.3rem;
    }
    
    .btn-tech-link,
    .btn-github {
        width: 100%;
        min-width: auto;
    }
    
    /* 技术时间线移动端适配 */
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .timeline-year::after {
        right: -30px !important;
        left: auto !important;
    }
    
    .timeline-content {
        margin: 0;
        flex: 1;
    }
    
    /* 产品案例展示移动端适配 */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-item {
        margin: 0 1rem;
    }
    
    .showcase-image {
        height: 200px;
    }
    
    .showcase-stats {
        gap: 1rem;
        justify-content: space-around;
    }
    
    .showcase-stats .stat {
        flex: 1;
    }
    
    .case-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .metric-item {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tech-hero {
        padding: 100px 0 60px;
    }
    
    .tech-hero h1 {
        font-size: 2rem;
    }
    
    .tech-stack,
    .developer-resources,
    .framework-features,
    .ecosystem,
    .tech-timeline,
    .product-showcase {
        padding: 60px 0;
    }
    
    .stack-category,
    .resource-card {
        padding: 1.5rem;
    }
    
    /* 技术时间线小屏幕适配 */
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-year {
        min-width: 50px;
        padding: 0.4rem;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    /* 产品案例展示小屏幕适配 */
    .showcase-item {
        margin: 0 0.5rem;
    }
    
    .showcase-info {
        padding: 1.5rem;
    }
    
    .showcase-info h3 {
        font-size: 1.3rem;
    }
    
    .showcase-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .showcase-stats .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}