/* Ramendeus Limited — self-contained stylesheet (no external fonts/CDNs) */
:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --text: #1d2639;
  --muted: #5b6579;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --teal: #19b3ac;
  --teal-d: #0e8f8a;
  --orange: #ee8f2c;
  --grad: linear-gradient(120deg, #2fd1c6 0%, #19b3ac 40%, #ee8f2c 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 24px 60px rgba(4,10,25,.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1px solid transparent; border-radius: 999px; padding: .7em 1.3em; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; text-align: center; }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: .9em 1.6em; font-size: 1rem; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(25,179,172,.35); }
.btn-primary:hover { background: var(--teal-d); transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,32,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(11,18,32,.95); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; font-size: 1.08rem; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav a { color: rgba(255,255,255,.75); padding: .5em .9em; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: color .15s, background .15s; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.07); }
.site-nav a.nav-cta { color: #fff; background: var(--teal); margin-left: .5rem; box-shadow: none; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta.active { background: var(--teal-d); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: #c9d2e3; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(25,179,172,.28), transparent 60%),
    radial-gradient(500px 360px at 10% 100%, rgba(238,143,44,.18), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/40px 40px; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--ink)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin-bottom: .4em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #b8c2d6; max-width: 36em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.hero .eyebrow, .page-hero .eyebrow { color: #5fe0d6; padding: .35em .9em; border: 1px solid rgba(95,224,214,.3); border-radius: 999px; background: rgba(25,179,172,.08); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.6rem; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: #9fb0c8; }
.hero-tags li { display: inline-flex; align-items: center; gap: .4em; }
.hero-tags .icon { color: var(--teal); width: 1.05em; height: 1.05em; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -30px; background: radial-gradient(closest-side, rgba(25,179,172,.35), transparent); filter: blur(30px); z-index: 0; }
.window { position: relative; z-index: 1; border-radius: 14px; overflow: hidden; background: #0f172a; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg); }
.hero-visual .window { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease; }
.hero-visual .window:hover { transform: none; }
.window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1a2338; border-bottom: 1px solid rgba(255,255,255,.06); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: .78rem; color: #8b97ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window img { width: 100%; }
.window-light { background: #fff; border-color: var(--line); box-shadow: 0 30px 60px rgba(16,24,40,.14); }
.window-light .window-bar { background: #f1f4f8; border-color: var(--line); }

.page-hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.showcase-media { margin: 0; }
.showcase-side { display: grid; gap: 16px; }
.version-card, .download-card, .feature-card, .service-card, .info-card, .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.version-card { display: flex; gap: 16px; padding: 20px; align-items: flex-start; }
.version-card h3, .download-card h3 { font-size: 1.05rem; margin-bottom: .25em; }
.version-card p, .download-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.version-icon, .feature-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--teal-d); background: linear-gradient(135deg, rgba(25,179,172,.14), rgba(238,143,44,.12)); }
.version-icon .icon, .feature-icon .icon { width: 24px; height: 24px; }
.feature-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.feature-icon-lg .icon { width: 30px; height: 30px; }
.download-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px; background: linear-gradient(135deg, #0f1b30, #13243f); border-color: transparent; color: #c9d2e3; }
.download-card h3 { color: #fff; display: flex; align-items: center; gap: .4em; }
.download-card h3 .icon { color: #5fe0d6; }
.download-card p { color: #a9b5ca; margin-bottom: 14px; }
.download-card .btn { word-break: break-all; }
.qr { margin: 0; text-align: center; flex: none; }
.qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 6px; }
.qr figcaption { font-size: .75rem; color: #8b97ad; margin-top: 6px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover, .service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,24,40,.1); border-color: rgba(25,179,172,.35); }
.feature-card h3 { font-size: 1.04rem; margin: 18px 0 8px; }
.feature-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; padding: 28px; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--teal-d); font-size: .92rem; }
.link-more .icon { width: 1em; height: 1em; transition: transform .2s; }
.service-card:hover .link-more .icon { transform: translateX(3px); }
.service-list { display: grid; gap: 20px; max-width: 960px; margin: 0 auto; }
.service-row { display: grid; grid-template-columns: auto auto 1fr; gap: 24px; align-items: center; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-num { font-size: 2.4rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2ch; }
.service-body h2 { font-size: 1.35rem; margin-bottom: .35em; }
.service-body p { color: var(--muted); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; }
.about-copy > p { color: var(--muted); font-size: 1.06rem; }
.mission { display: flex; gap: 18px; padding: 24px; margin: 28px 0; border-radius: var(--radius); background: linear-gradient(135deg, rgba(25,179,172,.08), rgba(238,143,44,.07)); border: 1px solid rgba(25,179,172,.2); }
.mission h3 { font-size: 1.1rem; margin-bottom: .3em; }
.mission p { margin: 0; color: var(--text); font-size: 1.04rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.facts strong { display: block; color: var(--ink); font-size: 1.1rem; }
.facts span { color: var(--muted); font-size: .86rem; }
.about-logo { margin: 0; justify-self: center; max-width: 380px; width: 100%; }
.about-logo img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(16,24,40,.18); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: 36px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: .75em .95em; border: 1px solid #d3d9e4; border-radius: 10px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(25,179,172,.15); }
.alert { display: flex; gap: .6em; align-items: center; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: #fdf0ee; color: #9a2b20; border: 1px solid #f0c2bd; align-items: flex-start; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert-success { background: #e8f8f3; color: #0b6b4f; border: 1px solid #b6e8d6; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.info-card:hover { border-color: rgba(25,179,172,.4); box-shadow: 0 12px 32px rgba(16,24,40,.08); }
.info-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 2px 0 4px; }
.info-card p { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* CTA */
.cta-section { padding-top: 0; }
.section-alt + .cta-section { padding-top: 96px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 56px; border-radius: 24px; color: #d6deeb; background: radial-gradient(500px 300px at 90% 0%, rgba(238,143,44,.3), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(25,179,172,.35), transparent 60%), var(--ink); }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.cta p { margin: 0; color: #aeb9cc; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa6bb; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand p { margin-top: 1rem; max-width: 30em; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #b5c0d3; }
.site-footer a:hover { color: #fff; }
.footer-contact li { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; }
.footer-icp { display: inline-block; margin-left: 14px; font-size: .85em; }
.footer-icp a { color: inherit; opacity: .75; text-decoration: none; }
.footer-icp a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 600px) { .footer-icp { display: block; margin: 6px 0 0; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .window { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual .window { transform: none; }
  .showcase, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-logo { max-width: 300px; }
  .service-grid, .feature-grid-3 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; background: #0b1220; box-shadow: 0 20px 40px rgba(0,0,0,.45); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: .8em 1em; border-radius: 10px; }
  .site-nav a.nav-cta { margin: 6px 0 0; }
}
@media (max-width: 600px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 64px 0; }
  .section-alt + .cta-section { padding-top: 64px; }
  .section-head { margin-bottom: 32px; }
  .hero-grid { padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { display: none; }
  .lead { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }
  .page-hero .container { padding-top: 56px; padding-bottom: 56px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 20px; }
  .feature-card .feature-icon { grid-row: span 2; }
  .feature-card h3 { margin: 2px 0 4px; }
  .download-card { flex-direction: column; align-items: stretch; text-align: left; }
  .qr { align-self: center; }
  .service-row { grid-template-columns: auto 1fr; gap: 16px; padding: 24px; }
  .service-row .service-num { display: none; }
  .service-row .feature-icon-lg { width: 48px; height: 48px; }
  .service-body h2 { font-size: 1.15rem; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts li { padding: 12px 10px; }
  .facts strong { font-size: .95rem; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; }
  .brand span { font-size: 1rem; }
}

.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-card .btn .icon { transform: none; }

/* ===== Products (v2) ===== */
/* Nav dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: .25em; }
.nav-dd-toggle .caret { width: .9em; height: .9em; transition: transform .2s; }
.nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 260px; padding: 8px; border-radius: 14px; background: #111a2e; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd:hover .caret { transform: rotate(180deg); }
.site-nav .nav-dd-menu a { display: block; padding: .65em .9em; border-radius: 10px; }
.nav-dd-menu strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.nav-dd-menu em { font-style: normal; color: #8b97ad; font-weight: 500; margin-left: .25em; }
.nav-dd-menu span { display: block; color: #8b97ad; font-size: .82rem; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 28px; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,24,40,.1); border-color: rgba(25,179,172,.35); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.badge { font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); padding: .3em .75em; border-radius: 999px; white-space: nowrap; }
.product-card h3 { font-size: 1.35rem; margin-bottom: .15em; }
.product-sub { color: var(--teal-d); font-weight: 600; font-size: .9rem; margin-bottom: .8em; }
.product-card > p:not(.product-sub) { color: var(--muted); font-size: .95rem; flex: 1; }
.zh { font-weight: 500; color: var(--muted); font-size: .85em; }
.feature-card h3 .zh { display: block; font-size: .82rem; margin-top: 3px; }

/* Product hero */
.lead-zh { color: #8fa0b8; font-size: 1rem; margin-top: -.4em; }
.hero-by { color: #8fa0b8; font-size: .95rem; max-width: 38em; }
.hero-note { color: #8fa0b8; font-size: .88rem; margin: 0; }
.hero-visual-portrait { justify-self: center; max-width: 380px; width: 100%; }
.hero-visual-portrait .window { transform: none; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-outline { border-color: #cfd6e2; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-d); }
.btn-disabled, .btn[disabled] { background: #eef1f6; color: #98a2b3; border-color: #e1e6ee; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:hover { transform: none; }

/* Disclaimer */
.mini-note { display: flex; align-items: center; gap: .35em; margin-top: 12px !important; font-size: .78rem !important; color: #a45d10 !important; }
.mini-note .icon { width: 1em; height: 1em; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: 12px; background: #fff7ec; border: 1px solid #f6d7ae; color: #7a4a10; }
.disclaimer .icon { color: #d9822b; margin-top: 2px; }
.disclaimer p { margin: 0; }
.disclaimer .zh { color: #8d5a1c; font-size: .95em; }

/* Pricing */
.pricing-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 24px; background: linear-gradient(135deg, rgba(25,179,172,.08), rgba(238,143,44,.08)); border: 1px solid rgba(25,179,172,.22); }
.pricing-card h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.pricing-card p { color: var(--muted); margin: 0; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: .95rem; color: var(--ink); }
.chips .icon { color: var(--teal-d); width: 1.1em; height: 1.1em; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery-item { margin: 0; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-item a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(16,24,40,.1); background: #fff; transition: transform .2s, box-shadow .2s; }
.gallery-item a:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(16,24,40,.14); }
.gallery-item img { width: 100%; }
.gallery-white a { display: flex; align-items: center; justify-content: center; padding: 16px; }
.gallery-white img { width: auto; max-width: 100%; max-height: 360px; }
.gallery-item figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; text-align: center; }

/* Download */
.platform-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; align-items: stretch; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.platform-card h3 { font-size: 1.25rem; margin: 14px 0 0; }
.platform-card .avail { color: var(--muted); margin: 0 0 14px; font-size: .92rem; }
.platform-card .btn { margin-top: auto; }
.platform-main { border-color: rgba(25,179,172,.4); }
.platform-main .avail { color: var(--teal-d); font-weight: 600; }
.platform-main .btn { margin-top: 0; }
.file-meta { width: 100%; margin: 20px 0 6px; display: grid; gap: 8px; font-size: .88rem; }
.file-meta div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.file-meta dt { color: var(--muted); }
.file-meta dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.file-meta code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; word-break: break-all; }
.direct-link { font-size: .85rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-block { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-block h3 { font-size: 1.15rem; margin: 16px 0 10px; }
.info-block ol, .info-block ul { margin: 0 0 16px; padding-left: 1.2em; color: var(--muted); font-size: .94rem; display: grid; gap: 8px; }
.info-block li strong { color: var(--ink); }
.info-block .btn { word-break: break-all; }

@media (max-width: 1080px) {
  .product-grid, .info-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platform-main { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .pricing-card { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 760px) {
  .nav-dd-toggle .caret { display: none; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 4px 12px; background: transparent; border: 0; box-shadow: none; }
  .nav-dd-menu::before { display: none; }
  .site-nav .nav-dd-menu a { padding: .5em 1em; }
  .nav-dd-menu span { display: none; }
  .nav-dd-menu strong { font-weight: 500; color: rgba(255,255,255,.75); font-size: .92rem; }
  .site-nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; gap: 20px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card .btn, .pricing-actions .btn, .pricing-actions { width: 100%; }
  .chips { gap: 8px; }
  .chips li { font-size: .85rem; padding: .5em .9em; }
  .file-meta div { grid-template-columns: 64px 1fr; }
  .hero-visual-portrait { display: block; max-width: 300px; }
}

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; margin-left: .45rem; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.04); flex: none; }
.site-nav .lang-switch a { padding: .32em .75em; border-radius: 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.62); background: transparent; line-height: 1.2; }
.site-nav .lang-switch a:hover { color: #fff; background: rgba(255,255,255,.1); }
.site-nav .lang-switch a.is-active { color: #0b1220; background: #5fe0d6; }
.site-nav .lang-switch a + a { border-left: 1px solid rgba(255,255,255,.16); }
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.lang-switch-footer { margin: 0; border-color: rgba(255,255,255,.14); }
.footer-bottom .lang-switch a { color: #9aa6bb; padding: .28em .7em; font-size: .75rem; font-weight: 700; }
.footer-bottom .lang-switch a:hover { color: #fff; }
.footer-bottom .lang-switch a.is-active { color: #0b1220; background: #5fe0d6; }
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .site-footer h4 { letter-spacing: .08em; text-transform: none; }
@media (max-width: 760px) {
  .site-nav .lang-switch { margin: 10px 0 0; align-self: flex-start; }
}
@media (max-width: 600px) {
  .footer-bottom-right { flex-direction: column; align-items: flex-start; gap: 12px; }
}
