/* ===== haikun-css/style.css ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b1f3b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}
.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 3rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(2px);
    border-radius: 60px;
    padding: 0.7rem 2.2rem;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
    position: sticky;
    top: 0.2rem;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    align-self: center;
}
.navbar:hover {
    box-shadow: 0 25px 40px -10px rgba(0, 20, 60, 0.6), 0 0 0 1px rgba(255,255,255,0.4) inset;
}
.nav-brand {
    display: flex;
    align-items: center;
    color: #0b1f3b;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    border-right: 1.5px solid #cad5e6;
    padding-right: 2rem;
    margin-right: 0.5rem;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
}
.nav-item {
    display: inline-flex;
    align-items: center;
}
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.3rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1.05rem;
    color: #13294b;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    letter-spacing: 0.2px;
    cursor: pointer;
}
.nav-link:hover {
    background: rgba(11, 31, 59, 0.04);
    border-color: rgba(11, 31, 59, 0.1);
    color: #0a1e3c;
    transform: scale(0.98);
}
.nav-link.active {
    background: rgba(11, 31, 59, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    color: #0a1e3c;
    font-weight: 600;
    box-shadow: none;
}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 1.5rem;
    color: #ffffff;
    position: relative;
    margin-left: -3rem;
    margin-right: -3rem;
    padding: 2rem 3rem;
    width: auto;
    max-width: none;
    left: 0;
    right: 0;
    opacity: 0.9;
    z-index: 1;
}
.hero-content::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 300px);
    background-image: url('../haikun-images/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}
.tagline {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
    border-left: 4px solid #3b82f6;
    padding-left: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.main-title {
    font-size: clamp(2rem, 6vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    max-width: 850px;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}
.description {
    font-size: 1em;
    color: #ffffff;
    max-width: 700px;
    margin-bottom: 20rem;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.section-title {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 3rem 0 1.5rem 0;
    color: #ffffff;
    position: relative;
    z-index: 5;
    border-left: 6px solid #3b82f6;
    padding-left: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.cards-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin: 0 0 3rem 0;
    position: relative;
    z-index: 10;
}
.cards-section.led-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.cards-section.led-section .card {
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 100%;
    margin: 0;
}
@media (min-width: 1200px) {
    .cards-section.led-section {
        flex-wrap: nowrap;
        gap: 1.2rem;
        justify-content: space-between;
    }
    .cards-section.led-section .card {
        flex: 1 1 0;
        min-width: 0;
    }
}
.card {
    background: rgba(20, 40, 65, 0.75);
    border-radius: 16px;
    padding: 1.8rem 1.2rem 1.5rem 1.2rem;
    box-shadow: 0 25px 40px -15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s;
    position: relative;
    color: #fff;
}
.card:hover {
    border-color: rgba(59,130,246,0.6);
    transform: translateY(-6px);
}
.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    letter-spacing: 0.1em;
    color: white;
    text-align: center;
}
.card-title .en {
    letter-spacing: 0.02em;
    display: inline-block;
}
.card-sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #ccdfff;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 0.7rem;
}
.video-vertical {
    position: relative;
    width: 100%;
    padding-top: 160%;
    background-color: #0a1a2f;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    box-shadow: inset 0 5px 12px rgba(0,0,0,0.6);
}
.video-vertical video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s;
}
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.play-icon {
    width: 48px;
    height: 48px;
    background: rgba(47, 130, 255, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    border: 2px solid white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.5);
    transition: transform 0.2s;
    position: absolute;
    bottom: 16px;
    right: 16px;
}
.play-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
    margin-left: 4px;
}
.video-vertical:hover .play-icon {
    transform: scale(1.08);
    background: #3b82f6;
}
.video-vertical.playing .video-cover {
    opacity: 0;
    pointer-events: none;
}
.video-vertical.playing video {
    opacity: 1;
}
.timeline-refined {
    margin: 2.5rem 0 3.5rem 0;
    position: relative;
    z-index: 10;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
    position: relative;
}
.timeline-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6 20%, #3b82f6 80%, transparent);
    transform: translateY(-50%);
    border-radius: 4px;
    opacity: 0.5;
}
.year-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: transform 0.2s ease;
}
.year-dot:hover {
    transform: translateY(-3px);
}
.dot-ring {
    width: 20px;
    height: 20px;
    background: #0b1f3b;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(59,130,246,0.4);
}
.year-dot.active .dot-ring {
    background: #3b82f6;
    box-shadow: 0 0 20px #3b82f6;
    transform: scale(1.3);
    border-color: white;
}
.year-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    transition: color 0.2s, text-shadow 0.2s;
}
.year-dot.active .year-label {
    color: white;
    text-shadow: 0 0 12px #3b82f6;
    font-weight: 600;
}
.timeline-cards-container {
    position: relative;
    min-height: 220px;
}
.timeline-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    animation: floatIn 0.35s ease-out;
}
.timeline-panel.active-panel {
    display: grid;
}
@keyframes floatIn {
    0% { opacity: 0; transform: translateY(12px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.refined-card {
    background: rgba(18, 35, 58, 0.8);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.7);
    transition: none;
}
.refined-card:hover {
    transform: none;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.7);
}
.refined-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #1d344d;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: none;
}
.refined-card:hover .refined-image {
    filter: none;
}
.refined-meta {
    padding: 1rem 1.2rem 1.2rem 1.2rem;
}
.refined-title { display: none; }
.refined-desc {
    font-size: 0.85rem;
    color: #b0c8f0;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    opacity: 0.9;
    justify-content: flex-start;
}
.refined-desc span {
    background: rgba(0,0,0,0.25);
    padding: 0.3rem 0.9rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.footer-company-info {
    margin-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding-top: 2rem;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 2.5fr 2fr;
    gap: 2rem 2rem;
    color: #e0edff;
    font-size: 0.95rem;
    position: relative;
    z-index: 15;
    background: rgba(8, 20, 40, 0.3);
    border-radius: 18px 18px 0 0;
    backdrop-filter: none;
}
.footer-col p {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.footer-col .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0rem;
    background: rgba(19, 19, 19, 0.286);
    padding: 0.8rem 0.5rem;
    border-radius: 12px;
    border-left: 3px solid #3b83f600;
}
.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.beian-link {
    color: #e0edff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(59, 130, 246, 0.5);
    transition: all 0.2s ease;
    padding-bottom: 1px;
}
.beian-link:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}
i, [class*="fa-"] { display: none !important; }
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 1199px) {
    .cards-section.led-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    .cards-section.led-section .card {
        min-width: 0;
        flex: none;
    }
}
@media (max-width: 950px) {
    .wrapper { padding: 1.5rem 1.8rem; }
    .hero-content { margin-left: -1.8rem; margin-right: -1.8rem; padding: 2rem 1.8rem; }
    .navbar { flex-direction: column; border-radius: 40px; padding: 1rem 1.5rem; top: 1rem; width: 100%; }
    .nav-brand { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.6rem; justify-content: center; margin-right: 0; }
    .cards-section { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.9rem; }
    .footer-company-info { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 700px) {
    .cards-section.led-section { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .timeline-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .wrapper { padding: 1rem 1rem; }
    .navbar { top: 0.8rem; padding: 0.7rem 1.2rem; width: 100%; }
    .nav-link { padding: 0.5rem 1rem; font-size: 0.95rem; }
    .hero-content { margin-left: -1rem; margin-right: -1rem; padding: 2rem 1rem; }
    .main-title { font-size: 2rem; }
    .cards-section { grid-template-columns: 1fr; gap: 2rem; }
    .cards-section.led-section { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .card-title { font-size: 1rem; }
    .play-icon { width: 36px; height: 36px; bottom: 8px; right: 8px; }
    .play-icon svg { width: 20px; height: 20px; }
    .section-title { font-size: 1.8rem; }
    .timeline-panel { grid-template-columns: 1fr; }
    .year-label { font-size: 1rem; }
    .dot-ring { width: 16px; height: 16px; }
    .footer-company-info { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1.2rem; }
    .footer-col p { gap: 0.5rem; }
    .back-to-top { bottom: 20px; right: 15px; padding: 10px 16px; font-size: 0.85rem; }
}