/* ios.opera-notes.com.cn — Opera 下载校验站（青蓝主题） */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --tone-50: #F4FBFC;
  --tone-100: #E6F4F7;
  --tone-200: #CDE8EF;
  --tone-300: #A8D5E0;
  --tone-400: #78B8C9;
  --tone-500: #4F97AC;
  --tone-600: #357A90;
  --tone-700: #245F72;
  --tone-800: #1A4656;
  --tone-900: #123544;

  --primary: #0E7490;
  --primary-light: #22A6C5;
  --primary-dark: #0A5A70;
  --accent: #EA580C;
  --accent-light: #FB923C;
  --accent-dark: #C2410C;

  --bg: var(--tone-50);
  --surface: #FFFFFF;
  --surface-soft: var(--tone-100);
  --text-primary: var(--tone-900);
  --text-secondary: var(--tone-700);
  --text-muted: var(--tone-500);
  --border: var(--tone-200);

  --shadow-sm: 0 2px 8px rgba(18, 53, 68, 0.06);
  --shadow-md: 0 8px 30px rgba(18, 53, 68, 0.08);
  --shadow-lg: 0 20px 60px rgba(18, 53, 68, 0.10);
  --shadow-xl: 0 30px 80px rgba(18, 53, 68, 0.14);

  --radius: 24px;
  --radius-sm: 14px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  background: var(--bg);
  background-image: radial-gradient(1100px 420px at 8% -8%, rgba(234, 88, 12, 0.08), transparent 60%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.60);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tone-200);
  color: var(--tone-800);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 116, 144, 0.30);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 60px;
  border: 1.5px solid var(--tone-300);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(14, 116, 144, 0.04);
  transform: translateY(-2px);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.20);
  font-size: 0.95rem;
}
.btn-download:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.30);
}

/* Nav */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
nav#navbar.scrolled {
  background: rgba(244, 251, 252, 0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(205, 232, 239, 0.70);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav-logo-mark {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo span { color: var(--text-primary); }
.nav-logo span em {
  font-style: normal;
  color: var(--primary);
}
.nav-logo small {
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-cta {
  display: inline-flex !important;
  padding: 8px 22px !important;
  font-size: 0.85rem !important;
  color: #fff !important;
  background: var(--primary);
  border-radius: 60px;
  box-shadow: 0 6px 16px rgba(14, 116, 144, 0.22);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* Breadcrumb */
.breadcrumb {
  position: static;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 88px 0 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--tone-400);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }

/* Hero download */
.hero-download {
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-download::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-download::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-download .container { position: relative; z-index: 2; }
.hero-download .badge { margin-bottom: 16px; }
.hero-download h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-download h1 span { color: var(--primary); }
.hero-download p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.8;
}
.updated-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--tone-100);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-top: 8px;
}

/* Platforms */
.platforms { padding: 40px 0 80px; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 16px;
}
.platform-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.platform-card .icon {
  font-size: 3.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  background: rgba(14, 116, 144, 0.08);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-card .icon.win { color: #0078D7; }
.platform-card .icon.mac { color: #444; }
.platform-card .icon.ios { color: #111; }
.platform-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.platform-card .version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.platform-card .desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.platform-card .system-req {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.platform-card .btn-download {
  width: 100%;
  justify-content: center;
}

.download-notes {
  background: var(--surface-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-top: 48px;
  border: 1px solid var(--border);
}
.download-notes h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.download-notes ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.download-notes ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.download-notes ul li i {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 5px;
}
.archive-hint {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Install */
#install { padding: 16px 0 0; }
.answer-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 28px 30px;
  margin: 0 0 32px;
}
.answer-box h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: left;
}
.answer-box .answer-lede {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0 0 14px;
  text-align: left;
}
.source-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: left;
}
.shot-block {
  margin: 30px auto 6px;
  max-width: 640px;
  text-align: center;
}
.site-shot {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.site-shot--phone {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.shot-caption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.spec-wrap { overflow-x: auto; margin: 8px 0 0; }
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.92rem;
}
table.spec-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 0 10px;
}
table.spec-table th,
table.spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.spec-table thead th {
  background: var(--tone-100);
  font-weight: 600;
  white-space: nowrap;
}
table.spec-table tbody tr:last-child td,
table.spec-table tbody tr:last-child th { border-bottom: none; }
.steps-ol {
  margin: 0;
  padding-left: 22px;
  line-height: 1.9;
  color: var(--text-secondary);
  text-align: left;
}
.steps-ol li { margin-bottom: 10px; }
.install-note {
  background: var(--tone-50);
  border: 1px dashed var(--tone-300);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: left;
}
.install-note code,
.faq-answer code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.86em;
  background: var(--tone-100);
  padding: 1px 6px;
  border-radius: 6px;
}
.hash-list {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
  word-break: break-all;
}
.hash-list dt {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}
.hash-list dt:first-child { margin-top: 0; }
.hash-list dd { margin: 4px 0 0; font-family: ui-monospace, Consolas, monospace; }

/* FAQ */
#download-faq { padding: 72px 0 88px; }
#download-faq > .container > h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: left;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary i {
  color: var(--text-muted);
  transition: var(--transition);
}
details.faq-item[open] summary i {
  transform: rotate(180deg);
  color: var(--primary);
}
details.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: left;
}

/* Home hero */
.hero-home {
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-home .badge { margin-bottom: 18px; }
.hero-home h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero-home h1 span { color: var(--primary); }
.hero-home .lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-metrics .metric {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
}
.hero-metrics .metric b {
  display: block;
  font-size: 1.15rem;
  color: var(--primary);
}
.hero-metrics .metric span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.section {
  padding: 72px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(14, 116, 144, 0.10);
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-item .fi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(14, 116, 144, 0.10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-band p {
  opacity: 0.9;
  max-width: 480px;
}
.cta-band .btn-download {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}
.cta-band .btn-download:hover {
  background: var(--tone-100);
  color: var(--primary-dark);
}

/* Footer */
footer {
  background: var(--surface);
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner .copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.copy a {
  color: inherit;
  border-bottom: 1px dotted var(--tone-400);
}
.copy a:hover { color: var(--primary); }
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

@media (min-width: 900px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-notes ul { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(244, 251, 252, 0.98);
    backdrop-filter: blur(18px);
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 24px;
    gap: 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid var(--border);
    border-top: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .platform-card .icon {
    width: 80px;
    height: 80px;
    font-size: 2.6rem;
  }
}

@media (max-width: 640px) {
  .answer-box { padding: 20px 18px; }
  .shot-block { max-width: 100%; }
  .cta-band { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-download { padding: 36px 0 40px; }
  .platform-card { padding: 28px 20px; }
  .download-notes { padding: 24px 18px; }
  .nav-logo-mark { height: 26px; }
}
