.hero-content {
    max-width: 100%;
    margin-bottom: 3vh;
}

.title {
    font-family: var(--font-title);
    /* 使用 clamp 让字体在 1.8rem 到 3rem 之间根据窗口大小自动缩放 */
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111;
}

.authors {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 400;
    line-height: 1.5;
}

.affiliation {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

.author-link { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; position: relative; }
.author-link:hover { color: var(--text-main); }
.author-link::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -2px; left: 0; background-color: var(--text-main); transition: width 0.3s ease; }
.author-link:hover::after { width: 100%; }

.button-group {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: var(--btn-bg);
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.action-btn:hover { background-color: var(--btn-hover); }
.action-btn:active { transform: scale(0.98); }
.btn-icon { width: 18px; height: 18px; margin-right: 8px; }

.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.video-wrapper {
    width: 100%;
    max-width: calc(45vh * 16 / 9);
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    flex-shrink: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none; pointer-events: none;
    transform: scale(1);
}

.video-wrapper:hover .custom-controls { opacity: 1; }

@media (min-width: 1024px) and (orientation: landscape) {
    .showcase-container { flex-direction: row; justify-content: center; align-items: center; gap: 40px; max-width: 1400px; }
    .video-wrapper { flex: 0 0 auto; height: 55vh; width: calc(55vh * 16 / 9); max-width: 65vw; max-height: calc(65vw * 9 / 16); }
    .feature-cards { display: grid; grid-template-columns: repeat(2, 1fr); flex: 0 0 auto; width: 100%; max-width: 440px; gap: 20px; }
    .card { aspect-ratio: 1 / 1; padding: 12% 10% 10% 10%; justify-content: flex-start; align-items: flex-start; text-align: left; border-radius: 20px; }
    .card h3 { font-size: 1.25rem; font-weight: 600; color: #111; letter-spacing: -0.02em; margin-bottom: 15px; line-height: 1.2; width: 100%; position: relative; }
    .card h3::after { content: ""; position: absolute; bottom: -15px; left: 0; width: 40px; height: 1px; background: rgba(0, 0, 0, 0.1); transition: width 0.4s ease; }
    .card:hover h3::after { width: 100%; }
    .card p { display: block; margin-top: 25px; font-size: 0.84rem; font-weight: 400; color: #515154; line-height: 1.3; letter-spacing: 0.01em; opacity: 0.85; }
}

@media (max-height: 700px) and (min-width: 1024px) and (orientation: landscape) {
    #main-demo { padding-top: 8vh; }
    .video-wrapper { height: 52vh; width: calc(52vh * 16 / 9); }
}
