/* SPDX-FileCopyrightText: 2026 OPPO */
/* SPDX-License-Identifier: Apache-2.0 */

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(17, 15, 21, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(17, 15, 21, 0.95);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  background: rgba(168, 85, 247, 0.08);
  margin-bottom: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-1);
}

.hero-title-dim {
  color: var(--text-3);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-provided {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.platform-tag {
  font-size: 12px;
  color: var(--text-3);
  padding: 4px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ===== SHOWCASE SECTIONS ===== */
.showcase-section {
  padding: var(--section-gap) 0;
}

.showcase-section--alt {
  background: var(--bg-1);
}

.showcase-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.showcase-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.showcase-label {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.showcase-statement {
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 400;
}

.showcase-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-gap) 0;
}

.features-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding-top: 4px;
  opacity: 0.7;
}

.feature-body {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-1);
}

.feature-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ===== INSTALL SECTION ===== */
.install-section {
  padding: var(--section-gap) 0;
}

.install-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.install-header {
  margin-bottom: 20px;
}

.install-desc {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 12px;
  line-height: 1.6;
}

.install-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.install-link:hover {
  text-decoration: underline;
}

.install-platforms {
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
}

.install-platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.install-platform-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
}

.install-platform-format {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.install-note {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: var(--radius-md);
}

.install-note-icon {
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 1px;
}

.install-note-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}

.install-note-body strong {
  color: var(--text-1);
  font-size: 13px;
  margin-right: 6px;
}

.install-note-body span {
  display: inline;
}

.install-note-body code {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
}

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: var(--section-gap) 0;
  background: var(--bg-1);
}

.video-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.video-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  background: var(--bg-0);
}

.video-titlebar {
  height: 40px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot--red { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green { background: #22c55e; }

.video-titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.video-body {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
}

.footer-copyright {
  color: var(--text-3);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}
