/**
 * 智能大门系统 页面样式 (dm.html)
 * 风格：阿里云风格 - 深蓝Banner + 卡片网格 + 科技感
 */

body { padding-top: 70px; }

/* ===== Banner ===== */
.dm-banner {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #060E1F;
    margin-top: -34px;
}
.dm-banner .banner-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}
.dm-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    z-index: 1;
}
.dm-banner .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }

.ban-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px;
    background: rgba(0,200,255,0.12);
    border: 1px solid rgba(0,200,255,0.3);
    border-radius: 20px;
    font-size: 13px; color: #00C8FF; font-weight: 600;
    margin-bottom: 24px;
}
.ban-tag .tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #00C8FF; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.3} }

.ban-title {
    font-size: 50px; font-weight: 800; color: #fff;
    line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px;
}
.ban-title .hl { color: #00C8FF; }
.ban-sub {
    font-size: 22px; color: rgba(255,255,255,0.7); font-weight: 600;
    margin-bottom: 16px; letter-spacing: 1px;
}
.ban-desc {
    font-size: 17px; color: rgba(255,255,255,0.72);
    line-height: 1.9; margin-bottom: 36px; max-width: 640px;
}
.ban-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Banner Stats Strip */
.ban-stats {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    background: rgba(6,14,31,0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,200,255,0.1);
}
.ban-stats .container {
    display: flex; justify-content: space-around;
    padding: 20px 24px;
}
.ban-stat { text-align: center; }
.ban-stat .num {
    font-size: 36px; font-weight: 800;
    background: linear-gradient(90deg, #00C8FF, #0A5FD6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1; margin-bottom: 4px;
}
.ban-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ===== Section Titles ===== */
.section { padding: 80px 0; }
.section.alt { background: #F4F7FC; }
.section.dark { background: linear-gradient(135deg, #060E1F, #0a1f4a); }
.sec-title { text-align: center; margin-bottom: 56px; }
.sec-title .en { font-size: 13px; letter-spacing: 4px; color: #0A5FD6; text-transform: uppercase; margin-bottom: 12px; display: block; font-weight: 600; }
.sec-title .en.cyan { color: #00C8FF; }
.sec-title h2 { font-size: 36px; font-weight: 700; color: #1A2340; margin-bottom: 16px; }
.section.dark .sec-title h2 { color: #fff; }
.section.dark .sec-title p { color: rgba(255,255,255,0.55); }
.sec-title h2 span { color: #0A5FD6; }
.sec-title p { font-size: 16px; color: #5A6A8A; max-width: 600px; margin: 0 auto; }
.sec-title .line { width: 48px; height: 3px; background: linear-gradient(90deg, #0A5FD6, #00C8FF); margin: 16px auto 0; border-radius: 2px; }

/* ===== Overview ===== */
.overview-section { padding: 80px 0; background: linear-gradient(135deg, #f0f5ff 0%, #fff 100%); text-align: center; }
.overview-intro {
    max-width: 860px; margin: 0 auto 60px;
    font-size: 18px; color: #5A6A8A; line-height: 1.9;
}
.overview-intro .highlight { color: #0A5FD6; font-weight: 700; }

/* ===== 4 Core Functions ===== */
.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.core-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px 36px;
    box-shadow: 0 4px 24px rgba(10,95,214,0.08);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.35s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.core-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0A5FD6, #00C8FF);
    opacity: 0; transition: opacity 0.35s;
}
.core-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(10,95,214,0.18); border-color: rgba(10,95,214,0.2); }
.core-card:hover::before { opacity: 1; }
.core-num {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, #0A5FD6, #1A7FFF);
    color: #fff; font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.core-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.core-card h3 { font-size: 19px; font-weight: 700; color: #1A2340; margin-bottom: 10px; }
.core-card p { font-size: 14px; color: #5A6A8A; line-height: 1.8; margin: 0; }

/* ===== Technical Features ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tech-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,200,255,0.12);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.tech-card:hover { transform: translateY(-4px); background: rgba(0,200,255,0.07); border-color: rgba(0,200,255,0.3); }
.tech-card .tech-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.tech-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.tech-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.75; margin: 0; }
.tech-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.tech-card ul li {
    font-size: 13px; color: rgba(255,255,255,0.55);
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,200,255,0.07);
    display: flex; align-items: flex-start; gap: 8px;
    line-height: 1.6;
}
.tech-card ul li:last-child { border-bottom: none; }
.tech-card ul li::before {
    content: '\2713';
    font-size: 11px; color: #00C8FF;
    flex-shrink: 0; margin-top: 2px;
}

/* ===== Container Types ===== */
.box-section { padding: 80px 0; background: #F4F7FC; }
.box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.box-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(10,95,214,0.07);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.3s;
}
.box-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,95,214,0.14); }
.box-card h3 { font-size: 18px; font-weight: 700; color: #1A2340; margin-bottom: 16px; }
.box-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.box-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px;
    background: linear-gradient(135deg, rgba(10,95,214,0.06), rgba(0,200,255,0.06));
    border: 1px solid rgba(10,95,214,0.15);
    border-radius: 20px;
    font-size: 13px; color: #3A5A9A; font-weight: 500;
}
.box-card p { font-size: 13px; color: #5A6A8A; margin-top: 16px; line-height: 1.7; }

/* ===== Scenes ===== */
.scene-section { padding: 80px 0; background: #060E1F; }
.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.scene-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,200,255,0.12);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.35s;
}
.scene-card:hover { transform: translateY(-5px); background: rgba(0,200,255,0.08); border-color: rgba(0,200,255,0.35); }
.scene-icon {
    width: 60px; height: 60px; border-radius: 14px;
    background: rgba(0,200,255,0.12);
    border: 1px solid rgba(0,200,255,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px; color: #00C8FF;
    font-style: normal; font-weight: normal;
}
.scene-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.scene-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin: 0; }

/* ===== Value Cards ===== */
.value-section { padding: 60px 0; }
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(10,95,214,0.07);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,95,214,0.14); }
.value-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.value-card h4 { font-size: 17px; font-weight: 700; color: #1A2340; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: #5A6A8A; line-height: 1.7; margin: 0; }

/* ===== CTA ===== */
.dm-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fe 0%, #d0e1fd 50%, #f0f5ff 100%);
}
.dm-cta::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(10,95,214,0.1) 0%, transparent 60%);
}
.dm-cta .container { position: relative; z-index: 1; }
.cta-title { font-size: 40px; font-weight: 800; color: #1A2340; margin-bottom: 16px; }
.cta-title span { color: #0A5FD6; }
.cta-desc { font-size: 17px; color: #5A6A8A; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px; border-radius: 4px; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #0A5FD6, #1A7FFF); color: #fff; box-shadow: 0 4px 16px rgba(10,95,214,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,95,214,0.45); color: #fff; }
.btn-outline { background: transparent; color: #0A5FD6; border: 1.5px solid #0A5FD6; }
.btn-outline:hover { background: #0A5FD6; color: #fff; }
.btn-cta-primary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: linear-gradient(135deg, #0A5FD6, #1A7FFF); color: #fff; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.3s; box-shadow: 0 6px 24px rgba(10,95,214,0.35); }
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(10,95,214,0.45); color: #fff; }
.btn-cta-outline { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: #fff; color: #0A5FD6; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.3s; border: 1.5px solid rgba(10,95,214,0.2); box-shadow: 0 4px 16px rgba(10,95,214,0.08); }
.btn-cta-outline:hover { border-color: #0A5FD6; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,95,214,0.15); color: #0A5FD6; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .core-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .ban-title { font-size: 38px; }
    .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .ban-title { font-size: 28px; }
    .ban-sub { font-size: 18px; }
    .core-grid { grid-template-columns: 1fr; }
    .box-grid { grid-template-columns: 1fr; }
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-title { font-size: 28px; }
    .cta-actions { flex-direction: column; }
}
