:root {
    --text: #f5f6fa;
    --muted: rgba(255, 255, 255, 0.74);
    --primary: #6c5ce7;
    --secondary: #a29bfe;
    --accent: #00cec9;
    --dark: #0f1419;
    --darker: #0a0e12;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background-color: var(--darker);
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.3);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.brand strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
}

.brand span span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.button-primary:hover {
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

.button-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.button-secondary:hover {
    background: rgba(108, 92, 231, 0.1);
    color: var(--secondary);
    border-color: var(--secondary);
}

.button-tertiary {
    background: transparent;
    border: 2px solid rgba(108, 92, 231, 0.72);
    color: #d3cbff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.button-tertiary:hover {
    border-color: var(--accent);
    color: #ffffff;
    background: rgba(108, 92, 231, 0.08);
}

.button-header {
    padding-inline: 28px;
}

.hero {
    padding: 180px 0 100px;
    background:
        radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.hero-copy {
    flex: 1 1 52%;
    max-width: 600px;
}

.hero-copy h1 {
    margin: 0 0 20px;
    line-height: 1.2;
}

.hero-copy h1 span {
    display: block;
    font-size: 3.6rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy h1 small {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.hero-copy p {
    font-size: 1.18rem;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-panel {
    flex: 0 0 min(46%, 560px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    width: 100%;
    max-width: 560px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #06090f;
}

.hero-video video {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--dark);
}

.section-darker {
    background-color: var(--darker);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin: 0 0 15px;
    font-size: 2.7rem;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-heading p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin: 0 auto;
}

.muted {
    color: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.feature-card,
.news-card {
    background: linear-gradient(145deg, rgba(45, 52, 54, 0.7), rgba(15, 20, 25, 0.9));
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    position: relative;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    display: inline-flex;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3,
.showcase-card h3,
.news-card h3 {
    margin: 0 0 15px;
    font-size: 1.55rem;
}

.feature-card p,
.showcase-card p,
.news-card p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.feature-link,
.showcase-link,
.news-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    color: var(--secondary);
    font-weight: 600;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.showcase-card {
    border-radius: 15px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.showcase-card:hover {
    transform: scale(1.03);
}

.showcase-cover {
    position: relative;
    height: 210px;
}

.showcase-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.showcase-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(7, 10, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

.showcase-content {
    padding: 20px;
}

.news-date {
    color: var(--accent);
    font-size: 0.92rem;
    margin-bottom: 10px;
    display: inline-block;
}

.about-panel {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-copy {
    flex: 1;
}

.about-copy h2 {
    margin: 0 0 20px;
    font-size: 2.7rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-copy p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
}

.about-stats-inline {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.mini-stat {
    text-align: center;
}

.mini-stat strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mini-stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--primary));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate 20s linear infinite;
}

.tech-circle::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: var(--darker);
}

.tech-content {
    position: absolute;
    z-index: 1;
    text-align: center;
}

.tech-label {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.88rem;
}

.tech-content strong {
    display: block;
    font-size: 2rem;
    line-height: 1.15;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-band {
    margin-top: 30px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.12), rgba(0, 206, 201, 0.1));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.site-footer {
    background-color: var(--dark);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(108, 92, 231, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    margin: 0 0 24px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-column p,
.footer-column a {
    display: block;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
}

.copyright {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
}

.floating-contact-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 214px;
    min-height: 92px;
    padding: 12px;
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: 26px;
    background:
        radial-gradient(circle at 70% 50%, rgba(108, 92, 231, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(7, 11, 20, 0.96), rgba(9, 14, 24, 0.98));
    cursor: pointer;
    box-shadow:
        0 26px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    overflow: visible;
}

.floating-contact-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 32px 58px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(108, 92, 231, 0.2) inset;
    filter: saturate(1.05);
}

.floating-contact-button::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 25px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    pointer-events: none;
}

.floating-contact-pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6c5ce7 0%, #4d8df4 52%, #16d4cf 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        0 0 30px rgba(108, 92, 231, 0.38),
        0 14px 28px rgba(18, 212, 207, 0.18);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 12, 0.7);
    backdrop-filter: blur(6px);
}

.contact-modal-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 760px);
    transform: translate(-50%, -50%);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(20, 26, 38, 0.96), rgba(10, 14, 22, 0.98));
    border: 1px solid rgba(108, 92, 231, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.contact-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 34px;
    align-items: center;
}

.contact-modal-tag {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.14);
    color: #ddd8ff;
    font-size: 12px;
    font-weight: 700;
}

.contact-modal-copy h3 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.contact-modal-copy p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.76);
}

.contact-wechat-box {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.contact-wechat-box span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.contact-wechat-box strong {
    display: block;
    font-size: 1.5rem;
    word-break: break-all;
}

.contact-copy-button {
    min-width: 138px;
}

.contact-copy-status {
    display: inline-block;
    margin-left: 12px;
    color: #aef2de;
    font-size: 13px;
}

.contact-modal-qr {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.contact-modal-qr img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #fff;
}

.contact-modal-qr span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

@media (max-width: 1080px) {
    .hero-grid,
    .about-panel {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .showcase-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header .container {
        min-height: 72px;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 150px;
    }

    .hero-copy h1 span {
        font-size: 2.8rem;
    }

    .hero-copy h1 small {
        font-size: 1.5rem;
    }

    .feature-grid,
    .showcase-grid,
    .news-grid,
    .about-stats-inline {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-modal-content {
        grid-template-columns: 1fr;
    }

    .floating-contact-button {
        right: 16px;
        bottom: 16px;
        min-width: 182px;
        min-height: 76px;
        padding: 10px;
        border-radius: 22px;
    }

    .floating-contact-button:hover {
        transform: translateY(-3px);
    }

    .floating-contact-pill {
        min-height: 48px;
        font-size: 14px;
    }
}
