/* --- 全局变量与重置 --- */
:root {
    --primary-blue: #0066ff; /* 伯学蓝：专业、科技 */
    --accent-orange: #ff6b00; /* 活力橙：强调、转化 */
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #f5f8ff; /* 浅蓝背景 */
    --bg-lighter: #fafbff;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- 通用工具类 --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-orange {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-orange:active {
    transform: translateY(0);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 1.6;
}

/* --- 导航栏 --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    margin-left: 10px;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover:after {
    width: 100%;
}

/* --- 首屏 Hero Section --- */
.hero {
    background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 50%, #f5f8ff 100%);
    padding: 80px 0 90px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 320px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0.05) 100%);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    animation: pulse 2s infinite;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.3;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text .highlight {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    animation: fadeIn 1s ease 0.3s backwards;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0.1) 100%);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 19px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateX(5px);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.feature-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* --- 表单卡片 --- */
.hero-form-card {
    width: 380px;
    background: white;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-top: 5px solid var(--accent-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: slideInRight 0.8s ease;
}

.hero-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.form-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    animation: pulse 2s infinite;
}

.form-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-subtitle {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--accent-orange);
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.form-group {
    margin-bottom: 20px;
}

.input-box {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.input-box:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    transform: scale(1.02);
}

.input-box::placeholder {
    color: #bbb;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 17px;
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

.form-footer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 18px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.security-icon {
    font-size: 14px;
}

/* --- 核心亮点 --- */
.section {
    padding: 90px 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 102, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.2);
}

.icon-box {
    font-size: 48px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0ff 100%);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052cc 100%);
    transform: scale(1.1) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    font-size: 13px;
    color: var(--text-gray);
}

.feature-stats strong {
    color: var(--accent-orange);
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

/* --- 为什么选择我们 --- */
.bg-white {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.why-item {
    margin-bottom: 35px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, transparent 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.why-item:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
    transform: translateX(5px);
}

.why-item p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

.mock-img {
    background-color: #f5f5f5;
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
}

.mock-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mock-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.mock-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mock-img:hover img {
    transform: scale(1.05);
}

/* --- 三师服务 --- */
.service-section {
    background-color: var(--bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    text-align: center;
}

.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 102, 255, 0.02) 100%);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.12);
}

.service-card-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0ff 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 50px;
}

.service-card:hover .service-card-img {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052cc 100%);
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.service-card p {
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- 页脚 --- */
footer {
    background: linear-gradient(135deg, #2b2f3a 0%, #1a1d26 100%);
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 15px;
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-col ul li:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    opacity: 0.7;
}

/* --- 手机端适配 --- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-text h1 {
        font-size: 32px;
        text-align: center;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 16px;
        text-align: center;
    }

    .hero-content {
        justify-content: center;
        gap: 40px;
    }

    .hero-features {
        justify-content: center;
        gap: 15px;
    }

    .feature-item {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-form-card {
        width: 100%;
        max-width: 380px;
        padding: 30px 25px;
    }

    .form-badge {
        font-size: 11px;
        padding: 5px 15px;
        top: -12px;
        right: 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 13px;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mock-img {
        height: 250px;
        margin-bottom: 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-col {
        min-width: 150px;
    }

    .icon-box {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 36px;
    }

    .service-card-img {
        width: 80px;
        height: 80px;
    }
}
