:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6;
    /* Blue for AI/Tech vibe */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(59, 130, 246, 0.15);
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Effects */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.background-glob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    filter: blur(80px);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.container {
    text-align: center;
    padding: 1rem;
    max-width: 800px;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.domain-name {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff 20%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.4;
}

/* Contact Card */
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-card h2 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    border: 1px solid transparent;
}

.email-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.email-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    /* font-family: monospace;
    Monospace makes emails easier to read */
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.copy-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.email-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    color: black;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.copy-btn:hover .tooltip {
    /* Tooltip visible on hover is disabled to avoid clutter, enabled usually via JS click */
    /* opacity: 1; transform: translateX(-50%) translateY(-5px); */
}

/* Footer */
footer {
    margin-top: 4rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsiveness */
@media (max-width: 600px) {
    .domain-name {
        font-size: 15vw;
    }

    .email-text {
        font-size: 1.125rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* Market Benchmark Section */
.market-benchmark {
    margin-bottom: 3rem;
    width: 100%;
}

.benchmark-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    /* Gold hint */
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.benchmark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1), transparent 40%);
    pointer-events: none;
}

.benchmark-card h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffd700;
    /* Gold */
    margin-bottom: 1rem;
    opacity: 0.8;
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.price-tag .currency {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-tag .amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffd700, #ffec8b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.price-tag .year {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.benchmark-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.benchmark-desc strong {
    color: #fff;
    font-weight: 700;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.1s linear, background 0.1s linear, border-color 0.1s linear;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top aligned */
    min-height: 200px;
    /* Increased height for presence */
    --progress: 0;
}

/* Mobile Continuous Scroll Logic for Value Items */
@media (max-width: 600px) {
    .value-item {
        transform: scale(calc(1 + (var(--progress) * 0.05)));
    }
}

/* 1. China's Identity - Red Theme */
.value-item:nth-child(1) {
    border-color: rgba(230, 0, 0, calc(0.1 + (var(--progress) * 0.5)));
    background: linear-gradient(180deg, rgba(230, 0, 0, calc(0.02 + (var(--progress) * 0.1))) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.value-item:nth-child(1)::before {
    color: rgba(230, 0, 0, calc(0.05 + (var(--progress) * 0.1)));
}

/* 2. Scarcity - Blue/Diamond Theme */
.value-item:nth-child(2) {
    border-color: rgba(0, 200, 255, calc(0.1 + (var(--progress) * 0.5)));
    background: linear-gradient(180deg, rgba(0, 200, 255, calc(0.02 + (var(--progress) * 0.1))) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.value-item:nth-child(2)::before {
    color: rgba(0, 200, 255, calc(0.05 + (var(--progress) * 0.1)));
}

/* 3. Potential - Purple/Gold Theme */
.value-item:nth-child(3) {
    border-color: rgba(160, 32, 240, calc(0.1 + (var(--progress) * 0.5)));
    background: linear-gradient(180deg, rgba(160, 32, 240, calc(0.02 + (var(--progress) * 0.1))) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.value-item:nth-child(3)::before {
    color: rgba(160, 32, 240, calc(0.05 + (var(--progress) * 0.1)));
}

.value-item::before {
    content: attr(data-index);
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.1s linear;
}

/* Desktop Hover Logic (retains some interactivity on desktop) */
.value-item:hover {
    transform: translateY(-5px);
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    z-index: 1;
    position: relative;
}

.value-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    z-index: 1;
    position: relative;
}

@media (max-width: 600px) {
    .value-grid {
        grid-template-columns: 1fr;
    }

    .price-tag .amount {
        font-size: 2.5rem;
    }

    .lang-switch-container {
        top: 1rem;
        right: 1rem;
    }
}

/* Language Switcher */
.lang-switch-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.lang-icon {
    width: 1rem;
    height: 1rem;
}

/* Bilingual Visibility Logic */
.lang-en {
    display: none;
}

.lang-zh {
    display: inline;
}

/* When English mode is active */
body.en-mode .lang-en {
    display: inline;
}

body.en-mode .lang-zh {
    display: none;
}

/* Future Vision Section */
.future-vision {
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

.vision-content {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.vision-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.vision-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
    /* Light purple */
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.vision-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vision-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.vision-content p strong {
    color: #fff;
    font-weight: 600;
}

.vision-highlight {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.vision-highlight p {
    margin: 0;
    color: #fff;
    font-style: italic;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .vision-content h2 {
        font-size: 1.25rem;
    }
}

/* Multimodal Evolution Section */
.multimodal-evolution {
    margin-bottom: 3rem;
    width: 100%;
    text-align: center;
}

.mm-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ff4d4d, #f9cb28);
    /* Red to Yellow */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.mm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.1s linear, background 0.1s linear, border-color 0.1s linear;
    /* Use quick linear transition to follow JS updates smoothly */
    position: relative;
    overflow: hidden;
    /* Initialize progress var */
    --progress: 0;
}

/* Desktop Hover (still valid) */
@media (hover: hover) {
    .mm-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Mobile Continuous Scroll Logic */
/* We use calc() to interpolate values based on --progress (0 to 1) */
.mm-card {
    transform: scale(calc(1 + (var(--progress) * 0.05)));
    /* Scale from 1.0 to 1.05 */
}

.mm-card.video {
    border-color: rgba(255, 77, 77, calc(0.05 + (var(--progress) * 0.6)));
    background: rgba(255, 77, 77, calc(0 + (var(--progress) * 0.1)));
}

.mm-card.image {
    border-color: rgba(249, 203, 40, calc(0.05 + (var(--progress) * 0.6)));
    background: rgba(249, 203, 40, calc(0 + (var(--progress) * 0.1)));
}

.mm-card.music {
    border-color: rgba(59, 130, 246, calc(0.05 + (var(--progress) * 0.6)));
    background: rgba(59, 130, 246, calc(0 + (var(--progress) * 0.1)));
}

.mm-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 56px;
}

.mm-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.2px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

/* Enhances the spotlight effect on mobile too */
.mm-card:hover .mm-icon svg,
.mm-card.active .mm-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.mm-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.mm-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mm-footer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .mm-grid {
        grid-template-columns: 1fr;
    }
}

footer .copyright {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

footer .credit {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}