* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      
      body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: #f5f5f5;
        color: #333;
        line-height: 1.6;
      }
      
      .container {
        max-width: 640px;
        margin: 0 auto;
        background-color: #fff;
        min-height: 100vh;
      }
      
      /* 头部样式 */
      header {
        background-color: #007aff;
        color: #fff;
        padding: 16px;
        position: sticky;
        top: 0;
        z-index: 100;
      }
      
      .header-content {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
      }
      
      .back-button {
        position: absolute;
        left: 0;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      header h1 {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
      }
      
      /* 导航样式 */
      nav {
        background-color: #f8f8f8;
        border-bottom: 1px solid #e0e0e0;
        padding: 12px 16px;
        display: flex;
        justify-content: space-around;
      }
      
      nav a {
        color: #333;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
      }
      
      nav a.active {
        color: #007aff;
      }
      
      /* 主页样式 */
      .hero {
        position: relative;
        height: 200px;
        overflow: hidden;
      }
      
      .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .hero-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: #fff;
        padding: 20px 16px;
      }
      
      .hero h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;
      }
      
      .hero p {
        font-size: 14px;
        opacity: 0.9;
      }
      
      .features {
        padding: 24px 16px;
      }
      
      .feature-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
      }
      
      .feature-icon {
        width: 40px;
        height: 40px;
        background-color: #007aff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-right: 12px;
      }
      
      .feature-content h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 4px;
      }
      
      .feature-content p {
        font-size: 14px;
        color: #666;
      }
      
      /* 按钮样式 */
      .btn {
        display: block;
        width: 90%;
        max-width: 300px;
        margin: 0 auto 24px;
        padding: 14px;
        background-color: #007aff;
        color: #fff;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
      }
      
      .btn-secondary {
        background-color: #f0f0f0;
        color: #333;
      }
      
      /* 汽车列表页样式 */
      .cars-list {
        padding: 16px;
      }
      
      .car-card {
        background-color: #f8f8f8;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      }
      
      .car-image {
        width: 100%;
        height: 180px;
        overflow: hidden;
      }
      
      .car-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .car-info {
        padding: 16px;
      }
      
      .car-info h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
      }
      
      .car-specs {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 12px;
      }
      
      .spec-item {
        font-size: 12px;
        color: #666;
        margin-right: 16px;
        margin-bottom: 4px;
      }
      
      .car-price {
        font-size: 16px;
        font-weight: 600;
        color: #ff6b6b;
        margin-bottom: 12px;
      }
      
      /* 车辆详情页样式 */
      .car-details {
        padding-bottom: 24px;
      }
      
      .image-gallery {
        position: relative;
        height: 250px;
      }
      
      .gallery-main {
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      
      .gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .gallery-thumbs {
        display: flex;
        padding: 12px 16px;
        gap: 10px;
        overflow-x: auto;
        background-color: #f8f8f8;
      }
      
      .gallery-thumb {
        width: 80px;
        height: 60px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
        cursor: pointer;
        border: 2px solid transparent;
      }
      
      .gallery-thumb.active {
        border-color: #007aff;
      }
      
      .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .details-content {
        padding: 20px 16px;
      }
      
      .details-content h1 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 12px;
      }
      
      .details-price {
        font-size: 20px;
        font-weight: 600;
        color: #ff6b6b;
        margin: 20px 0;
        clear: both;
        display: block;
      }
      
      .details-specs {
        background-color: #f8f8f8;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
      }
      
      .details-specs h2 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
      }
      
      .spec-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #e0e0e0;
      }
      
      .spec-row:last-child {
        border-bottom: none;
      }
      
      .spec-label {
        font-size: 14px;
        color: #666;
      }
      
      .spec-value {
        font-size: 14px;
        font-weight: 500;
      }
      
      .details-description {
        margin-bottom: 20px;
      }
      
      .details-description h2 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
      }
      
      .details-description p {
        font-size: 14px;
        line-height: 1.5;
        color: #333;
      }
      
      /* 图片查看器样式 */
      .image-viewer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.9);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
      }
      
      .image-viewer.active {
        display: flex;
      }
      
      .viewer-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .viewer-image {
        max-width: 90%;
        max-height: 80%;
        object-fit: contain;
      }
      
      .viewer-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
      }
      
      /* 页面容器样式 */
      .page {
        display: none;
      }
      
      .page.active {
        display: block;
      }
      
      /* 响应式调整 */
      @media (min-width: 768px) {
        .container {
          max-width: 768px;
        }
        
        .hero {
          height: 300px;
        }
        
        .cars-list {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 16px;
        }
        
        .car-card {
          margin-bottom: 0;
        }
      }