/* ===== Global Styles ===== */
:root {
    /* Color Variables */
    --primary-bg: #000000;
    --secondary-bg: #0d0d0d;
    --accent-color: #1657b0;
    --accent-light: #34a7fb;
    --text-color: #ffffff;
    --text-secondary: #d8d8d8;
    --text-muted: #999999;
    --border-color: #333333;
    --gradient-blue: linear-gradient(135deg, #1657b0, #34a7fb);
    --card-bg: rgba(20, 20, 20, 0.7);
    --footer-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

a:hover {
    color: white;
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    flex: 1;
    padding:0 8rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* ===== Header Styles ===== */
header {
    background-color: var(--secondary-bg);
    padding: 1rem 7.3rem;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    flex-shrink: 0;
}
.logo-link{
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}
.logo {
    height: 60px;
    object-fit: contain;
}

.desktop-nav ul {
    margin-left: 4rem;
    display: flex;
    gap: 1.5rem;
}

.desktop-nav a {
    font-size:1.3rem;
    padding: 0.5rem;
    position: relative;
}

/* .desktop-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-light);
} */

.mobile-menu-button {
    position: absolute;
    right: 50px;
    /* display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer; */
     display: none;
     text-align: right;

}

.mobile-menu-button span:nth-child(2) {
display: none;
    /* display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s, opacity 0.3s; */
}

.mobile-nav {
    display: none;
    background-color: var(--secondary-bg);
    padding: 1rem;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.mobile-nav.active {
    transform: translateY(0);
}
.mobile-nav ul li{
    height: 30px;
    border-bottom: 1px solid #fff;
}
.mobile-nav ul a{
    padding: 0 !important;
}
.mobile-nav ul a:hover{
    display: block; 
    text-decoration: none;
}
/* ===== Hero Section ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    background-image: url('../assets/1.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    text-align: center;
}

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

.hero h1 {
    font-size:4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.feature a{
    font-size: 2rem;
    font-weight: 400;
    padding: 1.5rem;
    /* background-color: var(--card-bg); */
    /* border: 1px solid var(--border-color); */
    border-radius: 8px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.feature a:hover{
    text-decoration: none;
}
.features-grid {
    /* border-bottom: 1px solid #fff; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 40px;
}
.features-grid:hover{
    color: white;
}
.feature h3 {
   
}

/* ===== Section Styles ===== */
section {
    padding: 1rem 0rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items:center;
    margin-bottom: 2rem;
    font-size:1.6rem;
    /* margin-top: 30px; */
    border-top: 1px solid #fff;
    flex-wrap: wrap;
}
.section-header h2 {
    width: 500px;
    /* line-height: 30px; */
}
.section-header p {
    color: #fff;
    width: 700px;
    /* line-height: 30px; */
}

.view-all {
    font-size:1rem;
    margin-top: 30rpx;
    display: block;
    color: #fff;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--secondary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background-color: var(--card-bg);
    /* border: 1px solid var(--border-color); */
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-card h3 {
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* ===== Core Logic Section ===== */
.core-logic {
    background-color: var(--primary-bg);
    padding: 2rem 2rem;
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    border-top: 1px solid #fff;
    margin-top: 20px;
}

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

.core-logic p {
    max-width: 800px;
    font-size: 1.5rem;
    color: #fff;
}

/* ===== Strengths Section ===== */
.strengths-section {
    background-color: var(--secondary-bg);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.strength-card {
    /* background-color: var(--card-bg); */
    /* border: 1px solid var(--border-color); */
    border-radius: 8px;
    /* padding: 2rem; */
    text-align: left;
    /* transition: transform 0.3s; */
}

.strength-card:hover {
    /* transform: translateY(-5px); */
}

.strength-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.strength-card h3 {
    font-size: 1.1rem;
    /* color: var(--accent-light); */
}

/* ===== Capabilities Section ===== */
.capabilities-section {
    background-color: var(--primary-bg);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.capability-card {
    /* background-color: var(--card-bg); */
    /* border: 1px solid var(--border-color); */
    border-radius: 8px;
    /* padding: 2rem; */
    text-align: left;
    /* transition: transform 0.3s; */
}

.capability-card:hover {
    /* transform: translateY(-5px); */
}

.capability-image { 
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.capability-card h3 {
    font-size: 1.1rem;
}

/* ===== Characteristics Section ===== */
/* .characteristics-section {
    background-color: var(--secondary-bg);
} */

.characteristics-content {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid #a1a1a1;
    margin-top: 80px;
}

.characteristics-content blockquote {
    background-color: var(--card-bg);
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    max-width: 800px;
}

.characteristics-content ol {
    list-style-position: inside;
}

.characteristics-content li {
    margin-bottom: 1rem;
    font-size: 2.9rem;
}

/* ===== Join Us Section ===== */
.join-us {
    text-align: left;
    /* padding: 6rem 2rem; */
    /* background-image: url('https://ext.same-assets.com/3205252502/2197607148.png'); */
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    margin: 8rem 0;
}

.join-us h2 {
    font-size: 4rem;
    /* max-width: 800px; */
    /* margin: 0 auto; */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ===== Footer ===== */
footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

.social-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.back-to-top {
    text-align: right;
}

.back-to-top a {
    font-size: 0.9rem;
    color: var(--accent-light);
}

.footer-line-pattern {
    height: 20px;
    background: repeating-linear-gradient(
        to bottom,
        var(--border-color),
        var(--border-color) 1px,
        transparent 1px,
        transparent 3px
    );
    margin-top: 2rem;
}

/* ===== About Page Specific Styles ===== */
.about-page section {
    padding: 3rem 2rem;
}

.about-page h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.about-page h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-page p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.section-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.background, .smart-contract {
    background-color: var(--primary-bg);
}

.development, .price-differences {
    background-color: var(--secondary-bg);
}

.features-grid-section {
    padding: 3rem 2rem;
    background-color: var(--primary-bg);
}

.feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.feature-item h3 {
    color: var(--accent-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
}

.privacy-page section {
    padding: 3rem 2rem;
}
.privacy-page h1 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}
.privacy-page h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.privacy-page h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.privacy-page ul {
    margin-bottom: 1rem;
    padding-left: 1rem; /* 一级缩进 */
}

/* 二级列表 */
.privacy-page ul ol {
    list-style-type: disc; /* 二级使用小写字母 (a, b, c...) */
    padding-left: 1.5rem; /* 二级额外缩进 */
}

/* 三级列表 */
.privacy-page ul ol ol {
    list-style-type: lower-roman; /* 三级使用小写罗马数字 (i, ii, iii...) */
    padding-left: 2rem; /* 三级额外缩进 */
}