/* Ubuntu Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #e95420 0%, #772953 50%, #2c001e 100%);
    height: 100vh;
    overflow: hidden;
}

/* Ubuntu Desktop */
.ubuntu-desktop {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.top-bar {
    height: 32px;
    background: rgba(44, 0, 30, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    color: white;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.top-bar-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.top-bar-left {
    flex: 0 0 auto;
}

.top-bar-right {
    flex: 0 0 auto;
}

.task-manager-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    font-weight: 500;
    color: inherit;
}

.task-manager-button:hover {
    background: rgba(128, 128, 128, 0.1);
}

.task-manager-button.active {
    background: rgba(233, 84, 32, 0.3);
    color: #e95420;
}

.task-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 16px;
    height: 12px;
}

.task-icon-bar {
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.2s;
}

.task-icon-bar:nth-child(1) {
    width: 16px;
}

.task-icon-bar:nth-child(2) {
    width: 12px;
}

.task-icon-bar:nth-child(3) {
    width: 8px;
}

/* Task Manager Overview Mode */
.ubuntu-desktop.overview-mode {
    background: rgba(0, 0, 0, 0.85);
}

.ubuntu-desktop.overview-mode .desktop-content {
    background: rgba(0, 0, 0, 0.6);
}

.overview-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
    display: none;
}

.overview-container.active {
    display: block;
}

.overview-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.overview-header h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.overview-header p {
    font-size: 1rem;
    opacity: 0.8;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 2px solid rgba(233, 84, 32, 0.3);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.overview-card:hover {
    border-color: #e95420;
    box-shadow: 0 12px 40px rgba(233, 84, 32, 0.4);
    transform: translateY(-4px);
}

.overview-card-preview {
    padding: 16px;
}

.overview-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.overview-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c001e;
    flex: 1;
}

.overview-card-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(233, 84, 32, 0.1);
    color: #e95420;
    font-weight: 500;
}

.overview-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overview-card-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e95420, #ff6b35);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(233, 84, 32, 0.3);
}

.overview-card-info {
    flex: 1;
}

.overview-card-app {
    font-size: 18px;
    font-weight: 600;
    color: #2c001e;
    margin-bottom: 4px;
}

.overview-card-desc {
    font-size: 14px;
    color: #666;
}

.clock {
    font-weight: 500;
    font-size: 11px;
}

.system-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.beian-link {
    font-size: 11px;
    color: inherit;
    opacity: 0.7;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.beian-link:hover {
    opacity: 0.9;
    background: rgba(128, 128, 128, 0.1);
    border-color: rgba(128, 128, 128, 0.2);
    text-decoration: none;
}

.theme-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: inherit;
    opacity: 0.8;
}

.theme-switcher:hover {
    background: rgba(128, 128, 128, 0.1);
    opacity: 1;
}

.indicator {
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    color: inherit;
}

.indicator:hover {
    background: rgba(128, 128, 128, 0.1);
}

/* WeChat Icon Specific Styles */
#wechat-qr svg {
    color: #07C160 !important; /* 微信绿色 */
}

#wechat-qr:hover {
    background: rgba(7, 193, 96, 0.1); /* 微信绿色的半透明背景 */
}

/* Weather Display */
.weather-display {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.weather-display:hover {
    background: rgba(128, 128, 128, 0.1);
}

.weather-icon {
    font-size: 14px;
    line-height: 1;
}

.weather-temp {
    font-weight: 600;
    min-width: 35px;
}

.weather-location {
    font-size: 11px;
    opacity: 0.8;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Desktop Content */
.desktop-content {
    flex: 1;
    display: flex;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

/* Remove Ubuntu Applications Menu styles - no longer needed */

/* Ubuntu Style Dock */
.mac-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.dock-container {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: linear-gradient(135deg,
        rgba(60, 60, 60, 0.95) 0%,
        rgba(40, 40, 40, 0.95) 50%,
        rgba(30, 30, 30, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 64px;
    max-width: 85%;
    overflow: visible;
    position: relative;
}

.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    border-radius: 12px;
    min-width: 56px;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.dock-item.active {
    background: linear-gradient(135deg,
        rgba(233, 84, 32, 0.3) 0%,
        rgba(233, 84, 32, 0.2) 100%);
    border: 1px solid rgba(233, 84, 32, 0.6);
    box-shadow: 0 4px 12px rgba(233, 84, 32, 0.3);
}

.dock-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #e95420, #ff6b35);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(233, 84, 32, 0.5);
}

.dock-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dock-icon:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dock-icon svg {
    width: 32px;
    height: 32px;
}

/* Ubuntu风格的现代图标颜色 */
.dock-item[data-view="home"] .dock-icon svg {
    color: #4CAF50; /* 绿色 - 首页 */
    filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
}

.dock-item[data-view="products"] .dock-icon svg {
    color: #2196F3; /* 蓝色 - 产品 */
    filter: drop-shadow(0 2px 4px rgba(33, 150, 243, 0.3));
}

.dock-item[data-view="solutions"] .dock-icon svg {
    color: #FF9800; /* 橙色 - 方案 */
    filter: drop-shadow(0 2px 4px rgba(255, 152, 0, 0.3));
}

.dock-item[data-view="about"] .dock-icon svg {
    color: #9C27B0; /* 紫色 - 关于 */
    filter: drop-shadow(0 2px 4px rgba(156, 39, 176, 0.3));
}

.dock-item[data-view="contact"] .dock-icon svg {
    color: #F44336; /* 红色 - 联系 */
    filter: drop-shadow(0 2px 4px rgba(244, 67, 54, 0.3));
}



/* 悬停时的图标效果 */
.dock-item:hover .dock-icon svg {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* 活跃状态的图标效果 */
.dock-item.active .dock-icon svg {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 4px 12px currentColor);
}

.dock-label {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg,
        rgba(40, 40, 40, 0.95) 0%,
        rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10001;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-item:hover .dock-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.dock-separator {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%);
    border-radius: 1px;
    margin: 0 8px;
    align-self: center;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}



/* Window dragging */
.app-window.dragging {
    user-select: none;
    pointer-events: none;
}

.window-header {
    cursor: move;
}

/* Window animations */
.app-window {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-window.opening {
    animation: windowOpen 0.3s ease-out;
}

.app-window.closing {
    animation: windowClose 0.3s ease-in;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes windowClose {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Main Content - Desktop Background */
.main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.desktop-background {
    width: 100%;
    height: 100%;
    position: relative;
}

.desktop-wallpaper {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(233, 84, 32, 0.1) 0%,
        rgba(119, 41, 83, 0.1) 50%,
        rgba(44, 0, 30, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



/* App Windows */
.app-window {
    position: fixed;
    width: 800px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 10;
    display: none;
    resize: both;
    min-width: 400px;
    min-height: 300px;
    max-width: 90vw;
    max-height: 90vh;
}

.app-window.active {
    display: flex;
    flex-direction: column;
}

.app-window.minimized {
    display: none;
}

.app-window.maximized {
    width: 100vw !important;
    height: calc(100vh - 32px) !important;
    top: 32px !important;
    left: 0 !important;
    border-radius: 0;
    resize: none;
}

/* Window positioning */
.app-window[data-app="home"] {
    top: 80px;
    left: 100px;
}

.app-window[data-app="products"] {
    top: 120px;
    left: 140px;
}

.app-window[data-app="solutions"] {
    top: 160px;
    left: 180px;
}

.app-window[data-app="about"] {
    top: 200px;
    left: 220px;
}

.app-window[data-app="contact"] {
    top: 240px;
    left: 260px;
}

/* Ubuntu Window Header */
.ubuntu-header {
    height: 40px;
    background: linear-gradient(135deg, #3c3c3c, #2c2c2c);
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: white;
}

.window-title {
    font-weight: 500;
    font-size: 14px;
    color: white;
    flex: 1;
    text-align: center;
    margin: 0 60px; /* Space for controls */
}

.ubuntu-controls {
    display: flex;
    gap: 8px;
}

.ubuntu-control {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    pointer-events: auto;
    z-index: 10;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
}

.ubuntu-control.close {
    background: linear-gradient(135deg, #ff6b5b 0%, #ff5a4a 100%);
}

.ubuntu-control.minimize {
    background: linear-gradient(135deg, #ffca3a 0%, #ffb700 100%);
}

.ubuntu-control.maximize {
    background: linear-gradient(135deg, #28ca42 0%, #20a934 100%);
}

.ubuntu-control:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ubuntu-control.close:hover {
    background: linear-gradient(135deg, #ff5a4a 0%, #ff4939 100%);
}

.ubuntu-control.minimize:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9500 100%);
}

.ubuntu-control.maximize:hover {
    background: linear-gradient(135deg, #20a934 0%, #1a8f2a 100%);
}

.ubuntu-control svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* Legacy control styles - remove */
.control {
    display: none;
}

/* Window Content */
.window-content {
    padding: 24px;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Ubuntu Cards */
.ubuntu-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 400px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c001e;
    margin-bottom: 8px;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #e95420;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.ubuntu-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ubuntu-btn.primary {
    background: #e95420;
    color: white;
}

.ubuntu-btn.primary:hover {
    background: #d44815;
    transform: translateY(-1px);
}

.ubuntu-btn.secondary {
    background: transparent;
    color: #e95420;
    border: 2px solid #e95420;
}

.ubuntu-btn.secondary:hover {
    background: #e95420;
    color: white;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ubuntu-logo-large {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #e95420;
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: rotate 10s linear infinite;
}

.logo-center {
    font-size: 3rem;
    font-weight: 700;
    color: #e95420;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    transition: transform 0.2s;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.product-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e95420, #ff6b35);
    border-radius: 8px;
}

.card-header h3 {
    color: #2c001e;
    font-weight: 600;
}

.card-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(233, 84, 32, 0.1);
    color: #e95420;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Solutions */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-item {
    transition: transform 0.2s;
}

.solution-item:hover {
    transform: translateX(4px);
}

.solution-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.solution-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e95420, #ff6b35);
    border-radius: 8px;
    flex-shrink: 0;
}

.solution-info h3 {
    color: #2c001e;
    font-weight: 600;
    margin-bottom: 4px;
}

.solution-info p {
    color: #666;
    line-height: 1.5;
}

.solution-details ul {
    list-style: none;
    padding-left: 64px;
}

.solution-details li {
    color: #666;
    padding: 4px 0;
    position: relative;
}

.solution-details li::before {
    content: "•";
    color: #e95420;
    position: absolute;
    left: -16px;
}

/* About */
.about-content {
    max-width: 800px;
}

.company-info h3 {
    color: #2c001e;
    font-weight: 600;
    margin-bottom: 16px;
}

.company-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(233, 84, 32, 0.05);
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #e95420;
    margin-bottom: 4px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Contact */
.contact-info h3 {
    color: #2c001e;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    color: #666;
    line-height: 1.5;
}

.contact-item strong {
    color: #2c001e;
}

/* Responsive Design - Mobile First */

/* Tablet and larger screens */
@media (max-width: 1024px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    /* Mobile body and html settings */
    body {
        overflow: auto; /* 允许滚动 */
        height: 100vh;
        position: relative;
    }

    .ubuntu-desktop {
        min-height: 100vh; /* 确保至少占满视口 */
        position: relative;
    }

    /* Top bar mobile optimization */
    .top-bar {
        padding: 0 8px;
        height: 40px;
        position: fixed; /* 固定在顶部 */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1500;
        font-size: 11px; /* 减小字体 */
    }

    /* 移动端隐藏时间，优先显示备案号 */
    .top-bar-center .clock {
        display: none;
    }

    /* 移动端隐藏天气显示，优先显示备案号 */
    .weather-display {
        display: none;
    }

    /* 调整右侧指示器布局 */
    .top-bar-right {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
        overflow: visible; /* 允许内容显示 */
        justify-content: flex-end;
        flex: 1;
        min-width: 0;
    }

    .system-indicators {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: flex-end;
        min-width: 0;
    }

    /* 备案号样式调整 */
    .beian-link {
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0; /* 不允许收缩 */
        min-width: auto;
        overflow: visible; /* 移除省略号 */
        text-overflow: clip;
        max-width: none;
    }

    .top-bar .left-section {
        gap: 8px;
    }

    .top-bar .right-section {
        gap: 8px;
    }

    .indicator {
        width: 32px;
        height: 32px;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .weather-display {
        font-size: 11px;
        padding: 4px 8px;
    }

    .clock {
        font-size: 10px;
    }

    .task-manager-button {
        font-size: 10px;
        padding: 4px 6px;
        gap: 3px;
    }

    .task-manager-button span {
        display: none; /* 移动端隐藏文字，只显示图标 */
    }

    /* 任务管理器移动端优化 */
    .overview-container {
        padding: 10px;
    }

    .overview-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .overview-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .overview-header p {
        font-size: 0.9rem;
    }

    .overview-grid {
        grid-template-columns: 1fr; /* 移动端单列显示 */
        gap: 12px;
        padding: 10px;
        max-height: calc(100vh - 180px);
        overflow-y: auto;
    }

    .overview-card {
        min-height: auto;
        border-radius: 8px;
    }

    .overview-card-preview {
        padding: 12px;
    }

    .overview-card-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .overview-card-title {
        font-size: 14px;
    }

    .overview-card-status {
        font-size: 11px;
        padding: 3px 6px;
    }

    .overview-card-content {
        gap: 12px;
    }

    .overview-card-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .overview-card-app {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .overview-card-desc {
        font-size: 12px;
    }

    /* 主题选择面板移动端优化 */
    .theme-panel {
        width: calc(100vw - 20px);
        max-width: none;
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
        top: 20px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 12px;
        overflow: hidden;
    }

    .theme-panel.active {
        transform: none;
    }

    .theme-panel-header {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .theme-panel-header h3 {
        font-size: 16px;
    }

    .theme-panel-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .theme-options {
        grid-template-columns: repeat(2, 1fr); /* 移动端两列显示 */
        gap: 12px;
        padding: 16px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .theme-option {
        padding: 12px;
        gap: 8px;
        border-radius: 8px;
    }

    .theme-preview {
        width: 100px;
        height: 60px;
        border-radius: 6px;
    }

    .theme-name {
        font-size: 12px;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Ubuntu menu mobile */
    .ubuntu-menu {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .app-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .app-item {
        padding: 8px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
    }

    .app-name {
        font-size: 11px;
        margin-top: 4px;
    }

    /* Dock mobile optimization */
    .mac-dock {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px;
        z-index: 2000; /* 确保始终在应用窗口之上 */
    }

    .dock-container {
        padding: 6px 8px;
        gap: 2px;
        min-height: 60px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        max-width: calc(100vw - 16px);
        margin: 0 auto;
    }

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

    .dock-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .dock-icon svg {
        width: 24px;
        height: 24px;
    }

    .dock-item {
        min-width: 44px;
        padding: 4px;
        flex-shrink: 0;
    }

    .dock-item:hover {
        /* 移动端禁用悬停效果 */
        transform: none;
    }

    .dock-label {
        bottom: 70px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Hero section mobile */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Products grid mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .product-card {
        padding: 20px;
    }

    .product-card h3 {
        font-size: 1.2rem;
    }

    .feature-tag {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    /* Main content mobile */
    .main-content {
        padding: 15px;
        margin-bottom: 80px;
        margin-top: 40px; /* 为固定顶部栏留出空间 */
        overflow: visible; /* 允许内容显示 */
    }

    .window-content {
        padding: 16px;
    }

    /* Section spacing */
    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    /* Top bar extra small screens */
    .top-bar {
        padding: 0 6px;
        height: 36px;
        font-size: 10px;
    }

    /* 进一步优化右侧布局 */
    .top-bar-right {
        gap: 4px;
        max-width: 60%;
    }

    .system-indicators {
        gap: 4px;
    }

    /* 备案号在小屏幕上保持完整显示 */
    .beian-link {
        font-size: 10px;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        flex-shrink: 0;
    }

    .indicator {
        width: 24px;
        height: 24px;
        padding: 4px;
        flex-shrink: 0;
    }

    .indicator svg {
        width: 16px;
        height: 16px;
    }

    .weather-display {
        font-size: 10px;
        padding: 3px 6px;
    }

    .clock {
        font-size: 9px;
    }

    .task-manager-button {
        font-size: 9px;
        padding: 3px 4px;
        gap: 2px;
    }

    .task-manager-button span {
        display: none; /* 小屏幕隐藏文字，只显示图标 */
    }

    /* 任务管理器小屏幕优化 */
    .overview-container {
        padding: 8px;
    }

    .overview-header h2 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .overview-header p {
        font-size: 0.8rem;
    }

    .overview-grid {
        gap: 10px;
        padding: 8px;
        max-height: calc(100vh - 160px);
    }

    .overview-card-preview {
        padding: 10px;
    }

    .overview-card-header {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .overview-card-title {
        font-size: 13px;
    }

    .overview-card-status {
        font-size: 10px;
        padding: 2px 5px;
    }

    .overview-card-content {
        gap: 10px;
    }

    .overview-card-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .overview-card-app {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .overview-card-desc {
        font-size: 11px;
    }

    /* 主题选择面板小屏幕优化 */
    .theme-panel {
        width: calc(100vw - 16px);
        height: calc(100vh - 32px);
        max-height: calc(100vh - 32px);
        top: 16px;
        left: 8px;
        right: 8px;
        border-radius: 10px;
    }

    .theme-panel-header {
        padding: 12px 16px;
    }

    .theme-panel-header h3 {
        font-size: 14px;
    }

    .theme-panel-close {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    .theme-options {
        grid-template-columns: repeat(2, 1fr); /* 小屏幕保持两列 */
        gap: 10px;
        padding: 12px;
        max-height: calc(100vh - 120px);
    }

    .theme-option {
        padding: 10px;
        gap: 6px;
        border-radius: 6px;
    }

    .theme-preview {
        width: 80px;
        height: 50px;
        border-radius: 4px;
    }

    .theme-name {
        font-size: 11px;
    }

    /* Ubuntu menu small screens */
    .ubuntu-menu {
        width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
        max-height: calc(100vh - 80px);
    }

    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .app-item {
        padding: 6px;
    }

    .app-icon {
        width: 36px;
        height: 36px;
    }

    .app-name {
        font-size: 10px;
    }

    /* Dock small screens */
    .mac-dock {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4px;
        z-index: 2000; /* 确保始终在应用窗口之上 */
        overflow: hidden; /* 防止内容溢出 */
    }

    .dock-container {
        padding: 3px 4px;
        gap: 1px;
        min-height: 52px;
        max-width: calc(100vw - 8px);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap; /* 防止换行 */
        overflow-x: auto; /* 允许水平滚动 */
        scrollbar-width: none; /* 隐藏滚动条 */
        -ms-overflow-style: none;
    }

    .dock-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .dock-icon svg {
        width: 18px;
        height: 18px;
    }

    .dock-item {
        min-width: 36px;
        max-width: 36px;
        padding: 2px;
        flex-shrink: 0;
    }

    .dock-separator {
        display: none;
    }

    /* Hero section small screens */
    .hero-section {
        padding: 20px 15px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero-text h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-text p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Content spacing small screens */
    .main-content {
        padding: 12px;
        margin-bottom: 70px;
        margin-top: 40px; /* 为固定顶部栏留出空间 */
        overflow: visible; /* 允许内容显示 */
    }

    .window-content {
        padding: 12px;
    }

    .section {
        padding: 30px 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .products-grid,
    .stats-grid {
        padding: 0 15px;
        gap: 12px;
    }

    .product-card {
        padding: 16px;
    }

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

    .product-card p {
        font-size: 13px;
    }
}

/* Modal responsive design */
@media (max-width: 768px) {
    .wechat-modal-content {
        width: 90vw;
        max-width: 350px;
        margin: 20px;
        padding: 20px;
    }

    .wechat-modal-header h3 {
        font-size: 1.2rem;
    }

    .qr-code-placeholder {
        padding: 15px;
    }

    .qr-code-placeholder object {
        width: 180px !important;
        height: 180px !important;
    }

    .qr-code-text {
        font-size: 14px;
        margin: 12px 0 8px 0;
    }

    .qr-code-note {
        font-size: 12px;
    }

    .wechat-modal-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .wechat-modal-content {
        width: 95vw;
        margin: 10px;
        padding: 16px;
    }

    .wechat-modal-header {
        padding: 12px 0;
    }

    .wechat-modal-header h3 {
        font-size: 1.1rem;
    }

    .qr-code-placeholder {
        padding: 12px;
    }

    .qr-code-placeholder object {
        width: 160px !important;
        height: 160px !important;
    }

    .qr-code-text {
        font-size: 13px;
        margin: 10px 0 6px 0;
    }

    .qr-code-note {
        font-size: 11px;
    }

    .wechat-modal-close {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

/* Touch-friendly interactions */
@media (max-width: 768px) {
    /* Increase touch targets */
    .dock-item,
    .app-item,
    .indicator {
        min-height: 44px;
        min-width: 44px;
    }

    /* Disable hover effects on touch devices */
    .dock-item:hover,
    .app-item:hover,
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }

    /* Add active states for touch feedback */
    .dock-item:active,
    .app-item:active {
        transform: scale(0.95);
        opacity: 0.8;
    }

    .indicator:active {
        background: rgba(128, 128, 128, 0.2);
    }

    /* Prevent text selection on interactive elements */
    .dock-item,
    .app-item,
    .indicator,
    .task-manager-button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Smooth scrolling for mobile */
    .dock-container,
    .ubuntu-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* Application Windows Mobile Responsive */
@media (max-width: 768px) {
    /* App window mobile optimization */
    .app-window {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 140px) !important;
        top: 50px !important;
        left: 10px !important;
        border-radius: 12px;
        max-width: none;
        max-height: calc(100vh - 140px);
        min-width: 300px;
        min-height: 300px;
        resize: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        z-index: 500; /* 确保低于dock的z-index */
    }

    .app-window.maximized {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 140px) !important;
        top: 50px !important;
        left: 10px !important;
        border-radius: 12px;
    }

    /* Window header mobile optimization */
    .ubuntu-header,
    .window-header {
        height: 44px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, #3c3c3c, #2c2c2c);
        border-bottom: 1px solid #1a1a1a;
    }

    .window-title {
        font-size: 16px;
        font-weight: 600;
        margin: 0 20px;
        flex: 1;
        text-align: center;
    }

    .ubuntu-controls {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .ubuntu-control {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .ubuntu-control:hover {
        transform: none; /* 移动端禁用hover缩放 */
    }

    .ubuntu-control:active {
        transform: scale(0.95);
        opacity: 0.8;
    }

    /* Window content mobile optimization */
    .window-content {
        padding: 16px;
        height: calc(100% - 44px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }

    /* Ubuntu cards mobile */
    .ubuntu-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .ubuntu-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .ubuntu-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Products grid mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 16px;
    }

    .card-header {
        margin-bottom: 12px;
    }

    .product-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .features {
        flex-wrap: wrap;
        gap: 6px;
        margin: 12px 0;
    }

    .feature-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    /* Solutions list mobile */
    .solutions-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .solution-item {
        padding: 16px;
    }

    .solution-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
    }

    .solution-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .solution-info h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .solution-info p {
        font-size: 13px;
    }

    /* About page mobile */
    .company-info {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 16px 0;
    }

    .stat-item {
        text-align: center;
        padding: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Contact page mobile */
    .contact-info {
        padding: 16px;
    }

    .contact-item {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Action buttons mobile */
    .action-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .ubuntu-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens app window */
    .app-window {
        width: calc(100vw - 16px) !important;
        height: calc(100vh - 120px) !important;
        top: 40px !important;
        left: 8px !important;
        border-radius: 8px;
        max-height: calc(100vh - 120px);
        min-width: 280px;
        min-height: 280px;
        z-index: 500; /* 确保低于dock的z-index */
    }

    .app-window.maximized {
        width: calc(100vw - 16px) !important;
        height: calc(100vh - 120px) !important;
        top: 40px !important;
        left: 8px !important;
        border-radius: 8px;
    }

    /* Extra small screens window controls */
    .ubuntu-header,
    .window-header {
        height: 40px;
        padding: 0 10px;
    }

    .window-title {
        font-size: 14px;
        margin: 0 15px;
    }

    .ubuntu-controls {
        gap: 8px;
    }

    .ubuntu-control {
        width: 24px;
        height: 24px;
        font-size: 14px;
        border-radius: 4px;
    }

    /* Extra small screens content */
    .window-content {
        padding: 12px;
        height: calc(100% - 40px);
        flex: 1;
    }

    .ubuntu-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .ubuntu-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .ubuntu-card p {
        font-size: 13px;
    }

    .products-grid {
        gap: 12px;
    }

    .product-card {
        padding: 12px;
    }

    .product-icon {
        font-size: 1.8rem;
    }

    .solution-icon {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .ubuntu-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 20px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .ubuntu-menu {
        max-height: calc(100vh - 60px);
    }

    .dock-container {
        min-height: 50px;
    }

    .window-content {
        height: calc(100vh - 80px);
    }
}

/* Theme System */
.theme-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 600px;
    max-width: 90vw;
    background: linear-gradient(135deg,
        rgba(40, 40, 40, 0.98) 0%,
        rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.theme-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-panel-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.theme-panel-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 24px;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.theme-option.active {
    background: rgba(233, 84, 32, 0.1);
    border-color: rgba(233, 84, 32, 0.5);
}

.theme-preview {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.theme-dock {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    border-radius: 6px;
}

.theme-window {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 40px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Theme Previews */
.ubuntu-default-bg {
    background: linear-gradient(135deg, #e95420 0%, #772953 50%, #2c001e 100%);
}

.ubuntu-default-dock {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.95), rgba(30, 30, 30, 0.95));
}

.ubuntu-default-window {
    background: rgba(255, 255, 255, 0.95);
}

.ubuntu-dark-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #0f0f0f 100%);
}

.ubuntu-dark-dock {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
}

.ubuntu-dark-window {
    background: rgba(40, 40, 40, 0.95);
}

.ubuntu-light-bg {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 50%, #e8e8e8 100%);
}

.ubuntu-light-dock {
    background: linear-gradient(135deg, rgba(248, 248, 248, 0.98), rgba(235, 235, 235, 0.98));
}

.ubuntu-light-window {
    background: rgba(255, 255, 255, 0.98);
}

.ubuntu-purple-bg {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 50%, #2e0854 100%);
}

.ubuntu-purple-dock {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.95), rgba(46, 8, 84, 0.95));
}

.ubuntu-purple-window {
    background: rgba(255, 255, 255, 0.95);
}

.ubuntu-green-bg {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 50%, #0d3f14 100%);
}

.ubuntu-green-dock {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.95), rgba(13, 63, 20, 0.95));
}

.ubuntu-green-window {
    background: rgba(255, 255, 255, 0.95);
}

.ubuntu-blue-bg {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 50%, #0a2e5c 100%);
}

.ubuntu-blue-dock {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.95), rgba(10, 46, 92, 0.95));
}

.ubuntu-blue-window {
    background: rgba(255, 255, 255, 0.95);
}

/* Modal Styles */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 248, 248, 0.98) 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    min-width: 320px;
    max-width: 90vw;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wechat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.wechat-modal-header h3 {
    margin: 0;
    color: #2c2c2c;
    font-size: 18px;
    font-weight: 600;
}

.wechat-modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wechat-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.wechat-modal-body {
    padding: 24px;
}

/* WeChat QR Code Styles */
.qr-code-container {
    text-align: center;
}

.qr-code-placeholder {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.qr-code-text {
    font-size: 16px;
    color: #333;
    margin: 16px 0 8px 0;
    font-weight: 500;
}

.qr-code-note {
    font-size: 14px;
    color: #666;
    margin: 0;
}



/* Status Menu Styles */
.status-menu {
    position: fixed;
    background: linear-gradient(135deg,
        rgba(248, 248, 248, 0.98) 0%,
        rgba(240, 240, 240, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.status-menu.active {
    opacity: 1;
    transform: translateY(0);
}

.status-menu-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, #e95420, #ff6b35);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.status-menu-item:last-child {
    border-bottom: none;
}

.status-menu-item:hover {
    background: rgba(233, 84, 32, 0.1);
    color: #e95420;
}

/* Click outside to close */
.status-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}



