516 lines
9.6 KiB
CSS
516 lines
9.6 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
/*
|
|
Design tokens live scoped to .nk-page so nothing outside this page
|
|
needs to change. --teal / --teal-rgb / --bg-* / --text-* / --muted*
|
|
/ --border / --hover-bg still come from the app's existing theme
|
|
(light/dark), we only add one new accent: --nk-amber.
|
|
|
|
Story: the radar's blue is the "signal" — a lost item calling out.
|
|
Amber is "found" — the moment it's answered. The one gradient on
|
|
the page runs from signal to found; everything else stays quiet.
|
|
*/
|
|
|
|
.nk-page {
|
|
--nk-amber: #d98f3b;
|
|
--nk-amber-rgb: 217, 143, 59;
|
|
--nk-signal: var(--teal, #0095f6);
|
|
--nk-signal-rgb: var(--teal-rgb, 0, 149, 246);
|
|
|
|
font-family: 'Inter', sans-serif;
|
|
background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-app) 100%);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
@keyframes beaconPulse {
|
|
0% {
|
|
transform: scale(0.6);
|
|
opacity: 0.55;
|
|
}
|
|
70% {
|
|
transform: scale(1.9);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
transform: scale(1.9);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes markerIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(6px) scale(0.7);
|
|
}
|
|
15% {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
85% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes drift {
|
|
0% {
|
|
background-position: 0 0;
|
|
}
|
|
100% {
|
|
background-position: 60px 60px;
|
|
}
|
|
}
|
|
|
|
@keyframes riseIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes eyebrowShimmer {
|
|
0% { background-position: 100% 50%; }
|
|
100% { background-position: -100% 50%; }
|
|
}
|
|
|
|
.nk-hero {
|
|
position: relative;
|
|
padding: 28px 6vw 0;
|
|
min-height: 620px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nk-grid {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: radial-gradient(var(--text-primary) 1px, transparent 1px);
|
|
background-size: 26px 26px;
|
|
animation: drift 14s linear infinite;
|
|
opacity: 0.07;
|
|
mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 0%, transparent 75%);
|
|
}
|
|
|
|
.nk-glow {
|
|
position: absolute;
|
|
top: -22%;
|
|
right: -12%;
|
|
width: 620px;
|
|
height: 620px;
|
|
background: radial-gradient(circle, rgba(var(--nk-signal-rgb), 0.16) 0%, transparent 70%);
|
|
filter: blur(10px);
|
|
animation: fadeIn 1.2s ease both;
|
|
}
|
|
|
|
.nk-glow::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: -260px;
|
|
bottom: -320px;
|
|
width: 420px;
|
|
height: 420px;
|
|
background: radial-gradient(circle, rgba(var(--nk-amber-rgb), 0.13) 0%, transparent 72%);
|
|
filter: blur(6px);
|
|
}
|
|
|
|
/* ---------- Nav ---------- */
|
|
|
|
.nk-nav {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(var(--nk-signal-rgb), 0.02);
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.nk-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nk-logo svg {
|
|
height: 40px;
|
|
width: auto;
|
|
display: block;
|
|
}
|
|
|
|
[data-theme="dark"] .nk-logo svg .f-logo-word {
|
|
fill: url(#nahodkaLogoCoral);
|
|
}
|
|
[data-theme="dark"] .nk-logo svg .f-logo-heart {
|
|
fill: #FF4B3A;
|
|
}
|
|
|
|
.nk-nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.nk-lang-btn,
|
|
.nk-theme-btn {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
color: var(--text-primary);
|
|
padding: 9px 14px;
|
|
border-radius: 999px;
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.nk-theme-btn {
|
|
padding: 9px;
|
|
}
|
|
|
|
.nk-lang-btn:hover,
|
|
.nk-theme-btn:hover {
|
|
background: var(--hover-bg);
|
|
border-color: rgba(var(--nk-signal-rgb), 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nk-lang-btn:focus-visible,
|
|
.nk-theme-btn:focus-visible,
|
|
.nk-nav-btn:focus-visible,
|
|
.nk-cta-primary:focus-visible {
|
|
outline: 2px solid var(--nk-signal);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.nk-nav-btn {
|
|
background: var(--nk-signal);
|
|
border: 1px solid var(--nk-signal);
|
|
color: #fff;
|
|
padding: 10px 22px;
|
|
border-radius: 999px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
|
|
}
|
|
.nk-nav-btn:hover {
|
|
background: #0074d9;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 8px 20px rgba(var(--nk-signal-rgb), 0.3);
|
|
}
|
|
|
|
/* ---------- Radar (untouched) ---------- */
|
|
|
|
.nk-radar {
|
|
position: absolute;
|
|
right: 4vw;
|
|
top: 90px;
|
|
width: 340px;
|
|
height: 340px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 3;
|
|
}
|
|
|
|
.nk-ring {
|
|
position: absolute;
|
|
width: 140px;
|
|
height: 140px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(0, 149, 246, 0.5);
|
|
animation: beaconPulse 3.9s ease-out infinite;
|
|
will-change: transform;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.nk-core {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: #0095f6;
|
|
box-shadow: 0 0 22px 6px rgba(0, 149, 246, 0.5);
|
|
}
|
|
|
|
.nk-marker {
|
|
position: absolute;
|
|
color: #fff;
|
|
background: #0095f6;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: markerIn 3.2s ease-in-out infinite;
|
|
box-shadow: 0 4px 14px rgba(0, 149, 246, 0.4);
|
|
will-change: transform;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
/* ---------- Hero copy ---------- */
|
|
|
|
.nk-hero-text {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 620px;
|
|
margin-top: 56px;
|
|
animation: riseIn 0.8s ease both;
|
|
}
|
|
|
|
.nk-eyebrow {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
font-size: 18px;
|
|
text-align: center;
|
|
background: linear-gradient(100deg, var(--nk-signal) 0%, var(--nk-amber) 40%, var(--nk-signal) 80%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
background-size: 200% 100%;
|
|
animation: eyebrowShimmer 3s ease infinite;
|
|
letter-spacing: 0.09em;
|
|
margin-bottom: 22px;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nk-h1 {
|
|
font-family: 'Fraunces', serif;
|
|
font-weight: 600;
|
|
font-size: clamp(28px, 4.5vw, 56px);
|
|
line-height: 1.06;
|
|
letter-spacing: -0.01em;
|
|
margin: 0 0 22px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nk-accent {
|
|
color: #fff;
|
|
}
|
|
|
|
:root:not([data-theme="dark"]) .nk-accent {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nk-lead {
|
|
font-size: 17px;
|
|
line-height: 1.65;
|
|
color: var(--muted);
|
|
max-width: 480px;
|
|
margin-bottom: 34px;
|
|
}
|
|
|
|
.nk-lead-spacer {
|
|
height: 16px;
|
|
}
|
|
|
|
.nk-cta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nk-cta-primary {
|
|
background: var(--nk-signal);
|
|
color: #fff;
|
|
border: none;
|
|
padding: 16px 32px;
|
|
border-radius: 999px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
cursor: pointer;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.nk-cta-primary:hover {
|
|
transform: translateY(-2px);
|
|
background: #0074d9;
|
|
box-shadow: 0 14px 30px rgba(var(--nk-signal-rgb), 0.32);
|
|
}
|
|
|
|
.nk-cta-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.nk-cta-hint {
|
|
font-size: 13px;
|
|
color: var(--muted2, var(--muted));
|
|
}
|
|
|
|
.nk-cta-primary .nk-arrow {
|
|
display: inline-block;
|
|
margin-left: 8px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.nk-cta-primary:hover .nk-arrow {
|
|
transform: translateX(3px);
|
|
}
|
|
|
|
/* ---------- Steps (kept in sync in case re-enabled) ---------- */
|
|
|
|
.nk-h2 {
|
|
font-family: 'Fraunces', serif;
|
|
font-size: clamp(24px, 3vw, 34px);
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
margin-bottom: 42px;
|
|
text-align: center;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nk-steps-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 22px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.nk-step-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 20px;
|
|
padding: 26px 24px;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.nk-step-card:hover {
|
|
border-color: rgba(var(--nk-signal-rgb), 0.4);
|
|
box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.nk-step-num {
|
|
font-family: 'Fraunces', serif;
|
|
font-size: 15px;
|
|
color: var(--nk-signal);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nk-step-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin: 12px 0 8px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nk-step-text {
|
|
font-size: 14.5px;
|
|
line-height: 1.55;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.nk-final-cta {
|
|
text-align: center;
|
|
padding: 70px 6vw 100px;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.nk-footer {
|
|
text-align: center;
|
|
padding: 28px 0 36px;
|
|
font-size: 13px;
|
|
color: var(--muted2, var(--muted));
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 12px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nk-page {
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nk-hero {
|
|
padding: 20px 6vw 0;
|
|
padding-bottom: 150px;
|
|
}
|
|
|
|
.nk-nav {
|
|
padding: 0;
|
|
background: none;
|
|
}
|
|
|
|
.nk-logo svg {
|
|
height: 32px;
|
|
}
|
|
|
|
.nk-hero-text {
|
|
margin-top: 34px;
|
|
}
|
|
|
|
.nk-radar {
|
|
width: 150px;
|
|
height: 150px;
|
|
right: 10vw;
|
|
top: auto;
|
|
bottom: 100px;
|
|
}
|
|
|
|
.nk-ring {
|
|
width: 85px;
|
|
height: 85px;
|
|
}
|
|
|
|
.nk-core {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.nk-marker {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.nk-marker svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.nk-footer {
|
|
margin-top: -100px;
|
|
border-top: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.nk-ring, .nk-marker {
|
|
animation-duration: 8s !important;
|
|
}
|
|
|
|
.nk-grid,
|
|
.nk-glow,
|
|
.nk-hero-text {
|
|
animation: none !important;
|
|
}
|
|
} |