40024-vm/assets/css/custom.css
2026-05-17 15:57:40 +00:00

1109 lines
21 KiB
CSS

:root {
--bg: #edf4fb;
--bg-deep: #e6effa;
--surface: rgba(255, 255, 255, 0.86);
--surface-solid: #ffffff;
--surface-muted: rgba(248, 250, 252, 0.88);
--line: rgba(148, 163, 184, 0.18);
--line-strong: rgba(100, 116, 139, 0.28);
--text: #0f172a;
--muted: #475569;
--muted-soft: #64748b;
--accent: #0f172a;
--accent-strong: #111c35;
--accent-alt: #0ea5e9;
--accent-mint: #14b8a6;
--accent-soft: rgba(14, 165, 233, 0.08);
--accent-soft-2: rgba(20, 184, 166, 0.1);
--shadow-sm: 0 10px 26px rgba(15, 23, 42, 0.06);
--shadow-md: 0 24px 64px rgba(15, 23, 42, 0.1);
--shadow-lg: 0 32px 96px rgba(15, 23, 42, 0.14);
--radius-sm: 12px;
--radius-md: 18px;
--radius-lg: 28px;
--content-width: 1200px;
}
html {
scroll-behavior: smooth;
}
body {
position: relative;
margin: 0;
min-height: 100vh;
background:
radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 32%),
radial-gradient(circle at top right, rgba(20, 184, 166, 0.11), transparent 28%),
linear-gradient(180deg, #f8fbff 0%, var(--bg) 45%, var(--bg-deep) 100%);
color: var(--text);
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 15px;
line-height: 1.68;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body::before,
body::after {
content: '';
position: fixed;
z-index: -1;
pointer-events: none;
filter: blur(72px);
opacity: 0.85;
}
body::before {
top: 3rem;
right: 3rem;
width: 16rem;
height: 16rem;
border-radius: 50%;
background: rgba(14, 165, 233, 0.12);
}
body::after {
left: -2rem;
bottom: 10%;
width: 18rem;
height: 18rem;
border-radius: 50%;
background: rgba(20, 184, 166, 0.1);
}
::selection {
background: rgba(14, 165, 233, 0.18);
color: var(--text);
}
img {
max-width: 100%;
height: auto;
}
main {
min-height: calc(100vh - 220px);
}
.page-wrap {
padding-top: 0.35rem;
}
.py-lg-6 {
padding-top: 4.75rem !important;
padding-bottom: 4.75rem !important;
}
.container {
max-width: var(--content-width);
}
.skip-link {
position: absolute;
left: -999px;
top: 0;
z-index: 1000;
padding: 0.75rem 1rem;
background: var(--accent);
color: #fff;
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus {
left: 1rem;
}
.site-header {
background: rgba(248, 250, 252, 0.72);
border-color: rgba(148, 163, 184, 0.16) !important;
backdrop-filter: blur(18px);
box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}
.navbar {
padding-top: 0.95rem;
padding-bottom: 0.95rem;
}
.navbar-brand {
display: inline-flex;
align-items: center;
gap: 0.85rem;
color: var(--text);
text-decoration: none;
}
.navbar-brand:hover,
.navbar-brand:focus {
color: var(--text);
}
.brand-mark {
position: relative;
width: 2.35rem;
height: 2.35rem;
border-radius: 16px;
background: linear-gradient(135deg, var(--accent-alt), var(--accent-mint));
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 12px 32px rgba(14, 165, 233, 0.28);
}
.brand-mark::before,
.brand-mark::after {
content: '';
position: absolute;
inset: 0;
margin: auto;
border-radius: 999px;
}
.brand-mark::before {
width: 1rem;
height: 1rem;
background: rgba(255, 255, 255, 0.92);
}
.brand-mark::after {
width: 0.34rem;
height: 0.34rem;
background: var(--accent);
}
.brand-copy {
display: inline-flex;
flex-direction: column;
line-height: 1.05;
}
.brand-title {
font-size: 1rem;
font-weight: 800;
letter-spacing: -0.03em;
}
.brand-subtitle {
color: var(--muted-soft);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.navbar-toggler {
border-color: rgba(100, 116, 139, 0.22);
border-radius: 14px;
padding: 0.45rem 0.68rem;
background: rgba(255, 255, 255, 0.7);
}
.navbar-toggler:focus {
box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.14);
}
.navbar-nav .nav-link {
color: var(--muted);
font-weight: 600;
padding: 0.65rem 0.95rem;
border-radius: 999px;
transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
color: var(--text);
background: rgba(255, 255, 255, 0.72);
transform: translateY(-1px);
}
.nav-actions .btn {
min-width: 118px;
}
.hero-section {
padding-top: 3.15rem;
padding-bottom: 2.4rem;
}
.hero-panel,
.panel-card,
.content-card,
.metric-card,
.article-shell,
.table-card,
.empty-state,
.cta-panel,
.list-shell,
.list-row,
.related-item,
.spotlight-banner {
background: var(--surface);
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
backdrop-filter: blur(18px);
}
.hero-panel {
position: relative;
overflow: hidden;
border-radius: 34px;
padding: 2.75rem;
border-color: rgba(148, 163, 184, 0.2);
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.84)),
radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 32%);
box-shadow: var(--shadow-md);
}
.hero-panel::before,
.hero-panel::after {
content: '';
position: absolute;
pointer-events: none;
border-radius: 999px;
}
.hero-panel::before {
top: -4rem;
right: -3rem;
width: 14rem;
height: 14rem;
background: rgba(14, 165, 233, 0.09);
}
.hero-panel::after {
bottom: -5rem;
left: -4rem;
width: 16rem;
height: 16rem;
background: rgba(20, 184, 166, 0.08);
}
.hero-title,
.section-title,
.article-title {
letter-spacing: -0.045em;
color: var(--text);
}
.hero-title {
font-size: clamp(2.4rem, 4vw, 4rem);
font-weight: 800;
line-height: 1.02;
max-width: 11ch;
}
.hero-copy,
.section-copy,
.card-copy,
.metric-copy,
.article-lead,
.footer-copy,
.list-copy {
color: var(--muted);
}
.hero-copy {
max-width: 60ch;
font-size: 1.02rem;
}
.eyebrow,
.section-kicker,
.card-label {
display: inline-flex;
align-items: center;
gap: 0.45rem;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--muted-soft);
}
.eyebrow::before,
.section-kicker::before,
.card-label::before {
content: '';
width: 0.55rem;
height: 0.55rem;
border-radius: 999px;
background: linear-gradient(135deg, var(--accent-alt), var(--accent-mint));
box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}
.hero-chip-row,
.meta-inline {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
}
.meta-pill {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.72rem 0.95rem;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.2);
background: rgba(255, 255, 255, 0.62);
color: var(--muted);
font-size: 0.92rem;
font-weight: 600;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.meta-pill strong,
.meta-inline strong {
color: var(--text);
font-weight: 800;
}
.hero-visual {
position: relative;
min-height: 360px;
padding: 0.5rem;
}
.hero-glow {
position: absolute;
border-radius: 999px;
filter: blur(8px);
opacity: 0.85;
}
.hero-glow-a {
top: 1rem;
right: 0.25rem;
width: 9rem;
height: 9rem;
background: rgba(14, 165, 233, 0.24);
}
.hero-glow-b {
bottom: 0.75rem;
left: 0;
width: 8.5rem;
height: 8.5rem;
background: rgba(20, 184, 166, 0.22);
}
.visual-browser {
position: relative;
z-index: 1;
width: min(100%, 360px);
margin: 0 auto;
padding: 1rem;
border-radius: 28px;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 28, 53, 0.92));
border: 1px solid rgba(148, 163, 184, 0.18);
color: #e2e8f0;
box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
}
.visual-bar {
display: flex;
gap: 0.45rem;
margin-bottom: 1rem;
}
.visual-bar span {
width: 0.72rem;
height: 0.72rem;
border-radius: 999px;
background: rgba(226, 232, 240, 0.26);
}
.visual-bar span:first-child {
background: rgba(248, 113, 113, 0.92);
}
.visual-bar span:nth-child(2) {
background: rgba(250, 204, 21, 0.92);
}
.visual-bar span:last-child {
background: rgba(34, 197, 94, 0.92);
}
.visual-badge {
display: inline-flex;
padding: 0.42rem 0.72rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
color: #bfdbfe;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.visual-card {
margin-top: 0.95rem;
padding: 1rem;
border-radius: 20px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.visual-card strong {
display: block;
font-size: 1rem;
margin-bottom: 0.35rem;
color: #f8fafc;
}
.visual-card p,
.visual-stats span {
margin: 0;
color: rgba(226, 232, 240, 0.78);
font-size: 0.9rem;
}
.visual-card.is-accent {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(20, 184, 166, 0.16));
border-color: rgba(125, 211, 252, 0.22);
}
.visual-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.85rem;
margin-top: 0.95rem;
}
.visual-stats div {
padding: 0.95rem;
border-radius: 18px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.visual-stats strong {
display: block;
margin-top: 0.25rem;
font-size: 0.98rem;
color: #f8fafc;
}
.spotlight-banner {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
gap: 1.5rem;
padding: 1.65rem 1.75rem;
border-radius: 26px;
}
.spotlight-pills {
display: flex;
flex-wrap: wrap;
align-content: center;
gap: 0.75rem;
}
.spotlight-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.78rem 0.98rem;
border-radius: 16px;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.09), rgba(20, 184, 166, 0.11));
border: 1px solid rgba(125, 211, 252, 0.28);
color: var(--text);
font-size: 0.92rem;
font-weight: 700;
}
.metric-card,
.panel-card,
.content-card,
.article-shell,
.table-card,
.empty-state,
.cta-panel,
.blog-hero-card,
.blog-side-card {
border-radius: var(--radius-lg);
padding: 1.6rem;
}
.metric-card {
position: relative;
min-height: 100%;
overflow: hidden;
}
.metric-card::before {
content: '';
position: absolute;
inset: 0 auto auto 0;
width: 100%;
height: 0.28rem;
background: linear-gradient(90deg, var(--accent-alt), var(--accent-mint));
}
.metric-label {
color: var(--muted-soft);
font-size: 0.78rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.14em;
margin-bottom: 0.85rem;
}
.metric-value {
font-size: 1.22rem;
font-weight: 800;
margin-bottom: 0.6rem;
}
.feature-list {
list-style: none;
padding: 0;
margin: 1rem 0 0;
}
.feature-list li {
position: relative;
padding-left: 1.35rem;
margin-bottom: 0.85rem;
color: var(--muted);
}
.feature-list li::before {
content: '';
position: absolute;
left: 0;
top: 0.58rem;
width: 0.55rem;
height: 0.55rem;
border-radius: 999px;
background: linear-gradient(135deg, var(--accent-alt), var(--accent-mint));
}
.compact-list li:last-child,
.feature-list li:last-child {
margin-bottom: 0;
}
.section-block {
padding: 1.35rem 0 3.9rem;
}
.section-title {
font-size: clamp(1.65rem, 2.7vw, 2.55rem);
font-weight: 800;
line-height: 1.08;
}
.content-card {
display: flex;
flex-direction: column;
gap: 0.82rem;
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.content-card:hover,
.content-card:focus-within,
.list-row:hover,
.list-row:focus-within,
.related-item:hover,
.related-item:focus-within {
transform: translateY(-2px);
border-color: rgba(14, 165, 233, 0.26);
box-shadow: var(--shadow-md);
}
.card-title,
.list-title,
.related-item h3 a,
.card-title a,
.list-title a,
.article-title {
color: var(--text);
text-decoration: none;
}
.card-title a:hover,
.list-title a:hover,
.related-item h3 a:hover,
.card-title a:focus,
.list-title a:focus,
.related-item h3 a:focus {
color: var(--text);
text-decoration: underline;
text-decoration-color: rgba(14, 165, 233, 0.58);
text-underline-offset: 0.18em;
}
.card-title {
font-size: 1.18rem;
line-height: 1.28;
margin-bottom: 0;
}
.card-copy {
margin-bottom: 0;
}
.card-footer-actions {
padding-top: 0.35rem;
}
.tag-badge,
.tag-chip {
display: inline-flex;
align-items: center;
border: 1px solid rgba(125, 211, 252, 0.28);
border-radius: 999px;
padding: 0.42rem 0.78rem;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.7));
color: var(--text);
font-size: 0.82rem;
font-weight: 700;
text-decoration: none;
}
.tag-chip:hover,
.tag-chip:focus,
.tag-badge:hover,
.tag-badge:focus {
color: var(--text);
border-color: rgba(14, 165, 233, 0.42);
}
.tag-chip.is-active {
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
color: #fff;
border-color: transparent;
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}
.tag-group {
display: flex;
flex-wrap: wrap;
gap: 0.7rem;
}
.muted-meta {
color: var(--muted-soft);
font-size: 0.88rem;
}
.list-shell {
display: grid;
gap: 1rem;
padding: 0;
background: transparent;
border: 0;
box-shadow: none;
backdrop-filter: none;
}
.list-row {
border-radius: 22px;
padding: 1.3rem 1.4rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.list-title {
font-size: 1.06rem;
font-weight: 800;
}
.list-copy {
max-width: 60ch;
margin-bottom: 0;
}
.article-shell {
border-radius: 30px;
padding: 2.1rem;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
box-shadow: var(--shadow-md);
}
.article-title {
font-size: clamp(2rem, 3vw, 3.2rem);
font-weight: 800;
line-height: 1.12;
}
.article-lead {
font-size: 1.05rem;
margin-bottom: 1.65rem;
}
.article-body p {
margin-bottom: 1.18rem;
color: #243042;
}
.article-body a {
color: #0369a1;
}
.article-body a:hover,
.article-body a:focus {
color: #075985;
}
.cta-panel {
display: flex;
flex-direction: column;
gap: 1rem;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.08));
border-color: rgba(125, 211, 252, 0.22);
}
.flow-list li {
margin-bottom: 0.58rem;
color: var(--muted);
}
.related-item {
border-radius: 20px;
padding: 1rem;
background: rgba(255, 255, 255, 0.72);
}
.empty-state {
text-align: center;
border-style: dashed;
border-color: rgba(125, 211, 252, 0.34);
padding: 3rem 1.5rem;
}
.blog-hero-card {
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.86));
}
.blog-side-card {
display: flex;
flex-direction: column;
justify-content: center;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.85));
}
.table-card {
overflow: hidden;
}
.admin-table thead th {
background: rgba(248, 250, 252, 0.88);
color: var(--muted-soft);
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
border-bottom: 1px solid var(--line);
padding: 1rem;
}
.admin-table tbody td {
padding: 1rem;
border-color: var(--line);
}
.form-control,
.form-select {
border: 1px solid rgba(100, 116, 139, 0.22);
border-radius: 14px;
padding: 0.82rem 0.95rem;
font-size: 0.95rem;
color: var(--text);
background: rgba(255, 255, 255, 0.96);
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus {
box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.12);
border-color: rgba(14, 165, 233, 0.38);
}
.form-check-input {
border-radius: 6px;
border-color: rgba(100, 116, 139, 0.28);
}
.slug-preview {
color: var(--text);
font-weight: 700;
}
.toast {
border-radius: 18px;
box-shadow: var(--shadow-lg);
}
.btn {
border-radius: 14px;
font-weight: 700;
padding: 0.76rem 1.05rem;
transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover,
.btn:focus-visible {
transform: translateY(-1px);
}
.btn-dark {
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
border-color: transparent;
color: #fff;
box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}
.btn-dark:hover,
.btn-dark:focus-visible {
background: linear-gradient(135deg, #0b1324, #16223f);
border-color: transparent;
color: #fff;
}
.btn-outline-dark {
border-color: rgba(100, 116, 139, 0.24);
color: var(--text);
background: rgba(255, 255, 255, 0.76);
}
.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
color: var(--text);
border-color: rgba(14, 165, 233, 0.36);
background: rgba(255, 255, 255, 0.96);
}
.btn-light {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.92));
border-color: rgba(125, 211, 252, 0.24);
color: var(--text);
}
.btn-light:hover,
.btn-light:focus-visible {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(255, 255, 255, 1));
border-color: rgba(14, 165, 233, 0.34);
color: var(--text);
}
.btn-cta {
min-width: 198px;
}
.article-meta {
border-color: rgba(148, 163, 184, 0.18) !important;
}
.sticky-card {
position: sticky;
top: 6rem;
}
.site-footer {
background: rgba(248, 250, 252, 0.76);
border-color: rgba(148, 163, 184, 0.14) !important;
backdrop-filter: blur(18px);
}
.footer-title {
font-weight: 800;
margin-bottom: 0.35rem;
}
.footer-copy {
max-width: 58ch;
font-size: 0.94rem;
}
.footer-links a {
color: var(--muted);
text-decoration: none;
font-weight: 600;
}
.footer-links a:hover,
.footer-links a:focus {
color: var(--text);
text-decoration: underline;
text-decoration-color: rgba(14, 165, 233, 0.58);
text-underline-offset: 0.18em;
}
@media (max-width: 991.98px) {
.hero-panel {
padding: 2rem;
}
.hero-title {
max-width: 12ch;
}
.hero-visual {
min-height: 320px;
}
.spotlight-banner {
grid-template-columns: 1fr;
}
.sticky-card {
position: static;
}
.nav-actions {
margin-top: 1rem;
flex-wrap: wrap;
}
}
@media (max-width: 767.98px) {
body {
font-size: 14px;
}
.hero-panel,
.panel-card,
.content-card,
.metric-card,
.article-shell,
.table-card,
.empty-state,
.cta-panel,
.blog-hero-card,
.blog-side-card,
.spotlight-banner {
padding: 1.25rem;
border-radius: 22px;
}
.hero-title {
max-width: none;
font-size: clamp(2.1rem, 9vw, 3rem);
}
.hero-chip-row,
.meta-inline,
.spotlight-pills {
gap: 0.6rem;
}
.meta-pill,
.spotlight-pill {
width: 100%;
justify-content: center;
}
.visual-browser {
width: 100%;
}
.visual-stats {
grid-template-columns: 1fr;
}
.list-row {
flex-direction: column;
align-items: stretch;
}
.list-row-actions {
width: 100%;
}
.list-row-actions .btn,
.nav-actions .btn,
.btn-cta {
width: 100%;
}
.brand-subtitle {
display: none;
}
}
/* preview-embed-home */
.hero-visual.has-preview {
min-height: auto;
padding: 0.25rem;
}
.preview-browser {
width: min(100%, 420px);
padding: 0.95rem;
}
.preview-bar {
align-items: center;
margin-bottom: 0.85rem;
}
.preview-url {
margin-left: auto;
max-width: calc(100% - 3.3rem);
padding: 0.34rem 0.72rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
color: rgba(226, 232, 240, 0.82);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.03em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.preview-screen {
overflow: hidden;
border-radius: 22px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: #ffffff;
aspect-ratio: 4 / 5;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.preview-screen iframe {
display: block;
width: 100%;
height: 100%;
border: 0;
background: #ffffff;
}
.preview-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.85rem;
margin-top: 0.9rem;
}
.preview-footer .btn {
white-space: nowrap;
}
.compact-spotlight {
align-items: center;
}
@media (max-width: 767.98px) {
.preview-footer {
flex-direction: column;
align-items: stretch;
}
.preview-footer .btn {
width: 100%;
}
}