/* ==========================================
   Real Estate Portal - Main Stylesheet
   ========================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enhanced CSS Reset for layout consistency */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    /* Ensure no default margins on body */
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}

/* Reset browser default margins for all major elements */
h1, h2, h3, h4, h5, h6, p, div, section, main, header {
    margin: 0;
    padding: 0;
}

/* Ensure main and section elements have no unexpected spacing */
main, section {
    display: block;
    margin: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
}

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

/* CRITICAL FIX: Ensure no gaps between elements */
.main-content > .hero {
    margin: 0;
    display: block;
    border: none;
    outline: none;
}

.main-content > .section {
    margin: 0;
    display: block;
    border: none;
    outline: none;
}

/* Force remove any potential browser-default spacing */
.main-content {
    font-size: 0; /* Remove whitespace between inline-block elements */
}

.main-content > * {
    font-size: initial; /* Restore font size for child elements */
    display: block;
    margin: 0;
    vertical-align: top;
}

/* Header and Navigation */
.header {
    background: #000000;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0;
    border: none;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: #FFE5D1;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    /* 移动端菜单样式已在后面定义 */
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #333;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 400;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #EB6122;
}

.dropdown-menu a.active {
    background-color: #EB6122;
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto; /* 确保按钮靠右对齐 */
}

/* Main Content - Fixed layout approach */
.main-content {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-black);
    margin: 0;
    padding: 0;
    padding-top: 70px;
    box-sizing: border-box;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0,0,0,0.7) 0%, 
        rgba(235,97,34,0.1) 50%, 
        rgba(0,0,0,0.6) 100%
    );
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.slide-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.slide-subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #EB6122;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #EB6122;
    border-radius: 50%;
    color: #EB6122;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-control:hover {
    background: #EB6122;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(235, 97, 34, 0.4);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 4rem; /* 增加桌面端底部间距 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.carousel-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #EB6122;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-indicator.active {
    background: #EB6122;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(235, 97, 34, 0.6);
}

.carousel-indicator:hover {
    background: rgba(235, 97, 34, 0.7);
    transform: scale(1.1);
}

/* Enhanced Button Animations */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #EB6122;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: #D04E0E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235,97,34,0.4);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #EB6122 0%, #D04E0E 100%);
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D04E0E 0%, #B8421C 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: inherit;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover::after {
    transform: scaleX(1);
}

.btn-secondary:hover {
    color: #333;
    border-color: white;
}

/* Enhanced Hover Effects and Animations */

/* Carousel slide content animation */
.carousel-slide.active .slide-content {
    animation: slideContentIn 1s ease forwards;
}

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

/* Slide title - removed underline animation */

/* Enhanced project cards hover effects */
.project-preview-card {
    position: relative;
}

.project-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(235, 97, 34, 0.05) 0%, transparent 50%, rgba(235, 97, 34, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
}

.project-preview-card:hover::before {
    opacity: 1;
}

.project-preview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Glowing border effect */
.project-preview-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #EB6122, #D04E0E, #EB6122);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.project-preview-card:hover::after {
    opacity: 0.7;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        box-shadow: 0 0 20px rgba(235, 97, 34, 0.4);
    }
    100% {
        box-shadow: 0 0 40px rgba(235, 97, 34, 0.7);
    }
}

/* Enhanced statistics animations */
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(235, 97, 34, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: #EB6122;
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 25px rgba(235, 97, 34, 0.3);
}

.stat-item:hover .stat-number {
    color: white;
    animation: numberPulse 0.6s ease;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Image hover zoom effects */
.project-image img,
.visual-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-preview-card:hover .project-image img,
.visual-container:hover img {
    transform: scale(1.08);
}

/* Floating animation for carousel controls */
.carousel-control {
    animation: float 3s ease-in-out infinite;
}

.carousel-control.prev {
    animation-delay: 0s;
}

.carousel-control.next {
    animation-delay: 1.5s;
}

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

/* Pulse animation for indicators */
.carousel-indicator {
    animation: pulse 2s ease-in-out infinite;
    /* 确保在移动端可见 */
    position: relative;
    z-index: 50;
}

.carousel-indicator:nth-child(1) { animation-delay: 0s; }
.carousel-indicator:nth-child(2) { animation-delay: 0.7s; }
.carousel-indicator:nth-child(3) { animation-delay: 1.4s; }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.carousel-indicator.active {
    animation: none;
}

/* Text reveal animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Project content hover effects */
.project-content h3 {
    transition: all 0.3s ease;
}

.project-preview-card:hover .project-content h3 {
    color: #EB6122;
    transform: translateX(5px);
}

.feature-tag {
    transition: all 0.3s ease;
}

.project-preview-card:hover .feature-tag {
    background: rgba(235, 97, 34, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(235, 97, 34, 0.2);
}

/* First section after hero - ensure no gap */
.section:first-of-type {
    margin-top: 0;
    padding-top: 4rem;
    border-top: none;
}

/* Alternative approach - target first section specifically */
.hero + .section {
    margin-top: 0;
    border-top: none;
    padding-top: 4rem;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.section-light {
    background-color: #f8f9fa;
    color: #333;
}

/* Homepage dark theme override */
.homepage .section-light {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Homepage dark theme text styles */
.homepage .section-light * {
    color: #ffffff;
}

.homepage .section-light h1,
.homepage .section-light h2,
.homepage .section-light h3,
.homepage .section-light h4,
.homepage .section-light h5,
.homepage .section-light h6 {
    color: #EB6122 !important;
}

.homepage .section-light p,
.homepage .section-light span,
.homepage .section-light div,
.homepage .section-light li {
    color: #ffffff !important;
}

.homepage .section-light .text-center {
    color: #ffffff;
}

/* Comprehensive text visibility fixes for dark sections - HOMEPAGE ONLY */
.homepage .section-light,
.homepage .section-light *:not(.btn):not(.btn-secondary) {
    color: #ffffff !important;
}

.homepage .section-light .text-center,
.homepage .section-light .text-center * {
    color: #ffffff !important;
}

.homepage .section-light .container,
.homepage .section-light .container * {
    color: #ffffff !important;
}

.homepage .section-light div,
.homepage .section-light div * {
    color: #ffffff !important;
}

.homepage .section-light .mb-2,
.homepage .section-light .mb-3,
.homepage .section-light .mt-3 {
    color: #ffffff !important;
}

/* Ensure all paragraph text is visible - HOMEPAGE ONLY */
.homepage .section-light p,
.homepage .section-light span,
.homepage .section-light div {
    color: #ffffff !important;
}

/* Override any remaining inline styles - HOMEPAGE ONLY */
.homepage .section-light [style] {
    color: #ffffff !important;
}

/* Force all text elements to be visible in dark sections - HOMEPAGE ONLY */
.homepage .section-light * {
    color: #ffffff !important;
}

/* Specific overrides for all text elements - HOMEPAGE ONLY */
.homepage .section-light h1,
.homepage .section-light h2, 
.homepage .section-light h3,
.homepage .section-light h4,
.homepage .section-light h5,
.homepage .section-light h6 {
    color: #EB6122 !important;
}

/* All other text content must be white - HOMEPAGE ONLY */
.homepage .section-light p,
.homepage .section-light span,
.homepage .section-light div,
.homepage .section-light a:not(.btn),
.homepage .section-light li,
.homepage .section-light strong,
.homepage .section-light em,
.homepage .section-light small {
    color: #ffffff !important;
}

/* Text center elements - HOMEPAGE ONLY */
.homepage .section-light .text-center,
.homepage .section-light .text-center p,
.homepage .section-light .text-center div,
.homepage .section-light .text-center span {
    color: #ffffff !important;
}

/* Hero buttons area text - HOMEPAGE ONLY */
.homepage .section-light .hero-buttons,
.homepage .section-light .hero-buttons * {
    color: #ffffff !important;
}

/* Margin classes text - HOMEPAGE ONLY */
.homepage .section-light .mb-2,
.homepage .section-light .mb-3,
.homepage .section-light .mt-3 {
    color: #ffffff !important;
}

/* Universal override - most specific - HOMEPAGE ONLY */
.homepage .section-light {
    color: #ffffff !important;
}

.homepage .section-light > * {
    color: #ffffff !important;
}

.homepage .section-light > * > * {
    color: #ffffff !important;
}

.homepage .section-light > * > * > * {
    color: #ffffff !important;
}

/* Force visibility for animate elements - HOMEPAGE ONLY */
.homepage .section-light .animate-on-scroll {
    color: #ffffff !important;
}

.homepage .section-light .animate-on-scroll p {
    color: #ffffff !important;
}

.homepage .section-light .animate-on-scroll div {
    color: #ffffff !important;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Cards dark theme - HOMEPAGE ONLY */
.homepage .section-light .card {
    background: #2a2a2a;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.homepage .section-light .card * {
    color: #ffffff !important;
}

.homepage .section-light .card h3 {
    color: #EB6122 !important;
}

.homepage .section-light .card p {
    color: #ffffff !important;
}

.homepage .section-light .card strong {
    color: #EB6122 !important;
}

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

/* Enhanced hover effects for homepage floor plan cards */
.homepage .section-light .card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.homepage .section-light .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(235, 97, 34, 0.1), transparent);
    transition: left 0.6s ease;
}

.homepage .section-light .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4),
        0 0 0 1px rgba(235, 97, 34, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.homepage .section-light .card:hover::before {
    left: 100%;
}

/* Enhanced image hover effects */
.homepage .section-light .card img {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
}

.homepage .section-light .card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.05);
}

/* Enhanced button hover effects */
.homepage .section-light .card .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.homepage .section-light .card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.homepage .section-light .card:hover .btn {
    background-color: #D04E0E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 97, 34, 0.4);
    color: #ffffff !important;
}

.homepage .section-light .card:hover .btn::before {
    width: 120%;
    height: 120%;
}

/* Ensure button text is always visible */
.homepage .section-light .card .btn,
.homepage .section-light .card .btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.homepage .section-light .card .btn * {
    color: #ffffff !important;
    z-index: 2;
    position: relative;
}

/* CRITICAL: Ensure button text is always visible with highest priority */
.homepage .section-light .card .btn,
.homepage .section-light .card .btn:hover,
.homepage .section-light .card .btn:focus,
.homepage .section-light .card .btn:active {
    color: #ffffff !important;
}

.homepage .section-light .card .btn span,
.homepage .section-light .card .btn:hover span,
.homepage .section-light .card .btn * {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Force button text node visibility */
.homepage .section-light .card .btn::after {
    content: none !important;
}

.homepage .section-light .card .btn {
    font-size: inherit !important;
    line-height: inherit !important;
    display: inline-block !important;
    text-align: center !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: whatsappPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 40%, rgba(255,255,255,0.1) 41%, rgba(255,255,255,0.1) 50%, transparent 51%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-btn:hover::before {
    transform: scale(1);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn i {
    color: white;
    z-index: 2;
    position: relative;
}

/* WhatsApp pulse animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Back to top button mobile adjustments */
    .back-to-top {
        bottom: 80px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
}

/* Unit details hover enhancement */
.homepage .section-light .card .unit-details {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.homepage .section-light .card:hover .unit-details {
    background: #444 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Text animation on hover */
.homepage .section-light .card h3 {
    transition: all 0.3s ease;
}

.homepage .section-light .card:hover h3 {
    color: #FFE5D1 !important;
    text-shadow: 0 0 10px rgba(235, 97, 34, 0.3);
}

/* Subtle glow effect */
.homepage .section-light .card:hover {
    background: radial-gradient(circle at center, #2f2f2f, #2a2a2a) !important;
}

/* Price highlight animation */
.homepage .section-light .card .unit-details strong {
    transition: all 0.3s ease;
    display: inline-block;
}

.homepage .section-light .card:hover .unit-details strong {
    color: #FFE5D1 !important;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(235, 97, 34, 0.5);
}

/* Card content stagger animation */
.homepage .section-light .card p {
    transition: all 0.3s ease 0.1s;
}

.homepage .section-light .card:hover p {
    color: #f0f0f0 !important;
}

/* Add subtle border pulse effect */
@keyframes borderPulse {
    0% { border-color: rgba(235, 97, 34, 0.3); }
    50% { border-color: rgba(235, 97, 34, 0.6); }
    100% { border-color: rgba(235, 97, 34, 0.3); }
}

.homepage .section-light .card:hover {
    border: 1px solid rgba(235, 97, 34, 0.3);
    animation: borderPulse 2s ease-in-out infinite;
}

/* Project Preview Cards */
.projects-overview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.projects-overview h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.project-preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

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

.project-preview-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}

.project-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-status.available {
    background: #28a745;
    color: white;
}

.project-status.coming-soon {
    background: #ffc107;
    color: #333;
}

.project-status.pre-launch {
    background: #007bff;
    color: white;
}

.project-type {
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-location {
    color: #EB6122;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-location i {
    margin-right: 0.5rem;
}

.project-content > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(235, 97, 34, 0.1);
    color: #EB6122;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(235, 97, 34, 0.2);
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    color: #EB6122;
    border: 2px solid #EB6122;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #EB6122;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 97, 34, 0.3);
}

.price-range {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Homepage dark theme overrides for project section */
.homepage .projects-overview {
    background: #1a1a1a;
}

.homepage .projects-overview h2 {
    color: #EB6122;
}

.homepage .projects-overview .section-description {
    color: #cccccc;
}

.homepage .project-preview-card {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.homepage .project-preview-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.homepage .project-content h3 {
    color: #EB6122;
}

.homepage .project-content > p {
    color: #cccccc;
}

.homepage .price-range {
    color: #FFE5D1;
}

/* Value Proposition Section */
.value-proposition {
    padding: 6rem 0;
    background: white;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: left;
}

.value-text > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #EB6122;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(235, 97, 34, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #EB6122;
    margin-bottom: 0.5rem;
}

.stat-item:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item:hover .stat-label {
    color: rgba(255,255,255,0.9);
}

.value-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.visual-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.visual-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visual-container:hover img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.achievement-badge i {
    font-size: 1.5rem;
    color: #ffd700;
}

/* Homepage dark theme for value proposition */
.homepage .value-proposition {
    background: #0d0d0d;
}

.homepage .value-text h2 {
    color: #EB6122;
}

.homepage .value-text > p {
    color: #cccccc;
}

.homepage .stat-item {
    background: #2a2a2a;
    color: white;
}

.homepage .stat-item .stat-label {
    color: #cccccc;
}

.homepage .stat-item:hover {
    background: #EB6122;
}

/* Features dark theme - HOMEPAGE ONLY */
.homepage .section-light .feature {
    color: #ffffff;
}

.homepage .section-light .feature * {
    color: #ffffff !important;
}

.homepage .section-light .feature h3 {
    color: #EB6122 !important;
}

.homepage .section-light .feature p {
    color: #ffffff !important;
}

/* Price Table */
.price-table {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Price Table dark theme - HOMEPAGE ONLY */
.homepage .section-light .price-table {
    background: #2a2a2a;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.homepage .section-light .price-table h3 {
    color: #EB6122;
}

.homepage .section-light .price-table .price {
    color: #EB6122;
}

.homepage .section-light .price-table p {
    color: #cccccc;
}

.homepage .section-light .price-table .unit-details {
    background: #3a3a3a;
    color: #ffffff;
}

.homepage .section-light .price-table .price-features li {
    color: #cccccc;
    border-bottom: 1px solid #555;
}

/* Dark section icon colors - HOMEPAGE ONLY */
.homepage .section-light .fas {
    color: #EB6122 !important;
}

.homepage .section-light h2,
.homepage .section-light h3,
.homepage .section-light h4 {
    color: #EB6122 !important;
}

.homepage .section-light p {
    color: #ffffff !important;
}

.homepage .section-light a {
    color: #EB6122 !important;
}

.homepage .section-light a:hover {
    color: #D04E0E !important;
}

/* Override any inline styles that might cause visibility issues - HOMEPAGE ONLY */
.homepage .section-light [style*="color: #666"],
.homepage .section-light [style*="color: #333"],
.homepage .section-light [style*="color: rgb(102"],
.homepage .section-light [style*="color: rgb(51"] {
    color: #ffffff !important;
}

.homepage .section-light [style*="color: #2c3e50"] {
    color: #EB6122 !important;
}

/* Inline styled elements in dark sections - HOMEPAGE ONLY */
.homepage .section-light div[style*="background: #f8f9fa"] {
    background: #3a3a3a !important;
    color: #ffffff !important;
}

.homepage .section-light div[style*="background: #f0f0f0"] {
    background: #3a3a3a !important;
    color: #ffffff !important;
    border-color: #555 !important;
}

.homepage .section-light span[style*="color: #666"],
.homepage .section-light p[style*="color: #666"] {
    color: #ffffff !important;
}

/* Price table specific fixes - HOMEPAGE ONLY */
.homepage .section-light .price-table {
    background: #2a2a2a;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.homepage .section-light .price-table * {
    color: #ffffff !important;
}

.homepage .section-light .price-table h3 {
    color: #EB6122 !important;
}

.homepage .section-light .price-table .price {
    color: #EB6122 !important;
}

.homepage .section-light .price-table p {
    color: #ffffff !important;
}

.homepage .section-light .price-table .price-features li {
    color: #ffffff !important;
    border-bottom: 1px solid #555;
}

.homepage .section-light .price-table strong {
    color: #EB6122 !important;
}

.price-table.featured {
    transform: scale(1.05);
    border: 3px solid #EB6122;
}

.price-table.featured::before {
    content: "Most Popular";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #EB6122;
    color: white;
    padding: 0.5rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #EB6122, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #EB6122;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: #EB6122;
}

.footer-section h4 {
    margin: 1.5rem 0 1rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

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

/* Company achievements */
.company-achievements {
    margin-top: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.achievement-item i {
    color: #EB6122;
    font-size: 1.1rem;
    width: 20px;
}

/* Project links */
.project-links {
    margin-bottom: 1.5rem;
}

.project-links a {
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding-left: 15px;
}

.project-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #EB6122;
    border-radius: 50%;
}

.project-links a:hover::before {
    background: #FFE5D1;
    box-shadow: 0 0 8px rgba(235, 97, 34, 0.6);
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item i {
    color: #EB6122;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item span {
    color: #bdc3c7;
    font-size: 0.95rem;
}

/* Enhanced Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(235, 97, 34, 0.2);
    text-decoration: none;
    margin-bottom: 0;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #EB6122;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 97, 34, 0.3);
}

.social-link:hover i {
    color: #FFE5D1;
    text-shadow: 0 0 8px rgba(235, 97, 34, 0.6);
}

.social-link i {
    font-size: 1.1rem;
    color: #EB6122;
    transition: all 0.3s ease;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Newsletter signup */
.newsletter-signup {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(235, 97, 34, 0.1);
}

.newsletter-signup h4 {
    margin: 0 0 0.5rem;
}

.newsletter-signup p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #EB6122;
    box-shadow: 0 0 8px rgba(235, 97, 34, 0.3);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #EB6122;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #D04E0E;
    transform: translateY(-1px);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-bottom: 0;
    display: inline;
}

.footer-links a:hover {
    color: #EB6122;
    transform: none;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Unit details styling */
.unit-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

/* Unit details styling - dark theme only on homepage */
.homepage .section-light .unit-details {
    background: #3a3a3a;
    color: #ffffff;
}

.homepage .section-light .unit-details * {
    color: #ffffff !important;
}

.homepage .section-light .unit-details p {
    color: #ffffff !important;
}

.homepage .section-light .unit-details strong {
    color: #EB6122 !important;
}

/* Pricing info styling */
.pricing-info {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Pricing info styling - dark theme only on homepage */
.homepage .section-light .pricing-info {
    background: #3a3a3a;
    color: #ffffff;
}

.homepage .section-light .pricing-info * {
    color: #ffffff !important;
}

.homepage .section-light .pricing-info strong {
    color: #EB6122 !important;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .menu-toggle {
        display: block;
        margin-left: auto; /* 确保汉堡菜单在移动端靠右 */
        order: 2; /* 确保按钮在flex布局中排在最后 */
    }
    
    .logo {
        order: 1; /* 确保logo在flex布局中排在最前 */
        display: flex;
        align-items: center;
    }
    
    .logo img {
        height: 35px;
        width: auto;
        vertical-align: middle;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(45, 45, 45, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 1000; /* 确保菜单在最上层 */
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    /* 确保移动端菜单链接完全可点击 */
    .nav-menu li a {
        display: block !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: background-color 0.3s ease !important;
        border-radius: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .nav-menu li a:hover {
        background-color: rgba(255,255,255,0.1) !important;
        color: #FFE5D1 !important;
    }
    
    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        transform: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-menu a {
        color: rgba(255,255,255,0.9);
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.9rem;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255,255,255,0.1);
        color: #FFE5D1;
    }
    
    .dropdown-menu a.active {
        background-color: rgba(255,255,255,0.15);
        color: #FFE5D1;
    }
    
    /* Mobile carousel adjustments */
    .hero-carousel {
        padding-top: 70px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .slide-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 4.5rem; /* 平板端适中间距 */
        gap: 0.75rem;
        z-index: 100;
        padding: 0.75rem 1rem;
        background: transparent;
        border-radius: 25px;
        backdrop-filter: none;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
    
    /* Mobile project cards */
    .project-preview-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    /* Mobile value proposition */
    .value-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .value-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-actions {
        justify-content: center;
    }
    
    .value-actions .btn {
        flex: 1;
        max-width: 200px;
    }
    
    .visual-container img {
        height: 300px;
    }
    
    /* Mobile footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .price-table.featured {
        transform: none;
        margin: 1rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile carousel adjustments */
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-control.prev {
        left: 0.5rem;
    }
    
    .carousel-control.next {
        right: 0.5rem;
    }
    
    .carousel-indicator {
        width: 11px;
        height: 11px;
        position: relative;
        z-index: 101 !important;
        /* 增强可见性 */
        background: rgba(255, 255, 255, 0.9) !important;
        border: 2px solid #EB6122 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-indicator.active {
        background: #EB6122 !important;
        box-shadow: 0 0 15px rgba(235, 97, 34, 0.8), 0 2px 8px rgba(0, 0, 0, 0.3);
        transform: scale(1.15);
    }
    
    /* 确保移动端指示器始终可见 */
    .carousel-indicators {
        bottom: 6rem !important; /* 大幅增加手机端底部距离 */
        z-index: 100 !important;
        padding: 0.75rem 1.2rem;
        background: transparent;
        border-radius: 25px;
        backdrop-filter: none;
        /* 保持绝对定位但只在轮播组件内 */
        position: absolute;
        /* 确保在所有手机设备上都有安全距离 */
        margin-bottom: env(safe-area-inset-bottom, 0);
        box-shadow: none;
    }
    
    /* Mobile project sections */
    .projects-overview h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .project-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-outline {
        text-align: center;
    }
    
    .price-range {
        text-align: center;
        font-size: 1rem;
    }
    
    /* Mobile value proposition */
    .value-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .value-text > p {
        font-size: 1rem;
        text-align: center;
    }
    
    .value-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .value-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .value-actions .btn {
        width: 100%;
        max-width: none;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem !important;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Dark section form styling - homepage only */
.homepage .section-light form {
    background: #2a2a2a;
    color: #ffffff;
}

.homepage .section-light input,
.homepage .section-light select,
.homepage .section-light textarea {
    background: #3a3a3a;
    color: #ffffff;
    border: 1px solid #555;
}

.homepage .section-light input:focus,
.homepage .section-light select:focus,
.homepage .section-light textarea:focus {
    border-color: #EB6122;
    outline: none;
    box-shadow: 0 0 5px rgba(235, 97, 34, 0.3);
}

.homepage .section-light label {
    color: #ffffff;
}

.homepage .section-light .form-message {
    background: #3a3a3a;
    border: 1px solid #555;
    color: #ffffff;
}

/* Dark section table styling - homepage only */
.homepage .section-light table {
    background: #2a2a2a;
    color: #ffffff;
}

.homepage .section-light table th {
    background: linear-gradient(135deg, #EB6122 0%, #D04E0E 100%);
    color: white;
}

.homepage .section-light table td {
    border-bottom: 1px solid #555;
}

.homepage .section-light table tr:nth-child(even) {
    background: #3a3a3a;
}

/* Additional dark theme fixes - homepage only */
.homepage .section-light table {
    background: #2a2a2a !important;
    color: #ffffff !important;
}

.homepage .section-light table th {
    background: linear-gradient(135deg, #EB6122 0%, #D04E0E 100%) !important;
    color: white !important;
}

.homepage .section-light table td {
    border-bottom: 1px solid #555 !important;
    color: #ffffff !important;
}

.homepage .section-light table tr:nth-child(even) {
    background: #3a3a3a !important;
}

.homepage .section-light table tr:nth-child(odd) {
    background: #2a2a2a !important;
}

/* Mobile optimizations for hero carousel */
@media (max-width: 768px) {
    .hero-carousel {
        overflow: hidden;
    }
    
    .carousel-slides {
        width: 100%;
    }
    
    .carousel-slide {
        min-width: 100vw;
        width: 100vw;
        max-width: 100vw;
        flex-shrink: 0;
    }
    
    .slide-content {
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* ============================
   响应式轮播指示器优化
   ============================ */

/* 大屏设备 (1200px+) */
@media (min-width: 1200px) {
    .carousel-indicators {
        bottom: 5rem;
        gap: 1.2rem;
        padding: 1rem 1.5rem;
    }
    
    .carousel-indicator {
        width: 16px;
        height: 16px;
    }
}

/* 桌面端 (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-indicators {
        bottom: 4.5rem;
        gap: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .carousel-indicator {
        width: 15px;
        height: 15px;
    }
}

/* 小型桌面/大平板 (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-indicators {
        bottom: 4rem;
        gap: 0.875rem;
        padding: 0.75rem 1rem;
        background: transparent;
    }
    
    .carousel-indicator {
        width: 14px;
        height: 14px;
    }
}

/* 大手机/小平板 (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .carousel-indicators {
        bottom: 5rem !important;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: transparent;
        border-radius: 25px;
        backdrop-filter: none;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.85) !important;
        border: 2px solid #EB6122 !important;
    }
}

/* 超小屏幕手机 (360px及以下) */
@media (max-width: 360px) {
    .carousel-indicators {
        bottom: 6.5rem !important;
        gap: 0.5rem;
        padding: 0.625rem 1rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* iPhone特定优化 - 支持安全区域 */
@media (max-width: 480px) {
    @supports (padding: max(0px)) {
        .carousel-indicators {
            bottom: max(6rem, calc(6rem + env(safe-area-inset-bottom))) !important;
        }
    }
}