:root {
    --primary-color: #6C63FF;
    --background-dark: #0A0A0A;
    --text-light: #FFFFFF;
    --text-gray: #A0A0A0;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* 导航链接样式 */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:not(.cta-button):hover {
    color: var(--primary-color);
}

.nav-links a:not(.cta-button):hover::after {
    width: 70%;
}

/* 导航栏联系我们按钮样式 */
.cta-button {
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem !important;
    border-radius: 24px !important;
}

.cta-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

/* Logo样式更新 */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.logo .highlight {
    color: var(--primary-color);
}

.logo::before {
    content: "SEVEN_LIKE";
    position: absolute;
    background: linear-gradient(45deg, 
        #FF6B6B 0%,
        var(--primary-color) 50%,
        #4ECDC4 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(0.4px);
    transform: translateX(-1px);
    opacity: 0.8;
}

.logo::after {
    content: "SEVEN_LIKE";
    position: absolute;
    left: 0;
    background: linear-gradient(45deg,
        #FFFFFF 0%,
        var(--primary-color) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        filter: brightness(1);
    }
    50% {
        clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
        filter: brightness(1.2);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        filter: brightness(1);
    }
}

/* 添加小标签样式 */
.logo-tag {
    position: absolute;
    top: -8px;
    right: -20px;
    font-size: 0.7rem;
    background: linear-gradient(45deg, #FF6B6B, var(--primary-color));
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    transform: rotate(15deg);
    opacity: 0.9;
}

/* 英雄区域样式调整 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* 为导航栏留出空间 */
}

.hero .container {
    padding-top: 40px; /* 增加顶部内边距 */
}

/* CTA按钮组样式 */
.cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px; /* 增加与上方文字的间距 */
}

/* 副标题样式 */
.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* 次要按钮样式 */
.secondary-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 核心优势板块样式更新 */
.features {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--background-dark) 0%, #111111 100%);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 改为两列布局 */
    gap: 60px;
    margin-bottom: 100px;  /* 增加行间距 */
    align-items: center;
}

/* 交替布局 */
.feature-row:nth-child(even) {
    direction: rtl;  /* 偶数行反向 */
}

.feature-row:nth-child(even) .feature-content {
    direction: ltr;  /* 内容保持正常方向 */
}

.feature-content {
    padding: 40px;
}

.feature-title {
    font-size: 2.5rem;  /* 增大标题字号 */
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 90%;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: "→";
    margin-right: 12px;
    color: var(--primary-color);
}

.feature-code {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-code pre {
    margin: 0;
    padding: 0;
}

/* 代码高亮效果 */
.code-comment {
    color: #6A737D;
}

.code-string {
    color: #85E89D;
}

.code-keyword {
    color: #79B8FF;
}

.feature-image {
    flex: 0 0 500px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-row:hover .feature-image img {
    transform: scale(1.05);
}

/* 按钮样式 */
.primary-button {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

/* 激活状态样式 */
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
}

.nav-links a.active::after {
    width: 70%;
}

/* 英雄区域背景样式更新 */
.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    width: 800px;
    height: 800px;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, 
        rgba(108, 99, 255, 0.2) 0%, 
        rgba(108, 99, 255, 0.1) 30%,
        rgba(108, 99, 255, 0) 70%
    );
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
}

.floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%236C63FF" opacity="0.5"/></svg>');
    animation: floatBg 15s linear infinite;
    opacity: 0.3;
}

/* 页脚样式 */
.footer {
    background: var(--background-dark);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* 产品展示区域样式更新 */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.showcase-card {
    aspect-ratio: 4/5;  /* 保持固定的长宽比 */
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* 为每个卡片设置不同的背景色 */
.showcase-card:nth-child(1) {
    background: #4A55F6;  /* 蓝紫色 */
}

.showcase-card:nth-child(2) {
    background: #FFFFFF;  /* 白色 */
    color: #000000;
}

.showcase-card:nth-child(3) {
    background: #543E85;  /* 深紫色 */
}

.card-tag {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.white-card {
    color: #000000;
}

.white-card .card-tag,
.white-card .card-content p {
    color: #333333;
}

.card-content {
    margin-top: auto;  /* 将内容推到底部 */
    background: none;
    padding: 0;
    margin-top: 0;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.showcase-card:hover {
    transform: translateY(-8px);
}

/* 添加备案号样式 */
.footer-icp {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-icp a {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-icp a:hover {
    color: var(--text-light);
} 