body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: rgba(255, 255, 255, 0.87);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    --header-height: 3.75rem;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-bar {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s ease;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: white;
}

.mobile-nav-header,
.mobile-nav-list {
    display: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.625rem;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 120;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(124, 77, 255, 0.25);
    border-color: rgba(124, 77, 255, 0.45);
    outline: none;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .header-bar {
    box-shadow: none;
}

.hero {
    padding: calc(var(--header-height) + 3.5rem) 1.5rem 5rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features {
    padding: 5rem 1.5rem;
    background-color: #1E1E1E;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #7C4DFF;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #9ca3af;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #7C4DFF;
    background: rgba(124, 77, 255, 0.15);
    border: 1px solid rgba(124, 77, 255, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Community Section */
.community {
    padding: 5rem 1.5rem;
    background-color: #121212;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.community-card {
    text-align: center;
    padding: 3rem;
}

.community-card i {
    font-size: 3rem;
}

.community-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
}

.community-description strong {
    color: #7C4DFF;
}

.community-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(124, 77, 255, 0.15);
    border: 1px solid rgba(124, 77, 255, 0.3);
    color: #9D7FFF;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Business Section */
.business-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.business-card i {
    font-size: 3rem;
}

.business-card p {
    margin: 1.5rem 0 2rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.business-btn {
    text-decoration: none;
}

/* About Section */
.about {
    padding: 5rem 1.5rem;
    background-color: #121212;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', 'Monaco', monospace;
    min-width: 120px;
    display: inline-block;
    text-align: center;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

.tech-item i {
    font-size: 1.5rem;
    color: #7C4DFF;
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1.5rem;
    background-color: #1E1E1E;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact > p {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #7C4DFF;
    min-width: 24px;
}

.contact-item h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: #9ca3af;
}

/* Contact Form */
.contact-form {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7C4DFF;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(18, 18, 18, 0.8);
    padding: 0 0.25rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #7C4DFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cta {
    padding: 5rem 1.5rem;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem !important;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    background-color: #0D0D0D;
    padding: 3rem 1.5rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #7C4DFF;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-filing {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-filing a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-beian-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-filing a:hover {
    color: white;
}

@media (max-width: 767px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-filing {
        justify-content: center;
        gap: 0.75rem 1.25rem;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.glow-text {
    text-shadow: 0 0 10px rgba(124, 77, 255, 0.5), 0 0 20px rgba(124, 77, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, #7C4DFF 30%, #9D7FFF 90%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(124, 77, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.6);
}

.btn-primary.business-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 0.6rem 1.125rem;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 0 12px rgba(124, 77, 255, 0.28);
}

.btn-primary.business-btn i {
    font-size: 0.8125rem;
}

.btn-primary.business-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 16px rgba(124, 77, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #7C4DFF;
    border: 1px solid #7C4DFF;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7C4DFF;
    color: white;
}

@media (max-width: 767px) {
    :root {
        --header-height: 4.25rem;
    }

    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-content {
        justify-content: space-between;
        position: relative;
        z-index: 120;
    }

    .logo {
        position: static;
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 110;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.75rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
        background: #0a0a0a;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav-header {
        display: block;
        width: 100%;
        max-width: 360px;
        padding-bottom: 1.25rem;
        margin-bottom: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav-brand {
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding-top: 1.5rem;
    }

    .nav-links > .mobile-nav-list a,
    .mobile-nav-list a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 3.25rem;
        padding: 1rem 1.5rem;
        font-size: 1.0625rem;
        line-height: 1.4;
        text-align: center;
        color: rgba(255, 255, 255, 0.88);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0.875rem;
        box-sizing: border-box;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-list a:hover,
    .mobile-nav-list a:focus-visible {
        color: white;
        background: rgba(124, 77, 255, 0.18);
        border-color: rgba(124, 77, 255, 0.35);
        outline: none;
    }

    .hero {
        padding-top: calc(var(--header-height) + 2.5rem);
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    :root {
        --header-height: 5.25rem;
    }

    .header {
        background-color: rgba(18, 18, 18, 0.88);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header-bar {
        background: transparent;
        backdrop-filter: none;
        position: relative;
        z-index: 1;
    }

    .nav {
        padding: 1.375rem 2.5rem;
    }

    .nav-content {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        min-height: 2.5rem;
    }

    .logo {
        position: relative;
        left: auto;
        font-size: 1.375rem;
        letter-spacing: 0.02em;
    }

    .header {
        display: grid;
        grid-template-areas: "desktop-header";
        align-items: center;
    }

    .header-bar,
    .nav-links {
        grid-area: desktop-header;
    }

    .nav-links {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: var(--header-height);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        align-self: center;
        pointer-events: none;
        z-index: 2;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 2.5rem 0 0;
        background: transparent;
    }

    .mobile-nav-header {
        display: none;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2.75rem;
        padding: 0;
        pointer-events: auto;
    }

    .mobile-nav-list a {
        display: inline-block;
        width: auto;
        padding: 0.5rem 0.125rem;
        font-size: 0.9375rem;
        letter-spacing: 0.03em;
        text-align: center;
        color: rgba(255, 255, 255, 0.72);
        background: transparent;
        border: none;
        border-radius: 0;
        transition: color 0.25s ease;
    }

    .mobile-nav-list a:hover,
    .mobile-nav-list a:focus-visible {
        color: white;
        background: transparent;
        border: none;
        outline: none;
    }

    .nav-links a {
        pointer-events: auto;
    }

    .nav-toggle {
        display: none;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tech-stack {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    :root {
        --header-height: 5.75rem;
    }

    .nav {
        padding: 1.5rem 3rem;
    }

    .nav-content {
        min-height: 2.75rem;
    }

    .nav-links {
        padding-right: 3rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .mobile-nav-list {
        gap: 3.25rem;
    }

    .mobile-nav-list a {
        font-size: 1rem;
        padding: 0.625rem 0.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-cta {
        flex-wrap: nowrap;
    }
}
