:root {
    /* Brand colors */
    --red-primary: #E53935;
    --red-deep: #C62828;
    --red-bright: #FF5252;
    --gold: #FFB300;
    --gold-light: #FFD54F;

    /* Category colors (from app) */
    --cat-work: #2196F3;
    --cat-housing: #4CAF50;
    --cat-ads: #4CAF50;
    --cat-places: #FF9800;

    /* Dark theme (default) */
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-card: #2C2C2E;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --mist: rgba(255, 255, 255, 0.08);

    /* Legacy variables */
    --ink: #1A1A1A;
    --ink-soft: #2D2D2D;
    --paper: #FAF8F5;
    --paper-warm: #F5F0E8;
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-dramatic: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Light theme */
body.light-theme {
    --bg-primary: #F2F2F7;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --border-color: rgba(0, 0, 0, 0.08);
    --mist: rgba(0, 0, 0, 0.04);

    --ink: #F2F2F7;
    --ink-soft: #E5E5EA;
    --paper: #1A1A1A;
    --paper-warm: #2D2D2D;
}

/* ==================== THEME TOGGLE - iOS STYLE ==================== */
.theme-toggle-wrapper {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.theme-toggle {
    position: relative;
    width: 70px;
    height: 38px;
    border: none;
    background: #3A3A3C;
    border-radius: 19px;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle:focus {
    outline: none;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    position: absolute;
    width: 18px;
    height: 18px;
    color: #1A1A1A;
    transition: opacity 0.3s ease;
}

.toggle-icon-moon {
    opacity: 1;
}

.toggle-icon-sun {
    opacity: 0;
}

/* Light theme - toggle ON state */
body.light-theme .theme-toggle {
    background: var(--red-primary);
}

body.light-theme .toggle-thumb {
    transform: translateX(32px);
}

body.light-theme .toggle-icon-moon {
    opacity: 0;
}

body.light-theme .toggle-icon-sun {
    opacity: 1;
}


@media (max-width: 768px) {
    .theme-toggle-wrapper {
        top: 1rem;
        right: 1rem;
    }

    .theme-toggle {
        width: 52px;
        height: 32px;
        border-radius: 16px;
    }

    .toggle-thumb {
        top: 2px;
        left: 2px;
        width: 28px;
        height: 28px;
    }

    .toggle-icon {
        width: 16px;
        height: 16px;
    }

    body.light-theme .toggle-thumb {
        transform: translateX(20px);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--ink);
    color: var(--paper);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Chinese character decorative elements */
.cn-char {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 300;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink) 0%, #0D0D0D 50%, var(--ink-soft) 100%);
}

/* Animated background pattern - Chinese lattice inspired */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, var(--mist) 1px, transparent 1px),
        linear-gradient(var(--mist) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    animation: patternShift 20s linear infinite;
}

@keyframes patternShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* Floating Russian marketplace phrases */
.floating-chars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-char {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    opacity: 0.07;
    color: var(--paper);
    white-space: nowrap;
    animation: floatText 40s linear infinite;
}

.floating-char.chat-message {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* Evenly distributed - left column */
.floating-char:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; }
.floating-char:nth-child(2) { top: 20%; left: 12%; animation-delay: -3s; }
.floating-char:nth-child(3) { top: 35%; left: 6%; animation-delay: -6s; }
.floating-char:nth-child(4) { top: 50%; left: 14%; animation-delay: -9s; }
.floating-char:nth-child(5) { top: 65%; left: 8%; animation-delay: -12s; }
.floating-char:nth-child(6) { top: 80%; left: 10%; animation-delay: -15s; }
/* Evenly distributed - right column */
.floating-char:nth-child(7) { top: 8%; right: 8%; left: auto; animation-delay: -2s; }
.floating-char:nth-child(8) { top: 22%; right: 5%; left: auto; animation-delay: -5s; }
.floating-char:nth-child(9) { top: 38%; right: 12%; left: auto; animation-delay: -8s; }
.floating-char:nth-child(10) { top: 52%; right: 6%; left: auto; animation-delay: -11s; }
.floating-char:nth-child(11) { top: 68%; right: 10%; left: auto; animation-delay: -14s; }
.floating-char:nth-child(12) { top: 82%; right: 7%; left: auto; animation-delay: -17s; }
/* Second layer - left */
.floating-char:nth-child(13) { top: 12%; left: 20%; animation-delay: -1s; }
.floating-char:nth-child(14) { top: 42%; left: 22%; animation-delay: -4s; }
.floating-char:nth-child(15) { top: 72%; left: 18%; animation-delay: -7s; }
/* Second layer - right */
.floating-char:nth-child(16) { top: 15%; right: 18%; left: auto; animation-delay: -10s; }
.floating-char:nth-child(17) { top: 45%; right: 20%; left: auto; animation-delay: -13s; }
.floating-char:nth-child(18) { top: 75%; right: 16%; left: auto; animation-delay: -16s; }
/* Top center area */
.floating-char:nth-child(19) { top: 3%; left: 35%; animation-delay: -19s; }
.floating-char:nth-child(20) { top: 8%; left: 55%; animation-delay: -20s; }
.floating-char:nth-child(21) { top: 12%; left: 42%; animation-delay: -21s; }

@keyframes floatText {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.12; }
    25% { transform: translateY(-15px) translateX(8px); opacity: 0.08; }
    50% { transform: translateY(10px) translateX(-10px); opacity: 0.15; }
    75% { transform: translateY(-8px) translateX(12px); opacity: 0.06; }
    90% { opacity: 0.1; }
    100% { transform: translateY(0) translateX(0); opacity: 0; }
}

/* Mobile: hide most floating chars, show only 6 well-spaced ones */
@media (max-width: 768px) {
    .floating-char {
        font-size: 11px;
        opacity: 0.05;
    }

    /* Hide all except 6 carefully positioned ones */
    .floating-char:nth-child(n+7) {
        display: none;
    }

    /* Reposition the 6 visible ones to edges only */
    .floating-char:nth-child(1) { top: 5%; left: 3%; }
    .floating-char:nth-child(2) { top: 18%; right: 3%; left: auto; }
    .floating-char:nth-child(3) { top: 75%; left: 3%; }
    .floating-char:nth-child(4) { top: 88%; right: 3%; left: auto; }
    .floating-char:nth-child(5) { top: 35%; left: 2%; }
    .floating-char:nth-child(6) { top: 60%; right: 2%; left: auto; }
}

/* Red accent line */
.red-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-deep) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

/* Logo mark - app icon */
.logo-mark {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 22px;
    position: relative;
    animation: logoReveal 1s ease-out;
    box-shadow: 0 10px 40px rgba(229, 57, 53, 0.4);
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes logoReveal {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    animation: titleSlide 1s ease-out 0.3s both;
}

.hero-title span {
    color: var(--red-primary);
}

@keyframes titleSlide {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-subtitle-cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3em;
    animation: titleSlide 1s ease-out 0.5s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.85;
    line-height: 1.8;
    animation: titleSlide 1s ease-out 0.7s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: titleSlide 1s ease-out 0.9s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--red-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    background: var(--red-bright);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 57, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--paper);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--paper), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ==================== PROBLEM/SOLUTION SECTION ==================== */
.problem-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
    position: relative;
}

.problem-container {
    max-width: 1100px;
    margin: 0 auto;
}

.problem-header {
    text-align: center;
    margin-bottom: 4rem;
}

.problem-header .section-title {
    color: var(--paper);
    line-height: 1.3;
}

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

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

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.problem-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--red-primary);
    opacity: 0.8;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 0.5rem;
}

.problem-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.why-us {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.why-us-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 1.5rem;
}

.why-us-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    line-height: 1.7;
    color: var(--paper);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 768px) {
    .why-us-text {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
        padding: 0 0.5rem;
    }
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.why-us-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--paper);
    padding-left: 1.5rem;
    position: relative;
}

.why-us-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
}

body.light-theme .why-us-list li {
    color: #1A1A1A;
}

.highlight {
    background: var(--paper);
    color: var(--ink);
    padding: 0.1em 0.3em;
    font-weight: 600;
}

/* ==================== DOWNLOAD CTA - Bold Split + Neon ==================== */
.download-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(229, 57, 53, 0.15);
    position: relative;
}

/* Left panel - dark with content */
.download-cta-left {
    background: linear-gradient(145deg, #0a0a0a 0%, #151515 100%);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern */
.download-cta-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.download-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: white;
    margin-bottom: 2.5rem;
    position: relative;
}

.download-cta-title span {
    display: block;
    color: var(--red-primary);
    text-shadow:
        0 0 20px rgba(229, 57, 53, 0.5),
        0 0 40px rgba(229, 57, 53, 0.3);
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.download-feature:hover {
    color: white;
    padding-left: 0.5rem;
}

.download-feature:last-child {
    border-bottom: none;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
    box-shadow:
        0 0 10px var(--red-primary),
        0 0 20px rgba(229, 57, 53, 0.5);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow:
            0 0 10px var(--red-primary),
            0 0 20px rgba(229, 57, 53, 0.5);
    }
    50% {
        box-shadow:
            0 0 15px var(--red-primary),
            0 0 30px rgba(229, 57, 53, 0.7);
    }
}

/* Right panel - red with buttons */
.download-cta-right {
    background: linear-gradient(145deg, var(--red-primary) 0%, var(--red-deep) 100%);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal cut effect */
.download-cta-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60px;
    width: 120px;
    height: 100%;
    background: linear-gradient(145deg, #0a0a0a 0%, #151515 100%);
    transform: skewX(-6deg);
}

/* Glow orbs */
.download-cta-right::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 1;
}

.download-btn-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.download-btn-text {
    text-align: left;
}

.download-btn-text span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 2px;
}

.download-btn-text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

/* QR Code inline */
.download-qr-code {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.download-qr-code:hover {
    transform: scale(1.08);
}

.download-qr-code svg {
    width: 100%;
    height: 100%;
}

/* ==================== DOWNLOAD HERO - Clean & Focused ==================== */
.download-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem;
}

.download-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--ink) 0%, #0a0a0a 100%);
}

.download-hero-bg .hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 60%, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
}

.download-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.download-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.download-app-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.download-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.download-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 220px;
}

.download-card:hover {
    transform: translateY(-4px);
}

/* Apple card hover - Apple blue */
.download-card:first-child:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.35) 0%, rgba(0, 122, 255, 0.2) 100%);
    border-color: rgba(0, 122, 255, 0.6);
    box-shadow:
        0 20px 40px rgba(0, 122, 255, 0.3),
        0 0 30px rgba(0, 122, 255, 0.2);
}

/* Google card hover - multicolor gradient */
.download-card:last-child:hover {
    background: linear-gradient(135deg,
        rgba(66, 133, 244, 0.35) 0%,
        rgba(234, 67, 53, 0.25) 33%,
        rgba(251, 188, 5, 0.25) 66%,
        rgba(52, 168, 83, 0.35) 100%);
    border-color: rgba(66, 133, 244, 0.6);
    box-shadow:
        0 20px 40px rgba(66, 133, 244, 0.25),
        0 0 30px rgba(234, 67, 53, 0.15),
        0 0 30px rgba(52, 168, 83, 0.15);
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-card-logo {
    width: 28px;
    height: 28px;
    fill: white;
}

.download-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.download-card-qr {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.qr-placeholder svg {
    width: 80%;
    height: 80%;
    fill: #ddd;
}

.download-card-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Light theme for download hero */
body.light-theme .download-hero-bg {
    background: linear-gradient(180deg, #F2F2F7 0%, #E5E5EA 100%);
}

body.light-theme .download-hero-bg .hero-gradient {
    background: radial-gradient(ellipse 60% 60% at 50% 60%, rgba(229, 57, 53, 0.05) 0%, transparent 70%);
}

body.light-theme .download-app-name,
body.light-theme .download-title {
    color: #1A1A1A;
}

body.light-theme .download-card {
    background: white;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Apple card hover - Apple blue in light theme */
body.light-theme .download-card:first-child:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(0, 122, 255, 0.1) 100%);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 122, 255, 0.2),
        0 0 20px rgba(0, 122, 255, 0.1);
}

/* Google card hover - multicolor in light theme */
body.light-theme .download-card:last-child:hover {
    background: linear-gradient(135deg,
        rgba(66, 133, 244, 0.2) 0%,
        rgba(234, 67, 53, 0.15) 33%,
        rgba(251, 188, 5, 0.15) 66%,
        rgba(52, 168, 83, 0.2) 100%);
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow:
        0 20px 40px rgba(66, 133, 244, 0.2),
        0 0 20px rgba(234, 67, 53, 0.1);
}

body.light-theme .download-card-logo {
    fill: #1A1A1A;
}

body.light-theme .download-card-name {
    color: #1A1A1A;
}

body.light-theme .download-card-hint {
    color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .download-cards {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        width: 100%;
        max-width: 280px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .download-cta {
        grid-template-columns: 1fr;
    }

    .download-cta-left {
        padding: 3rem 2rem;
    }

    .download-cta-right {
        padding: 3rem 2rem;
    }

    .download-cta-right::before {
        top: -60px;
        left: 0;
        width: 100%;
        height: 120px;
        transform: skewY(-3deg);
    }

    .download-cta-title {
        text-align: center;
    }

    .download-buttons {
        max-width: 100%;
    }
}

/* ==================== LISTINGS SECTION ==================== */
.listings-section {
    padding: 3rem 2rem 5rem;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 50%, var(--ink) 100%);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cat-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cat-tab.active {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

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

.listing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.listing-image {
    height: 140px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.listing-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.listing-badge {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
}

.listing-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100px;
}

.listing-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.listing-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: auto;
}

.listing-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red-primary);
    align-self: flex-end;
    margin-top: 0.5rem;
}

.listing-price span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
}

.listing-rating {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--red-primary);
    align-self: flex-end;
    margin-top: 0.5rem;
}

/* List-style listings */
.listings-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--ink);
    transition: all 0.2s ease;
    cursor: pointer;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.list-item.hidden {
    display: none;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--red-primary);
    margin-bottom: 0.35rem;
}

.list-item-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.list-item-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--red-primary);
    white-space: nowrap;
    margin-left: 1rem;
}

.list-item-price span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
}

.list-item-rating {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    margin-left: 1rem;
}

@media (max-width: 600px) {
    .list-item {
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .list-item-price,
    .list-item-rating {
        margin-left: 0;
        align-self: flex-end;
    }
}

.listings-cta {
    text-align: center;
    margin-top: 3rem;
}

.listings-cta p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

/* ==================== CITIES SECTION ==================== */
.cities {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 300;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

/* Old city-card styles removed - using city-section styles below */

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 8rem 2rem;
    background: var(--paper);
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

/* Decorative ink splash */
.features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(229, 57, 53, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.feature-item {
    position: relative;
    padding-left: 5rem;
}

.feature-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--red-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 30px rgba(229, 57, 53, 0.3);
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.75;
}

/* ==================== CITY EXPLORER SECTION ==================== */
.city-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 50%, var(--ink) 100%);
}

.city-container {
    max-width: 1200px;
    margin: 0 auto;
}

.city-header {
    text-align: center;
    margin-bottom: 3rem;
}

.city-subtitle {
    font-size: 1.15rem;
    color: var(--paper);
    opacity: 0.7;
    margin-top: 1rem;
    line-height: 1.7;
}

.city-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.city-selector-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    color: var(--paper);
    cursor: default;
    transition: all 0.3s ease;
}

.city-selector-demo:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--red-primary);
}

.city-selector-icon {
    width: 20px;
    height: 20px;
    color: var(--red-primary);
}

.city-selector-chevron {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

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

.city-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.city-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* City-specific hover colors matching badges */
.city-card[data-city="shanghai"]:hover {
    border-color: var(--red-primary);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.2);
}

.city-card[data-city="shenzhen"]:hover {
    border-color: var(--cat-work);
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.2);
}

.city-card[data-city="beijing"]:hover {
    border-color: var(--cat-places);
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.2);
}

.city-card[data-city="guangzhou"]:hover {
    border-color: var(--cat-housing);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.2);
}

.city-card-header {
    margin-bottom: 0.75rem;
}

.city-name {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.city-name-ru {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--paper);
    line-height: 1;
}

.city-name-cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.8rem;
    color: var(--paper);
    opacity: 0.4;
}

.city-flag {
    font-size: 1.5rem;
}

.city-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
}

.city-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--paper);
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.city-tag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    background: var(--red-primary);
    color: white;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Different tags for cities */
.city-card[data-city="shenzhen"] .city-tag {
    background: var(--cat-work);
}

.city-card[data-city="beijing"] .city-tag {
    background: var(--cat-places);
}

.city-card[data-city="guangzhou"] .city-tag {
    background: var(--cat-housing);
}

.city-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--red-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--paper);
    opacity: 0.85;
}

.benefit-text strong {
    color: var(--red-primary);
    opacity: 1;
}

/* City section responsive */
@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .city-benefit {
        flex-direction: column;
        text-align: center;
    }

    .city-subtitle br {
        display: none;
    }
}

/* ==================== DOWNLOAD SECTION ==================== */
.download-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.download-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(229, 57, 53, 0.4);
}

.download-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.download-container h2 span {
    color: var(--gold);
}

.download-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.app-stores {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .app-stores { justify-content: center; }
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--paper);
    transition: all 0.3s ease;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.store-badge svg {
    width: 28px;
    height: 28px;
}

.store-badge-text {
    text-align: left;
}

.store-badge-text span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-badge-text strong {
    font-size: 1rem;
    font-weight: 600;
}

.phone-mockups {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-dramatic), 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone:nth-child(2) {
    position: absolute;
    left: 60%;
    transform: rotateY(-15deg) translateZ(-50px);
    opacity: 0.7;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-deep) 30%, var(--ink) 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    padding: 3rem 1.5rem 1.5rem;
    text-align: center;
}

.phone-screen-app {
    display: flex;
    flex-direction: column;
    background: var(--ink) !important;
}

.phone-city-header {
    background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-deep) 100%);
    padding: 2.5rem 1rem 1.5rem;
    text-align: center;
}

.phone-city-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
}

.phone-city-cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    opacity: 0.8;
    color: white;
}

.phone-categories-row {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    overflow-x: auto;
    background: var(--ink);
}

.phone-cat-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.65rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
}

.phone-cat-item.phone-cat-active {
    background: var(--red-primary);
    color: white;
}

.phone-cat-icon {
    font-size: 0.8rem;
}

.phone-feed {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--ink);
}

.phone-feed-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.75rem;
}

.phone-feed-title {
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: white;
}

.phone-feed-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
}

.phone-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-nav-item {
    opacity: 0.5;
}

.phone-nav-item.phone-nav-active {
    opacity: 1;
}

.phone-nav-icon {
    font-size: 1.25rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 8rem 2rem;
    background: var(--paper-warm);
    color: var(--ink);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--red-primary);
    opacity: 0.1;
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red-primary), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ==================== CTA SECTION ==================== */
.cta {
    padding: 10rem 2rem;
    background: var(--red-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '在中国';
    font-family: 'Noto Sans SC', sans-serif;
    font-size: clamp(100px, 30vw, 400px);
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    white-space: nowrap;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta .btn-primary {
    background: white;
    color: var(--red-primary);
}

.cta .btn-primary:hover {
    background: var(--gold);
    color: var(--ink);
}

.cta-stores {
    justify-content: center;
}

.cta-stores .store-badge {
    background: white;
    border-color: white;
    color: var(--ink);
}

.cta-stores .store-badge:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--ink);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
}

.footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--paper);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-telegram {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-telegram::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
}

.footer-telegram:hover {
    transform: scale(1.08);
}

.footer-telegram:hover::before {
    opacity: 0.4;
    transform: scale(1);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.15); }
}

.footer-telegram svg {
    width: 26px;
    height: 26px;
}

.footer-telegram-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-telegram-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ==================== ANIMATIONS ON SCROLL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    .hero-content { padding: 1rem; }
    .logo-mark { width: 80px; height: 80px; }
    .logo-mark::after { font-size: 40px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
    .features { padding: 5rem 1.5rem; }
    .feature-item { padding-left: 4rem; }
    .feature-icon { width: 50px; height: 50px; font-size: 1.25rem; }
    .phone { width: 240px; height: 500px; }
    .phone:nth-child(2) { display: none; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; }
}

/* ==================== LIGHT THEME OVERRIDES ==================== */
body.light-theme {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Hero section - light */
body.light-theme .hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F2F2F7 50%, #FFFFFF 100%);
}

body.light-theme .hero::before {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
}

body.light-theme .hero-title {
    color: #1A1A1A;
}

body.light-theme .hero-title span {
    color: var(--red-primary);
}

body.light-theme .hero-description {
    color: #444444;
}

body.light-theme .floating-char {
    color: var(--red-primary);
    opacity: 0.08;
}

body.light-theme .red-accent {
    background: linear-gradient(135deg, var(--red-primary) 0%, #FF6B6B 100%);
    opacity: 0.15;
}

body.light-theme .btn-secondary {
    color: #1A1A1A;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .btn-secondary:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
}

body.light-theme .scroll-indicator span {
    color: #666666;
}

body.light-theme .scroll-indicator::after {
    background: linear-gradient(180deg, #666666, transparent);
}

/* Problem section - light */
body.light-theme .problem-section {
    background: linear-gradient(180deg, #E5E5EA 0%, #F2F2F7 100%);
}

body.light-theme .section-title,
body.light-theme .problem-name,
body.light-theme .why-us-text {
    color: #1A1A1A;
}

body.light-theme .problem-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .problem-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .problem-text {
    color: #666666;
}

body.light-theme .highlight {
    background: var(--red-primary);
    color: white;
}

/* Listings section - light */
body.light-theme .listings-section {
    background: linear-gradient(180deg, #F2F2F7 0%, #E5E5EA 50%, #F2F2F7 100%);
}

body.light-theme .cat-tab {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #666666;
}

body.light-theme .cat-tab:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1A1A1A;
}

body.light-theme .cat-tab.active {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

body.light-theme .listing-card {
    background: white;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .listing-card:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .listing-title {
    color: #1A1A1A;
}

body.light-theme .listing-location {
    color: #666666;
}

/* City section - light */
body.light-theme .city-section {
    background: linear-gradient(180deg, #F2F2F7 0%, #E5E5EA 50%, #F2F2F7 100%);
}

body.light-theme .city-header .section-label {
    color: var(--red-primary);
}

body.light-theme .city-header .section-title {
    color: #1A1A1A;
}

body.light-theme .city-subtitle {
    color: #666666;
    opacity: 1;
}

body.light-theme .city-section .city-card {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .city-section .city-card::before {
    display: none;
}

body.light-theme .city-section .city-card:hover {
    background: #FFFFFF !important;
    border-color: var(--red-primary);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.15);
}

body.light-theme .city-section .city-name-ru {
    color: #1A1A1A;
}

body.light-theme .city-section .city-name-cn {
    color: #888888;
    opacity: 1;
}

body.light-theme .city-section .stat-value {
    color: #1A1A1A;
}

body.light-theme .city-section .stat-label {
    color: #888888;
    opacity: 1;
}

body.light-theme .city-section .city-card-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .city-benefit {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .benefit-text {
    color: #444444;
    opacity: 1;
}

/* Download section - light */
body.light-theme .download-section {
    background: linear-gradient(180deg, #E5E5EA 0%, #F2F2F7 100%);
}

body.light-theme .download-cta-left {
    background: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 100%);
}

body.light-theme .download-cta-left::before {
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

body.light-theme .download-cta-title {
    color: #1A1A1A;
}

body.light-theme .download-feature {
    color: #666666;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .download-feature:hover {
    color: #1A1A1A;
}

body.light-theme .download-cta-right::before {
    background: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 100%);
}

/* Footer - light */
body.light-theme footer {
    background: #F2F2F7;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .footer-logo-text {
    color: #1A1A1A;
}

body.light-theme .footer-links a {
    color: #1A1A1A;
}

body.light-theme .footer-social a {
    background: rgba(0, 0, 0, 0.06);
    color: #1A1A1A;
}

body.light-theme .footer-social a:hover {
    background: var(--red-primary);
    color: white;
}

body.light-theme .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.08);
    color: #666666;
}

/* ==================== MODAL STYLES ==================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    padding: 2rem 2rem 0.5rem;
    margin: 0;
}

.modal-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 2rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 1.5rem 0 0.75rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1rem;
}

.modal-body ul {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.modal-body li strong {
    color: white;
}

.modal-body a {
    color: var(--red-primary);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--red-primary);
}

/* Light theme modal */
body.light-theme .modal-content {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modal-content h2 {
    color: #1A1A1A;
}

body.light-theme .modal-date {
    color: rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modal-body h3 {
    color: #1A1A1A;
}

body.light-theme .modal-body p,
body.light-theme .modal-body li {
    color: #444444;
}

body.light-theme .modal-body li strong {
    color: #1A1A1A;
}

body.light-theme .modal-close {
    background: rgba(0, 0, 0, 0.08);
    color: #1A1A1A;
}

body.light-theme .modal-close:hover {
    background: var(--red-primary);
    color: white;
}

@media (max-width: 600px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-content h2 {
        font-size: 1.25rem;
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .modal-date {
        padding: 0 1.5rem 1rem;
    }

    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Category badge colors */
.listing-badge[data-cat="housing"],
.cat-tab[data-category="housing"].active {
    background: var(--cat-housing);
}

.listing-badge[data-cat="jobs"],
.cat-tab[data-category="jobs"].active {
    background: var(--cat-work);
}

.listing-badge[data-cat="ads"],
.cat-tab[data-category="ads"].active {
    background: var(--cat-ads);
}

.listing-badge[data-cat="places"],
.cat-tab[data-category="places"].active {
    background: var(--cat-places);
}
