:root {
  --apple-bg: #09090b;
  --apple-card: #18181b;
  --apple-border: rgba(255, 255, 255, 0.14);
  --apple-text: #fafafa;
  --apple-muted: #a1a1aa;
  --apple-blue: #22d3ee;
  --apple-radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--apple-bg);
  color: var(--apple-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--apple-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header.apple-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  font-size: 13px;
  gap: 16px;
}

.apple-brand {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-brand .mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #09090b;
}

.apple-nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.apple-nav-list a {
  color: #a1a1aa;
  transition: 0.2s;
}

.apple-nav-list a:hover,
.apple-nav-list a.active {
  color: #fff;
  text-decoration: none;
}

.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}

.btn-apple-primary {
  background: #0891b2;
  color: #fff;
}

.btn-apple-primary:hover { background: #0e7490; color: #fff; }

.btn-apple-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apple-secondary:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.apple-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.12) 0%, transparent 60%);
}

.apple-hero-tag {
  font-size: 17px;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 12px;
}

.apple-hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.07;
  margin-bottom: 16px;
  color: #fff;
}

.apple-hero-sub {
  font-size: 21px;
  color: var(--apple-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  font-weight: 400;
}

.apple-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}

.chip-card {
  background: var(--apple-card);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius);
  padding: 40px;
}

.chip-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.chip-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.chip-card p {
  font-size: 15px;
  color: var(--apple-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cross-banner {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: var(--apple-radius);
  border: 1px solid var(--apple-border);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cross-banner h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}

.cross-banner p {
  font-size: 14px;
  color: var(--apple-muted);
  margin: 0;
}

.apple-dl-wrap { padding: 60px 0 80px; }

.dl-mac-hero-box {
  background: var(--apple-card);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius);
  padding: 48px;
  text-align: center;
  margin-bottom: 36px;
}

.dl-mac-hero-box h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.dl-mac-hero-box > p {
  color: var(--apple-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.dl-arch-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.drag-install-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: #0D0D0E;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  margin: 30px auto 0;
}

.drag-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--apple-muted);
}

.drag-icon-box .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
}

.drag-arrow {
  font-size: 24px;
  color: var(--apple-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .drag-arrow { animation: none; opacity: 1; }
}

.apple-content-panel {
  background: var(--apple-card);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius);
  padding: 40px;
  margin-bottom: 28px;
}

.apple-content-panel h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.apple-content-panel h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: var(--apple-blue);
}

.apple-content-panel p {
  font-size: 15px;
  color: #D2D2D7;
  margin-bottom: 16px;
  line-height: 1.7;
}

.apple-content-panel ul {
  margin-left: 24px;
  font-size: 15px;
  color: #D2D2D7;
  margin-bottom: 18px;
}

.apple-code {
  background: #000;
  border: 1px solid var(--apple-border);
  border-radius: 8px;
  padding: 16px;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: #22d3ee;
  margin: 16px 0;
  overflow-x: auto;
}

footer.apple-footer {
  background: #111113;
  border-top: 1px solid var(--apple-border);
  padding: 48px 0 32px;
  font-size: 12px;
  color: #71717a;
}

.apple-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.apple-footer-col h4 {
  color: #D2D2D7;
  margin-bottom: 12px;
  font-size: 13px;
}

.apple-footer-col p {
  color: #71717a;
  margin-bottom: 10px;
  line-height: 1.6;
}

.apple-footer-col ul { list-style: none; }
.apple-footer-col li { margin-bottom: 8px; }
.apple-footer-col a { color: #71717a; }
.apple-footer-col a:hover { color: #fff; }

.apple-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--apple-border);
}

@media (max-width: 850px) {
  .chip-grid,
  .apple-footer-grid { grid-template-columns: 1fr; }
  .apple-hero-title { font-size: 38px; }
  .apple-nav-list { display: none; }
  .apple-hero-cta .btn-apple { width: 100%; }
}
