/* ============================================
   LinkClaw 产品页样式
   ============================================ */

/* --- Product Hero --- */
.product-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050A15;
    padding-top: 80px;
}

#productHeroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, transparent 20%, #050A15 75%);
    z-index: 2;
}

.product-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 60px;
}

.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    color: #00D4FF;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00D4FF;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,255,0.7); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0,212,255,0); }
}

.product-hero-title {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.product-hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: 44px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.product-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 48px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

.product-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* --- Product Overview --- */
.product-overview {
    padding: 120px 0;
    background: #0A0F1A;
    position: relative;
}

.product-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.overview-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00D4FF, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s;
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,212,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(0,212,255,0.08);
}

.overview-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.overview-icon svg {
    width: 100%;
    height: 100%;
}

.overview-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.overview-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

/* --- Architecture Section --- */
.architecture-section {
    padding: 120px 0;
    background: #050A15;
    position: relative;
    overflow: hidden;
}

.architecture-diagram {
    max-width: 800px;
    margin: 60px auto 0;
}

.arch-layer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s;
    position: relative;
}

.arch-layer:hover {
    border-color: rgba(0,212,255,0.2);
    background: rgba(0,212,255,0.03);
    transform: translateX(4px);
}

.arch-layer-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.arch-layer-1 .arch-layer-number { background: rgba(0,212,255,0.15); color: #00D4FF; }
.arch-layer-2 .arch-layer-number { background: rgba(0,212,255,0.12); color: #00D4FF; }
.arch-layer-3 .arch-layer-number { background: rgba(255,165,0,0.15); color: #FFA500; }
.arch-layer-4 .arch-layer-number { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.arch-layer-5 .arch-layer-number { background: rgba(139,92,246,0.12); color: #8B5CF6; }
.arch-layer-6 .arch-layer-number { background: rgba(0,212,255,0.1); color: #00D4FF; }
.arch-layer-7 .arch-layer-number { background: rgba(0,212,255,0.08); color: #00D4FF; }

.arch-layer-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.arch-layer-content p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.arch-layer-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.arch-icon {
    font-size: 18px;
}

.arch-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: rgba(0,212,255,0.1);
    color: #00D4FF;
    border: 1px solid rgba(0,212,255,0.2);
}

.arch-badge.highlight {
    background: rgba(139,92,246,0.1);
    color: #8B5CF6;
    border-color: rgba(139,92,246,0.2);
}

.arch-badge.warning {
    background: rgba(255,165,0,0.1);
    color: #FFA500;
    border-color: rgba(255,165,0,0.2);
}

.arch-connector {
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, rgba(0,212,255,0.2), rgba(139,92,246,0.2));
    margin: 0 auto;
}

.architecture-note {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin: 32px auto 0;
    padding: 20px 28px;
    background: rgba(255,165,0,0.05);
    border: 1px solid rgba(255,165,0,0.15);
    border-radius: 12px;
}

.note-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.architecture-note p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.architecture-note strong {
    color: #FFA500;
}

/* --- Features Section --- */
.features-section {
    padding: 120px 0;
    background: #0A0F1A;
    position: relative;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-tab {
    padding: 12px 28px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.feature-tab:hover {
    border-color: rgba(0,212,255,0.3);
    color: #FFFFFF;
}

.feature-tab.active {
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(139,92,246,0.15));
    border-color: rgba(0,212,255,0.4);
    color: #FFFFFF;
    font-weight: 600;
}

.feature-panels {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.feature-panel.active {
    display: block;
}

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

.feature-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-panel-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.feature-panel-card:hover {
    border-color: rgba(0,212,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.fpc-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-panel-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.feature-panel-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

/* Skills Showcase */
.skills-showcase {
    text-align: center;
}

.skills-showcase-header {
    margin-bottom: 40px;
}

.skills-showcase-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.skills-showcase-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.skill-tag-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    transition: all 0.3s;
    cursor: default;
}

.skill-tag-card:hover {
    background: rgba(0,212,255,0.06);
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-2px);
}

.skill-tag-icon {
    font-size: 18px;
}

.skill-tag-name {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.skills-note p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    font-style: italic;
}

/* --- Security Section --- */
.security-section {
    padding: 120px 0;
    background: #050A15;
    position: relative;
    overflow: hidden;
}

.security-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
    pointer-events: none;
}

.security-comparison {
    margin: 48px 0;
    overflow-x: auto;
}

.security-table-wrap {
    min-width: 700px;
}

.security-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
}

.security-table th {
    padding: 16px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.security-table th:first-child {
    color: #8B5CF6;
}

.security-table th:nth-child(2) {
    color: rgba(255,255,255,0.4);
}

.security-table th:nth-child(3) {
    color: #00D4FF;
}

.security-table td {
    padding: 14px 24px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.security-table tr:last-child td {
    border-bottom: none;
}

.highlight-cell {
    color: #00D4FF !important;
    font-weight: 500;
    position: relative;
}

.highlight-cell::before {
    content: '✓';
    margin-right: 6px;
    color: #00D4FF;
    font-weight: 700;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.security-feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.security-feature-card:hover {
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.sf-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.security-feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.security-feature-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

/* --- Value Timeline --- */
.value-section {
    padding: 120px 0;
    background: #0A0F1A;
    position: relative;
}

.value-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 60px;
}

.value-timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00D4FF, #8B5CF6);
}

.value-item {
    position: relative;
    margin-bottom: 48px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #050A15;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.value-item-content {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.value-item-content:hover {
    border-color: rgba(0,212,255,0.15);
    transform: translateX(4px);
}

.value-item-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.value-item-content p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

/* --- Section共用样式（产品页覆盖） --- */
.product-overview .section-title,
.architecture-section .section-title,
.features-section .section-title,
.security-section .section-title,
.value-section .section-title {
    font-size: clamp(30px, 4.5vw, 48px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero { padding: 100px 0 60px; }
    .product-hero-title {
        font-size: clamp(28px, 6vw, 36px);
        text-align: center;
    }
    .product-hero-subtitle { font-size: 15px; text-align: center; }
    .product-hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }
    .stat-divider {
        width: 48px;
        height: 1px;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .feature-panel-grid {
        grid-template-columns: 1fr;
    }
    .security-features {
        grid-template-columns: 1fr;
    }
    .value-timeline {
        padding-left: 48px;
    }
    .value-item-marker {
        left: -48px;
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    .value-timeline-line {
        left: 19px;
    }
    .features-tabs {
        gap: 6px;
    }
    .feature-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
}
