/* 全局深色主题 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
}

/* 背景视频样式 */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ========== NAVIGATION BAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box; /* 防止 padding 让整体超出屏幕导致右侧被裁剪 */
}

/* LOGO 区域 */
.navbar .logo img {
    height: 56px;
}
.navbar .logo a {
    display: inline-block;
}

/* 导航菜单 */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 40px; /* 让 menu 项目之间有间距 */
}

/* 导航链接 */
.navbar nav a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s ease;
}

/* hover */
.navbar nav a:hover,
.navbar nav a.active {
    color: #fff; /* 保持与默认一致，不用紫色 */
    opacity: 0.85;
}

/* CONTACT 按钮 */
.navbar nav .contact-btn {
    padding: 10px 22px;
    border: 1px solid white;
    border-radius: 8px;
    transition: 0.3s ease;
}

.navbar nav .contact-btn:hover {
    background: #B099FF;
    border-color: #B099FF;
    color: black;
}

/* CTA 按钮 */
.cta-btn {
    background: #6a5af9;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin-top: 24px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #8b79ff;
}

/* 首页主视觉 */
.hero {
    text-align: center;
    min-height: 125vh; /* 再拉高首屏，让视频覆盖更多区域 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0 24px 24vh; /* 增加底部留白，减少下方黑边 */
    box-sizing: border-box;
}

.hero h1 {
    font-size: 64px;
    letter-spacing: 2px;
    margin: 0;
}

.hero .sub {
    font-size: 20px;
    opacity: 0.8;
    max-width: 1100px;
    line-height: 1.6;
}

/* What We Do 区块 */
.what-we-do {
    width: 100%;
    margin: 0;
    padding: 120px 0;
    background: #050505; /* 独立于视频的纯色背景 */
}

.what-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.what-text h2 {
    font-size: 42px;
    margin-bottom: 12px;
    color: #ff33fc;
}

.what-text p {
    color: #ccc;
    margin: 0 auto 32px;
    max-width: 640px;
    line-height: 1.6;
    font-size: 18px;
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 默认 2 列，让单张更大 */
    gap: 20px;
}

.what-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    min-height: 260px;
    text-decoration: none;
    color: #fff;
}

.what-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.what-card .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: left;
    font-weight: 700;
    font-size: 18px;
}

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

@media (max-width: 640px) {
    .what-grid {
        grid-template-columns: 1fr;
    }
    .what-we-do {
        padding: 100px 0;
    }
}

/* CTA 区块 */
.cta-section {
    background: radial-gradient(circle at 20% 20%, rgba(124, 99, 241, 0.15), transparent 45%), 
                radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.1), transparent 40%),
                #040404;
    padding: 120px 16px;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #ff33fc;
}

.cta-inner p {
    color: #cfcfcf;
    margin: 0 auto 24px;
    line-height: 1.6;
    max-width: 640px;
    font-size: 18px;
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid #7C63F1;
    color: #fff;
    padding: 14px 30px;
    font-weight: 600;
}

.cta-btn.secondary:hover {
    background: #7C63F1;
    color: #0b0b0b;
}

/* Footer 联系块 */
.footer-block {
    background: #050505;
    padding: 120px 16px 100px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.footer-qr {
    text-align: left;
}

.footer-qr img {
    max-width: 220px; /* 略缩二维码尺寸 */
    width: 100%;
    border-radius: 12px;
    background: #0d0d0d;
    padding: 12px;
}

.qr-note {
    color: #bdbdbd;
    margin-top: 12px;
    font-size: 14px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    justify-content: flex-start;
    text-align: left;
}

.footer-contact a:hover {
    color: #ff33fc;
}

.footer-contact img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-policy {
    margin-top: 6px;
    color: #e6e6e6;
    text-decoration: none;
}

.footer-policy:hover {
    color: #ff33fc;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .footer-contact {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
}
/* Work 页样式 */
.page-header {
    text-align: center;
    padding-top: 140px;
}

.work-grid {
    margin: 80px auto;
    width: 88%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-item {
    position: relative;
}

.work-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: block;
    background: #0d0d0d;
    object-fit: cover;
}

.work-desc {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* System 页面 */
.system-hero,
.system-image {
    width: 100%;
}

.system-hero img,
.system-image img {
    width: 100%;
    height: auto;
    display: block;
}

.system-video {
    background: #0b0b0b;
    padding: 80px 16px;
}

.system-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.system-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #111;
    display: block;
    object-fit: cover;
}

/* Contact 页 */
.contact-section {
    padding-top: 140px;
    width: 50%;
    margin: auto;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 6px;
    border: none;
    background: #111;
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9b9b9b;
    font-size: 14px;
}

/* 下拉占位颜色 */
.contact-form select:invalid {
    color: #9b9b9b;
}
.contact-form select option {
    color: #000; /* 展开下拉时用默认深色文本，避免被浅色背景影响可读性 */
}

/* 日期图标可见化（Chrome / Edge） */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    background-color: #444;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
}

/* 悬停更亮 */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: #666;
}

/* 三列行布局 */
.contact-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.contact-row .field {
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .contact-row {
        grid-template-columns: 1fr;
    }
}
