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

:root {
    --primary-color: #0f0f23;
    --secondary-color: #1a1a3e;
    --accent-color: #8B4C9F;
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gold: #d4af37;
    --purple-dark: #4A148C;
    --purple-medium: #6B2C7F;
    --purple-light: #9B5CAF;
    --blue-dark: #0D1B2A;
    --blue-medium: #1B263B;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.98) 0%, rgba(26, 26, 62, 0.96) 50%, rgba(74, 20, 140, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-background {
    display: none;
}

.navbar-overlay {
    display: none;
}

.navbar-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 76, 159, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(139, 76, 159, 0.15) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 90% 60%, rgba(139, 76, 159, 0.12) 1.5px, transparent 1.5px);
    background-size: 400px 400px, 350px 350px, 380px 380px, 300px 300px, 420px 420px;
    background-position: 0 0, 80px 80px, 160px 160px, 240px 240px, 320px 320px;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.nav-menu {
    margin-left: auto;
}

.language-selector {
    margin-left: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 0;
}

.logo p {
    color: var(--light-text);
    font-size: 12px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* 桌面端隐藏移动端菜单头部 */
.mobile-menu-header {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 0;
    overflow: visible;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: var(--white);
    min-width: 100px;
    text-align: center;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.lang-btn #currentLangFlag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.lang-btn #currentLangText {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.lang-btn i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.lang-dropdown.show ~ .lang-btn i.fa-chevron-down,
.lang-btn:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    overflow: visible;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: background 0.3s;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    position: relative;
}

.lang-option .lang-flag {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.lang-option > span:not(.lang-flag) {
    flex: 1;
    text-align: left;
}

.lang-option i.fa-check {
    flex-shrink: 0;
    margin-left: auto;
    width: 16px;
    text-align: center;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
}

.lang-option.active i.fa-check {
    display: block;
    color: var(--white);
}

.lang-option i.fa-check {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    padding: 80px 0;
    overflow: hidden;
    background: #0D1B2A;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    transform: scale(1.0);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.65) 0%, rgba(26, 26, 62, 0.60) 50%, rgba(74, 20, 140, 0.55) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.18) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px),
        radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.13) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: 300px 300px, 250px 250px, 280px 280px, 200px 200px, 320px 320px, 270px 270px, 240px 240px, 260px 260px;
    background-position: 0 0, 50px 50px, 100px 100px, 150px 150px, 200px 200px, 250px 250px, 300px 300px, 350px 350px;
    z-index: 1;
    opacity: 0.8;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
    max-height: calc(100vh - 160px);
    overflow: hidden;
}

.hero-content {
    text-align: left;
    color: var(--white);
    z-index: 2;
    padding: 0;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    color: rgba(255, 255, 255, 0.95);
}

.hero-videos {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-video-circle {
    position: relative;
    width: min(360px, calc((100vh - 250px) * 9 / 16));
    height: min(640px, calc(100vh - 250px));
    margin: 0 auto;
    max-width: 100%;
    aspect-ratio: 9 / 16;
}

.hero-video-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 24px;
}

.hero-video-slide.active {
    opacity: 1;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
}

.video-thumbnail {
    display: none;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.video-play-btn i {
    font-size: 36px;
    color: #8B4C9F;
    margin-left: 5px;
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    background: var(--white);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    object-fit: contain;
    z-index: 1;
}

.video-iframe.playing {
    opacity: 1;
    z-index: 1;
}

.hero-video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    position: relative;
    z-index: 10;
}

.video-prev-btn,
.video-next-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    pointer-events: auto;
    position: relative;
    backdrop-filter: blur(10px);
}

.video-prev-btn:hover,
.video-next-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: scale(1.15);
}

.video-indicators {
    display: flex;
    gap: 15px;
    align-items: center;
}

.video-indicator {
    min-width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    padding: 0 12px;
}

.video-indicator.active {
    background: rgba(255, 255, 255, 0.95);
    color: #6B2C7F;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #8B4C9F 0%, #6B2C7F 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(139, 76, 159, 0.5), 0 0 30px rgba(139, 76, 159, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9B5CAF 0%, #7B3C8F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 76, 159, 0.7), 0 0 40px rgba(139, 76, 159, 0.4);
}

/* 全站通用：一键回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4C9F 0%, #6B2C7F 100%);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top span {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 12px;
        bottom: 70px;
        width: 40px;
        height: 40px;
    }
}


/* Cities Section */
.cities-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.cities-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 700;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 50px;
    max-height: 800px;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 76, 159, 0.5) transparent;
}

.cities-grid::-webkit-scrollbar {
    width: 8px;
}

.cities-grid::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.cities-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 76, 159, 0.5);
    border-radius: 10px;
}

.cities-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 76, 159, 0.7);
}

.city-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.city-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.1);
}

.city-info {
    padding: 16px 12px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.city-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.city-info p {
    color: var(--light-text);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.text-center {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 700;
}

.section-header p {
    font-size: 19px;
    color: var(--light-text);
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c7364d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.9;
    font-size: 16px;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Featured Properties */
.featured-properties {
    padding: 100px 0;
    background: var(--bg-light);
}

.featured-properties h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 700;
}

.properties-scroll-wrapper {
    overflow-x: hidden;
    position: relative;
    padding-bottom: 20px;
    width: 100%;
}

.properties-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 40px 0;
    margin-bottom: 70px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
    -webkit-overflow-scrolling: touch;
}

.properties-grid::-webkit-scrollbar {
    height: 8px;
}

.properties-grid::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.properties-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.properties-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 380px;
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    height: auto;
    box-sizing: border-box;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

.property-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.property-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 200px;
}

.property-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    min-height: 56px;
    max-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    word-wrap: break-word;
}

.property-location {
    color: var(--light-text);
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 400;
    min-height: 22px;
    max-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    word-wrap: break-word;
}

.property-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 18px;
    min-height: 35px;
    display: flex;
    align-items: center;
}

.property-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--light-text);
    font-size: 14px;
    margin-top: auto;
}

.property-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--light-text);
    font-size: 14px;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details i {
    color: var(--accent-color);
}

.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 70px;
    padding: 80px 40px;
    border-top: 2px solid #e0e0e0;
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(173, 216, 230, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(173, 216, 230, 0.12) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 20%, rgba(173, 216, 230, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(173, 216, 230, 0.18) 2.5px, transparent 2.5px);
    background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px;
    background-position: 0 0, 50px 50px, 100px 100px, 150px 150px;
    opacity: 0.6;
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 280px;
    margin: 0 -20px;
}

.stat-item:first-child {
    margin-left: 0;
}

.stat-item:last-child {
    margin-right: 0;
}

.stat-item:hover {
    transform: translateY(-8px);
    z-index: 2;
}

.stat-icon-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-circle {
    border-color: #6A35D9;
    box-shadow: 0 5px 20px rgba(106, 53, 217, 0.2);
}

.stat-icon {
    font-size: 60px;
    color: #6A35D9;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-item h3 {
    font-size: 56px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1;
}

.stat-item p {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 45px 35px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.testimonial-image {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.2);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-role {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 25px;
    font-weight: 500;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-text {
    color: var(--text-color);
    line-height: 1.9;
    font-style: italic;
    font-size: 16px;
}

/* Partners */
.partners {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 35px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.footer-logo h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 15, 35, 0.85);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed !important;
        right: -100% !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        background: linear-gradient(180deg, rgba(26, 26, 62, 0.98) 0%, rgba(15, 15, 35, 0.98) 100%) !important;
        backdrop-filter: blur(20px);
        width: 320px !important;
        max-width: 85vw !important;
        text-align: left !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5), inset -1px 0 0 rgba(255, 255, 255, 0.1);
        padding: 0 !important;
        margin: 0 !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-left: 1px solid rgba(139, 76, 159, 0.2);
        list-style: none !important;
        gap: 0 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    /* 当菜单激活时，强制显示所有菜单项（除了移动端菜单头部），即使有内联样式 */
    .nav-menu.active > li:not(.mobile-menu-header) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 50px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-menu.active > li:not(.mobile-menu-header) > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        background-color: transparent !important;
        width: 100% !important;
        height: auto !important;
        min-height: 44px !important;
    }

    .mobile-menu-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 25px 20px;
        border-bottom: 1px solid rgba(139, 76, 159, 0.3);
        margin-bottom: 0;
        background: rgba(15, 15, 35, 0.5);
        backdrop-filter: blur(10px);
        position: relative;
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 2;
        width: 100%;
    }

    .mobile-menu-logo .logo-img {
        height: 50px;
        filter: brightness(1.1);
        max-width: 100%;
    }

    .mobile-menu-close {
        background: rgba(139, 76, 159, 0.2);
        border: 1px solid rgba(139, 76, 159, 0.3);
        font-size: 20px;
        color: var(--white);
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        grid-column: 3;
        justify-self: end;
        margin: 0;
        flex-shrink: 0;
    }

    .mobile-menu-close:active {
        transform: translateY(-50%) scale(0.95);
    }

    .mobile-menu-close:hover {
        background: rgba(139, 76, 159, 0.4);
        border-color: var(--accent-color);
        color: var(--accent-color);
        transform: translateY(-50%) rotate(90deg);
        box-shadow: 0 4px 12px rgba(139, 76, 159, 0.4);
    }

    .nav-menu > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
    
    .nav-menu > li:not(.mobile-menu-header) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-menu > li:not(.mobile-menu-header)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--accent-color);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu > li:not(.mobile-menu-header):hover::before,
    .nav-menu > li:not(.mobile-menu-header).active::before {
        opacity: 1;
    }

    .nav-menu > li:not(.mobile-menu-header) > a {
        display: block !important;
        width: 100% !important;
        padding: 20px 20px 20px 25px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        font-size: 16px !important;
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        position: relative;
        letter-spacing: 0.3px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-menu > li:not(.mobile-menu-header) > a:hover,
    .nav-menu > li:not(.mobile-menu-header) > a.active {
        background: rgba(139, 76, 159, 0.15);
        color: var(--accent-color);
        padding-left: 30px;
        text-shadow: 0 0 10px rgba(139, 76, 159, 0.5);
    }

    .nav-menu > li:not(.mobile-menu-header) > a.active::after {
        display: none;
    }

    .nav-menu > li:not(.mobile-menu-header) > a i.fa-plus,
    .nav-menu > li:not(.mobile-menu-header) > a i.fa-chevron-down {
        float: right;
        margin-top: 2px;
        font-size: 14px;
        color: var(--accent-color);
        transition: transform 0.3s ease;
    }

    .nav-menu > li:not(.mobile-menu-header).dropdown.active > a i.fa-plus {
        transform: rotate(45deg);
    }

    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(15, 15, 35, 0.6);
        backdrop-filter: blur(10px);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        display: none;
        padding: 0;
        border-left: 2px solid rgba(139, 76, 159, 0.3);
    }

    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu .dropdown-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .nav-menu .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        padding: 16px 20px 16px 50px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 14px;
        transition: all 0.3s ease;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(139, 76, 159, 0.2);
        color: var(--accent-color);
        padding-left: 55px;
        text-shadow: 0 0 8px rgba(139, 76, 159, 0.4);
    }

    .nav-menu {
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* 确保所有菜单项在移动端可见 - 强制覆盖任何内联样式 */
    .nav-menu > li,
    .nav-menu > li[id],
    .nav-menu > li:not(.mobile-menu-header) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 50px !important;
        width: 100% !important;
    }
    
    /* 确保所有菜单链接可见 */
    .nav-menu > li > a,
    .nav-menu > li[id] > a,
    .nav-menu > li:not(.mobile-menu-header) > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        background-color: transparent !important;
        width: 100% !important;
        min-height: 44px !important;
    }
    
    /* 确保移动端菜单打开时，所有菜单项都显示 */
    body .nav-menu.active > li {
        display: block !important;
    }
    
    body .nav-menu.active > li > a {
        display: block !important;
        color: #ffffff !important;
    }
    
    /* 确保移动端菜单头部可见 */
    .nav-menu .mobile-menu-header {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 确保下拉菜单可见 */
    .nav-menu .dropdown-menu {
        display: none !important;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .language-selector {
        margin-left: 0;
        order: -1;
        width: auto;
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 13px;
        min-width: 90px;
        gap: 6px;
    }
    
    .lang-btn #currentLangFlag {
        font-size: 16px;
    }
    
    .lang-btn #currentLangText {
        display: block;
        font-size: 13px;
    }
    
    .lang-btn i.fa-chevron-down {
        font-size: 9px;
    }

    .logo-img {
        height: 40px;
    }

    .logo h2 {
        font-size: 24px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .language-selector {
        overflow: visible;
        position: relative;
    }
    
    .nav-wrapper {
        overflow: visible;
    }
    
    .navbar .container {
        overflow: visible;
    }
    
    .lang-dropdown {
        position: absolute;
        right: auto;
        left: 0;
        min-width: 140px;
        width: auto;
        white-space: nowrap;
        max-width: calc(100vw - 40px);
        transform: translateX(0);
    }
    
    .lang-dropdown.show {
        transform: translateY(0) translateX(0);
    }
    
    .lang-option {
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .lang-option .lang-flag {
        font-size: 18px;
        width: 24px;
    }
    
    .lang-option > span:not(.lang-flag) {
        font-size: 14px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        max-height: none;
    }
    
    .hero-video-circle {
        width: min(300px, calc((100vh - 200px) * 9 / 16));
        height: min(533px, calc(100vh - 200px));
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-video-circle {
        width: 300px;
        height: 533px;
    }

    .video-play-btn {
        width: 80px;
        height: 80px;
    }

    .video-play-btn i {
        font-size: 28px;
    }

    .hero-video-controls {
        gap: 20px;
        margin-top: 25px;
    }

    .video-prev-btn,
    .video-next-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .video-indicator {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 0 10px;
    }

    .cities-section,
    .why-choose-us,
    .featured-properties,
    .testimonials {
        padding: 60px 0;
    }

    .cities-section h2,
    .section-header h2,
    .featured-properties h2,
    .testimonials h2,
    .partners h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .property-card {
        flex: 0 0 300px;
        min-width: 280px;
        max-width: 300px;
    }
    
    .properties-grid {
        gap: 20px;
        padding: 15px 0 30px 0;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        max-height: 600px;
    }

    .city-image {
        height: 120px;
    }

    .city-info {
        padding: 12px 10px;
    }

    .city-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .city-info p {
        font-size: 12px;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        max-height: 600px;
    }

    .city-image {
        height: 120px;
    }

    .city-info {
        padding: 12px 10px;
    }

    .city-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .city-info p {
        font-size: 12px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }

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

    .stats-section {
        flex-wrap: wrap;
        gap: 30px;
        padding: 60px 20px;
    }

    .stat-item {
        margin: 0;
        max-width: 100%;
        flex: 0 0 calc(50% - 15px);
    }

    .stat-icon-circle {
        width: 140px;
        height: 140px;
    }

    .stat-icon {
        font-size: 45px;
    }

    .stat-item h3 {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        max-height: 500px;
    }

    .city-image {
        height: 100px;
    }

    .city-info {
        padding: 10px 8px;
    }

    .city-info h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .city-info p {
        font-size: 11px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-wrapper {
        gap: 30px;
        max-height: none;
    }
    
    .hero-video-circle {
        width: min(240px, calc((100vh - 150px) * 9 / 16));
        height: min(427px, calc(100vh - 150px));
    }
    
    .language-selector {
        width: auto;
    }
    
    .lang-btn {
        padding: 7px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .lang-btn #currentLangFlag {
        font-size: 15px;
    }
    
    .lang-btn #currentLangText {
        font-size: 12px;
    }
    
    .lang-dropdown {
        min-width: 130px;
        max-width: calc(100vw - 40px);
        right: auto;
        left: 0;
        transform: translateX(0);
    }
    
    .language-selector {
        overflow: visible;
        position: relative;
    }
    
    .nav-wrapper {
        overflow: visible;
    }
    
    .navbar .container {
        overflow: visible;
    }
    
    .lang-option {
        padding: 10px 14px;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-video-circle {
        width: 240px;
        height: 427px;
    }

    .video-play-btn {
        width: 70px;
        height: 70px;
    }

    .video-play-btn i {
        font-size: 24px;
    }

    .hero-video-controls {
        gap: 15px;
        margin-top: 20px;
    }

    .video-prev-btn,
    .video-next-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .video-indicator {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }

    .stats-section {
        flex-direction: column;
        gap: 40px;
        padding: 50px 20px;
    }

    .stat-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .stat-icon-circle {
        width: 120px;
        height: 120px;
    }

    .stat-icon {
        font-size: 40px;
    }

    .stat-item h3 {
        font-size: 38px;
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 450px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
}

.toast.success::before {
    background: #28a745;
}

.toast.error::before {
    background: #dc3545;
}

.toast.warning::before {
    background: #ffc107;
}

.toast.info::before {
    background: #17a2b8;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #28a745;
}

.toast.error .toast-icon {
    color: #dc3545;
}

.toast.warning .toast-icon {
    color: #ffc107;
}

.toast.info .toast-icon {
    color: #17a2b8;
}

.toast-content {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Mobile responsive */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    /* 确保主内容区域不突破屏幕宽度 */
    main, section, header, footer {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* 表格在小屏下允许内部横向滚动，但不撑破整个页面 */
    .table-container {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        max-width: 100%;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

