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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: #333;
    margin-bottom: 0;
    padding: 20px 30px;
    animation: fadeInDown 0.8s ease;
}

.header-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

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

header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: none;
}

header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Projects Grid (Home Page) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 0;
    width: 100%;
    flex: 1;
    padding: 0;
}

.project-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: fadeInUp 0.8s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.anjoy-card {
    background-color: #00285d;
}

.anjoy-card:hover {
    background-color: #003a7a;
}

.anjoy-card:active {
    background-color: #004d99;
}

.ilu-card {
    background-color: #0b3910;
}

.ilu-card:hover {
    background-color: #0e4d15;
}

.ilu-card:active {
    background-color: #11611a;
}

.project-image {
    width: 100%;
    height: 60vh;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.project-image::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.5s ease;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover .project-image::before {
    left: 100%;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.project-info {
    padding: 25px 30px;
    background: transparent;
    flex-shrink: 0;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
}

.project-info p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tap-indicator {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin-top: 20px;
    opacity: 0.85;
}

/* Explore Button Styles */
.explore-button {
    background: linear-gradient(135deg, #e4c58a 0%, #d4b57a 100%);
    color: white;
    border: none;
    padding: 0.67em 1.67em;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(228, 197, 138, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: glow-pulse 3s ease-in-out infinite, float-gentle 4s ease-in-out infinite;
}

.explore-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.explore-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
    z-index: -1;
}

.explore-button:hover::before {
    width: 300px;
    height: 300px;
}

.explore-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 50px rgba(228, 197, 138, 0.8), 0 0 40px rgba(228, 197, 138, 0.6);
    animation: glow-pulse-intense 1.5s ease-in-out infinite, float-gentle 4s ease-in-out infinite;
}

.explore-button:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(228, 197, 138, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(228, 197, 138, 0.7), 0 0 20px rgba(228, 197, 138, 0.4);
    }
}

@keyframes glow-pulse-intense {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(228, 197, 138, 0.8), 0 0 40px rgba(228, 197, 138, 0.6);
    }
    50% {
        box-shadow: 0 20px 60px rgba(228, 197, 138, 1), 0 0 50px rgba(228, 197, 138, 0.8);
    }
}

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Anjoy Explore Button */
.anjoy-explore {
    color: #00285d;
}

.anjoy-card .explore-button {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* ILU Explore Button */
.ilu-explore {
    color: #0b3910;
}

.ilu-card .explore-button {
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.8px;
}

/* Anjoy Homes - Modern Corporate Font */
.anjoy-card .project-info h2 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #e4c58a;
}

.anjoy-card .project-info p {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #e4c58a;
}

.anjoy-card .tap-indicator {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #e4c58a;
}

/* ILU Green Homes - Elegant Serif Font */
.ilu-card .project-info h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ilu-card .project-info p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.ilu-card .tap-indicator {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* Project Header (Unit Pages) */
.unit-page {
    background: white;
    padding: 0;
}

.ilu-page {
    background: #0b3910;
}

.anjoy-page {
    background: #00285d;
}

.project-header {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 40px;
}

.back-button {
    position: fixed;
    right: 40px;
    top: 40px;
    background: rgba(11, 57, 16, 0.6);
    color: white;
    border: 2px solid rgba(11, 57, 16, 0.6);
    padding: 15px 30px;
    font-size: 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(11, 57, 16, 0.3);
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(14, 77, 21, 0.95);
    border-color: rgba(14, 77, 21, 0.95);
    box-shadow: 0 6px 20px rgba(11, 57, 16, 0.4);
}

.back-button:active {
    transform: scale(0.95);
}

.project-header h1 {
    color: #333;
}

.project-header p {
    color: #666;
}

/* ILU Page Header */
.ilu-page .project-header h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e4c58a;
}

.ilu-page .project-header p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #e4c58a;
    opacity: 0.9;
}

/* Anjoy Page Header */
.anjoy-page .project-header h1 {
    color: #e4c58a;
}

.anjoy-page .project-header p {
    color: #e4c58a;
    opacity: 0.9;
}

/* Units Grid */
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
}

/* Units List - Horizontal Layout */
.units-list {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
}

.unit-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.unit-row:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.unit-image-large {
    flex: 0 0 50%;
    overflow: hidden;
    background: #f5f5f5;
}

.unit-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.unit-row:hover .unit-image-large img {
    transform: scale(1.05);
}

.unit-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unit-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #0b3910;
    padding-bottom: 15px;
}

.unit-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b3910;
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.unit-size {
    font-size: 1.5rem;
    color: #0b3910;
    font-weight: 600;
}

.unit-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.unit-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.spec-item {
    display: flex;
    gap: 10px;
}

.spec-label {
    font-weight: 600;
    color: #0b3910;
    min-width: 80px;
}

.spec-value {
    color: #555;
}

.vr-button-large {
    background: linear-gradient(135deg, #0b3910 0%, #0e4d15 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(11, 57, 16, 0.3);
    align-self: flex-start;
}

.vr-button-large:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(11, 57, 16, 0.4);
}

.vr-button-large:active {
    transform: scale(0.98);
}

.vr-button-large .vr-icon {
    font-size: 1.8rem;
}

/* ILU Green Homes Specific Styles */
.ilu-page .unit-row {
    background: #0e4d15;
    border-color: #e4c58a;
}

.ilu-page .unit-name {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e4c58a;
}

.ilu-page .unit-size {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #e4c58a;
}

.ilu-page .unit-header {
    border-bottom-color: #e4c58a;
}

.ilu-page .unit-description {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #e4c58a;
    opacity: 0.95;
}

.ilu-page .spec-label {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #e4c58a;
}

.ilu-page .spec-value {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #e4c58a;
    opacity: 0.9;
}

.ilu-page .unit-specs {
    background: rgba(14, 77, 21, 0.4);
}

.vr-button-large.green {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #e4c58a 0%, #d4b57a 100%);
    color: #0b3910;
    box-shadow: 0 5px 20px rgba(228, 197, 138, 0.3);
}

.vr-button-large.green:hover {
    background: linear-gradient(135deg, #f0d5a0 0%, #e4c58a 100%);
    box-shadow: 0 8px 30px rgba(228, 197, 138, 0.5);
}

.back-button.ilu-back {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(228, 197, 138, 0.6);
    color: #0b3910;
    border-color: rgba(228, 197, 138, 0.6);
    box-shadow: 0 4px 15px rgba(228, 197, 138, 0.3);
    backdrop-filter: blur(10px);
}

.back-button.ilu-back:hover {
    background: rgba(240, 213, 160, 0.95);
    border-color: rgba(240, 213, 160, 0.95);
    box-shadow: 0 6px 20px rgba(228, 197, 138, 0.4);
}

.vr-close-button.ilu-close {
    background: rgba(228, 197, 138, 0.95);
    color: #0b3910;
    border-color: #e4c58a;
}

.vr-close-button.ilu-close:hover {
    background: rgba(240, 213, 160, 1);
}

/* Anjoy Homes Specific Styles */
.anjoy-page .unit-row {
    background: #003a7a;
    border-color: #e4c58a;
}

.anjoy-page .unit-name {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    color: #e4c58a;
}

.anjoy-page .unit-size {
    color: #e4c58a;
}

.anjoy-page .unit-header {
    border-bottom-color: #e4c58a;
}

.anjoy-page .unit-description {
    color: #e4c58a;
    opacity: 0.95;
}

.anjoy-page .spec-label {
    color: #e4c58a;
}

.anjoy-page .spec-value {
    color: #e4c58a;
    opacity: 0.9;
}

.anjoy-page .unit-specs {
    background: rgba(0, 58, 122, 0.4);
}

.anjoy-button {
    background: linear-gradient(135deg, #e4c58a 0%, #d4b57a 100%);
    color: #00285d;
    box-shadow: 0 5px 20px rgba(228, 197, 138, 0.3);
}

.anjoy-button:hover {
    background: linear-gradient(135deg, #f0d5a0 0%, #e4c58a 100%);
    box-shadow: 0 8px 30px rgba(228, 197, 138, 0.5);
}

.back-button.anjoy-back {
    background: rgba(228, 197, 138, 0.6);
    color: #00285d;
    border-color: rgba(228, 197, 138, 0.6);
    box-shadow: 0 4px 15px rgba(228, 197, 138, 0.3);
    backdrop-filter: blur(10px);
}

.back-button.anjoy-back:hover {
    background: rgba(240, 213, 160, 0.95);
    border-color: rgba(240, 213, 160, 0.95);
    box-shadow: 0 6px 20px rgba(228, 197, 138, 0.4);
}

.vr-close-button.anjoy-close {
    background: rgba(228, 197, 138, 0.95);
    color: #00285d;
    border-color: #e4c58a;
}

.vr-close-button.anjoy-close:hover {
    background: rgba(240, 213, 160, 1);
}

/* VR Modal Styles */
.vr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vr-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.vr-modal-content {
    position: relative;
    width: 95%;
    height: 95%;
    max-width: 1800px;
    max-height: 1000px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

/* 16:9 优化 VR 模态窗口 */
@media (min-width: 1280px) and (min-height: 720px) {
    .vr-modal-content {
        width: 96%;
        height: 96%;
        max-width: 90vw;
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .vr-close-button {
        top: 25px;
        right: 25px;
        padding: 14px 35px;
        font-size: 1.3rem;
    }
}

/* Full HD 特别优化 VR 窗口 */
@media (min-width: 1920px) and (min-height: 1080px) {
    .vr-modal-content {
        width: 98%;
        height: 98%;
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .vr-close-button {
        top: 30px;
        right: 30px;
        padding: 16px 40px;
        font-size: 1.4rem;
    }
}

/* 4K 优化 VR 窗口 */
@media (min-width: 2560px) and (min-height: 1440px) {
    .vr-modal-content {
        max-width: 2400px;
        max-height: 1350px;
    }
    
    .vr-close-button {
        top: 35px;
        right: 35px;
        padding: 18px 45px;
        font-size: 1.5rem;
    }
}

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

.vr-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(11, 57, 16, 0.9);
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.vr-close-button:hover {
    background: rgba(14, 77, 21, 1);
    transform: scale(1.05);
}

.vr-close-button:active {
    transform: scale(0.95);
}

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

.vr-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.unit-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.unit-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.unit-image {
    width: 100%;
    height: 350px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vr-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.vr-button.green {
    background: linear-gradient(135deg, #52b788 0%, #2d6a4f 100%);
    box-shadow: 0 5px 20px rgba(82, 183, 136, 0.4);
}

.vr-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.vr-button.green:hover {
    box-shadow: 0 8px 30px rgba(82, 183, 136, 0.6);
}

.vr-button:active {
    transform: scale(0.98);
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.2);
    }
}

/* 16:9 Widescreen Optimization (1920x1080, 2560x1440, etc.) */
@media (min-width: 1280px) and (min-height: 720px) {
    /* 首页优化 - 紧凑布局，一屏显示所有内容 */
    header {
        padding: 15px 30px;
        margin-bottom: 0;
    }
    
    .header-logo {
        width: 95px;
        height: 95px;
    }
    
    header h1 {
        font-size: 2.3rem;
    }
    
    header p {
        font-size: 1.3rem;
    }
    
    /* 图片高度 - 2/3 (使用vh相对单位) */
    .project-image {
        height: 56vh;
    }
    
    /* 项目卡片 - 1/3 (使用vh相对单位) */
    .project-info {
        height: 28vh;
        padding: 20px 30px;
    }
    
    .project-info h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        font-weight: 700;
    }
    
    .project-info p {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }
    
    .explore-button {
        font-size: 1.3rem;
        padding: 0.58em 1.54em;
        margin-top: 10px;
    }
    
    /* 户型页面 - 优化图片和文字比例 */
    .project-header {
        padding: 35px 50px;
    }
    
    .project-header h1 {
        font-size: 2.8rem;
    }
    
    .project-header p {
        font-size: 1.3rem;
    }
    
    .units-list {
        padding: 0 50px 50px 50px;
    }
    
    .unit-row {
        margin-bottom: 50px;
        gap: 50px;
    }
    
    /* 图片占比调整为45%，文字占比55% */
    .unit-image-large {
        flex: 0 0 45%;
    }
    
    .unit-details {
        flex: 1;
        padding: 45px 50px;
        gap: 22px;
    }
    
    .unit-name {
        font-size: 2.1rem;
    }
    
    .unit-size {
        font-size: 1.4rem;
    }
    
    .unit-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .unit-specs {
        padding: 22px;
        gap: 16px;
    }
    
    .spec-label {
        font-size: 1.05rem;
    }
    
    .spec-value {
        font-size: 1.05rem;
    }
    
    .vr-button-large {
        font-size: 1.35rem;
        padding: 17px 42px;
    }
    
    /* Back 按钮 */
    .back-button {
        right: 50px;
        top: 35px;
        padding: 14px 32px;
        font-size: 1.25rem;
    }
    
    /* VR 模态窗口内的 iframe */
    .vr-iframe-container {
        width: 100%;
        height: 100%;
    }
}

/* Full HD (1920x1080) 特别优化 - 紧凑布局 */
@media (min-width: 1920px) and (min-height: 1080px) {
    .header-logo {
        width: 110px;
        height: 110px;
    }
    
    header h1 {
        font-size: 2.6rem;
    }
    
    header p {
        font-size: 1.4rem;
    }
    
    /* 图片高度 - 2/3 (1920x1080优化, 使用vh相对单位) */
    .project-image {
        height: 60vh;
    }
    
    /* 文字高度 - 1/3 (使用vh相对单位) */
    .project-info {
        height: 30vh;
        padding: 25px 35px;
    }
    
    .project-info h2 {
        font-size: 2.8rem;
        font-weight: 700;
    }
    
    .project-info p {
        font-size: 1.6rem;
        -webkit-line-clamp: 3;
    }
    
    .explore-button {
        font-size: 1.7rem;
        padding: 0.59em 1.54em;
    }
    
    .unit-name {
        font-size: 2.2rem;
    }
    
    .unit-description {
        font-size: 1.1rem;
    }
}

/* 4K (2560x1440+) 优化 - 保持紧凑 */
@media (min-width: 2560px) and (min-height: 1440px) {
    header {
        padding: 20px 40px;
    }
    
    .header-logo {
        width: 120px;
        height: 120px;
    }
    
    header h1 {
        font-size: 2.8rem;
    }
    
    header p {
        font-size: 1.5rem;
    }
    
    /* 图片高度 - 2/3 (4K优化, 使用vh相对单位) */
    .project-image {
        height: 61vh;
    }
    
    /* 文字高度 - 1/3 (使用vh相对单位) */
    .project-info {
        height: 30.5vh;
        padding: 30px 40px;
    }
    
    .project-info h2 {
        font-size: 3.2rem;
        font-weight: 700;
    }
    
    .project-info p {
        font-size: 1.8rem;
        -webkit-line-clamp: 3;
    }
    
    .explore-button {
        font-size: 1.9rem;
        padding: 0.59em 1.58em;
    }
    
    .units-list {
        padding: 0 60px 60px 60px;
        max-width: 2000px;
        margin: 0 auto;
    }
    
    .unit-row {
        gap: 60px;
    }
    
    .unit-details {
        padding: 50px 60px;
    }
    
    .unit-name {
        font-size: 2.5rem;
    }
    
    .unit-description {
        font-size: 1.2rem;
    }
    
    .vr-button-large {
        font-size: 1.5rem;
        padding: 20px 50px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        gap: 0;
    }
    
    header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .units-list {
        padding: 0 20px 20px 20px;
    }
    
    .unit-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }
    
    .unit-image-large {
        flex: 0 0 auto;
        height: 300px;
    }
    
    .unit-details {
        padding: 30px 20px;
    }
    
    .unit-name {
        font-size: 1.8rem;
    }
    
    .unit-size {
        font-size: 1.2rem;
    }
    
    .unit-description {
        font-size: 1rem;
    }
    
    .unit-specs {
        grid-template-columns: 1fr;
    }
    
    .vr-button-large {
        width: 100%;
        padding: 15px 30px;
        font-size: 1.2rem;
    }
    
    .vr-modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .vr-close-button {
        top: 10px;
        right: 10px;
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-logo {
        width: 160px;
        height: 160px;
    }
    
    .header-text {
        text-align: center;
    }
    
    header h1 {
        font-size: 2.8rem;
    }
    
    header p {
        font-size: 1.4rem;
    }
    
    .project-info {
        height: 40vh;
        padding: 30px 20px;
    }
    
    .project-info h2 {
        font-size: 2.4rem;
        font-weight: 700;
    }
    
    .project-info p {
        font-size: 1.3rem;
        -webkit-line-clamp: 4;
    }
    
    .explore-button {
        font-size: 1.4rem;
        padding: 0.67em 1.56em;
        margin-top: 10px;
    }
    
    .unit-title {
        font-size: 1.6rem;
    }
    
    .back-button {
        position: fixed;
        right: 20px;
        top: 20px;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
}

/* Touch Screen Optimizations */
@media (hover: none) and (pointer: coarse) {
    .anjoy-card:hover {
        background-color: #00285d;
    }
    
    .ilu-card:hover {
        background-color: #0b3910;
    }
    
    .unit-card:hover {
        transform: none;
    }
    
    .vr-button:hover {
        transform: none;
    }
    
    .back-button:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
}

