/* 优乐租官网 · Apple 风格 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fff;
  --bg-alt: #fbfbfd;
  --bg-dark: #000;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --link: #0066cc;
  --link-hover: #0077ed;
  --accent: #0071e3;
  --border: #d2d2d7;
  --nav-h: 44px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 980px;
  --wide: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── 导航（Apple 风格吸顶） ── */
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 251, 253, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-nav {
  max-width: var(--wide);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; opacity: 0.8; }
.nav-brand img { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  color: var(--text);
  font-size: 12px;
  padding: 0 18px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a.active { opacity: 1; font-weight: 600; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--link-hover); }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #333; }

/* ── 首页 Hero Banner（左右式 · 悬浮真机无灰底） ── */
.hero-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #000;
  color: #f5f5f7;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 45%, rgba(41, 151, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(120, 80, 200, 0.1) 0%, transparent 50%),
    #000;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 100px 22px 60px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero-content {
  text-align: left;
  max-width: 520px;
}
.hero-eyebrow {
  font-size: 17px;
  font-weight: 600;
  color: #2997ff;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 400;
  color: #a1a1a6;
  line-height: 1.45;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* 手机舞台：用户提供的 Banner 真机图 */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(320px, 48vh, 520px);
  background: transparent;
}
.hero-banner-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
  animation: heroBannerFloat 5s ease-in-out infinite;
}
@keyframes heroBannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 旧三机位样式保留兼容 */
.hero-phone-item {
  display: none;
}

/* ── 区块通用 ── */
.section {
  padding: 100px 22px;
  text-align: center;
}
.section-dark { background: var(--bg-dark); color: #f5f5f7; }
.section-alt { background: var(--bg-alt); }
.section-hd {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 21px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.4;
}
.section-dark .section-sub { color: #a1a1a6; }

/* ── 产品网格 ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--wide);
  margin: 0 auto;
  text-align: left;
}
.product-card {
  background: var(--bg);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  text-decoration: none;
}
.section-alt .product-card { background: #fff; }
.product-card-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: transparent;
}
.product-card-img img {
  width: auto;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  background: transparent;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 20px 24px 28px; }
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #bf4800;
  margin-bottom: 6px;
}
.product-card-body h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.product-card-body .tagline {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.product-price {
  font-size: 14px;
  color: var(--text);
}
.product-price strong {
  font-size: 17px;
  font-weight: 600;
}

/* ── 特色三列 ── */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--wide);
  margin: 0 auto;
  text-align: center;
}
.feature-item .fi-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-item p { font-size: 15px; color: var(--text-2); line-height: 1.5; }

/* ── 滚动显现 ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 产品列表页 ── */
.page-hero {
  padding: 80px 22px 60px;
  text-align: center;
  background: var(--bg-alt);
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.page-hero p { font-size: 21px; color: var(--text-2); }

/* ── 产品详情 ── */
.detail-hero {
  padding: 60px 22px 40px;
  text-align: center;
  background: var(--bg-alt);
}
.detail-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.detail-hero .tagline {
  font-size: 24px;
  color: var(--text-2);
  margin-top: 8px;
}
.detail-gallery {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 22px;
}
.detail-main-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: transparent;
}
.detail-main-img img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s var(--ease);
  background: transparent;
}
.detail-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.detail-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.detail-thumb.active { border-color: var(--accent); }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }

.detail-info {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 22px 80px;
}
.detail-price-box {
  text-align: center;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: 18px;
  margin-bottom: 40px;
}
.detail-price-box .from {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 4px;
}
.detail-price-box .amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.detail-price-box .amount small { font-size: 21px; font-weight: 400; color: var(--text-2); }
.detail-price-box .period { font-size: 15px; color: var(--text-3); margin-top: 8px; }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.spec-block {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 24px;
}
.spec-block h4 {
  font-size: 13px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.spec-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-tag {
  font-size: 14px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 980px;
  border: 1px solid var(--border);
}

.detail-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 32px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.feature-list li {
  font-size: 15px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.detail-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px 22px;
  font-size: 12px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--link); }

/* ── 关于页 ── */
.about-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 21px;
  line-height: 1.6;
  color: var(--text-2);
  text-align: center;
}
.timeline {
  max-width: 640px;
  margin: 60px auto 0;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s var(--ease);
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.timeline-item p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

.value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--wide);
  margin: 0 auto;
}
.value-card {
  padding: 36px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: default;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.value-card .vc-icon { font-size: 36px; margin-bottom: 16px; }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ── 联系页 ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--wide);
  margin: 0 auto;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,.04);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.contact-card:hover, .contact-card.active {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  border-color: var(--accent);
}
.contact-card .cc-icon { font-size: 28px; margin-bottom: 12px; }
.contact-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--text-2); }
.contact-detail-panel {
  padding: 32px;
  border-radius: 18px;
  background: var(--bg-alt);
  min-height: 280px;
  transition: all 0.4s var(--ease);
}
.contact-detail-panel h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-detail-panel p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.contact-form-wrap {
  max-width: var(--wide);
  margin: 60px auto 0;
  padding: 48px;
  background: var(--bg-alt);
  border-radius: 18px;
}
.contact-form-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 17px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,113,227,.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* ── 招聘页 规划中 ── */
.coming-soon {
  text-align: center;
  padding: 120px 22px;
  max-width: 560px;
  margin: 0 auto;
}
.coming-soon .cs-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}
.coming-soon h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.coming-soon p {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── 页脚 ── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 20px 22px 40px;
  font-size: 12px;
  color: var(--text-3);
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { line-height: 1.8; }

/* ── 响应式 ── */
@media (max-width: 834px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(251,251,253,.97);
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 22px; height: auto; }
  .nav-toggle { display: block; }
  .site-nav { position: relative; }
  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .value-cards { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 88px;
  }
  .hero-content { text-align: center; max-width: 100%; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stage { min-height: 280px; }
  .hero-banner-img { max-width: 100%; }
}
@media (max-width: 480px) {
  .value-cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
