/* SOTKA VPN v2 — shared UI components */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: 200;
  padding: 12px 20px; background: var(--teal); color: #041018; font-weight: 800; border-radius: 8px;
}
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; overflow: visible; }

.nav {
  position: fixed; top: 0; width: 100%; z-index: 100; height: var(--nav-h);
  background: rgba(3, 5, 6, 0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: -0.02em; }
.brand-icon { width: 24px; height: 24px; border: 2px solid var(--teal); border-radius: 4px; position: relative; transform: rotate(45deg); flex-shrink: 0; }
.brand-icon::after { content: ''; position: absolute; inset: 4px; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.nav-links { display: flex; gap: 28px; font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.nav-links a:hover { color: var(--text); }
.btn-primary {
  background: var(--teal); color: #000; padding: 10px 22px; border-radius: 4px;
  font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.2s; box-shadow: 0 0 20px rgba(40, 215, 188, 0.2);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer;
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

/* Article CTA buttons — readable on teal (also locked in preview <head>) */
a.sotka-cta__button,
a.cta-card__button,
a.cta-banner__button {
  color: #030506 !important;
  -webkit-text-fill-color: #030506 !important;
}

.tech-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.tech-tag i { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: sotka-pulse 2s infinite; box-shadow: 0 0 8px var(--teal); }

.bento-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 32px; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s;
}
.bento-card:hover { border-color: var(--border-highlight); transform: translateY(-2px); }

.site-footer {
  padding: 48px 0 64px; border-top: 1px solid var(--border); background: var(--bg); color: var(--muted); font-size: 0.9rem;
}
.site-footer-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.site-footer-brand strong { color: var(--text); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.site-footer-links a { color: var(--muted); transition: color 0.2s; }
.site-footer-links a:hover { color: var(--teal); }
.site-footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.site-footer-social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text); font-size: 0.85rem; font-weight: 600;
}
.site-footer-social a:hover { border-color: var(--teal); color: var(--teal); }

@keyframes sotka-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes sotka-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sotka-dash { to { stroke-dashoffset: -24; } }

@media (max-width: 900px) { .nav-links { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .tech-tag i, .sotka-visual-float, .sotka-visual-dash { animation: none !important; }
}
