/* 全局变量和重置 */
:root {
    --primary-color: #00D4FF;
    --secondary-color: #7B2FF7;
    --accent-color: #F107A3;
    --success-color: #00FFB8;
    --dark-bg: #0A1628;
    --darker-bg: #050D18;
    --card-bg: rgba(15, 30, 60, 0.6);
    --text-primary: #FFFFFF;
    --text-secondary: #B0C4DE;
    --gradient-1: linear-gradient(135deg, #00D4FF 0%, #7B2FF7 100%);
    --gradient-2: linear-gradient(135deg, #F107A3 0%, #7B2FF7 100%);
    --gradient-3: linear-gradient(135deg, #00FFB8 0%, #00D4FF 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 首屏区域 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A1628 0%, #1a2947 100%);
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(30px);
    }
    50% {
        transform: translateY(-60px) translateX(-30px);
    }
    75% {
        transform: translateY(-30px) translateX(60px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(-45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    50% {
        transform: rotate(-45deg) translateY(10px);
    }
}

/* 通用区域样式 */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 核心亮点区域 */
.features-section {
    background: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tags span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* 零知识证明科普区域 */
.zkp-intro-section {
    background: var(--dark-bg);
}

.zkp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.analogy-box {
    background: var(--gradient-2);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.analogy-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.analogy-text {
    font-size: 18px;
    line-height: 1.8;
}

.zkp-properties h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.property-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.property-icon {
    font-size: 24px;
    color: var(--success-color);
    font-weight: bold;
}

.property-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.property-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.zkp-diagram h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-diagram {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.diagram-column {
    flex: 1;
    max-width: 250px;
}

.diagram-column h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.flow-step {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.flow-step.danger {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.flow-step.success {
    border-color: var(--success-color);
    background: rgba(0, 255, 184, 0.1);
}

.step-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: var(--gradient-1);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 10px;
}

.flow-arrow {
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin: 10px 0;
}

.diagram-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

/* 国密+ZKP意义区域 */
.significance-section {
    background: var(--darker-bg);
}

.significance-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.significance-column {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.column-icon {
    font-size: 48px;
}

.column-header h3 {
    font-size: 28px;
}

.significance-list {
    list-style: none;
}

.significance-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.list-icon {
    font-size: 20px;
    color: var(--success-color);
    font-weight: bold;
    flex-shrink: 0;
}

.significance-list h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.significance-list p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.application-domains {
    text-align: center;
}

.application-domains h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.domain-item {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.domain-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.domain-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

/* 技术对比表格 */
.comparison-section {
    background: var(--dark-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 247, 0.2));
}

.comparison-table th {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    color: var(--text-primary);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

.highlight-column {
    background: rgba(0, 212, 255, 0.1);
    font-weight: bold;
}

.badge {
    display: inline-block;
    background: var(--gradient-1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 5px;
}

.status-icon {
    font-size: 20px;
    margin-right: 8px;
}

.status-icon.success {
    color: var(--success-color);
}

.status-icon.fail {
    color: #ff4444;
}

.status-icon.warning {
    color: #ffaa00;
}

/* 应用场景区域 */
.use-cases-section {
    background: var(--darker-bg);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.use-case-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.use-case-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.use-case-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.use-case-benefits span {
    background: rgba(0, 255, 184, 0.1);
    color: var(--success-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 255, 184, 0.3);
}

/* 测试申请区域 */
.apply-section {
    background: var(--dark-bg);
    padding: 120px 0;
}

.apply-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.apply-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apply-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.email-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    margin-bottom: 40px;
}

.email-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.email-address {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    word-break: break-all;
}

.btn-copy {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* ===== 技术博客区域 ===== */
.blog-section {
    background: var(--darker-bg);
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: -40px;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.25);
    background: rgba(20, 40, 80, 0.7);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.blog-category {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    letter-spacing: 1px;
    font-weight: 600;
}

.blog-date {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.blog-readmore svg {
    transition: transform 0.3s ease;
}

.blog-readmore:hover {
    color: var(--success-color);
    gap: 10px;
}

.blog-readmore:hover svg {
    transform: translateX(4px);
}

.blog-footer {
    text-align: center;
    margin-top: 50px;
}

.blog-section .section-title {
    margin-bottom: 60px;
}

.blog-footer .btn-primary svg {
    transition: transform 0.3s ease;
}

.blog-footer .btn-primary:hover svg {
    transform: translateX(4px);
}

/* ===== 申请表单样式 ===== */
.apply-form {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: left;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group.full-width {
    margin-bottom: 25px;
}

/* —— 标签行（含图标） —— */
.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.field-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.form-group:hover .field-icon {
    opacity: 1;
}

.required {
    color: #ff6b6b;
    margin-left: 2px;
}

/* —— 输入容器（含左侧光条） —— */
.input-wrapper {
    position: relative;
    border-radius: 12px;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    border-radius: 3px 0 0 3px;
}

.input-wrapper:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), inset 0 0 30px rgba(0, 212, 255, 0.05);
}

.input-wrapper:focus-within::before {
    opacity: 1;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 18px 14px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(176, 196, 222, 0.4);
    font-size: 14px;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

/* —— 聚焦下划线光效（原有，定位到 wrapper 内） —— */
.input-wrapper .focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.4s ease;
    border-radius: 2px;
    z-index: 2;
}

.input-wrapper:focus-within .focus-border {
    width: 80%;
    left: 10%;
}

.form-group .focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.4s ease;
    border-radius: 2px;
    z-index: 2;
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 80%;
    left: 10%;
}

.form-footer {
    text-align: center;
    margin-top: 15px;
}

.btn-submit {
    padding: 16px 50px;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.form-tip {
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-secondary);
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--success-color);
    border-bottom-color: var(--success-color);
}

/* 提交成功状态 */
.form-success {
    text-align: center;
    padding: 60px 40px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--success-color);
    animation: successFadeIn 0.6s ease;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 40px;
    margin: 0 auto 25px;
    background: var(--gradient-3);
    border-radius: 50%;
    color: var(--dark-bg);
    font-weight: bold;
    animation: successPulse 1.5s ease infinite;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 184, 0.5);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 255, 184, 0);
    }
}

.form-success h3 {
    font-size: 32px;
    margin-bottom: 15px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.form-success a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-success .btn-secondary {
    margin-top: 25px;
}

/* 输入错误状态 */
.input-wrapper.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.15);
}

.input-wrapper.error::before {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    opacity: 1;
}

.form-group .error-msg {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.input-wrapper.error ~ .error-msg {
    display: block;
}

/* 页脚 */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p,
.footer-contact p {
    color: var(--text-secondary);
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .zkp-content,
    .significance-columns,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .comparison-diagram {
        flex-direction: column;
        align-items: center;
    }

    .diagram-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    }

    .email-address {
        font-size: 20px;
    }

    /* 表单移动端适配 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .apply-form {
        padding: 30px 20px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 12px 16px 12px 18px;
        font-size: 16px; /* 防止iOS自动缩放 */
    }

    .btn-submit {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
    }

    .form-success h3 {
        font-size: 26px;
    }

    .form-success {
        padding: 40px 20px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 30px;
    }

    /* 博客移动端适配 */
    .section-subtitle {
        font-size: 16px;
        margin-top: -30px;
        margin-bottom: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .blog-card {
        padding: 25px 20px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }

    .blog-footer {
        margin-top: 35px;
    }
}

/* AOS动画增强 */
[data-aos] {
    transition-duration: 0.8s;
}
