:root {
    --background-dark: #000;
    --text-white: #fff;
    --text-gray: #888;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Reset & Base Styles */
body {
    background-color: var(--background-dark);
    color: var(--text-white);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
}

.header__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-white);
    gap: 12px;
}

.header__logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header__title {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Hover effect */
.header__brand:hover .header__title {
    color: var(--text-gray);
    transition: color 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .header__title {
        font-size: 1rem;
    }
}
/* Demo Section Styles */
.demo {
    padding: 120px 0 80px;
    background: var(--background-dark);
}

.demo__wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
}

.demo__header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #000;
    border-bottom: 1px solid var(--border-color);
}

.demo__dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.demo__dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.demo__dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo__dots span:nth-child(3) {
    background: #27c93f;
}

.demo__address {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    font-family: monospace;
}

.demo__frame-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    background: #1a1a1a;
}

.demo__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #1a1a1a;
}

/* Loading state */
.demo__frame-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.demo__frame-container.loaded::before {
    display: none;
}

/* Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo {
        padding: 80px 16px 40px;
    }

    .demo__wrapper {
        border-radius: 8px;
    }

    .demo__frame-container {
        padding-bottom: 133.34%; /* 从原来的 66.67% 增加到两倍 */
    }
}

/* Hero Styles */
.hero {
    padding: 160px 0 80px;
    background: var(--background-dark);
    overflow: hidden;
    position: relative;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__title-gradient {
    display: block;
    background: linear-gradient(90deg, #007CF0, #00DFD8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero__image-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.hero__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero__image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at center,
        rgba(0, 124, 240, 0.1),
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

/* Animation for gradient text */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 24px 60px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
        margin-bottom: 32px;
    }

    .hero__image-container {
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
}

/* Features Section Styles */
.features {
    padding: 100px 0;
    background: var(--background-dark);
}

.features__grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-item:nth-child(even) {
    direction: rtl;
}

.feature-item:nth-child(even) .feature-item__content {
    direction: ltr;
}

.feature-item__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.feature-item__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-item__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 124, 240, 0.1),
        rgba(0, 223, 216, 0.1)
    );
    border-radius: 12px;
}

.feature-item__content {
    padding: 20px;
}

.feature-item__content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item__content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.features__description {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.features__description h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features__description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item:nth-child(even) {
        direction: ltr;
    }

    .feature-item__content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .features__grid {
        gap: 60px;
    }

    .features__description h2 {
        font-size: 2rem;
    }
}

/* SEO Content Styles */
.seo-content {
    padding: 100px 0;
    background: var(--background-dark);
}

.seo-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.seo-section:last-child {
    margin-bottom: 0;
}

.seo-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-section h3 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
    color: var(--text-white);
}

.seo-section h4 {
    font-size: 1.25rem;
    margin: 30px 0 15px;
    color: var(--text-gray);
}

.seo-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.seo-section ul,
.seo-section ol {
    margin: 20px 0;
    padding-left: 20px;
    color: var(--text-gray);
}

.seo-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-content {
        padding: 60px 0;
    }

    .seo-section h2 {
        font-size: 2rem;
    }

    .seo-section h3 {
        font-size: 1.5rem;
    }

    .seo-section h4 {
        font-size: 1.125rem;
    }
}