/* Base styles and reset */
:root {
    --primary-color: #54AD42;
    --secondary-color: #3399FF;
    --accent-color: #FFD335;
    --background-dark: #171717;
    --background-darker: #000000;
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --card-background: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.4;
}

/* Typography */
@font-face {
    font-family: 'Monaspace Krypton';
    src: url('assets/MonaspaceKrypton-Bold.otf') format('opentype');
    font-weight: 700;
}

h1, h2, h3 {
    font-family: 'Monaspace Krypton', monospace;
}

h1 {
    font-size: 36px;
    font-weight: 700;
}

h2 {
    font-size: 56px;
    font-weight: 600;
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(27, 27, 27, 0.1);
    backdrop-filter: blur(50px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
}

.logo-container {
    flex: 0 0 auto;
}
.logo-container{
    height: 48px;
    display: inline-block;
}
.logo {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 16px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social .social-link img {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease;
}

.nav-social .social-link:hover img {
    opacity: 0.8;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}
.mobile-menu{
    display: none;
}


@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .menu-toggle img {
        width: 24px;
        height: 24px;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .menu-toggle:hover img {
        opacity: 1;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(27, 27, 27, 0.1);
        backdrop-filter: blur(50px);
        padding: 20px;
        border-top: 1px solid var(--card-border);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .mobile-nav-links .nav-link {
        padding: 8px 0;
        font-size: 16px;
    }

    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 32px;
        padding-top: 16px;
        border-top: 1px solid var(--card-border);
    }

    .mobile-social .social-link img {
        width: 20px;
        height: 20px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

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

.hero-image {
    margin-top: 40px;
    position: relative;
}

.hero-bg {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}
.hero-titles {
    margin-top: 40px;
}
@media (max-width: 768px) {
   .hero-title {
        font-size: 20px;
    }
    .hero-subtitle {
        font-size: 36px;
    }
}
/* How it works section */
.how-it-works {
    padding: 80px 0 120px;
    background-color: var(--background-dark);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.section-title {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
        text-align: center;
    }
 }
.section-description {
    text-align: center;
    margin: 10px 0 80px;
    font-size: 14px;
    color: var(--text-muted);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 40px 0;
    }
    .section-description {
        margin: 10px 0;
    }
    .steps-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin: 0 -20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .steps-container::-webkit-scrollbar {
        display: none;
    }

    .step-card {
        flex: 0 0 85%;
        scroll-snap-align:center;
        padding: 20px;
        min-height: 320px;
    }
    .step-card h3 {
        font-size: 14px;
    }

    .step-card p {
        font-size: 11px;
    }

    .step-number {
        bottom: 20px;
        right: 20px;
        font-size: 11px;
    }
}

.step-card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    text-align: left;
    min-height: 400px;
}
.step-icon {
    width: 46px;
    height: 46px;
    border-radius: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-title {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0.55rem 0;
    font-weight: 600;
}

.feature-desc {
    font-size: 1.15rem;
    line-height: 1.5;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
}

.step-number {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 12px;
    opacity: 0.6;
}

/* Features section */
.features-header {
    text-align: left;
}

.features {
    padding: 160px 0;
    background-color: var(--background-dark);
}

.features {
    padding: 120px 0;
}
@media screen and (max-width: 768px) {
    .features {
        padding: 40px 0;
    }
}

.features .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-container {
    display: flex;
    flex-direction: row;
    gap: 80px;
}

@media (min-width: 768px) {
    .features-container {
        display: grid;
        grid-template-columns: 2fr 5fr;
    }
}


.features .section-description {
    flex: 2;
    text-align: left;
}
@media (max-width: 767px) {
    .features-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .features .section-description {
        text-align: center;
        margin-bottom: 10px;
    }
}
.features-grid {
    flex: 5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0;
    margin-left: 0;
    text-align: left;
}

.feature-card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .features .section-container {
        flex-direction: column;
        gap: 20px;
    }
    .features-grid {
        margin-left: 0;
        gap: 12px;
    }
    
}


/* Products section */
.products {
    padding: 160px 0;
    background-color: var(--background-dark);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 80px;
}
    .product-row {
        display: flex;
        gap: 30px;
        width: 100%;

        .product-card {
            flex: 1;
        }
    }

@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
    }
    
    .products {
        padding: 40px 0;
    }
    .products-grid{
        margin-top: 40px;
    }
}



.text-content h3 {
    margin-bottom: 10px;
}

.text-content p {
    margin-top: 0;
}

.product-card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    transform: scale(1);
    opacity: 1;
}

.lifepass-card {
    background-image: url('assets/lifepass_nft.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    gap: 70px;
}

.product-card p {
    opacity: 0.6;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lifepass-card .product-content {
    width: 50%;
}

.product-icon {
    height: 40px;
}

@media (max-width: 768px) {
    .lifepass-card{
        background-image: none;
    }
    .lifepass-card .product-content {
        width: 100%;
    }
}
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 200px;
    text-align: center;
}

.cta-button:hover {
    background: #45922E;
}

.cta-button.disabled {
    background: var(--primary-color);
    opacity: 0.4;
    cursor: not-allowed;
}
.partner {
    padding: 120px 0;
    background-color: var(--background-darker);
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 120px;
    justify-content: center;
}

.partner-logos img {
    height: 40px;
}

.partner-name {
    font-family: 'Monaspace Argon', monospace;
    font-size: 24px;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    padding: 80px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-about {
    max-width: 400px;
}
.about-dec{
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-about h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.social-link img {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@media (max-width: 768px) {
     footer{
        padding: 40px 0;
    }
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-about {
        width: 100%;
        order: 1;
    }

    .footer-social {
        width: 100%;
        order: 2;
    }
}

/* Launch APP 按钮样式（主色渐变版+DNA旋转+高亮+紧凑+立体） */
.launch-app-btn {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff !important;
    border-radius: 24px;
    padding: 6px 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(84,173,66,0.18), 0 6px 24px rgba(51,153,255,0.12), 0 1.5px 0px 0px rgba(255,255,255,0.12) inset;
    border: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.launch-app-btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
    z-index: 1;
}
.launch-app-btn .dna-icon {
    width: 22px;
    height: 22px;
    margin-right: 2px;
    transition: transform 0.5s, filter 0.3s;
    opacity: 0.85;
    filter: drop-shadow(0 0 4px #FFD335) brightness(1.3) saturate(1.5);
    z-index: 2;
}
.launch-app-btn:hover {
    background: linear-gradient(90deg, #45922E 0%, #3399FF 100%);
    box-shadow: 0 8px 32px rgba(84,173,66,0.25), 0 12px 48px rgba(51,153,255,0.18);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none;
}
.launch-app-btn:hover .dna-icon {
    animation: dna-spin 0.8s linear infinite;
    opacity: 1;
    filter: drop-shadow(0 0 8px #FFD335) brightness(1.6) saturate(2);
}
@keyframes dna-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

