bootstrap自适应大气动态背景高科技ai公司官网首页代码

代码语言:html

所属分类:布局界面

代码描述:bootstrap自适应大气动态背景高科技ai公司官网首页代码,包含关于我们、核心产品、我们的优势、团队风采、联系我们等板块,点击可滚动到相应板块栏目。

代码标签: bootstrap 自适应 大气 动态 背景 高科技 ai 公司 官网 首页 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI科技公司 - 智能工具平台</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.5.css">
    <style>
        :root {
            --primary-color: #1890ff; /* 主题蓝 */
            --secondary-color: #6c63ff; /* 辅助紫 */
            --card-bg: linear-gradient(145deg, #ffffff 70%, #f0f6ff 100%); /* 卡片背景渐变 */
            --card-shadow: 0 10px 40px rgba(24, 144, 255, 0.1); /* 卡片阴影 */
            --text-dark: #333;
            --text-light: #666;
            --bg-light: #f8f9fa; /* 浅灰背景 */
            --bg-white: #ffffff;
            --btn-hover-bg: #096dd9; /* 按钮悬停背景 */
            --footer-bg: #212529; /* 深色页脚 */
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
            color: var(--text-dark);
            background-color: var(--bg-white);
            overflow-x: hidden; /* 防止水平滚动 */
        }
        /* --- 导航栏 --- */
        .navbar {
            background: transparent; /* 首屏透明 */
            position: absolute;
            width: 100%;
            z-index: 1000;
            padding: 20px 0;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 0.98); /* 滚动后变白色背景,增加不透明度 */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: white; /* 首屏白色 */
            font-size: 24px;
            transition: color 0.3s ease;
        }
        .navbar.scrolled .navbar-brand {
             color: var(--primary-color); /* Logo变蓝色 */
        }
        .btn-login {
            background-color: var(--primary-color);
            color: white;
            border-radius: 20px; /* 更圆润 */
            padding: 8px 25px;
            font-size: 14px;
            border: none;
            transition: background-color 0.3s ease;
        }
        .btn-login:hover {
            background-color: var(--btn-hover-bg); /* 悬停加深 */
        }
        /* --- 首屏 Hero Section --- */
        .hero-section {
            height: 100vh;
            width: 100%;
            background: linear-gradient(135deg, #1a237e, #0d47a1, #0288d1); /* 深蓝渐变 */
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }
        .hero-content h1 {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .hero-content p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 30px;
            text-shadow: 0 1px 5px rgba(0,0,0,0.2);
            opacity: 0.9;
        }
        .btn-primary-custom {
            background-color: white;
            color: var(--primary-color);
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .btn-outline-custom {
            border: 2px solid white;
            color: white;
            background-color: transparent;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
        }
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        .btn-outline-custom:hover {
            background-color: rgba(255,255,255,0.1);
            transform: translateY(-3px);
        }
        /* --- SVG 动画 --- */
        .svg-container {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }
        .floating { animation: float 6s ease-in-out infinite; }
        .rotating { animation: rotate 20s linear infinite; }
        .pulse { animation: pulse 3s ease-in-out infinite; }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes pulse {
            0% { opacity: 0.6; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.05); }
            100% { opacity: 0.6; transform: scale(1); }
        }
        /* --- 内容区块通用 --- */
        .section-padding {
            padding: 80px 0;
        }
        .section-title {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 60px; /* 增加标题下间距 */
            color: var(--text-dark);
            text-align: center;
            letter-spacing: 1px; /* 轻微字间距 */
        }
        /* --- 产品卡片布局 --- */
        .feature-section {
            background-color: var(--bg-light); /* 使用浅灰背景 */
        }
        .card-tech {
            background: var(--card-bg);
            border: none; /* 去掉边框 */
            border-radius: 16px; /* 更圆润的边角 */
            box-shadow: var(--card-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡 */
            padding: 30px 25px; /* 调整内边距 */
            text-align: center;
            position: relative;
            overflow: hidden; /* 防止内容溢出 */
            height: 100%; /* 确保卡片等高 */
            display: flex;
            flex-direction: column; /* 垂直布局 */
        }
        .card-tech:hover {
            transform: translateY(-10px); /* 悬浮效果更明显 */
            box-shadow: 0 15px 50px rgba(24, 144, 255, 0.2); /* 悬浮阴影加深 */
        }
        .card-tech .icon-bg {
            width: 60px; /* 图标背景大小 */
            height: 60px;
            margin: 0 auto 20px auto; /* 调整图标与文字间距 */
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* 图标背景渐变 */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px; /* 图标大小 */
            color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 图标轻微阴影 */
        }
        .card-tech h4 {
            font-size: 18px; /* 标题字号 */
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        .card-tech p {
            font-size: 14px; /* 描述字号 */
            color: var(--text-light);
            line-height: 1.6; /* 行高 */
            margin-bottom: 20px; /* 为按钮留出空间 */
            flex-grow: 1; /* 让描述占据剩余空间 */
        }
        .card-tech .btn-try { /* 新增体验按钮样式 */
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 8px 18px;
            font-size: 13px;
            border-radius: 20px;
            text-decoration: none;
            display: inline-block; /* 使按钮能设置宽度 */
            transition: background-color 0.3s ease;
            margin-top: auto; /* 将按钮推到底部 */
        }
        .card-tech .btn-try:hover {
            background-color: var(--btn-hover-bg);
        }

        /* --- 优势板块 --- */
        .advantage-section {
            background-color: var(--bg-white); /* 白色背景 */
        }
        .advantage-item {
            text-align: center;
            padding: 20px;
        }
        .advantage-item .icon-adv {
            font-size: 40px; /* 优势图标大小 */
            color: var(--primary-color);
            margin-bottom: 15px;
            display: inline-block;
        }
        .advantage-item h5 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .advantage-item p {
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* --- 新增:工作流程板块 --- */
        .workflow-section {
            background-color: var(--bg-light);
        }
        .workflow-step {
            text-align: center;
            position: relative;
            padding: 20px;
        }
        .workflow-step .step-number {
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            margin: 0 auto 20px auto;
            box-shadow: 0 4px 10px rgba(24, 144, 255, 0.3);
        }
        .workflow-step h5 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .workflow-step p {
            font-size: 14px;
            color: var(--text-light);
        }
        /* 步骤之间的连接线 (可选) */
        .workflow-connector {
            display: none; /* 默认不显示 */
        }
        @media (min-width: 768px) { /* 只在md及以上屏幕显示连接线 */
            .workflow-step {
                padding-bottom: 40px; /* 为连接线留出空间 */
            }
            .workflow-connector {
                display: block;
                position: absolute;
                top: 25px; /* 大约在数字圆圈的中心 */
                left: 50%;
                width: 100%;
                height: 2px;
                background: linear-gradient(to right, transparent 0%, var(--primary-color) 50%, transparent 100%);
                opacity: 0.3;
                z-index: -1; /* 放在步骤内容后面 */
                transform: translateX(-50%);
            }
            .col-md-4:last-child .workflow-connector {
                display: none; /* 最后一个步骤不需要连接线 */
            }
        }


        /* --- 用户评价板块 --- */
        .testimonial-section {
            background-color: var(--bg-white); /* 改为白色背景 */
        }
        .testimonial-card {
            background-color: var(--bg-light); /* 评价卡片用浅灰 */
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
            margin-bottom: 20px;
            text-align: center;
            height: 100%; /* 确保等高 */
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .testimonial-card img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            margin: 0 auto 15px auto; /* 居中 */
            object-fit: cover; /* 保证图片不变形 */
        }
        .testimonial-card .quote {
            font-size: 15px;
            color: var(--text-light);
            font-style: italic;
            margin-bottom: 15px;
            position: relative;
            padding: 0 20px;
            flex-grow: 1; /* 占据空间 */
        }
        .testimonial-card .quote::before,
        .testimonial-card .quote::after {
            content: '"';
            font-size: 24px;
            color: var(--primary-color);
            position: absolute;
            opacity: 0.5;
        }
        .testimonial-card .quote::before {
            left: 0;
            top: -5px;
        }
        .testimonial-card .quote::after {
            right: 0;
            bottom: -15px;
        }
        .testimonial-card .name {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 5px;
            margin-top: 15px; /* 增加与引言的间距 */
        }
        .testimonial-card .title {
            font-size: 13px;
            color: var(--primary-color);
        }

        /* --- 新增:行动号召 (CTA) 板块 --- */
        .cta-section {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            color: white;
            text-align: center;
        }
        .cta-section h2 {
            font-size: 30px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        .cta-section p {
            font-size: 16px;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        .cta-section .btn-cta {
            background-color: white;
            color: var(--primary-color);
            border: none;
            padding: 12px 35px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .cta-section .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            background-color: #f0f0f0; /* 轻微变色 */
        }

        /* --- 页脚 --- */
        .footer {
            background-color: var(--footer-bg); /* 深灰色背景 */
            color: #adb5bd; /* 浅灰色文字 */
            padding: 60px 0 20px 0; /* 增加上边距 */
        }
        .footer h5 {
            color: #fff;
            margin-bottom: 20px; /* 增加标题下间距 */
            font-size: 16px;
            text-transform: uppercase; /* 标题大写 */
            letter-spacing: 0.5px;
        }
        .footer ul {
            list-style: none;
            padding: 0;
        }
        .footer ul li {
            margin-bottom: 8px; /* 增加列表项间距 */
        }
        .footer ul li a {
            color: #adb5bd;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease, padding-left 0.3s ease;
        }
        .footer ul li a:hover {
            color: #fff;
            padding-left: 5px; /* 悬停轻微左移 */
        }
        .footer .contact-info li {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        .footer .contact-info i {
            color: var(--primary-color); /* 图标用主题色 */
            margin-right: 10px;
            font-size: 16px;
            width: 20px; /* 固定图标宽度 */
            text-align: center;
        }
        .footer .copyright {
            text-align: center;
            margin-top: 40px; /* 增加上边距 */
            padding-top: 20px;
            border-top: 1px solid #495057; /* 分割线颜色 */
            font-size: 13px;
        }

        /* --- 响应式调整 --- */
        @media (max-width: 991px) {
            .hero-content h1 { font-size: 36px; }
            .section-title { font-size: 28px; margin-bottom: 40px; }
            .card-tech { padding: 25px 20px; }
            .advantage-item h5 { font-size: 17px; }
            .workflow-step h5 { font-size: 17px; }
            .testimonial-card { padding: 25px; }
            .cta-section h2 { font-size: 26px; }
        }
        @media (max-width: 767px) {
            .section-padding { padding: 60px 0; }
            .hero-content h1 { font-size: 32px; }
            .hero-content p { font-size: 16px; }
            .section-title { font-size: 24px; margin-bottom: 30px; }
            .card-tec.........完整代码请登录后点击上方下载按钮下载查看

网友评论0