/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --border-color: rgba(255, 255, 255, 0.1);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    overflow-x: hidden;
    width: 100%;
}

/* Prevent horizontal scroll on all major wrappers */
main,
header,
footer,
.hero,
.presale-hero,
.modal-overlay,
.presale-modal-overlay {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-blue {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.badge-orange {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

/* ===== Placeholder Images ===== */
.placeholder-image {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(1);
}

.logo-text {
    color: var(--text-primary);
}

.logo-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== Language Selector ===== */
.language-selector {
    position: relative;
    z-index: 1001;
    margin-left: 16px;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.language-selector.active .language-current {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.current-flag {
    font-size: 18px;
    line-height: 1;
}

.current-lang-text {
    font-weight: 500;
    white-space: nowrap;
}

.lang-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.language-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.language-selector.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-align: left;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.language-option.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
}

.language-option.active::after {
    content: '✓';
    margin-left: auto;
    font-size: 12px;
    color: var(--primary);
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-name {
    font-weight: 500;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* 轮播背景样式 */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-slider .slide.active {
    opacity: 1;
    animation: zoomEffect 8s ease-in-out infinite;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    display: none;
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.slider-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-indicators .indicator.active {
    background: rgba(255, 255, 255, 0.3);
}

.slider-indicators .indicator.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--primary-light);
    animation: indicatorProgress 5s linear forwards;
}

@keyframes indicatorProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Hero Content Slider */
.hero-content-slider {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-content {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.hero-slide-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-slide-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stat-mini {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.hero-stat-mini .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero-stat-mini .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Hero CTA Row */
.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Badge SVG Icon */
.badge-svg-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Hot Badge */
.hero-badge-hot {
    background: rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.5) !important;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-content-slider {
        min-height: 350px;
    }

    .hero-stats-row {
        gap: 16px;
    }

    .hero-stat-mini {
        min-width: 100px;
        padding: 12px 16px;
    }

    .hero-stat-mini .stat-value {
        font-size: 18px;
    }

    .hero-stat-mini .stat-label {
        font-size: 11px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-row .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content-slider {
        min-height: 320px;
    }

    .hero-stats-row {
        gap: 12px;
    }

    .hero-stat-mini {
        min-width: 90px;
        padding: 10px 12px;
    }

    .hero-stat-mini .stat-value {
        font-size: 16px;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: -150px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 16px;
}

/* Badge Logo with Name */
.badge-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: none;
}

.badge-logo-name {
    font-weight: 800;
    font-size: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.badge-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

/* Animated SVG Icons */
.badge-icon.animated-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-icon.animated-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
    animation: flameFlicker 1.5s ease-in-out infinite;
}

@keyframes flameFlicker {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    25% {
        transform: scale(1.1) rotate(-3deg);
        opacity: 0.9;
    }

    50% {
        transform: scale(0.95) rotate(2deg);
        opacity: 1;
    }

    75% {
        transform: scale(1.05) rotate(-2deg);
        opacity: 0.85;
    }
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.btn-icon.animated-rocket {
    animation: rocketLaunch 2s ease-in-out infinite;
}

@keyframes rocketLaunch {

    0%,
    100% {
        transform: translateY(0) rotate(-45deg);
    }

    25% {
        transform: translateY(-3px) rotate(-50deg);
    }

    50% {
        transform: translateY(-5px) rotate(-45deg);
    }

    75% {
        transform: translateY(-2px) rotate(-40deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat {
    text-align: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    min-width: 140px;
}

.hero-stat .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-stat {
        min-width: 100px;
        padding: 16px;
    }

    .hero-stat .stat-value {
        font-size: 22px;
    }

    .hero-stat .stat-label {
        font-size: 11px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 800px;
    margin: 0 auto;
}

.hero-placeholder {
    height: 400px;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.placeholder-icon {
    font-size: 64px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ===== Founder Letter Section ===== */
.founder-letter {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    padding: 100px 0;
}

.letter-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.letter-wrapper::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 200px;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.05);
    line-height: 1;
    pointer-events: none;
}

.letter-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.letter-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.letter-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.letter-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.letter-content {
    position: relative;
    z-index: 1;
}

.letter-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.letter-content p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.letter-content p em {
    color: var(--primary-light);
    font-style: normal;
}

.letter-greeting {
    font-size: 18px !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.letter-closing {
    font-size: 18px !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    margin-top: 32px !important;
}

.letter-quote {
    margin: 32px 0;
    padding: 24px 32px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}

.letter-signature {
    margin-top: 48px;
    text-align: right;
}

.signature-line {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    margin-left: auto;
    margin-bottom: 16px;
}

.signature-name {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.signature-date {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .letter-wrapper {
        padding: 32px 24px;
        margin: 0 10px;
    }

    .letter-wrapper::before {
        font-size: 120px;
        top: 10px;
        left: 15px;
    }

    .letter-content p {
        font-size: 15px;
        line-height: 1.9;
    }

    .letter-quote {
        padding: 20px 24px;
        font-size: 15px;
        margin: 24px 0;
    }

    .letter-icon {
        width: 48px;
        height: 48px;
    }

    .signature-name {
        font-size: 20px;
    }
}

/* ===== About Section ===== */
.about {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-bg picture,
.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-text {
    max-width: 600px;
    padding: 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.about-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.about-btn svg {
    transition: transform 0.3s ease;
}

.about-btn:hover svg {
    transform: translateX(5px);
}

/* ===== Modal Styles ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.modal-content {
    padding: 48px;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.modal-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.modal-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.modal-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.modal-card:hover .modal-card-icon svg {
    stroke: var(--primary-light);
    transform: scale(1.1);
}

.modal-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 20px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .about-text {
        padding: 24px;
        margin: 0 10px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-desc {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-card {
        padding: 20px;
    }
}

/* ===== Market Section ===== */
.market {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.market-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.market-bg picture,
.market-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.market-hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.market-text {
    max-width: 600px;
    padding: 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.market-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.market-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.market-btn svg {
    transition: transform 0.3s ease;
}

.market-btn:hover svg {
    transform: translateX(5px);
}

/* Market Modal Content */
.market-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.market-chart-modal h3,
.market-partners-modal h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.partner-card .partner-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-card span {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .market-text {
        padding: 24px;
        margin: 0 10px;
    }

    .market-title {
        font-size: 28px;
    }

    .market-desc {
        font-size: 16px;
    }

    .market-modal-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* Original market-content kept for reference */
.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.market-chart {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.market-chart h3 {
    margin-bottom: 32px;
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    gap: 16px;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.bar-fill {
    width: 100%;
    max-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    height: 0;
    animation: growBar 1s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes growBar {
    to {
        height: var(--target-height);
    }
}

.bar-label {
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    color: var(--primary-light);
}

.bar-year {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.chart-source {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
}

.market-partners h3 {
    margin-bottom: 24px;
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.partner-logo {
    width: 80px;
    height: 40px;
    font-size: 12px;
    font-weight: 700;
}

.partner-item span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== Products Section ===== */
.products {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.products-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.products-bg picture,
.products-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.products-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.products-text {
    max-width: 600px;
    padding: 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.products-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.products-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.products-btn svg {
    transition: transform 0.3s ease;
}

.products-btn:hover svg {
    transform: translateX(5px);
}

/* Products Modal Grid */
.modal-lg {
    max-width: 1000px;
}

.products-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-modal-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.product-modal-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.product-modal-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: var(--primary);
}

.product-modal-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.product-modal-card:hover .product-modal-icon svg {
    stroke: var(--primary-light);
    transform: scale(1.1);
}

.product-modal-card.featured .product-modal-icon svg {
    stroke: #fbbf24;
}

.product-modal-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-modal-card>p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-modal-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-modal-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.product-modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.product-modal-features li strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .products-content {
        justify-content: flex-start;
    }

    .products-text {
        padding: 24px;
        margin: 0 10px;
    }

    .products-title {
        font-size: 28px;
    }

    .products-desc {
        font-size: 16px;
    }

    .products-modal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-modal-card {
        padding: 20px;
    }
}

/* ===== Tokenomics Section ===== */
.tokenomics {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.tokenomics-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tokenomics-bg picture,
.tokenomics-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tokenomics-hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tokenomics-text {
    max-width: 600px;
    padding: 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.tokenomics-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tokenomics-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.tokenomics-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.tokenomics-btn svg {
    transition: transform 0.3s ease;
}

.tokenomics-btn:hover svg {
    transform: translateX(5px);
}

/* Tokenomics Modal */
.tokenomics-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.token-utilities-modal h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .tokenomics-text {
        padding: 24px;
        margin: 0 10px;
    }

    .tokenomics-title {
        font-size: 28px;
    }

    .tokenomics-desc {
        font-size: 16px;
    }

    .tokenomics-modal-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.token-chart {
    display: flex;
    justify-content: center;
}

.donut-chart {
    position: relative;
    width: 280px;
    height: 280px;
}

.donut-chart svg {
    transform: rotate(-90deg);
}

.donut-segment {
    transition: var(--transition);
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.total-supply {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.total-label {
    font-size: 14px;
    color: var(--text-muted);
}

.token-distribution {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.distribution-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.distribution-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.distribution-item .label {
    flex: 1;
    color: var(--text-secondary);
}

.distribution-item .value {
    font-weight: 700;
}

.token-utilities h3 {
    text-align: center;
    margin-bottom: 32px;
}

.utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.utility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.utility-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.utility-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.utility-item:hover .utility-icon svg {
    stroke: var(--primary-light);
    transform: scale(1.1);
}

.utility-item span:last-child {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Presale Section ===== */
.presale {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f18 100%);
}

.presale-tag {
    background: var(--gradient-accent) !important;
    color: white !important;
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.presale-tag .tag-icon {
    width: 16px;
    height: 16px;
    stroke: white;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
}

.presale-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.presale-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.presale-progress {
    margin-bottom: 32px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-percent {
    font-weight: 700;
    color: var(--accent);
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-accent);
    border-radius: 6px;
    animation: progressGrow 1.5s ease-out;
}

@keyframes progressGrow {
    from {
        width: 0;
    }
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.progress-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.progress-stats .stat-value {
    font-size: 14px;
    font-weight: 600;
}

.presale-price {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.presale-price>div {
    text-align: center;
    padding: 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
}

.price-value.highlight {
    color: var(--success);
}

.roi-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.roi-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.presale-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.payment-methods {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.method {
    padding: 4px 12px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.presale-tiers h3 {
    margin-bottom: 24px;
}

.tier-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.tier-item.active {
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
}

.tier-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-status svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
}

.tier-item.active .tier-status svg {
    stroke: #f97316;
}

.tier-info {
    flex: 1;
}

.tier-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tier-name svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.tier-item.active .tier-name svg {
    stroke: #22c55e;
}

.tier-price {
    font-size: 14px;
    color: var(--text-secondary);
}

.tier-state {
    font-size: 12px;
    color: var(--text-muted);
}

.tier-state.active {
    color: var(--accent);
    font-weight: 600;
}

.presale-benefits h3 {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.presale-benefits h3 .benefits-title-icon {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-card.diamond {
    border-color: #b9f2ff;
    background: linear-gradient(135deg, rgba(185, 242, 255, 0.1) 0%, transparent 100%);
}

.benefit-card.gold {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.benefit-card.silver {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%);
}

.benefit-card.bronze {
    border-color: #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.benefit-card.diamond .benefit-icon svg {
    stroke: #60a5fa;
}

.benefit-card.gold .benefit-icon svg {
    stroke: #fbbf24;
}

.benefit-card.silver .benefit-icon svg {
    stroke: #9ca3af;
}

.benefit-name {
    font-size: 18px;
    font-weight: 700;
}

.benefit-requirement {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.benefit-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    font-size: 12px;
}

.benefit-list li strong {
    color: var(--accent);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.badge-item .badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-item .badge-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
}

/* ===== Roadmap Section ===== */
.roadmap {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.roadmap-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.roadmap-bg picture,
.roadmap-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.roadmap-hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.roadmap-text {
    max-width: 600px;
    padding: 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.roadmap-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.roadmap-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.roadmap-btn svg {
    transition: transform 0.3s ease;
}

.roadmap-btn:hover svg {
    transform: translateX(5px);
}

/* Roadmap Modal Timeline */
.roadmap-modal-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.roadmap-modal-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.roadmap-modal-timeline .timeline-item {
    display: flex;
    margin-bottom: 32px;
    position: relative;
}

.roadmap-modal-timeline .timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    text-align: right;
}

.roadmap-modal-timeline .timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.roadmap-modal-timeline .timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    z-index: 1;
}

.roadmap-modal-timeline .timeline-item.completed .timeline-marker {
    background: var(--success);
    border-color: var(--success);
}

.roadmap-modal-timeline .timeline-item.active .timeline-marker {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.roadmap-modal-timeline .timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.roadmap-modal-timeline .timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap-modal-timeline .timeline-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.roadmap-modal-timeline .timeline-content ul {
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
}

.roadmap-modal-timeline .timeline-content li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .roadmap-text {
        padding: 24px;
        margin: 0 10px;
    }

    .roadmap-title {
        font-size: 28px;
    }

    .roadmap-desc {
        font-size: 16px;
    }

    .roadmap-modal-timeline::before {
        left: 10px;
    }

    .roadmap-modal-timeline .timeline-item:nth-child(odd),
    .roadmap-modal-timeline .timeline-item:nth-child(even) {
        padding-left: 40px;
        padding-right: 0;
        text-align: left;
    }

    .roadmap-modal-timeline .timeline-marker {
        left: 10px;
    }
}

/* Original Roadmap Timeline (kept for reference) */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: var(--success);
    border-color: var(--success);
}

.timeline-item.active .timeline-marker {
    background: var(--accent);
    border-color: var(--accent);
    animation: pulse 2s infinite;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 320px;
}

.timeline-item.active .timeline-content {
    border-color: var(--accent);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.timeline-content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Partners Section ===== */
.partners {
    background: var(--bg-card);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    text-align: center;
}

.partner-placeholder {
    width: 120px;
    height: 60px;
    font-weight: 700;
}

.partner-card span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Investors Marquee Container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 64px;
    padding: 20px 0;
    /* 添加渐变遮罩，使边缘有淡出效果 */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
}

.marquee-track {
    display: flex;
    width: fit-content;
    gap: 0;
    margin-bottom: 24px;
}

.marquee-track:last-child {
    margin-bottom: 0;
}

.marquee-content {
    display: flex;
    gap: 24px;
    padding-right: 24px;
    flex-shrink: 0;
}

/* 从右往左滚动 */
.marquee-left {
    animation: marqueeLeft 30s linear infinite;
}

.marquee-left:hover {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 从左往右滚动 */
.marquee-right {
    animation: marqueeRight 30s linear infinite;
}

.marquee-right:hover {
    animation-play-state: paused;
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Investor Logo in Marquee */
.marquee-content .investor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    min-width: 160px;
    height: 80px;
    flex-shrink: 0;
}

.marquee-content .investor-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.marquee-content .investor-logo img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee-content .investor-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .marquee-content {
        gap: 16px;
        padding-right: 16px;
    }

    .marquee-content .investor-logo {
        min-width: 120px;
        height: 60px;
        padding: 12px 16px;
    }

    .marquee-content .investor-logo img {
        max-width: 90px;
        max-height: 36px;
    }

    .marquee-track {
        margin-bottom: 16px;
    }

    .marquee-left {
        animation-duration: 25s;
    }

    .marquee-right {
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .marquee-content {
        gap: 12px;
        padding-right: 12px;
    }

    .marquee-content .investor-logo {
        min-width: 100px;
        height: 50px;
        padding: 10px 12px;
    }

    .marquee-content .investor-logo img {
        max-width: 70px;
        max-height: 30px;
    }

    .marquee-left {
        animation-duration: 20s;
    }

    .marquee-right {
        animation-duration: 20s;
    }
}

.team-section h3 {
    text-align: center;
    margin-bottom: 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 32px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    font-size: 32px;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.team-card h4 {
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.cta-content {
    text-align: center;
}

.cta h2 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-title-icon {
    width: 40px;
    height: 40px;
    stroke: var(--primary-light);
    animation: rocketLaunch 2s ease-in-out infinite;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

/* 简化版 Footer */
.footer-simple {
    padding: 48px 0 32px;
}

.footer-summary {
    text-align: center;
    margin-bottom: 32px;
}

.footer-summary .logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.footer-simple .social-links {
    justify-content: center;
}

.footer-simple .social-link {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.footer-simple .social-link svg {
    width: 20px;
    height: 20px;
}

.footer-simple .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 16px 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 8px 16px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.disclaimer {
    margin-top: 12px;
    font-size: 12px !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .market-content {
        grid-template-columns: 1fr;
    }

    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .presale-main {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
    }

    /* 移动端语言选择器样式 - 保持在汉堡菜单外部 */
    .language-selector {
        order: 2;
        margin-right: 12px;
    }

    .language-current {
        padding: 6px 10px;
    }

    .current-lang-text {
        display: none;
    }

    .lang-arrow {
        width: 14px;
        height: 14px;
    }

    .language-options {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 140px;
    }

    .language-selector.active .language-options {
        transform: translateX(-50%) translateY(0);
    }

    .language-option {
        padding: 8px 10px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-item {
        min-width: 120px;
    }

    .presale-price {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 50px;
        text-align: left;
    }

    .roadmap-timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .presale-card {
        padding: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* 超小屏幕语言选择器 */
    .language-selector {
        margin-right: 8px;
    }

    .language-current {
        padding: 5px 8px;
    }

    .current-flag {
        font-size: 16px;
    }

    .lang-arrow {
        width: 12px;
        height: 12px;
    }

    .language-options {
        min-width: 130px;
    }

    .language-option {
        padding: 7px 8px;
        font-size: 12px;
    }

    .lang-flag {
        font-size: 16px;
    }

    .cta-title-icon {
        width: 28px;
        height: 28px;
    }
}

/* ===== Presale Hero Section ===== */
.presale-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.presale-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.presale-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.85) 100%);
    z-index: 1;
}

.presale-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.presale-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.presale-hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Presale Countdown */
.presale-countdown {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 24px 40px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.countdown-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.countdown-separator {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.6;
    animation: blink 1s step-start infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.2;
    }
}

@media (max-width: 600px) {
    .presale-countdown {
        padding: 20px 24px;
        width: 100%;
        max-width: 360px;
    }

    .countdown-item {
        min-width: 48px;
    }

    .countdown-value {
        font-size: 28px;
    }

    .countdown-separator {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .countdown-label {
        font-size: 13px;
    }
}

.presale-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.presale-stat {
    text-align: center;
}

.presale-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.presale-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.presale-cta {
    font-size: 18px;
    padding: 16px 48px;
    margin-bottom: 32px;
    animation: pulse 2s ease-in-out infinite;
}

.presale-hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
}

.mini-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

/* ===== Presale Modal ===== */
.presale-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.presale-modal-overlay.active {
    display: flex;
}

.presale-modal-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 95vh;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 100px rgba(0, 212, 255, 0.1);
}

.presale-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.presale-modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    transform: rotate(90deg);
}

.presale-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.presale-modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-height: 95vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Left Panel - Info */
.presale-modal-info {
    padding: 40px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: hidden;
}

.presale-modal-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.presale-modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.presale-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    font-weight: 700;
    font-size: 18px;
}

.info-value.highlight {
    color: var(--primary);
    font-size: 24px;
}

.info-value.accent {
    color: #22c55e;
}

.presale-progress-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.presale-progress-card .progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.presale-progress-card .progress-percent {
    color: var(--primary);
    font-weight: 700;
}

.presale-progress-card .progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.presale-progress-card .progress-fill {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.presale-progress-card .progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.presale-tiers-mini {
    margin-bottom: 20px;
}

.tier-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    border: 1px solid transparent;
}

.tier-mini.active {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.tier-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.tier-mini.active .tier-dot {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.tier-mini .tier-name {
    flex: 1;
    font-weight: 600;
}

.tier-mini .tier-price {
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
}

.tier-mini .tier-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.tier-mini.active .tier-status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.presale-benefits-mini {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
}

.presale-benefits-mini h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--primary);
}

.presale-benefits-mini ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.presale-benefits-mini li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.presale-benefits-mini li:last-child {
    border-bottom: none;
}

/* Right Panel - Payment */
.presale-modal-payment {
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
}

.payment-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.payment-step {
    margin-bottom: 24px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-label {
    font-weight: 600;
}

/* Token Selector */
.token-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.token-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.token-option.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.token-option img {
    width: 32px;
    height: 32px;
}

.token-option .token-name {
    font-weight: 700;
    font-size: 14px;
}

.token-option .token-network {
    font-size: 10px;
    color: var(--text-secondary);
}

/* Network Selector (for USDT/USDC) */
.network-selector {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.network-selector-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.network-selector-label svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.network-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.network-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.network-option.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.network-option img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.network-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.network-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.network-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.network-option.active .network-name {
    color: var(--primary);
}

/* QR Placeholder */
.qr-placeholder {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 600px) {
    .network-selector {
        padding: 12px;
    }

    .network-option {
        padding: 10px 12px;
    }

    .network-option img {
        width: 24px;
        height: 24px;
    }

    .network-name {
        font-size: 13px;
    }

    .network-desc {
        font-size: 10px;
    }
}

/* Amount Input */
.amount-input-group {
    margin-bottom: 16px;
}

.amount-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.amount-input-wrapper input {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.amount-input-wrapper input:focus {
    outline: none;
}

.amount-token {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.amount-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.amount-hint {
    font-size: 12px;
    margin: 0;
    padding: 8px 0;
    display: none;
}

.min-amount {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 400;
}

.preset-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.amount-conversion {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
}

.conversion-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.conversion-row.highlight {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.conversion-row.highlight span:last-child {
    color: var(--primary);
}

.conversion-row.bonus span:last-child {
    color: #22c55e;
}

.conversion-row.total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
}

.conversion-row.total span:last-child {
    color: #fbbf24;
    font-size: 18px;
}

/* QR Section */
.qr-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.qr-code-wrapper {
    flex-shrink: 0;
    text-align: center;
}

#qrCode {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 8px;
}

#qrCode canvas {
    width: 100% !important;
    height: 100% !important;
}

.qr-network {
    font-size: 12px;
    color: var(--text-secondary);
}

.address-section {
    flex: 1;
}

.address-section label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.address-wrapper {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.address-wrapper input {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: white;
    font-size: 12px;
    font-family: monospace;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.copy-btn {
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 212, 255, 0.4);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

/* Payment Instructions */
.payment-instructions {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.payment-instructions h4 {
    font-size: 14px;
    color: #ffc107;
    margin-bottom: 12px;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-instructions li {
    margin-bottom: 6px;
}

/* Order Submit */
.order-submit {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
}

.contract-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    margin-bottom: 16px;
}

.contract-notice svg {
    width: 40px;
    height: 40px;
    stroke: #22c55e;
    flex-shrink: 0;
}

.contract-notice .notice-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 6px;
}

.contract-notice .notice-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-row {
    margin-bottom: 12px;
}

.form-row input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-row input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);

}

.form-row input::placeholder {
    color: var(--text-secondary);
}

.submit-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 16px;
}

.submit-order-btn svg {
    width: 20px;
    height: 20px;
}

.order-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 16px;
}

.complete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
}

.complete-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.complete-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .presale-modal-content {
        grid-template-columns: 1fr;
    }

    .presale-modal-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 20px;
    }

    .presale-modal-payment {
        padding: 30px 20px;
    }

    .token-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .qr-section {
        flex-direction: column;
        align-items: center;
    }

    .address-section {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .presale-hero-stats {
        gap: 20px;
    }

    .presale-stat-value {
        font-size: 24px;
    }

    .token-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .amount-presets {
        flex-wrap: wrap;
    }

    .preset-btn {
        flex: 0 0 calc(50% - 4px);
    }

    .presale-modal-title {
        font-size: 22px;
    }

    .amount-input-wrapper {
        flex-wrap: nowrap;
    }

    .amount-input-wrapper input {
        font-size: 16px;
        padding: 12px;
        min-width: 0;
        width: 100%;
    }

    .amount-token {
        padding: 12px 14px;
        font-size: 13px;
        min-width: fit-content;
    }

    .address-wrapper {
        flex-direction: row;
    }

    .address-wrapper input {
        font-size: 10px;
        padding: 12px 10px;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .copy-btn {
        padding: 10px 12px;
        flex-shrink: 0;
    }
}

/* ===== Token Guide Modal ===== */
.add-token-btn {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.add-token-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
}

.add-token-btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.token-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.token-guide-overlay.active {
    display: flex;
}

.token-guide-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 100px rgba(99, 102, 241, 0.1);
}

.token-guide-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.token-guide-close:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    transform: rotate(90deg);
}

.token-guide-close svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

/* 第一层：问题说明 */
.token-guide-intro {
    padding: 48px 40px;
    text-align: center;
}

.guide-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-icon svg {
    width: 40px;
    height: 40px;
    stroke: #f59e0b;
}

.guide-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.guide-solution {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.solution-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    stroke: #22c55e;
}

.solution-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 4px;
}

.solution-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.token-guide-intro .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.token-guide-intro .btn svg {
    width: 20px;
    height: 20px;
}

/* 第二层：详细步骤 */
.token-guide-steps {
    padding: 32px 40px;
}

.guide-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.guide-back-btn:hover {
    color: var(--primary);
}

.guide-back-btn svg {
    width: 18px;
    height: 18px;
}

.steps-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-subtitle {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 24px;
}

.guide-steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guide-step {
    display: flex;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content>p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.step-image {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 合约信息 */
.contract-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contract-row:last-child {
    border-bottom: none;
}

.contract-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.contract-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.contract-address {
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    max-width: 280px;
}

.contract-address input {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 11px;
    font-family: monospace;
    min-width: 0;
}

.contract-address .copy-btn {
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contract-address .copy-btn:hover {
    background: rgba(99, 102, 241, 0.4);
}

.contract-address .copy-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.guide-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-note {
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0;
}

.guide-note strong {
    color: #f59e0b;
}

/* Token Guide Responsive */
@media (max-width: 600px) {
    .token-guide-container {
        max-height: 95vh;
    }

    .token-guide-intro {
        padding: 40px 24px;
    }

    .guide-icon {
        width: 64px;
        height: 64px;
    }

    .guide-icon svg {
        width: 32px;
        height: 32px;
    }

    .guide-title {
        font-size: 20px;
    }

    .guide-desc {
        font-size: 14px;
    }

    .guide-solution {
        flex-direction: column;
        text-align: center;
    }

    .token-guide-steps {
        padding: 24px 20px;
    }

    .steps-title {
        font-size: 18px;
    }

    .guide-step {
        flex-direction: column;
        gap: 12px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-content h4 {
        font-size: 15px;
    }

    .contract-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contract-address {
        max-width: 100%;
        width: 100%;
    }

    .contract-address input {
        font-size: 10px;
    }
}