/* ---- FusionShield FX: sjednocené animace tlačítek, karet a prvků (styl AstroShield) ---- */
:root { --fx-ease: cubic-bezier(.22,1,.36,1); --fx-spring: cubic-bezier(.3,1.5,.5,1); }

/* tlačítka */
.btn, button.btn, a.btn { position: relative; overflow: hidden; transition: transform .18s var(--fx-ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s; will-change: transform; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0) scale(.97); transition-duration: .06s; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn svg, .icon-btn svg { transition: transform .3s var(--fx-spring); }
.btn:not(:disabled):hover svg, .icon-btn:hover svg { transform: scale(1.18) rotate(-6deg); }
.btn:disabled { cursor: not-allowed; }
.icon-btn { transition: transform .18s var(--fx-ease), background .2s, color .2s; }
.icon-btn:hover { transform: translateY(-1px); } .icon-btn:active { transform: scale(.92); }

/* vstupy */
.input, .select, textarea.input { transition: border-color .2s, box-shadow .25s, background .2s; }
.input:focus, textarea.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); outline: 0; }

/* karty: zvednutí + světlo následující kurzor */
.card, .srv, .lp-feat, .lp-step, .stat, .kpi { position: relative; transition: transform .3s var(--fx-ease), border-color .25s, box-shadow .3s; }
.card:hover::before, .srv:hover::before, .lp-feat:hover::before, .lp-step:hover::before { opacity: 1; }
.srv:hover, .lp-feat:hover, .lp-step:hover { transform: translateY(-3px); border-color: var(--accent-border); box-shadow: 0 .8rem 2rem rgb(0 0 0 / .35); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border-strong)); }

/* navigace v panelu */
.nav a, .sub a, .server-toggle { transition: background .18s, color .18s, transform .18s var(--fx-ease); }
.nav a:hover, .sub a:hover { transform: translateX(3px); }
.nav a svg, .sub a svg, .server-toggle svg { transition: transform .3s var(--fx-spring); }
.nav a:hover svg, .sub a:hover svg { transform: scale(1.2) rotate(-8deg); }
.nav a.active svg, .sub a.active svg { animation: fx-pop .4s var(--fx-spring); }
@keyframes fx-pop { 40% { transform: scale(1.3); } }

/* odkazy v landing navigaci: podtržení */
.lp-links a { position: relative; }
.lp-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--fx-ease); }
.lp-links a:hover::after, .lp-links a.on::after { transform: scaleX(1); }

/* vstup obsahu: postupné objevení */
.fx-item { opacity: 0; transform: translateY(14px); }
.fx-item.fx-in { opacity: 1; transform: none; transition: opacity .55s var(--fx-ease), transform .55s var(--fx-ease); transition-delay: calc(var(--fx-i, 0) * 45ms); }

/* modály a menu */
.modal, .modal-card, dialog { animation: fx-modal .28s var(--fx-spring) both; }
@keyframes fx-modal { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.modal-backdrop, .overlay { animation: fx-fade .2s both; } @keyframes fx-fade { from { opacity: 0; } }

/* tabulky / řádky */
tbody tr { transition: background .15s; }
.badge, .pill { transition: transform .2s var(--fx-spring); } .badge:hover { transform: scale(1.06); }
.avatar { transition: transform .25s var(--fx-spring); } .avatar:hover { transform: scale(1.08); }

/* patička */
.lp-foot2 { border-top: 1px solid var(--border); margin-top: 4rem; padding: 3.5rem 1.5rem 2rem; background: linear-gradient(180deg, transparent, rgb(59 130 246 / .04)); }
.lp-foot2-in { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.lp-foot2 p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: .8rem 0 1rem; max-width: 22rem; }
.lp-foot2 h4 { margin: 0 0 .9rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.lp-foot2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.lp-foot2 li a { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .2s, transform .2s var(--fx-ease); }
.lp-foot2 li a:hover { color: var(--text); transform: translateX(3px); }
.lp-foot2 li a svg { width: .95rem; height: .95rem; color: var(--accent); }
.lp-foot2-bot { max-width: 72rem; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 2rem; color: var(--faint); font-size: .76rem; line-height: 1.6; }
@media (max-width: 52rem) { .lp-foot2-in { grid-template-columns: 1fr 1fr; } .lp-foot2-bot { flex-direction: column; gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { .fx-item { opacity: 1; transform: none; } .btn, .card, .srv, .lp-feat, .lp-step { transition: none; } }
