:root {
|
--layout-max: 1080px;
|
--layout-pad: 28px;
|
--header-h: 64px;
|
--bg: #f4f6fb;
|
--bg-elevated: #ffffff;
|
--text: #1d1d1f;
|
--muted: #5c5c66;
|
--accent: #0071e3;
|
--accent-hover: #0077ed;
|
--border: rgba(0, 0, 0, 0.08);
|
--radius: 16px;
|
--shadow: 0 20px 50px rgba(30, 45, 90, 0.12);
|
--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
|
--hero-bg: #ffffff;
|
}
|
|
* {
|
box-sizing: border-box;
|
}
|
|
html {
|
scroll-behavior: smooth;
|
}
|
|
body {
|
margin: 0;
|
font-family: var(--font);
|
color: var(--text);
|
line-height: 1.55;
|
-webkit-font-smoothing: antialiased;
|
background: var(--bg);
|
min-height: 100vh;
|
}
|
|
a {
|
color: var(--accent);
|
text-decoration: none;
|
}
|
|
a:hover {
|
text-decoration: underline;
|
}
|
|
/* One width for header, main, footer */
|
.layout {
|
width: 100%;
|
max-width: var(--layout-max);
|
margin-left: auto;
|
margin-right: auto;
|
padding-left: var(--layout-pad);
|
padding-right: var(--layout-pad);
|
}
|
|
/* Header — fixed lang switch slot on the right */
|
.site-header {
|
position: sticky;
|
top: 0;
|
z-index: 50;
|
height: var(--header-h);
|
background: rgba(244, 246, 251, 0.82);
|
border-bottom: 1px solid var(--border);
|
backdrop-filter: blur(16px) saturate(1.25);
|
}
|
|
.site-header__bar {
|
height: var(--header-h);
|
display: grid;
|
grid-template-columns: auto 1fr auto;
|
align-items: center;
|
gap: 20px;
|
}
|
|
.brand {
|
display: flex;
|
align-items: center;
|
gap: 10px;
|
font-weight: 650;
|
font-size: 1.02rem;
|
color: var(--text);
|
text-decoration: none;
|
white-space: nowrap;
|
}
|
|
.brand:hover {
|
text-decoration: none;
|
}
|
|
.brand img {
|
width: 34px;
|
height: 34px;
|
border-radius: 8px;
|
box-shadow: 0 4px 14px rgba(0, 113, 227, 0.22);
|
}
|
|
.site-nav {
|
display: flex;
|
flex-wrap: wrap;
|
justify-content: center;
|
gap: 6px 20px;
|
font-size: 0.92rem;
|
}
|
|
.site-nav a {
|
color: var(--muted);
|
}
|
|
.site-nav a[aria-current="page"] {
|
color: var(--text);
|
font-weight: 600;
|
}
|
|
.lang-switch {
|
display: inline-flex;
|
align-items: center;
|
padding: 4px;
|
border-radius: 999px;
|
background: rgba(0, 0, 0, 0.05);
|
border: 1px solid var(--border);
|
flex-shrink: 0;
|
}
|
|
.lang-switch a {
|
display: inline-block;
|
padding: 6px 14px;
|
border-radius: 999px;
|
font-size: 0.82rem;
|
font-weight: 600;
|
color: var(--muted);
|
text-decoration: none;
|
}
|
|
.lang-switch a:hover {
|
text-decoration: none;
|
color: var(--text);
|
}
|
|
.lang-switch a.is-active {
|
background: var(--bg-elevated);
|
color: var(--text);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
}
|
|
/* Legacy floating hero icon — must not appear */
|
.icon-float,
|
.icon-orb {
|
display: none !important;
|
}
|
|
.page-home .site-header {
|
background: rgba(255, 255, 255, 0.88);
|
}
|
|
/* Hero — reference layout: copy left, stacked screenshots right */
|
.hero {
|
width: 100%;
|
min-height: calc(100svh - var(--header-h));
|
min-height: calc(100vh - var(--header-h));
|
padding: 48px 0 64px;
|
background: var(--hero-bg);
|
overflow: hidden;
|
}
|
|
.hero__split {
|
display: grid;
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
|
gap: 20px 48px;
|
align-items: center;
|
min-height: calc(100svh - var(--header-h) - 96px);
|
min-height: calc(100vh - var(--header-h) - 96px);
|
}
|
|
.hero__copy {
|
padding: 8px 0;
|
}
|
|
.hero__headline {
|
margin: 0;
|
font-size: clamp(2rem, 4.8vw, 3.15rem);
|
font-weight: 800;
|
letter-spacing: -0.04em;
|
line-height: 1.1;
|
color: #000;
|
}
|
|
.hero__lead {
|
margin: 28px 0 0;
|
font-size: clamp(1rem, 1.7vw, 1.2rem);
|
line-height: 1.7;
|
color: #1d1d1f;
|
max-width: 22em;
|
}
|
|
.hero__visual {
|
position: relative;
|
min-height: 420px;
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
}
|
|
.hero__stack-stage {
|
position: relative;
|
width: 100%;
|
max-width: 620px;
|
margin-left: auto;
|
padding: 12px 0 28px;
|
perspective: 1600px;
|
perspective-origin: 35% 45%;
|
}
|
|
.hero__stack-img {
|
display: block;
|
width: 100%;
|
height: auto;
|
transform: rotateY(-11deg) rotateX(4deg) translateZ(0);
|
transform-origin: 40% 50%;
|
filter: drop-shadow(0 28px 48px rgba(30, 45, 90, 0.14));
|
}
|
|
/* Main content */
|
.page-main {
|
padding: 56px 0 72px;
|
}
|
|
.card {
|
background: var(--bg-elevated);
|
border: 1px solid var(--border);
|
border-radius: var(--radius);
|
box-shadow: var(--shadow);
|
padding: 28px 32px;
|
margin-bottom: 22px;
|
}
|
|
.card h2 {
|
margin: 0 0 14px;
|
font-size: 1.3rem;
|
letter-spacing: -0.02em;
|
}
|
|
.card-cta {
|
text-align: center;
|
}
|
|
.card-cta p {
|
margin: 0 0 16px;
|
color: var(--muted);
|
}
|
|
.compare {
|
width: 100%;
|
border-collapse: collapse;
|
font-size: 0.95rem;
|
}
|
|
.compare th,
|
.compare td {
|
text-align: left;
|
padding: 11px 12px;
|
border-bottom: 1px solid var(--border);
|
vertical-align: top;
|
}
|
|
.compare th {
|
font-size: 0.78rem;
|
text-transform: uppercase;
|
letter-spacing: 0.04em;
|
color: var(--muted);
|
}
|
|
.compare tr:last-child td {
|
border-bottom: none;
|
}
|
|
.feature-grid {
|
display: grid;
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
gap: 12px;
|
}
|
|
.feature {
|
padding: 15px 17px;
|
border-radius: 12px;
|
background: #f8f9fd;
|
border: 1px solid var(--border);
|
}
|
|
.feature strong {
|
display: block;
|
margin-bottom: 5px;
|
}
|
|
.cta-row {
|
display: flex;
|
flex-wrap: wrap;
|
gap: 12px;
|
justify-content: center;
|
}
|
|
.btn {
|
display: inline-block;
|
padding: 11px 22px;
|
border-radius: 999px;
|
font-weight: 600;
|
font-size: 0.94rem;
|
}
|
|
.btn-primary {
|
background: var(--accent);
|
color: #fff;
|
box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
|
}
|
|
.btn-primary:hover {
|
background: var(--accent-hover);
|
text-decoration: none;
|
color: #fff;
|
}
|
|
.btn-secondary {
|
background: var(--bg-elevated);
|
color: var(--text);
|
border: 1px solid var(--border);
|
}
|
|
.btn-secondary:hover {
|
text-decoration: none;
|
}
|
|
.site-footer {
|
padding: 28px 0 48px;
|
border-top: 1px solid var(--border);
|
text-align: center;
|
font-size: 0.88rem;
|
color: var(--muted);
|
}
|
|
.site-footer p {
|
margin: 0 0 8px;
|
}
|
|
.prose h1 {
|
margin-top: 0;
|
}
|
|
.prose h2 {
|
margin-top: 1.5em;
|
}
|
|
.prose h3 {
|
margin-top: 1.2em;
|
}
|
|
kbd {
|
display: inline-block;
|
padding: 2px 7px;
|
border-radius: 6px;
|
font-size: 0.82em;
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
background: #f0f2f8;
|
border: 1px solid var(--border);
|
}
|
|
@media (max-width: 860px) {
|
.site-header__bar {
|
grid-template-columns: auto auto;
|
grid-template-rows: auto auto;
|
}
|
|
.site-nav {
|
grid-column: 1 / -1;
|
justify-content: flex-start;
|
order: 3;
|
}
|
|
.lang-switch {
|
grid-column: 2;
|
grid-row: 1;
|
justify-self: end;
|
}
|
|
.hero__split {
|
grid-template-columns: 1fr;
|
min-height: auto;
|
gap: 32px;
|
}
|
|
.hero__stack-stage {
|
max-width: 100%;
|
margin-left: 0;
|
}
|
|
.hero__stack-img {
|
transform: rotateY(-7deg) rotateX(3deg);
|
}
|
}
|
|
@media (max-width: 560px) {
|
:root {
|
--layout-pad: 18px;
|
}
|
|
.hero {
|
padding: 32px 0 48px;
|
}
|
}
|