/* Web Development Page Specific Styles */

.web-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.web-type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.web-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.web-type-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.web-type-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.web-type-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.web-type-features {
    list-style: none;
}

.web-type-features li {
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.web-type-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary);
}

.tech-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.tech-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Packages */
.packages-section {
    background: var(--bg-card);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.package-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    border-color: var(--primary);
}

.package-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.package-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.package-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.package-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.package-features {
    list-style: none;
    margin-bottom: 24px;
}

.package-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.package-features li:last-child {
    border-bottom: none;
}

@media (max-width: 1024px) {
    .web-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .web-types-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}
/* 线性图标尺寸 */
.web-type-icon {
    display: flex;
    color: var(--primary);
}

.web-type-icon .ico {
    width: 38px;
    height: 38px;
    stroke-width: 1.6;
}

.tech-icon {
    display: flex;
    justify-content: center;
    color: var(--primary);
}

.tech-icon .ico {
    width: 34px;
    height: 34px;
    stroke-width: 1.6;
}

/* 套餐包含项：线性勾号 / 叉号（用遮罩保留文字颜色体系） */
.package-features li {
    position: relative;
    padding-left: 26px;
}

.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    background-color: var(--success);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

.package-features li.no::before {
    background-color: var(--text-muted);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3Cpath d='M17.5 6.5l-11 11'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3Cpath d='M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}
